Update verbatim.css
Browse files- verbatim.css +93 -95
verbatim.css
CHANGED
|
@@ -1,38 +1,42 @@
|
|
| 1 |
-
|
| 2 |
-
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');
|
| 3 |
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
--vb-bg:#F8FAFC;
|
|
|
|
| 6 |
--vb-text:#0F172A;
|
| 7 |
-
--vb-
|
|
|
|
| 8 |
--vb-border:#E2E8F0;
|
| 9 |
-
--vb-primary:#7C3AED; /* violet du logo */
|
| 10 |
-
--vb-primary-2:#06B6D4; /* cyan du logo */
|
| 11 |
-
--vb-radius:14px;
|
| 12 |
-
}
|
| 13 |
|
| 14 |
-
*
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
}
|
| 20 |
-
.gradio-container{ max-width:1120px !important; margin:0 auto !important; }
|
| 21 |
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
background:linear-gradient(90deg, rgba(124,58,237,.18), rgba(6,182,212,.18));
|
| 28 |
-
border:1px solid var(--vb-border); border-radius:var(--vb-radius);
|
| 29 |
-
box-shadow:0 10px 26px rgba(2,6,23,.08);
|
| 30 |
-
backdrop-filter:blur(6px);
|
| 31 |
}
|
| 32 |
-
.vb-hero .vb-title{ font-size:22px; font-weight:800; color:#0F172A }
|
| 33 |
-
.vb-hero .vb-sub{ color:var(--vb-muted); font-size:13px; margin-top:-2px }
|
| 34 |
|
| 35 |
-
/* ======
|
| 36 |
.gradio-container .block,
|
| 37 |
.gradio-container .gr-block,
|
| 38 |
.gradio-container .gr-box,
|
|
@@ -40,97 +44,83 @@ html,body,.gradio-container{
|
|
| 40 |
.gradio-container .form,
|
| 41 |
.gradio-container .group,
|
| 42 |
.gradio-container .row,
|
| 43 |
-
.gradio-container .column
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
}
|
| 49 |
|
| 50 |
-
/* ======
|
| 51 |
-
.
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
.gradio-container .gr-text{
|
| 57 |
-
color:#0F172A !important;
|
| 58 |
-
font-weight:400 !important;
|
| 59 |
}
|
|
|
|
|
|
|
| 60 |
|
| 61 |
-
/* ======
|
| 62 |
.gradio-container [data-testid="block-label"],
|
| 63 |
.gradio-container .component-label,
|
| 64 |
.gradio-container .label,
|
| 65 |
-
.gradio-container .wrap > .label
|
| 66 |
-
|
| 67 |
-
background:transparent !important;
|
| 68 |
-
|
| 69 |
-
border:none !important;
|
| 70 |
-
box-shadow:none !important;
|
| 71 |
-
padding:0 !important;
|
| 72 |
-
}
|
| 73 |
-
.gradio-container .wrap > div[class*="absolute"][class*="top-0"][class*="left-0"],
|
| 74 |
-
.gradio-container [class*="absolute"][class*="top-0"][class*="left-0"][class*="rounded-b"],
|
| 75 |
-
.gradio-container [class*="absolute"][class*="top-0"][class*="left-0"][class*="rounded-br"]{
|
| 76 |
-
background:transparent !important;
|
| 77 |
-
color:#0F172A !important;
|
| 78 |
-
border:none !important;
|
| 79 |
-
box-shadow:none !important;
|
| 80 |
}
|
|
|
|
| 81 |
|
| 82 |
/* ====== Inputs ====== */
|
| 83 |
.gradio-container input[type="text"],
|
| 84 |
.gradio-container input[type="number"],
|
| 85 |
.gradio-container textarea,
|
| 86 |
-
.gradio-container select
|
|
|
|
|
|
|
| 87 |
background:#fff !important; color:#0F172A !important;
|
| 88 |
-
border:1px solid
|
|
|
|
| 89 |
}
|
| 90 |
.gradio-container input::placeholder,
|
| 91 |
-
.gradio-container textarea::placeholder{
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
}
|
| 97 |
-
.gradio-container input[type="checkbox"]:checked{
|
| 98 |
-
background:linear-gradient(90deg, var(--vb-primary), var(--vb-primary-2)) !important;
|
| 99 |
-
background-image:none !important;
|
| 100 |
-
border-color:var(--vb-primary) !important;
|
| 101 |
}
|
| 102 |
|
| 103 |
-
/* ======
|
| 104 |
-
.gradio-container input[type="
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
linear-gradient(#E5E7EB, #E5E7EB) 0 0 / 100% 100% no-repeat !important;
|
| 109 |
}
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
}
|
| 115 |
-
.gradio-container
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
box-shadow:0 2px 10px rgba(124,58,237,.25);
|
| 119 |
-
}
|
| 120 |
-
.gradio-container .head, .gradio-container .min_value, .gradio-container .max_value{
|
| 121 |
-
color:#0F172A !important; font-weight:400 !important;
|
| 122 |
}
|
| 123 |
|
| 124 |
-
/* ====== Bouton
|
| 125 |
-
.vb-cta{
|
| 126 |
background:linear-gradient(90deg, var(--vb-primary), var(--vb-primary-2)) !important;
|
| 127 |
-
color:#fff !important; border:0 !important;
|
| 128 |
-
padding:14px
|
| 129 |
-
box-shadow:0
|
| 130 |
}
|
| 131 |
-
.vb-cta:hover{ transform:translateY(-
|
| 132 |
|
| 133 |
-
/* ======
|
| 134 |
.gradio-container .table,
|
| 135 |
.gradio-container .table * ,
|
| 136 |
.gradio-container .svelte-virtual-table-viewport,
|
|
@@ -141,8 +131,16 @@ html,body,.gradio-container{
|
|
| 141 |
.gradio-container .table thead tr,
|
| 142 |
.gradio-container .table thead th{
|
| 143 |
background:linear-gradient(90deg, rgba(124,58,237,.12), rgba(6,182,212,.12)) !important;
|
| 144 |
-
color:#0F172A !important; border-bottom:1px solid #E2E8F0 !important;
|
| 145 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 146 |
|
| 147 |
/* ====== Footer ====== */
|
| 148 |
-
.vb-footer{
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap');
|
|
|
|
| 2 |
|
| 3 |
+
/* ====== Forcer le mode clair / overrides Gradio ====== */
|
| 4 |
+
:root,
|
| 5 |
+
html[data-theme="dark"],
|
| 6 |
+
body[data-theme="dark"],
|
| 7 |
+
.dark, .theme-dark {
|
| 8 |
+
color-scheme: light !important;
|
| 9 |
--vb-bg:#F8FAFC;
|
| 10 |
+
--vb-card:#FFFFFF;
|
| 11 |
--vb-text:#0F172A;
|
| 12 |
+
--vb-primary:#7C3AED;
|
| 13 |
+
--vb-primary-2:#06B6D4;
|
| 14 |
--vb-border:#E2E8F0;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
/* Tokens Gradio */
|
| 17 |
+
--body-background-fill:#F8FAFC;
|
| 18 |
+
--panel-background-fill:#FFFFFF;
|
| 19 |
+
--block-background-fill:#FFFFFF;
|
| 20 |
+
--block-border-color:#E2E8F0;
|
| 21 |
+
--text-color:#0F172A;
|
| 22 |
+
--secondary-text-color:#0F172A;
|
| 23 |
+
--muted-text-color:#0F172A;
|
| 24 |
+
--link-text-color:#2563EB;
|
| 25 |
+
--input-background-fill:#FFFFFF;
|
| 26 |
+
--input-text-color:#0F172A;
|
| 27 |
+
--input-border-color:#E2E8F0;
|
| 28 |
+
--button-primary-background-fill:#7C3AED;
|
| 29 |
+
--button-primary-text-color:#FFFFFF;
|
| 30 |
}
|
|
|
|
| 31 |
|
| 32 |
+
html, body, .gradio-container {
|
| 33 |
+
background: var(--vb-bg) !important;
|
| 34 |
+
color: var(--vb-text) !important;
|
| 35 |
+
font-family: Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
|
| 36 |
+
font-weight: 500 !important; /* tout en noir, non gras */
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
}
|
|
|
|
|
|
|
| 38 |
|
| 39 |
+
/* ====== Encart / cartes (dégradé du logo, pas de bordures noires) ====== */
|
| 40 |
.gradio-container .block,
|
| 41 |
.gradio-container .gr-block,
|
| 42 |
.gradio-container .gr-box,
|
|
|
|
| 44 |
.gradio-container .form,
|
| 45 |
.gradio-container .group,
|
| 46 |
.gradio-container .row,
|
| 47 |
+
.gradio-container .column,
|
| 48 |
+
.gradio-container .tabs,
|
| 49 |
+
.gradio-container .tabitem,
|
| 50 |
+
.gradio-container [class*="accordion"],
|
| 51 |
+
.gradio-container [class*="box"]{
|
| 52 |
+
background: linear-gradient(180deg, rgba(124,58,237,.10), rgba(6,182,212,.10)) !important;
|
| 53 |
+
border: 1px solid transparent !important;
|
| 54 |
+
border-radius: 14px !important;
|
| 55 |
+
box-shadow: 0 10px 26px rgba(2,6,23,.08);
|
| 56 |
}
|
| 57 |
|
| 58 |
+
/* ====== Header ====== */
|
| 59 |
+
.vb-hero{
|
| 60 |
+
display:flex;align-items:center;gap:16px;
|
| 61 |
+
padding:20px 22px;margin:10px 0 20px;
|
| 62 |
+
background:linear-gradient(90deg, rgba(124,58,237,.18), rgba(6,182,212,.18));
|
| 63 |
+
border:1px solid var(--vb-border);border-radius:14px;box-shadow:0 10px 26px rgba(2,6,23,.08);
|
|
|
|
|
|
|
|
|
|
| 64 |
}
|
| 65 |
+
.vb-hero .vb-title{font-size:22px;color:#0F172A;font-weight:500}
|
| 66 |
+
.vb-hero .vb-sub{font-size:13px;color:#0F172A}
|
| 67 |
|
| 68 |
+
/* ====== Labels noirs – suppression des rubans/pills auto ====== */
|
| 69 |
.gradio-container [data-testid="block-label"],
|
| 70 |
.gradio-container .component-label,
|
| 71 |
.gradio-container .label,
|
| 72 |
+
.gradio-container .wrap > .label,
|
| 73 |
+
.gradio-container .wrap [class*="label"]{
|
| 74 |
+
color:#0F172A !important; background:transparent !important; border:none !important;
|
| 75 |
+
box-shadow:none !important; padding:0 !important; font-weight:500 !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
}
|
| 77 |
+
.gradio-container .wrap > div[class*="absolute"][class*="top-0"][class*="left-0"]{ display:none !important; }
|
| 78 |
|
| 79 |
/* ====== Inputs ====== */
|
| 80 |
.gradio-container input[type="text"],
|
| 81 |
.gradio-container input[type="number"],
|
| 82 |
.gradio-container textarea,
|
| 83 |
+
.gradio-container select,
|
| 84 |
+
.gradio-container .gr-textbox,
|
| 85 |
+
.gradio-container .gr-textbox textarea{
|
| 86 |
background:#fff !important; color:#0F172A !important;
|
| 87 |
+
border:1px solid #E2E8F0 !important; border-radius:12px !important;
|
| 88 |
+
box-shadow:none !important;
|
| 89 |
}
|
| 90 |
.gradio-container input::placeholder,
|
| 91 |
+
.gradio-container textarea::placeholder{color:#0F172A !important}
|
| 92 |
+
.gradio-container input:focus,
|
| 93 |
+
.gradio-container textarea:focus{
|
| 94 |
+
border-color:transparent !important;
|
| 95 |
+
box-shadow:0 0 0 2px rgba(124,58,237,.35), 0 0 0 4px rgba(6,182,212,.25) !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
}
|
| 97 |
|
| 98 |
+
/* ====== Checkboxes / radios : couleur bouton & déjà cochées côté Python ====== */
|
| 99 |
+
.gradio-container input[type="checkbox"],
|
| 100 |
+
.gradio-container input[type="radio"],
|
| 101 |
+
.gradio-container [data-testid="checkbox"] input[type="checkbox"]{
|
| 102 |
+
accent-color: var(--vb-primary) !important;
|
|
|
|
| 103 |
}
|
| 104 |
+
|
| 105 |
+
/* ====== Sliders (plus d’orange) ====== */
|
| 106 |
+
.gradio-container input[type="range"]{ accent-color: var(--vb-primary) !important; }
|
| 107 |
+
.gradio-container .noUi-target{ background:rgba(124,58,237,.18) !important; border:0 !important; box-shadow:none !important; }
|
| 108 |
+
.gradio-container .noUi-connect{ background:linear-gradient(90deg, var(--vb-primary), var(--vb-primary-2)) !important; }
|
| 109 |
+
.gradio-container .noUi-handle{
|
| 110 |
+
background:#fff !important; border:2px solid var(--vb-primary) !important;
|
| 111 |
+
box-shadow:0 2px 10px rgba(124,58,237,.3) !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
}
|
| 113 |
|
| 114 |
+
/* ====== Bouton principal ====== */
|
| 115 |
+
.gradio-container .vb-cta{
|
| 116 |
background:linear-gradient(90deg, var(--vb-primary), var(--vb-primary-2)) !important;
|
| 117 |
+
color:#fff !important; border:0 !important; font-weight:600 !important;
|
| 118 |
+
font-size:16px !important; padding:14px 18px !important; border-radius:14px !important;
|
| 119 |
+
box-shadow:0 10px 24px rgba(124,58,237,.28);
|
| 120 |
}
|
| 121 |
+
.gradio-container .vb-cta:hover{ transform:translateY(-2px); filter:brightness(1.05) }
|
| 122 |
|
| 123 |
+
/* ====== DataFrames ====== */
|
| 124 |
.gradio-container .table,
|
| 125 |
.gradio-container .table * ,
|
| 126 |
.gradio-container .svelte-virtual-table-viewport,
|
|
|
|
| 131 |
.gradio-container .table thead tr,
|
| 132 |
.gradio-container .table thead th{
|
| 133 |
background:linear-gradient(90deg, rgba(124,58,237,.12), rgba(6,182,212,.12)) !important;
|
| 134 |
+
color:#0F172A !important; border-bottom:1px solid #E2E8F0 !important; font-weight:500 !important;
|
| 135 |
}
|
| 136 |
+
.gradio-container .table thead th .header-button,
|
| 137 |
+
.gradio-container .table thead th [class*="header-button"],
|
| 138 |
+
.gradio-container .header-button{ background:transparent !important; color:#0F172A !important; box-shadow:none !important; border:none !important; }
|
| 139 |
+
|
| 140 |
+
/* ====== Plotly ====== */
|
| 141 |
+
.js-plotly-plot .plotly .bg{fill:#fff !important}
|
| 142 |
+
.js-plotly-plot .plotly .xgrid,.js-plotly-plot .plotly .ygrid{stroke:#E2E8F0 !important;opacity:1}
|
| 143 |
+
.js-plotly-plot .plotly .legend text{font-weight:500 !important}
|
| 144 |
|
| 145 |
/* ====== Footer ====== */
|
| 146 |
+
.vb-footer{color:#0F172A;font-size:12px;text-align:center;margin:16px 0;font-weight:500}
|