Update verbatim.css
Browse files- verbatim.css +182 -63
verbatim.css
CHANGED
|
@@ -1,80 +1,199 @@
|
|
| 1 |
-
|
| 2 |
-
/* Font: Manrope for a modern, clear SaaS look */
|
| 3 |
-
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');
|
| 4 |
|
|
|
|
| 5 |
:root{
|
| 6 |
-
--
|
| 7 |
-
--
|
| 8 |
-
--
|
| 9 |
-
--
|
| 10 |
-
--
|
| 11 |
-
--
|
| 12 |
-
--
|
| 13 |
-
--
|
| 14 |
-
--
|
| 15 |
-
--
|
| 16 |
-
--vb-border: #E2E8F0;
|
| 17 |
-
--vb-radius: 14px;
|
| 18 |
-
--vb-shadow: 0 8px 20px rgba(2, 6, 23, .06);
|
| 19 |
-
}
|
| 20 |
-
|
| 21 |
-
html, body, .gradio-container{
|
| 22 |
-
background: var(--vb-bg) !important;
|
| 23 |
-
color: var(--vb-text);
|
| 24 |
-
font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji", sans-serif;
|
| 25 |
-
}
|
| 26 |
-
.gradio-container { max-width: 1120px !important; margin: 0 auto !important; }
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
.vb-hero{
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
}
|
| 33 |
-
.vb-hero img{ filter: drop-shadow(0 2px 10px rgba(124,58,237,.25)); }
|
| 34 |
-
.vb-hero .vb-title{ font-size: 20px; font-weight:800; letter-spacing:.2px; }
|
| 35 |
-
.vb-hero .vb-sub{ color: var(--vb-muted); font-size: 13px; margin-top: -4px; }
|
| 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 |
-
input[type="range"]::-webkit-slider-thumb { background: var(--vb-primary) !important; }
|
| 67 |
-
input[type="checkbox"]:checked { accent-color: var(--vb-primary) !important; }
|
| 68 |
|
| 69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
|
| 71 |
-
|
| 72 |
-
.
|
| 73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
-
|
| 76 |
-
.
|
| 77 |
-
.
|
| 78 |
-
.
|
| 79 |
|
| 80 |
-
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap');
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
/* Variables Gradio (thème clair + accents violet/cyan) */
|
| 4 |
:root{
|
| 5 |
+
--body-background-fill:#F8FAFC;
|
| 6 |
+
--panel-background-fill:#FFFFFF;
|
| 7 |
+
--block-background-fill:#FFFFFF;
|
| 8 |
+
--block-border-color:#E2E8F0;
|
| 9 |
+
--text-color:#0F172A;
|
| 10 |
+
--secondary-text-color:#0F172A;
|
| 11 |
+
--muted-text-color:#0F172A;
|
| 12 |
+
--link-text-color:#2563EB;
|
| 13 |
+
--radius-lg:14px;
|
| 14 |
+
--shadow-drop: 0 10px 26px rgba(2,6,23,.08);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
--color-accent:#7C3AED;
|
| 17 |
+
--color-accent-soft:#EDE9FE;
|
| 18 |
+
--button-primary-background-fill:#7C3AED;
|
| 19 |
+
--button-primary-text-color:#ffffff;
|
| 20 |
+
|
| 21 |
+
--input-background-fill:#FFFFFF;
|
| 22 |
+
--input-border-color:#E2E8F0;
|
| 23 |
+
--input-text-color:#0F172A;
|
| 24 |
+
--input-placeholder-color:#0F172A;
|
| 25 |
+
|
| 26 |
+
--table-row-background-fill:#FFFFFF;
|
| 27 |
+
--table-row-text-color:#0F172A;
|
| 28 |
+
--table-border-color:#E2E8F0;
|
| 29 |
+
|
| 30 |
+
/* Palette maison */
|
| 31 |
+
--vb-bg:#F8FAFC;
|
| 32 |
+
--vb-card:#FFFFFF;
|
| 33 |
+
--vb-text:#0F172A;
|
| 34 |
+
--vb-primary:#7C3AED;
|
| 35 |
+
--vb-primary-2:#06B6D4;
|
| 36 |
+
--vb-accent:#2563EB;
|
| 37 |
+
--vb-green:#10B981;
|
| 38 |
+
--vb-red:#EF4444;
|
| 39 |
+
--vb-border:#E2E8F0;
|
| 40 |
+
--vb-radius:14px;
|
| 41 |
+
--vb-shadow:0 10px 26px rgba(2,6,23,.08);
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
/* Toujours en clair */
|
| 45 |
+
* { color-scheme: light !important; }
|
| 46 |
+
html,body,.gradio-container{
|
| 47 |
+
background:var(--vb-bg) !important;
|
| 48 |
+
color:var(--vb-text) !important;
|
| 49 |
+
font-family:Manrope,system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif !important;
|
| 50 |
+
font-weight:500 !important;
|
| 51 |
+
}
|
| 52 |
+
.gradio-container{max-width:1120px !important;margin:0 auto !important}
|
| 53 |
+
|
| 54 |
+
/* ---------- Header ---------- */
|
| 55 |
.vb-hero{
|
| 56 |
+
position:sticky; top:0; z-index:50;
|
| 57 |
+
display:flex;align-items:center;gap:16px;
|
| 58 |
+
padding:20px 22px;margin:10px 0 20px;
|
| 59 |
+
background:linear-gradient(90deg, rgba(124,58,237,.18), rgba(6,182,212,.18));
|
| 60 |
+
border:1px solid var(--vb-border);border-radius:var(--vb-radius);
|
| 61 |
+
box-shadow:var(--vb-shadow); backdrop-filter:blur(6px);
|
| 62 |
+
}
|
| 63 |
+
.vb-hero .vb-title{font-size:22px;font-weight:500;letter-spacing:.2px;color:#0F172A}
|
| 64 |
+
.vb-hero .vb-sub{color:#0F172A;font-size:13px;margin-top:-2px}
|
| 65 |
+
|
| 66 |
+
/* ---------- Cartes / sections (encarts colorés logo, sans bordure noire) ---------- */
|
| 67 |
+
.gradio-container .block,
|
| 68 |
+
.gradio-container .gr-block,
|
| 69 |
+
.gradio-container .gr-box,
|
| 70 |
+
.gradio-container .panel,
|
| 71 |
+
.gradio-container .form,
|
| 72 |
+
.gradio-container .group,
|
| 73 |
+
.gradio-container .row,
|
| 74 |
+
.gradio-container .column,
|
| 75 |
+
.gradio-container .tabs,
|
| 76 |
+
.gradio-container .tabitem,
|
| 77 |
+
.gradio-container [class*="accordion"],
|
| 78 |
+
.gradio-container [class*="box"]{
|
| 79 |
+
background:linear-gradient(180deg, rgba(124,58,237,.10), rgba(6,182,212,.10)) !important;
|
| 80 |
+
color:var(--vb-text) !important;
|
| 81 |
+
border:1px solid transparent !important;
|
| 82 |
+
border-radius:var(--vb-radius) !important;
|
| 83 |
+
box-shadow:var(--vb-shadow);
|
| 84 |
}
|
|
|
|
|
|
|
|
|
|
| 85 |
|
| 86 |
+
/* ---------- Labels / rubans ---------- */
|
| 87 |
+
.gradio-container [data-testid="block-label"],
|
| 88 |
+
.gradio-container .component-label,
|
| 89 |
+
.gradio-container .label,
|
| 90 |
+
.gradio-container .wrap > .label,
|
| 91 |
+
.gradio-container .wrap [class*="label"]{
|
| 92 |
+
position:static !important;
|
| 93 |
+
background:transparent !important;
|
| 94 |
+
color:#0F172A !important;
|
| 95 |
+
box-shadow:none !important;
|
| 96 |
+
border:none !important;
|
| 97 |
+
padding:0 !important;
|
| 98 |
+
font-weight:500 !important;
|
| 99 |
}
|
| 100 |
+
/* supprime les “pills” absolues */
|
| 101 |
+
.gradio-container .wrap > div[class*="absolute"][class*="top-0"][class*="left-0"]{ display:none !important; }
|
| 102 |
|
| 103 |
+
/* ---------- Textes (tout noir, non gras) ---------- */
|
| 104 |
+
.gradio-container label,
|
| 105 |
+
.gradio-container .prose,
|
| 106 |
+
.gradio-container .gr-markdown,
|
| 107 |
+
.gradio-container .gradio-header,
|
| 108 |
+
.gradio-container .gr-text,
|
| 109 |
+
.gradio-container .wrap{
|
| 110 |
+
color:#0F172A !important; font-weight:500 !important;
|
| 111 |
}
|
| 112 |
+
|
| 113 |
+
/* ---------- Inputs ---------- */
|
| 114 |
+
.gradio-container input[type="text"],
|
| 115 |
+
.gradio-container input[type="number"],
|
| 116 |
+
.gradio-container textarea,
|
| 117 |
+
.gradio-container select,
|
| 118 |
+
.gradio-container .gr-textbox,
|
| 119 |
+
.gradio-container .gr-textbox textarea{
|
| 120 |
+
background:#fff !important;
|
| 121 |
+
color:#0F172A !important;
|
| 122 |
+
border:1px solid #E2E8F0 !important;
|
| 123 |
+
border-radius:calc(var(--vb-radius) - 4px) !important;
|
| 124 |
+
box-shadow:none !important;
|
| 125 |
}
|
| 126 |
+
.gradio-container input::placeholder,
|
| 127 |
+
.gradio-container textarea::placeholder{color:#0F172A !important}
|
| 128 |
+
.gradio-container input:focus,
|
| 129 |
+
.gradio-container textarea:focus{
|
| 130 |
+
border-color:transparent !important;
|
| 131 |
+
box-shadow:0 0 0 2px rgba(124,58,237,.35), 0 0 0 4px rgba(6,182,212,.25) !important;
|
| 132 |
}
|
| 133 |
|
| 134 |
+
/* ---------- Checkboxes / radios : couleur bouton + icon svg ---------- */
|
| 135 |
+
.gradio-container input[type="checkbox"],
|
| 136 |
+
.gradio-container input[type="radio"],
|
| 137 |
+
.gradio-container [data-testid="checkbox"] input[type="checkbox"],
|
| 138 |
+
.gradio-container input.svelte-1a15wmk[type="checkbox"]{
|
| 139 |
+
accent-color: var(--vb-primary) !important;
|
| 140 |
+
}
|
| 141 |
+
.gradio-container [class*="icon"] svg,
|
| 142 |
+
.gradio-container [data-testid="checkbox"] svg{
|
| 143 |
+
fill: var(--vb-primary) !important; stroke: var(--vb-primary) !important;
|
| 144 |
}
|
|
|
|
|
|
|
| 145 |
|
| 146 |
+
/* ---------- Sliders (noUi + fallback) ---------- */
|
| 147 |
+
.gradio-container .noUi-target{ background:rgba(124,58,237,.18) !important; border:0 !important; box-shadow:none !important; }
|
| 148 |
+
.gradio-container .noUi-connect{ background:linear-gradient(90deg, var(--vb-primary), var(--vb-primary-2)) !important; }
|
| 149 |
+
.gradio-container .noUi-handle{
|
| 150 |
+
background:#fff !important; border:2px solid var(--vb-primary) !important;
|
| 151 |
+
box-shadow:0 2px 10px rgba(124,58,237,.3) !important;
|
| 152 |
+
}
|
| 153 |
+
.gradio-container input[type="range"]::-webkit-slider-runnable-track{ background:rgba(124,58,237,.18) !important; height:6px; border-radius:999px; }
|
| 154 |
+
.gradio-container input[type="range"]::-webkit-slider-thumb{
|
| 155 |
+
-webkit-appearance:none; width:18px; height:18px; border-radius:50%;
|
| 156 |
+
background:linear-gradient(135deg, var(--vb-primary), var(--vb-primary-2)); border:0;
|
| 157 |
+
box-shadow:0 2px 8px rgba(124,58,237,.35);
|
| 158 |
+
}
|
| 159 |
|
| 160 |
+
/* ---------- Bouton d’action ---------- */
|
| 161 |
+
.gradio-container .vb-cta{
|
| 162 |
+
background:linear-gradient(90deg, var(--vb-primary), var(--vb-primary-2)) !important;
|
| 163 |
+
color:#fff !important; border:0 !important; font-weight:600 !important;
|
| 164 |
+
font-size:16px !important; padding:14px 18px !important;
|
| 165 |
+
box-shadow:0 10px 24px rgba(124,58,237,.28);
|
| 166 |
+
border-radius:var(--vb-radius) !important;
|
| 167 |
+
}
|
| 168 |
+
.gradio-container .vb-cta:hover{transform:translateY(-2px);filter:brightness(1.05)}
|
| 169 |
+
|
| 170 |
+
/* ---------- DataFrames / Tables ---------- */
|
| 171 |
+
.gradio-container .table,
|
| 172 |
+
.gradio-container .table * ,
|
| 173 |
+
.gradio-container .svelte-virtual-table-viewport,
|
| 174 |
+
.gradio-container .table-wrap{
|
| 175 |
+
background:#fff !important;
|
| 176 |
+
color:#0F172A !important;
|
| 177 |
+
border-color:#E2E8F0 !important;
|
| 178 |
+
}
|
| 179 |
+
.gradio-container .table thead,
|
| 180 |
+
.gradio-container .table thead tr,
|
| 181 |
+
.gradio-container .table thead th{
|
| 182 |
+
background:linear-gradient(90deg, rgba(124,58,237,.12), rgba(6,182,212,.12)) !important;
|
| 183 |
+
color:#0F172A !important; border-bottom:1px solid #E2E8F0 !important;
|
| 184 |
+
font-weight:500 !important;
|
| 185 |
+
}
|
| 186 |
+
.gradio-container .table thead th .header-button,
|
| 187 |
+
.gradio-container .table thead th [class*="header-button"],
|
| 188 |
+
.gradio-container .header-button{
|
| 189 |
+
background:transparent !important; color:#0F172A !important;
|
| 190 |
+
box-shadow:none !important; border:none !important; font-weight:500 !important;
|
| 191 |
+
}
|
| 192 |
|
| 193 |
+
/* ---------- Plotly ---------- */
|
| 194 |
+
.js-plotly-plot .plotly .bg{fill:#fff !important}
|
| 195 |
+
.js-plotly-plot .plotly .xgrid,.js-plotly-plot .plotly .ygrid{stroke:#E2E8F0 !important;opacity:1}
|
| 196 |
+
.js-plotly-plot .plotly .legend text{font-weight:500 !important}
|
| 197 |
|
| 198 |
+
/* ---------- Footer ---------- */
|
| 199 |
+
.vb-footer{color:#0F172A;font-size:12px;text-align:center;margin:16px 0;font-weight:500}
|