Spaces:
Running
Running
File size: 4,292 Bytes
e2ed4f2 8e8d0f5 e2ed4f2 8e8d0f5 e2ed4f2 8e8d0f5 e2ed4f2 8e8d0f5 e2ed4f2 8e8d0f5 e2ed4f2 8e8d0f5 e2ed4f2 8e8d0f5 e2ed4f2 8e8d0f5 e2ed4f2 8e8d0f5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | /* ββ VariΓ‘veis compartilhadas do projeto βββββββββββββββββββββ */
:root {
--bg: #fdfbf7;
--text: #2c2c2c;
--muted: #7a7a7a;
--accent: #264653;
--crh: #2a9d8f;
--nmr: #e9c46a;
--crnh: #e76f51;
--info: #577590;
--info-bg: #57759014;
--grid: #e8e4dd;
--card-border: #ddd8d0;
--soft: #f5f3ef;
--font-serif: Georgia, 'Source Serif 4', serif;
--font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
--font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
/* Importante:
NΓO usamos reset global com margin:0/padding:0,
porque isso quebra componentes internos do Gradio.
*/
*, *::before, *::after {
box-sizing: border-box;
}
/* ββ Base Gradio βββββββββββββββββββββββββββββββββββββββββββββ */
.gradio-container {
background: var(--bg) !important;
color: var(--text) !important;
font-family: var(--font-sans) !important;
line-height: 1.55;
}
.gradio-container h1,
.gradio-container h2,
.gradio-container h3 {
color: var(--accent);
letter-spacing: -0.02em;
}
.gradio-container h1 {
font-family: var(--font-serif);
font-size: clamp(1.7rem, 2vw, 2.35rem);
margin-bottom: 0.45rem;
}
.gradio-container p {
margin-bottom: 0.65rem;
}
.gradio-container ul,
.gradio-container ol {
margin: 0.35rem 0 0.9rem 1.25rem;
padding-left: 1rem;
}
.gradio-container li {
margin: 0.15rem 0;
}
/* ββ Abas: corrige PreverExplicarSobre colado βββββββββββββββ */
.gradio-container [role="tablist"] {
gap: 0.35rem !important;
border-bottom: 1px solid var(--grid) !important;
margin-top: 0.9rem !important;
margin-bottom: 1rem !important;
}
.gradio-container button[role="tab"] {
padding: 0.55rem 0.85rem !important;
margin-right: 0.15rem !important;
border-radius: 10px 10px 0 0 !important;
color: var(--accent) !important;
font-weight: 600 !important;
}
.gradio-container button[role="tab"][aria-selected="true"] {
background: color-mix(in srgb, var(--accent) 10%, transparent) !important;
border-bottom-color: var(--accent) !important;
}
/* ββ Campos, painΓ©is e botΓ΅es βββββββββββββββββββββββββββββββ */
.gradio-container textarea,
.gradio-container input {
font-family: var(--font-sans) !important;
}
.gradio-container .block,
.gradio-container .panel,
.gradio-container .form {
border-radius: 16px !important;
}
.gradio-container button.primary,
.gradio-container .primary {
background: var(--accent) !important;
border-color: var(--accent) !important;
color: #fff !important;
font-weight: 700 !important;
}
.gradio-container button.primary:hover,
.gradio-container .primary:hover {
filter: brightness(1.08);
}
/* ββ Cards prΓ³prios do endpoint βββββββββββββββββββββββββββββ */
.notinhas-card {
background: #ffffff;
border: 1px solid var(--card-border);
border-radius: 18px;
padding: 18px 22px;
box-shadow: 0 4px 14px rgba(38, 70, 83, 0.06);
font-family: var(--font-sans);
}
.notinhas-soft-card {
background: var(--soft);
border: 1px solid var(--grid);
border-radius: 14px;
padding: 14px;
font-family: var(--font-sans);
}
.notinhas-badge {
display: inline-block;
padding: 4px 12px;
border-radius: 999px;
font-size: 13px;
font-weight: 700;
}
.notinhas-badge-util {
background: #d8f3dc;
color: #1b4332;
}
.notinhas-badge-nao-util {
background: #fde2e4;
color: #9d0208;
}
.notinhas-badge-media {
background: #fff3bf;
color: #7c5c00;
}
.notinhas-badge-baixa {
background: #e9ecef;
color: #495057;
}
.notinhas-score-label {
font-size: 12px;
color: var(--muted);
}
.notinhas-score-value {
font-family: var(--font-mono);
font-size: 32px;
font-weight: 800;
color: var(--accent);
font-variant-numeric: tabular-nums;
}
/* JSON e exemplos */
.gradio-container label,
.gradio-container .label-wrap {
color: var(--muted) !important;
}
.gradio-container .examples {
margin-top: 0.85rem !important;
}
|