Update static/style.css
Browse files- static/style.css +58 -0
static/style.css
CHANGED
|
@@ -340,3 +340,61 @@ td:has(input[type="checkbox"]:checked) {
|
|
| 340 |
td:has(input[type="checkbox"]:not(:checked)) {
|
| 341 |
background-color: #fde2e2 !important;
|
| 342 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 340 |
td:has(input[type="checkbox"]:not(:checked)) {
|
| 341 |
background-color: #fde2e2 !important;
|
| 342 |
}
|
| 343 |
+
.full-row { background-color: #d2f8d2 !important; }
|
| 344 |
+
.not-full-row { background-color: #fde2e2 !important; }
|
| 345 |
+
.input-cell {
|
| 346 |
+
width: 100%;
|
| 347 |
+
border: none;
|
| 348 |
+
font-size: 13px;
|
| 349 |
+
background: transparent;
|
| 350 |
+
white-space: normal;
|
| 351 |
+
word-break: break-word;
|
| 352 |
+
}
|
| 353 |
+
#bangHSKH {
|
| 354 |
+
table-layout: fixed;
|
| 355 |
+
width: 100%;
|
| 356 |
+
border-collapse: collapse;
|
| 357 |
+
font-family: 'Segoe UI', sans-serif;
|
| 358 |
+
font-size: 13px;
|
| 359 |
+
background-color: #fff;
|
| 360 |
+
}
|
| 361 |
+
|
| 362 |
+
#bangHSKH th, #bangHSKH td {
|
| 363 |
+
border: 1px solid #ccc;
|
| 364 |
+
padding: 6px 8px;
|
| 365 |
+
text-align: center;
|
| 366 |
+
vertical-align: middle;
|
| 367 |
+
white-space: normal !important;
|
| 368 |
+
word-break: break-word;
|
| 369 |
+
}
|
| 370 |
+
|
| 371 |
+
#bangHSKH input.input-cell {
|
| 372 |
+
width: 100%;
|
| 373 |
+
border: none;
|
| 374 |
+
font-size: 13px;
|
| 375 |
+
text-align: center;
|
| 376 |
+
background: transparent;
|
| 377 |
+
}
|
| 378 |
+
|
| 379 |
+
#bangHSKH input.checkbox-cell, #bangHSKH input.checkbox-full {
|
| 380 |
+
width: 16px;
|
| 381 |
+
height: 16px;
|
| 382 |
+
display: block;
|
| 383 |
+
margin: auto;
|
| 384 |
+
accent-color: #2b6cb0;
|
| 385 |
+
}
|
| 386 |
+
|
| 387 |
+
/* Cột hẹp */
|
| 388 |
+
#bangHSKH th:nth-child(1), #bangHSKH td:nth-child(1) { width: 40px; }
|
| 389 |
+
#bangHSKH th:nth-child(2), #bangHSKH td:nth-child(2) { width: 100px; }
|
| 390 |
+
|
| 391 |
+
/* Cột rộng */
|
| 392 |
+
#bangHSKH th:nth-child(3), #bangHSKH td:nth-child(3),
|
| 393 |
+
#bangHSKH th:nth-child(4), #bangHSKH td:nth-child(4),
|
| 394 |
+
#bangHSKH th:nth-child(13), #bangHSKH td:nth-child(13) {
|
| 395 |
+
width: 200px;
|
| 396 |
+
}
|
| 397 |
+
|
| 398 |
+
/* Tô màu cả dòng theo checkbox FULL */
|
| 399 |
+
tr.full-row { background-color: #d2f8d2 !important; }
|
| 400 |
+
tr.not-full-row { background-color: #fde2e2 !important; }
|