forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.css
More file actions
119 lines (111 loc) · 2.85 KB
/
Copy pathglobals.css
File metadata and controls
119 lines (111 loc) · 2.85 KB
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
@import "tailwindcss";
/* ── Light theme (default) ────────────────────────────────────────── */
:root {
--bg: #ffffff;
--bg-surface: #ffffff;
--bg-muted: #f7f8fa;
--bg-hover: #f1f3f6;
--border: #e4e7ec;
--border-strong: #d0d5dd;
--text: #101828;
--text-secondary: #475467;
--text-muted: #98a2b3;
--accent: #2563eb;
--accent-hover: #1d4ed8;
--ok: #059669;
--amber: #d97706;
--danger: #dc2626;
}
/* ── Dark theme ───────────────────────────────────────────────────── */
[data-theme="dark"] {
--bg: #0f1117;
--bg-surface: #1a1d27;
--bg-muted: #22252f;
--bg-hover: #2a2d3a;
--border: #2e3140;
--border-strong: #3d4155;
--text: #e4e6ed;
--text-secondary: #a0a6b6;
--text-muted: #6b7280;
--accent: #5b8def;
--accent-hover: #4a7de8;
--ok: #34d399;
--amber: #fbbf24;
--danger: #f87171;
}
/* ── System-auto: dark when no explicit theme set ─────────────────── */
@media (prefers-color-scheme: dark) {
[data-theme="system"] {
--bg: #0f1117;
--bg-surface: #1a1d27;
--bg-muted: #22252f;
--bg-hover: #2a2d3a;
--border: #2e3140;
--border-strong: #3d4155;
--text: #e4e6ed;
--text-secondary: #a0a6b6;
--text-muted: #6b7280;
--accent: #5b8def;
--accent-hover: #4a7de8;
--ok: #34d399;
--amber: #fbbf24;
--danger: #f87171;
}
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
background: var(--bg);
color: var(--text);
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
Arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Row hover highlight — overrides inline backgroundColor on sticky cells
so the entire row (including the frozen feature-name column) highlights
on hover. Used by both Coverage and Baseline grids. */
tr.grid-row:hover > td {
background-color: var(--bg-hover) !important;
}
/* Fast tooltips — 200ms delay (native title is ~400ms and not configurable).
Apply data-tip="text" to any element. */
[data-tip] {
position: relative;
}
[data-tip]::after {
content: attr(data-tip);
position: absolute;
left: 50%;
bottom: 100%;
transform: translateX(-50%);
padding: 3px 7px;
border-radius: 4px;
font-size: 11px;
font-weight: 500;
line-height: 1.4;
white-space: pre;
color: var(--text);
background: var(--bg-surface);
border: 1px solid var(--border);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
pointer-events: none;
opacity: 0;
transition: opacity 0.12s;
z-index: 60;
}
[data-tip]:hover::after {
opacity: 1;
transition-delay: 0.2s;
}