akborana4 commited on
Commit
e1aaa2b
·
verified ·
1 Parent(s): 5b43bdc

Create static/css/dashboard.css

Browse files
Files changed (1) hide show
  1. static/css/dashboard.css +187 -0
static/css/dashboard.css ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* static/css/dashboard.css */
2
+ .dash-layout {
3
+ display: flex;
4
+ flex: 1;
5
+ height: calc(100vh - 65px);
6
+ padding: 30px;
7
+ gap: 30px;
8
+ box-sizing: border-box;
9
+ overflow-y: auto;
10
+ }
11
+
12
+ /* Left/Center: Main Greeting & Cards */
13
+ .dash-main {
14
+ flex: 2;
15
+ display: flex;
16
+ flex-direction: column;
17
+ }
18
+
19
+ .dash-header {
20
+ margin-bottom: 30px;
21
+ }
22
+
23
+ .dash-header h1 {
24
+ font-size: 32px;
25
+ font-weight: 700;
26
+ margin: 0 0 8px 0;
27
+ color: var(--text-primary);
28
+ letter-spacing: 0.5px;
29
+ }
30
+
31
+ .dash-header p {
32
+ font-size: 15px;
33
+ color: var(--text-secondary);
34
+ margin: 0;
35
+ }
36
+
37
+ .dash-grid {
38
+ display: grid;
39
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
40
+ gap: 20px;
41
+ }
42
+
43
+ .dash-card {
44
+ background: rgba(15, 15, 18, 0.6);
45
+ backdrop-filter: var(--backdrop-blur);
46
+ border: var(--glass-border);
47
+ border-radius: 16px;
48
+ padding: 25px;
49
+ cursor: pointer;
50
+ transition: all 0.3s ease;
51
+ display: flex;
52
+ flex-direction: column;
53
+ justify-content: center;
54
+ position: relative;
55
+ overflow: hidden;
56
+ }
57
+
58
+ /* The neon glow hover effect */
59
+ .dash-card::before {
60
+ content: '';
61
+ position: absolute;
62
+ top: 0; left: 0; width: 100%; height: 100%;
63
+ background: radial-gradient(circle at top right, var(--accent-glow), transparent 60%);
64
+ opacity: 0;
65
+ transition: 0.3s;
66
+ }
67
+
68
+ .dash-card:hover {
69
+ transform: translateY(-5px);
70
+ border-color: rgba(255, 193, 7, 0.3);
71
+ box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px var(--accent-glow);
72
+ }
73
+
74
+ .dash-card:hover::before {
75
+ opacity: 1;
76
+ }
77
+
78
+ .dash-card-icon {
79
+ font-size: 32px;
80
+ color: var(--accent-main);
81
+ margin-bottom: 15px;
82
+ z-index: 1;
83
+ }
84
+
85
+ .dash-card h3 {
86
+ margin: 0 0 8px 0;
87
+ font-size: 18px;
88
+ color: var(--text-primary);
89
+ z-index: 1;
90
+ }
91
+
92
+ .dash-card p {
93
+ margin: 0;
94
+ font-size: 13px;
95
+ color: var(--text-secondary);
96
+ z-index: 1;
97
+ }
98
+
99
+ /* Right Side: Widgets */
100
+ .dash-sidebar {
101
+ flex: 1;
102
+ min-width: 300px;
103
+ max-width: 400px;
104
+ display: flex;
105
+ flex-direction: column;
106
+ gap: 20px;
107
+ }
108
+
109
+ .dash-widget {
110
+ background: rgba(15, 15, 18, 0.6);
111
+ backdrop-filter: var(--backdrop-blur);
112
+ border: var(--glass-border);
113
+ border-radius: 16px;
114
+ padding: 20px;
115
+ }
116
+
117
+ .widget-title {
118
+ font-size: 15px;
119
+ font-weight: 600;
120
+ color: var(--text-primary);
121
+ margin-top: 0;
122
+ margin-bottom: 20px;
123
+ display: flex;
124
+ justify-content: space-between;
125
+ align-items: center;
126
+ }
127
+
128
+ /* System Status Bars */
129
+ .status-row {
130
+ margin-bottom: 15px;
131
+ }
132
+
133
+ .status-label {
134
+ display: flex;
135
+ justify-content: space-between;
136
+ font-size: 13px;
137
+ color: var(--text-secondary);
138
+ margin-bottom: 8px;
139
+ }
140
+
141
+ .progress-bar-bg {
142
+ width: 100%;
143
+ height: 6px;
144
+ background: rgba(255, 255, 255, 0.1);
145
+ border-radius: 10px;
146
+ overflow: hidden;
147
+ }
148
+
149
+ .progress-bar-fill {
150
+ height: 100%;
151
+ background: var(--accent-main);
152
+ border-radius: 10px;
153
+ box-shadow: 0 0 10px var(--accent-glow);
154
+ transition: width 1s ease-in-out;
155
+ }
156
+
157
+ /* Recent Files List */
158
+ .recent-file-item {
159
+ display: flex;
160
+ align-items: center;
161
+ gap: 12px;
162
+ padding: 10px 0;
163
+ border-bottom: 1px solid rgba(255,255,255,0.05);
164
+ cursor: pointer;
165
+ transition: 0.2s;
166
+ }
167
+
168
+ .recent-file-item:hover {
169
+ padding-left: 5px;
170
+ }
171
+
172
+ .recent-file-icon {
173
+ color: var(--accent-main);
174
+ background: rgba(255, 193, 7, 0.1);
175
+ padding: 8px;
176
+ border-radius: 8px;
177
+ font-size: 14px;
178
+ }
179
+
180
+ .recent-file-info h4 { margin: 0; font-size: 13px; color: var(--text-primary); font-weight: 500;}
181
+ .recent-file-info p { margin: 3px 0 0 0; font-size: 11px; color: var(--text-muted); }
182
+
183
+ /* Mobile */
184
+ @media (max-width: 1024px) {
185
+ .dash-layout { flex-direction: column; }
186
+ .dash-sidebar { min-width: 100%; max-width: 100%; }
187
+ }