Spaces:
Running
Running
Update assets/styles.css
Browse files- assets/styles.css +18 -6
assets/styles.css
CHANGED
|
@@ -485,19 +485,25 @@ body, .gradio-container {
|
|
| 485 |
}
|
| 486 |
}
|
| 487 |
|
| 488 |
-
/* ---------- Download Data Button (compact, hijau) ---------- */
|
| 489 |
.download-data-btn {
|
| 490 |
display: inline-flex !important;
|
| 491 |
width: fit-content !important;
|
| 492 |
max-width: fit-content !important;
|
| 493 |
flex: 0 0 auto !important;
|
| 494 |
-
align-self:
|
| 495 |
-
margin: 4px
|
| 496 |
}
|
| 497 |
|
|
|
|
|
|
|
|
|
|
| 498 |
.download-data-btn a,
|
| 499 |
-
.download-data-btn button
|
|
|
|
|
|
|
| 500 |
width: auto !important;
|
|
|
|
| 501 |
background: var(--good) !important;
|
| 502 |
background-color: var(--good) !important;
|
| 503 |
border: 1px solid var(--good) !important;
|
|
@@ -510,15 +516,21 @@ body, .gradio-container {
|
|
| 510 |
white-space: nowrap !important;
|
| 511 |
}
|
| 512 |
|
|
|
|
| 513 |
.download-data-btn a:hover,
|
| 514 |
-
.download-data-btn button:hover
|
|
|
|
|
|
|
| 515 |
background: #5FC28C !important;
|
| 516 |
background-color: #5FC28C !important;
|
| 517 |
border-color: #5FC28C !important;
|
| 518 |
}
|
| 519 |
|
|
|
|
| 520 |
.download-data-btn a:disabled,
|
| 521 |
-
.download-data-btn button:disabled
|
|
|
|
|
|
|
| 522 |
opacity: 0.6 !important;
|
| 523 |
cursor: not-allowed !important;
|
| 524 |
}
|
|
|
|
| 485 |
}
|
| 486 |
}
|
| 487 |
|
| 488 |
+
/* ---------- Download Data Button (compact, hijau, center) ---------- */
|
| 489 |
.download-data-btn {
|
| 490 |
display: inline-flex !important;
|
| 491 |
width: fit-content !important;
|
| 492 |
max-width: fit-content !important;
|
| 493 |
flex: 0 0 auto !important;
|
| 494 |
+
align-self: center !important;
|
| 495 |
+
margin: 4px auto 16px !important;
|
| 496 |
}
|
| 497 |
|
| 498 |
+
/* Cover kedua kemungkinan struktur DOM Gradio: class bisa menempel
|
| 499 |
+
langsung di elemen <a>/<button>, atau di div pembungkusnya. */
|
| 500 |
+
.download-data-btn,
|
| 501 |
.download-data-btn a,
|
| 502 |
+
.download-data-btn button,
|
| 503 |
+
a.download-data-btn,
|
| 504 |
+
button.download-data-btn {
|
| 505 |
width: auto !important;
|
| 506 |
+
max-width: fit-content !important;
|
| 507 |
background: var(--good) !important;
|
| 508 |
background-color: var(--good) !important;
|
| 509 |
border: 1px solid var(--good) !important;
|
|
|
|
| 516 |
white-space: nowrap !important;
|
| 517 |
}
|
| 518 |
|
| 519 |
+
.download-data-btn:hover,
|
| 520 |
.download-data-btn a:hover,
|
| 521 |
+
.download-data-btn button:hover,
|
| 522 |
+
a.download-data-btn:hover,
|
| 523 |
+
button.download-data-btn:hover {
|
| 524 |
background: #5FC28C !important;
|
| 525 |
background-color: #5FC28C !important;
|
| 526 |
border-color: #5FC28C !important;
|
| 527 |
}
|
| 528 |
|
| 529 |
+
.download-data-btn:disabled,
|
| 530 |
.download-data-btn a:disabled,
|
| 531 |
+
.download-data-btn button:disabled,
|
| 532 |
+
a.download-data-btn:disabled,
|
| 533 |
+
button.download-data-btn:disabled {
|
| 534 |
opacity: 0.6 !important;
|
| 535 |
cursor: not-allowed !important;
|
| 536 |
}
|