JerLag commited on
Commit
ea289c2
·
verified ·
1 Parent(s): 9557430

Create verbatim.css

Browse files
Files changed (1) hide show
  1. verbatim.css +80 -0
verbatim.css ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Verbatify — brand theme for Gradio (light) */
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
+ --vb-bg: #F8FAFC;
7
+ --vb-card: #FFFFFF;
8
+ --vb-text: #0F172A;
9
+ --vb-muted: #475569;
10
+ --vb-primary: #7C3AED;
11
+ --vb-primary-2: #06B6D4;
12
+ --vb-accent: #2563EB;
13
+ --vb-positive: #10B981;
14
+ --vb-negative: #EF4444;
15
+ --vb-neutral: #94A3B8;
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
+ display:flex; align-items:center; gap:14px; padding:18px 20px; margin:8px 0 18px;
30
+ background: linear-gradient(90deg, rgba(124,58,237,.10), rgba(6,182,212,.10));
31
+ border:1px solid var(--vb-border); border-radius: var(--vb-radius);
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
+ .gr-markdown, .gr-box, .gr-panel, .gr-article{
38
+ background: var(--vb-card) !important;
39
+ border:1px solid var(--vb-border) !important;
40
+ border-radius: var(--vb-radius) !important;
41
+ box-shadow: var(--vb-shadow);
42
+ }
43
+ .gr-markdown h1, .gr-markdown h2, .gr-markdown h3 { color: var(--vb-text); }
44
+ .gr-markdown h2 { font-size: 18px; margin-top: 10px; }
45
+
46
+ button, .gr-button{
47
+ border-radius: var(--vb-radius) !important;
48
+ border: 0 !important;
49
+ box-shadow: var(--vb-shadow);
50
+ font-weight:700 !important;
51
+ }
52
+ button.primary, .gr-button-primary{
53
+ background: linear-gradient(90deg, var(--vb-primary), var(--vb-primary-2)) !important;
54
+ color: #fff !important;
55
+ }
56
+ button.primary:hover, .gr-button-primary:hover{ filter: brightness(1.06); transform: translateY(-1px); }
57
+ button.secondary, .gr-button-secondary{
58
+ background: #fff !important; border:1px solid var(--vb-border) !important; color: var(--vb-text) !important;
59
+ }
60
+
61
+ input, textarea, select, .gr-textbox, .gr-textbox textarea{
62
+ border-radius: calc(var(--vb-radius) - 4px) !important;
63
+ border:1px solid var(--vb-border) !important;
64
+ background: #fff !important;
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
+ [data-testid="file"] .file-preview, .gr-file{ border-radius: var(--vb-radius) !important; border:1px solid var(--vb-border) !important;}
70
+
71
+ .js-plotly-plot .plotly .bg { fill: #fff !important; }
72
+ .js-plotly-plot .plotly .xgrid, .js-plotly-plot .plotly .ygrid { stroke: #E2E8F0 !important; opacity: 1; }
73
+ .js-plotly-plot .plotly .legend text{ font-weight:600; }
74
+
75
+ .vb-chip{ display:inline-flex; align-items:center; gap:6px; padding:2px 8px; border-radius:999px; font-size:12px; font-weight:700; }
76
+ .vb-chip.pos{ background: rgba(16,185,129,.12); color:#065F46; }
77
+ .vb-chip.neu{ background: rgba(148,163,184,.16); color:#334155; }
78
+ .vb-chip.neg{ background: rgba(239,68,68,.12); color:#7F1D1D; }
79
+
80
+ .vb-footer{ color: var(--vb-muted); font-size: 12px; text-align:center; margin: 12px 0; }