Spaces:
Sleeping
Sleeping
Update static/styles.css
Browse files- static/styles.css +45 -2
static/styles.css
CHANGED
|
@@ -103,7 +103,7 @@ body {
|
|
| 103 |
width: 48px;
|
| 104 |
height: 48px;
|
| 105 |
border-radius: 50%;
|
| 106 |
-
background:
|
| 107 |
border: none;
|
| 108 |
cursor: pointer;
|
| 109 |
display: flex;
|
|
@@ -121,7 +121,7 @@ body {
|
|
| 121 |
.dark-mode-toggle .sun-icon,
|
| 122 |
.dark-mode-toggle .moon-icon {
|
| 123 |
position: absolute;
|
| 124 |
-
color:
|
| 125 |
transition: opacity 0.3s ease, transform 0.3s ease;
|
| 126 |
}
|
| 127 |
|
|
@@ -208,6 +208,7 @@ body {
|
|
| 208 |
background: var(--background);
|
| 209 |
color: var(--foreground);
|
| 210 |
transition: all 0.2s;
|
|
|
|
| 211 |
}
|
| 212 |
|
| 213 |
.api-key-input:focus {
|
|
@@ -216,6 +217,30 @@ body {
|
|
| 216 |
box-shadow: 0 0 0 2px hsla(14, 85%, 58%, 0.1);
|
| 217 |
}
|
| 218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
/* Upload Area */
|
| 220 |
.upload-area {
|
| 221 |
border: 2px dashed var(--border);
|
|
@@ -602,3 +627,21 @@ body {
|
|
| 602 |
padding: 1.5rem;
|
| 603 |
}
|
| 604 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
width: 48px;
|
| 104 |
height: 48px;
|
| 105 |
border-radius: 50%;
|
| 106 |
+
background: var(--muted);
|
| 107 |
border: none;
|
| 108 |
cursor: pointer;
|
| 109 |
display: flex;
|
|
|
|
| 121 |
.dark-mode-toggle .sun-icon,
|
| 122 |
.dark-mode-toggle .moon-icon {
|
| 123 |
position: absolute;
|
| 124 |
+
color: var(--foreground);
|
| 125 |
transition: opacity 0.3s ease, transform 0.3s ease;
|
| 126 |
}
|
| 127 |
|
|
|
|
| 208 |
background: var(--background);
|
| 209 |
color: var(--foreground);
|
| 210 |
transition: all 0.2s;
|
| 211 |
+
flex: 1;
|
| 212 |
}
|
| 213 |
|
| 214 |
.api-key-input:focus {
|
|
|
|
| 217 |
box-shadow: 0 0 0 2px hsla(14, 85%, 58%, 0.1);
|
| 218 |
}
|
| 219 |
|
| 220 |
+
.api-key-row {
|
| 221 |
+
display: flex;
|
| 222 |
+
align-items: center;
|
| 223 |
+
gap: 0.75rem;
|
| 224 |
+
width: 100%;
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
.get-api-key-inline {
|
| 228 |
+
white-space: nowrap;
|
| 229 |
+
padding: 0.55rem 0.9rem;
|
| 230 |
+
background: var(--primary);
|
| 231 |
+
color: var(--primary-foreground);
|
| 232 |
+
border-radius: var(--radius);
|
| 233 |
+
text-decoration: none;
|
| 234 |
+
font-size: 0.85rem;
|
| 235 |
+
font-weight: 500;
|
| 236 |
+
transition: var(--transition-smooth);
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
.get-api-key-inline:hover {
|
| 240 |
+
background: hsl(14, 85%, 52%);
|
| 241 |
+
}
|
| 242 |
+
|
| 243 |
+
|
| 244 |
/* Upload Area */
|
| 245 |
.upload-area {
|
| 246 |
border: 2px dashed var(--border);
|
|
|
|
| 627 |
padding: 1.5rem;
|
| 628 |
}
|
| 629 |
}
|
| 630 |
+
|
| 631 |
+
/* API Key Input Section Responsive Adjustments */
|
| 632 |
+
@media (max-width: 640px) {
|
| 633 |
+
.api-key-row {
|
| 634 |
+
flex-direction: row !important;
|
| 635 |
+
align-items: center;
|
| 636 |
+
}
|
| 637 |
+
|
| 638 |
+
.api-key-input {
|
| 639 |
+
flex: 1 1 auto !important;
|
| 640 |
+
width: auto !important;
|
| 641 |
+
}
|
| 642 |
+
|
| 643 |
+
.get-api-key-inline {
|
| 644 |
+
flex-shrink: 0;
|
| 645 |
+
}
|
| 646 |
+
}
|
| 647 |
+
|