Upload style.css with huggingface_hub
Browse files
style.css
CHANGED
|
@@ -22,7 +22,7 @@ body {
|
|
| 22 |
}
|
| 23 |
|
| 24 |
.gradio-container {
|
| 25 |
-
max-width:
|
| 26 |
margin: 0 auto;
|
| 27 |
padding: 24px 20px 60px;
|
| 28 |
}
|
|
@@ -46,12 +46,24 @@ header h1 {
|
|
| 46 |
font-size: 12px;
|
| 47 |
}
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
.panel {
|
| 50 |
background: var(--panel);
|
| 51 |
border: 1px solid var(--border);
|
| 52 |
border-radius: var(--radius);
|
| 53 |
padding: 16px 20px;
|
| 54 |
-
margin-bottom: 16px;
|
| 55 |
box-shadow: var(--shadow);
|
| 56 |
}
|
| 57 |
|
|
@@ -61,6 +73,47 @@ header h1 {
|
|
| 61 |
color: var(--text);
|
| 62 |
}
|
| 63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
textarea {
|
| 65 |
width: 100%;
|
| 66 |
padding: 10px 12px;
|
|
@@ -134,22 +187,13 @@ button.primary:disabled {
|
|
| 134 |
color: var(--muted);
|
| 135 |
}
|
| 136 |
|
| 137 |
-
.status.loading::before {
|
| 138 |
-
|
| 139 |
-
}
|
| 140 |
-
|
| 141 |
-
.status.done::before {
|
| 142 |
-
content: "β ";
|
| 143 |
-
color: #10b981;
|
| 144 |
-
}
|
| 145 |
-
|
| 146 |
-
.status.error {
|
| 147 |
-
color: #ef4444;
|
| 148 |
-
}
|
| 149 |
.status.error::before { content: "β "; }
|
| 150 |
|
| 151 |
.output {
|
| 152 |
-
min-height:
|
| 153 |
padding: 12px;
|
| 154 |
background: #fafafa;
|
| 155 |
border: 1px dashed var(--border);
|
|
@@ -179,10 +223,7 @@ button.primary:disabled {
|
|
| 179 |
background: #fff7ed;
|
| 180 |
}
|
| 181 |
|
| 182 |
-
.ato-chip .text {
|
| 183 |
-
flex: 1;
|
| 184 |
-
}
|
| 185 |
-
|
| 186 |
.ato-chip .ato {
|
| 187 |
font-weight: 600;
|
| 188 |
font-size: 12px;
|
|
@@ -190,17 +231,13 @@ button.primary:disabled {
|
|
| 190 |
text-transform: uppercase;
|
| 191 |
letter-spacing: 0.5px;
|
| 192 |
}
|
| 193 |
-
|
| 194 |
.ato-chip .score {
|
| 195 |
font-size: 11px;
|
| 196 |
color: var(--muted);
|
| 197 |
font-family: ui-monospace, "SF Mono", monospace;
|
| 198 |
}
|
| 199 |
|
| 200 |
-
details {
|
| 201 |
-
margin-top: 12px;
|
| 202 |
-
}
|
| 203 |
-
|
| 204 |
details summary {
|
| 205 |
cursor: pointer;
|
| 206 |
font-size: 12px;
|
|
@@ -225,7 +262,6 @@ footer {
|
|
| 225 |
font-size: 12px;
|
| 226 |
color: var(--muted);
|
| 227 |
}
|
| 228 |
-
|
| 229 |
footer a { color: var(--muted); }
|
| 230 |
footer a:hover { color: var(--primary); }
|
| 231 |
|
|
|
|
| 22 |
}
|
| 23 |
|
| 24 |
.gradio-container {
|
| 25 |
+
max-width: 1000px;
|
| 26 |
margin: 0 auto;
|
| 27 |
padding: 24px 20px 60px;
|
| 28 |
}
|
|
|
|
| 46 |
font-size: 12px;
|
| 47 |
}
|
| 48 |
|
| 49 |
+
/* βββ 2 colunas no desktop, 1 no mobile βββ */
|
| 50 |
+
.panels {
|
| 51 |
+
display: grid;
|
| 52 |
+
grid-template-columns: 1fr;
|
| 53 |
+
gap: 16px;
|
| 54 |
+
}
|
| 55 |
+
@media (min-width: 900px) {
|
| 56 |
+
.panels {
|
| 57 |
+
grid-template-columns: 1fr 1fr;
|
| 58 |
+
align-items: start;
|
| 59 |
+
}
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
.panel {
|
| 63 |
background: var(--panel);
|
| 64 |
border: 1px solid var(--border);
|
| 65 |
border-radius: var(--radius);
|
| 66 |
padding: 16px 20px;
|
|
|
|
| 67 |
box-shadow: var(--shadow);
|
| 68 |
}
|
| 69 |
|
|
|
|
| 73 |
color: var(--text);
|
| 74 |
}
|
| 75 |
|
| 76 |
+
/* βββ config bar (2 selects lado a lado) βββ */
|
| 77 |
+
.config-bar {
|
| 78 |
+
display: grid;
|
| 79 |
+
grid-template-columns: 1fr 1fr;
|
| 80 |
+
gap: 8px;
|
| 81 |
+
margin-bottom: 14px;
|
| 82 |
+
padding: 10px 12px;
|
| 83 |
+
background: #fafafa;
|
| 84 |
+
border: 1px solid var(--border);
|
| 85 |
+
border-radius: var(--radius);
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.config-bar label {
|
| 89 |
+
display: flex;
|
| 90 |
+
flex-direction: column;
|
| 91 |
+
gap: 3px;
|
| 92 |
+
margin: 0;
|
| 93 |
+
font-size: 11px;
|
| 94 |
+
color: var(--muted);
|
| 95 |
+
font-weight: 500;
|
| 96 |
+
text-transform: uppercase;
|
| 97 |
+
letter-spacing: 0.4px;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
.config-bar select {
|
| 101 |
+
font: inherit;
|
| 102 |
+
font-size: 13px;
|
| 103 |
+
font-weight: 500;
|
| 104 |
+
text-transform: none;
|
| 105 |
+
letter-spacing: 0;
|
| 106 |
+
color: var(--text);
|
| 107 |
+
padding: 6px 8px;
|
| 108 |
+
border: 1px solid var(--border);
|
| 109 |
+
border-radius: 6px;
|
| 110 |
+
background: #fff;
|
| 111 |
+
cursor: pointer;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.config-bar select:hover { border-color: #d1d5db; }
|
| 115 |
+
.config-bar select:focus { outline: none; border-color: var(--primary); }
|
| 116 |
+
|
| 117 |
textarea {
|
| 118 |
width: 100%;
|
| 119 |
padding: 10px 12px;
|
|
|
|
| 187 |
color: var(--muted);
|
| 188 |
}
|
| 189 |
|
| 190 |
+
.status.loading::before { content: "β³ "; }
|
| 191 |
+
.status.done::before { content: "β "; color: #10b981; }
|
| 192 |
+
.status.error { color: #ef4444; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
.status.error::before { content: "β "; }
|
| 194 |
|
| 195 |
.output {
|
| 196 |
+
min-height: 120px;
|
| 197 |
padding: 12px;
|
| 198 |
background: #fafafa;
|
| 199 |
border: 1px dashed var(--border);
|
|
|
|
| 223 |
background: #fff7ed;
|
| 224 |
}
|
| 225 |
|
| 226 |
+
.ato-chip .text { flex: 1; }
|
|
|
|
|
|
|
|
|
|
| 227 |
.ato-chip .ato {
|
| 228 |
font-weight: 600;
|
| 229 |
font-size: 12px;
|
|
|
|
| 231 |
text-transform: uppercase;
|
| 232 |
letter-spacing: 0.5px;
|
| 233 |
}
|
|
|
|
| 234 |
.ato-chip .score {
|
| 235 |
font-size: 11px;
|
| 236 |
color: var(--muted);
|
| 237 |
font-family: ui-monospace, "SF Mono", monospace;
|
| 238 |
}
|
| 239 |
|
| 240 |
+
details { margin-top: 12px; }
|
|
|
|
|
|
|
|
|
|
| 241 |
details summary {
|
| 242 |
cursor: pointer;
|
| 243 |
font-size: 12px;
|
|
|
|
| 262 |
font-size: 12px;
|
| 263 |
color: var(--muted);
|
| 264 |
}
|
|
|
|
| 265 |
footer a { color: var(--muted); }
|
| 266 |
footer a:hover { color: var(--primary); }
|
| 267 |
|