Spaces:
Sleeping

doluong6 commited on
Commit
f6c1928
·
verified ·
1 Parent(s): fc054f6

Upload style (1).css

Browse files
Files changed (1) hide show
  1. static/style (1).css +386 -0
static/style (1).css ADDED
@@ -0,0 +1,386 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Giao diện tổng thể */
2
+ body {
3
+ margin: 0;
4
+ font-family: 'Segoe UI', 'Roboto', sans-serif;
5
+ background-color: #eef1f7;
6
+ }
7
+
8
+ /* Hộp đăng nhập */
9
+ .login-box {
10
+ max-width: 400px;
11
+ margin: 100px auto;
12
+ padding: 40px;
13
+ background: #ffffff;
14
+ border-radius: 12px;
15
+ box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
16
+ }
17
+
18
+ /* Layout dashboard */
19
+ .container {
20
+ display: flex;
21
+ height: 100vh;
22
+ overflow: hidden;
23
+ }
24
+
25
+ /* Sidebar */
26
+ .sidebar {
27
+ width: 240px;
28
+ background: linear-gradient(to bottom, #2b6cb0, #2c5282);
29
+ color: white;
30
+ padding: 20px;
31
+ overflow-y: auto;
32
+ }
33
+
34
+ .sidebar h2 {
35
+ font-size: 20px;
36
+ margin-bottom: 30px;
37
+ font-weight: 600;
38
+ }
39
+
40
+ .sidebar .menu-item {
41
+ cursor: pointer;
42
+ padding: 10px;
43
+ border-radius: 6px;
44
+ transition: background 0.3s ease;
45
+ }
46
+
47
+ .sidebar .menu-item:hover,
48
+ .sidebar .menu-item.active {
49
+ background-color: rgba(255, 255, 255, 0.1);
50
+ }
51
+
52
+ .sidebar .submenu a {
53
+ display: block;
54
+ color: #e0e0e0;
55
+ font-size: 14px;
56
+ margin: 6px 0 6px 10px;
57
+ text-decoration: none;
58
+ padding: 6px 10px;
59
+ border-radius: 4px;
60
+ transition: background 0.2s;
61
+ }
62
+
63
+ .sidebar .submenu a:hover {
64
+ background-color: rgba(255, 255, 255, 0.15);
65
+ color: #ffffff;
66
+ }
67
+
68
+ .arrow {
69
+ float: right;
70
+ font-size: 12px;
71
+ }
72
+
73
+ /* Phần nội dung chính */
74
+ .main {
75
+ flex: 1;
76
+ padding: 30px;
77
+ background-color: #f9fafc;
78
+ overflow-y: auto;
79
+ }
80
+
81
+ /* Khối số liệu */
82
+ .stats {
83
+ display: flex;
84
+ gap: 20px;
85
+ flex-wrap: wrap;
86
+ margin-bottom: 20px;
87
+ }
88
+
89
+ .stat-box {
90
+ background: white;
91
+ padding: 20px;
92
+ border-radius: 10px;
93
+ flex: 1;
94
+ min-width: 200px;
95
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
96
+ text-align: center;
97
+ }
98
+
99
+ .stat-title {
100
+ font-weight: 600;
101
+ color: #666;
102
+ margin-bottom: 8px;
103
+ }
104
+
105
+ .stat-value {
106
+ font-size: 28px;
107
+ font-weight: bold;
108
+ color: #2b6cb0;
109
+ }
110
+
111
+ /* Bảng */
112
+ table.dataTable {
113
+ width: 100% !important;
114
+ border-collapse: collapse;
115
+ }
116
+
117
+ table.dataTable th,
118
+ table.dataTable td {
119
+ padding: 10px;
120
+ text-align: left;
121
+ }
122
+
123
+ table.dataTable thead {
124
+ background-color: #2b6cb0;
125
+ color: white;
126
+ }
127
+
128
+ table.dataTable tbody tr:nth-child(even) {
129
+ background-color: #f2f2f2;
130
+ }
131
+
132
+ table.dataTable tbody tr:hover {
133
+ background-color: #e0ebff;
134
+ }
135
+
136
+ /* Biểu đồ, iframe */
137
+ .chart-container,
138
+ #pdfViewer,
139
+ #qtViewer {
140
+ background: white;
141
+ border-radius: 12px;
142
+ padding: 20px;
143
+ margin-top: 20px;
144
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
145
+ }
146
+
147
+ /* Hồ sơ năng lực */
148
+ .hso-nang-luc {
149
+ background-color: #ffffff;
150
+ padding: 20px;
151
+ border-radius: 10px;
152
+ font-family: "Segoe UI", sans-serif;
153
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
154
+ }
155
+
156
+ .hso-nang-luc h2 {
157
+ color: #2b6cb0;
158
+ font-size: 24px;
159
+ margin-bottom: 10px;
160
+ }
161
+
162
+ .hso-nang-luc h3 {
163
+ color: #1a202c;
164
+ margin-top: 20px;
165
+ }
166
+
167
+ .hso-nang-luc ul {
168
+ padding-left: 20px;
169
+ }
170
+
171
+ .hso-nang-luc table.display {
172
+ width: 100%;
173
+ border-collapse: collapse;
174
+ margin-top: 15px;
175
+ font-size: 14px;
176
+ }
177
+
178
+ .hso-nang-luc table.display th,
179
+ .hso-nang-luc table.display td {
180
+ border: 1px solid #ddd;
181
+ padding: 10px;
182
+ text-align: center;
183
+ }
184
+
185
+ .hso-nang-luc table.display th {
186
+ background-color: #2b6cb0;
187
+ color: white;
188
+ font-weight: 600;
189
+ }
190
+
191
+ /* Responsive */
192
+ @media (max-width: 768px) {
193
+ .container {
194
+ flex-direction: column;
195
+ }
196
+
197
+ .sidebar {
198
+ width: 100%;
199
+ height: auto;
200
+ }
201
+
202
+ .main {
203
+ padding: 20px;
204
+ }
205
+ }
206
+ #bangDanhMucThietBi {
207
+ border-collapse: collapse;
208
+ width: 100%;
209
+ font-family: 'Segoe UI', sans-serif;
210
+ font-size: 14px;
211
+ background-color: #fff;
212
+ margin-top: 15px;
213
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
214
+ }
215
+
216
+ #bangDanhMucThietBi th,
217
+ #bangDanhMucThietBi td {
218
+ border: 1px solid #ddd;
219
+ padding: 8px;
220
+ text-align: center;
221
+ }
222
+
223
+ #bangDanhMucThietBi thead {
224
+ background-color: #1e3a8a;
225
+ color: white;
226
+ font-weight: bold;
227
+ }
228
+
229
+ #bangDanhMucThietBi tbody tr:nth-child(even) {
230
+ background-color: #f9f9f9;
231
+ }
232
+
233
+ #bangDanhMucThietBi tbody tr:hover {
234
+ background-color: #e6f7ff;
235
+ transition: background-color 0.2s ease-in-out;
236
+ }
237
+ #bangHoaChat input.input-cell {
238
+ width: 100%;
239
+ border: 1px solid #ccc;
240
+ padding: 4px 6px;
241
+ font-size: 13px;
242
+ text-align: center;
243
+ box-sizing: border-box;
244
+ }
245
+ #bangHoaChat th, #bangHoaChat td {
246
+ border: 1px solid #ddd;
247
+ padding: 6px;
248
+ }
249
+ #bangHoaChat {
250
+ border-collapse: collapse;
251
+ }
252
+ .input-cell {
253
+ padding: 6px;
254
+ border: none;
255
+ border-bottom: 1px solid #ccc;
256
+ background: transparent;
257
+ }
258
+ .input-cell:focus {
259
+ outline: none;
260
+ background-color: #f0f8ff;
261
+ }
262
+ <style>
263
+ /* Tùy chỉnh bảng DataTables */
264
+ table.dataTable {
265
+ font-size: 14px;
266
+ border-collapse: collapse;
267
+ width: 100%;
268
+ }
269
+
270
+ table.dataTable th,
271
+ table.dataTable td {
272
+ padding: 8px 12px;
273
+ text-align: left;
274
+ border: 1px solid #ccc;
275
+ }
276
+
277
+ table.dataTable thead th {
278
+ background-color: #2b6cb0;
279
+ color: white;
280
+ font-weight: bold;
281
+ text-align: center;
282
+ vertical-align: middle;
283
+ }
284
+
285
+ table.dataTable thead tr:nth-child(2) th {
286
+ background-color: #4682b4;
287
+ color: white;
288
+ }
289
+
290
+ table.dataTable tbody tr:nth-child(even) {
291
+ background-color: #f9f9f9;
292
+ }
293
+
294
+ table.dataTable tbody tr:hover {
295
+ background-color: #f1f7ff;
296
+ }
297
+
298
+ /* Input trong bảng chỉnh sửa */
299
+ .input-cell {
300
+ border: none;
301
+ background: transparent;
302
+ width: 100%;
303
+ font-size: 14px;
304
+ }
305
+
306
+ .input-cell:focus {
307
+ background: #fff8dc;
308
+ outline: 1px solid #2b6cb0;
309
+ }
310
+ </style>
311
+ .checkbox-cell {
312
+ width: 18px;
313
+ height: 18px;
314
+ accent-color: #2b6cb0;
315
+ }
316
+
317
+ td:has(.checkbox-cell:checked) {
318
+ background-color: #c6f6d5 !important; /* Xanh nhạt */
319
+ }
320
+
321
+ td:has(.checkbox-cell:not(:checked)) {
322
+ background-color: #fed7d7 !important; /* Đỏ nhạt */
323
+ }
324
+ .checkbox-full, .checkbox-cell {
325
+ width: 16px;
326
+ height: 16px;
327
+ accent-color: #007bff;
328
+ }
329
+ /* Màu nền cho cả dòng theo checkbox FULL */
330
+ tr.full-row {
331
+ background-color: #d2f8d2 !important; /* Xanh nhạt khi Full được tick */
332
+ }
333
+
334
+ tr.not-full-row {
335
+ background-color: #fde2e2 !important; /* Đỏ nhạt khi Full chưa tick */
336
+ }
337
+ td:has(input[type="checkbox"]:checked) {
338
+ background-color: #d2f8d2 !important;
339
+ }
340
+ td:has(input[type="checkbox"]:not(:checked)) {
341
+ background-color: #fde2e2 !important;
342
+ }
343
+
344
+ #bangHSKH td, #bangHSKH th {
345
+ white-space: normal !important; /* ✅ Cho phép xuống dòng */
346
+ word-wrap: break-word;
347
+ vertical-align: middle;
348
+ text-align: center;
349
+ padding: 8px;
350
+ font-size: 13px;
351
+ }
352
+ .input-cell {
353
+ min-width: 120px;
354
+ max-width: 300px;
355
+ width: 100%;
356
+ white-space: normal;
357
+ word-break: break-word;
358
+ }
359
+ .checkbox-cell {
360
+ display: block;
361
+ margin: auto;
362
+ }
363
+ table.dataTable td {
364
+ white-space: normal !important;
365
+ word-break: break-word;
366
+ }
367
+
368
+ #bangHSKH td {
369
+ white-space: normal !important; /* ✅ Cho phép xuống dòng */
370
+ word-wrap: break-word; /* ✅ Wrap nội dung dài */
371
+ vertical-align: top; /* ✅ Căn top cho đẹp */
372
+ }
373
+
374
+ #bangHSKH input.input-cell {
375
+ width: 100%;
376
+ padding: 6px;
377
+ font-size: 13px;
378
+ box-sizing: border-box;
379
+ background: #fff;
380
+ }
381
+
382
+ .checkbox-cell {
383
+ width: 16px;
384
+ height: 16px;
385
+ accent-color: #2b6cb0;
386
+ }