Spaces:
Runtime error
Runtime error
Update app/static/css/dashboard.css
Browse files- app/static/css/dashboard.css +72 -1
app/static/css/dashboard.css
CHANGED
|
@@ -559,4 +559,75 @@
|
|
| 559 |
.analytics-card, .section-card, .data-table tr {
|
| 560 |
border-radius: 0.75rem; /* Maintain rounded corners */
|
| 561 |
}
|
| 562 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 559 |
.analytics-card, .section-card, .data-table tr {
|
| 560 |
border-radius: 0.75rem; /* Maintain rounded corners */
|
| 561 |
}
|
| 562 |
+
}
|
| 563 |
+
|
| 564 |
+
/* Add to your existing dashboard CSS */
|
| 565 |
+
|
| 566 |
+
.api-key-summary .api-key-display {
|
| 567 |
+
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; /* Monospace font for key */
|
| 568 |
+
background: var(--bg);
|
| 569 |
+
padding: 0.2rem 0.5rem;
|
| 570 |
+
border-radius: 0.3rem;
|
| 571 |
+
font-size: 0.9rem;
|
| 572 |
+
color: var(--text);
|
| 573 |
+
border: 1px solid var(--border);
|
| 574 |
+
display: inline-block;
|
| 575 |
+
}
|
| 576 |
+
[data-theme="dark"] .api-key-summary .api-key-display {
|
| 577 |
+
background: var(--card-dark);
|
| 578 |
+
}
|
| 579 |
+
|
| 580 |
+
.link-small {
|
| 581 |
+
font-size: 0.9rem;
|
| 582 |
+
margin-left: 1rem;
|
| 583 |
+
white-space: nowrap; /* Prevent wrapping on small screens */
|
| 584 |
+
}
|
| 585 |
+
|
| 586 |
+
.recent-uploads-summary .table-responsive-summary {
|
| 587 |
+
overflow-x: auto;
|
| 588 |
+
width: 100%;
|
| 589 |
+
margin-bottom: 0.5rem;
|
| 590 |
+
}
|
| 591 |
+
|
| 592 |
+
/* Specific styling for summary table if different from full table */
|
| 593 |
+
.recent-uploads-summary .data-table th,
|
| 594 |
+
.recent-uploads-summary .data-table td {
|
| 595 |
+
padding: 0.75rem 1rem; /* Slightly less padding */
|
| 596 |
+
}
|
| 597 |
+
|
| 598 |
+
.no-data-message a {
|
| 599 |
+
font-weight: 600;
|
| 600 |
+
}
|
| 601 |
+
|
| 602 |
+
.try-it-now-summary .text-center {
|
| 603 |
+
text-align: center;
|
| 604 |
+
}
|
| 605 |
+
|
| 606 |
+
/* Styles for the API Tester form (reusing existing form styles) */
|
| 607 |
+
.api-tester-form .form-input {
|
| 608 |
+
min-height: 40px; /* Default input height */
|
| 609 |
+
}
|
| 610 |
+
.api-tester-form textarea.form-input {
|
| 611 |
+
min-height: 120px; /* Set a reasonable default height for textarea */
|
| 612 |
+
resize: vertical; /* Allow vertical resizing */
|
| 613 |
+
}
|
| 614 |
+
|
| 615 |
+
/* Styles for API Results table, if different from general data-table */
|
| 616 |
+
.api-results .data-table {
|
| 617 |
+
margin-top: 1.5rem;
|
| 618 |
+
}
|
| 619 |
+
|
| 620 |
+
/* Ensure data-label works for summary table too */
|
| 621 |
+
@media (max-width: 900px) {
|
| 622 |
+
.recent-uploads-summary .data-table td::before {
|
| 623 |
+
content: attr(data-label);
|
| 624 |
+
position: absolute;
|
| 625 |
+
left: 0;
|
| 626 |
+
width: 45%;
|
| 627 |
+
padding-left: 1rem;
|
| 628 |
+
font-weight: 600;
|
| 629 |
+
text-align: left;
|
| 630 |
+
color: #64748b;
|
| 631 |
+
}
|
| 632 |
+
}
|
| 633 |
+
|