-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.css
More file actions
209 lines (201 loc) · 6.25 KB
/
index.css
File metadata and controls
209 lines (201 loc) · 6.25 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
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
/* Extra CSS for the CDN Tailwind setup.
Vite will serve this file because index.html links to /index.css. */
/* Hide scrollbars but keep scroll behavior (used for horizontal model strip). */
.scrollbar-hide {
-ms-overflow-style: none; /* IE/Edge */
scrollbar-width: none; /* Firefox */
}
.scrollbar-hide::-webkit-scrollbar {
display: none; /* Chrome/Safari */
}
/* Lightweight custom scrollbar for elements that opt-in. */
.custom-scrollbar::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #e4e7ec;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #98a2b3;
border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #667085;
}
:root {
--piveo-bg: #ffffff;
--piveo-card: #eef2f6;
--piveo-border: #d0d5dd;
--piveo-text: #101828;
--piveo-body: #344054;
--piveo-muted: #667085;
--piveo-accent: #101828;
--piveo-accent-hover: #1d2939;
--piveo-accent-active: #0b111b;
--piveo-spring-soft: cubic-bezier(0.34, 1.3, 0.2, 1);
--piveo-spring-strong: cubic-bezier(0.25, 1, 0.5, 1);
/* Override Untitled UI brand ramp to monochrome (remove orange from primary UI) */
--color-brand-25: rgb(252 252 253);
--color-brand-50: rgb(249 250 251);
--color-brand-100: rgb(243 244 246);
--color-brand-200: rgb(229 231 235);
--color-brand-300: rgb(209 213 219);
--color-brand-400: rgb(156 163 175);
--color-brand-500: rgb(75 85 99);
--color-brand-600: rgb(55 65 81);
--color-brand-700: rgb(31 41 55);
--color-brand-800: rgb(17 24 39);
--color-brand-900: rgb(16 24 40);
--color-brand-950: rgb(3 7 18);
}
.piveo-spring-soft {
transition-timing-function: var(--piveo-spring-soft);
}
.piveo-spring-strong {
transition-timing-function: var(--piveo-spring-strong);
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Global legacy palette bridge: map old dark/banana/cyan/purple classes to Piveo light tokens. */
.piveo-root [class*="border-dark-"] {
border-color: var(--piveo-border) !important;
}
.piveo-root [class*="bg-dark-900"] {
background-color: var(--piveo-bg) !important;
}
.piveo-root [class*="bg-dark-800"] {
background-color: #ffffff !important;
}
.piveo-root [class*="bg-dark-700"] {
background-color: var(--piveo-card) !important;
}
.piveo-root [class*="bg-dark-600"] {
background-color: #e4e7ec !important;
}
.piveo-root [class*="bg-dark-900/"],
.piveo-root [class*="bg-dark-800/"],
.piveo-root [class*="bg-dark-700/"] {
background-color: rgba(255, 255, 255, 0.82) !important;
}
.piveo-root [class*="hover:bg-dark-900"]:hover {
background-color: #f9fafb !important;
}
.piveo-root [class*="hover:bg-dark-800"]:hover,
.piveo-root [class*="hover:bg-dark-700"]:hover,
.piveo-root [class*="hover:bg-dark-600"]:hover {
background-color: #f2f4f7 !important;
}
.piveo-root [class*="text-dark-900"],
.piveo-root [class*="text-dark-800"],
.piveo-root [class*="text-gray-100"],
.piveo-root [class*="text-gray-200"],
.piveo-root [class*="text-gray-300"] {
color: var(--piveo-text) !important;
}
.piveo-root [class*="text-gray-400"],
.piveo-root [class*="text-gray-500"] {
color: var(--piveo-body) !important;
}
.piveo-root [class*="text-gray-600"],
.piveo-root [class*="text-gray-700"] {
color: var(--piveo-muted) !important;
}
.piveo-root [class*="placeholder-gray-"]::placeholder {
color: var(--piveo-muted) !important;
opacity: 1;
}
.piveo-root [class*="text-banana-"],
.piveo-root [class*="text-cyan-"],
.piveo-root [class*="text-purple-"] {
color: var(--piveo-text) !important;
}
.piveo-root [class*="hover:text-banana-"]:hover,
.piveo-root [class*="hover:text-cyan-"]:hover,
.piveo-root [class*="hover:text-purple-"]:hover {
color: var(--piveo-text) !important;
}
.piveo-root [class*="border-banana-"],
.piveo-root [class*="border-cyan-"],
.piveo-root [class*="border-purple-"],
.piveo-root [class*="border-emerald-"] {
border-color: var(--piveo-text) !important;
}
.piveo-root [class*="focus:border-banana-"]:focus,
.piveo-root [class*="focus:border-cyan-"]:focus,
.piveo-root [class*="focus:border-purple-"]:focus {
border-color: var(--piveo-text) !important;
}
.piveo-root [class*="bg-banana-500"],
.piveo-root [class*="bg-cyan-500"],
.piveo-root [class*="bg-purple-500"] {
background-color: var(--piveo-text) !important;
}
.piveo-root [class*="bg-banana-400"],
.piveo-root [class*="bg-cyan-400"],
.piveo-root [class*="bg-purple-400"] {
background-color: var(--piveo-accent-hover) !important;
}
.piveo-root [class*="bg-banana-500/"],
.piveo-root [class*="bg-cyan-500/"],
.piveo-root [class*="bg-purple-500/"],
.piveo-root [class*="bg-banana-400/"],
.piveo-root [class*="bg-cyan-400/"],
.piveo-root [class*="bg-purple-400/"] {
background-color: #e7ecf3 !important;
}
.piveo-root [class*="hover:bg-banana-"]:hover,
.piveo-root [class*="hover:bg-cyan-"]:hover,
.piveo-root [class*="hover:bg-purple-"]:hover {
background-color: #dde3eb !important;
}
.piveo-root [class*="accent-banana-"],
.piveo-root [class*="accent-cyan-"],
.piveo-root [class*="accent-purple-"] {
accent-color: var(--piveo-text) !important;
}
.piveo-root [class*="ring-banana-"],
.piveo-root [class*="ring-cyan-"],
.piveo-root [class*="ring-purple-"] {
--tw-ring-color: var(--piveo-text) !important;
}
.piveo-root [class*="bg-zinc-900"] {
background-color: var(--piveo-bg) !important;
}
.piveo-root [class*="bg-zinc-800"] {
background-color: var(--piveo-card) !important;
}
.piveo-root [class*="bg-zinc-700"] {
background-color: #e7ecf3 !important;
}
.piveo-root [class*="border-zinc-"] {
border-color: var(--piveo-border) !important;
}
.piveo-root [class*="text-zinc-200"],
.piveo-root [class*="text-zinc-300"] {
color: var(--piveo-text) !important;
}
.piveo-root [class*="text-zinc-400"],
.piveo-root [class*="text-zinc-500"] {
color: var(--piveo-body) !important;
}
.piveo-root [class*="hover:bg-zinc-"]:hover {
background-color: #dde3eb !important;
}
.piveo-root [class*="hover:text-zinc-"]:hover {
color: var(--piveo-text) !important;
}
/* Preserve contrast for legacy solid accent buttons that were using dark text. */
.piveo-root [class*="bg-banana-"][class*="text-dark-"],
.piveo-root [class*="bg-cyan-"][class*="text-dark-"],
.piveo-root [class*="bg-purple-"][class*="text-dark-"] {
color: #ffffff !important;
}