liquid-glass-for-react 0.0.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +289 -66
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1474 -0
- package/dist/index.d.ts +1474 -2
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +1178 -0
- package/package.json +67 -36
- package/dist/App.d.ts +0 -3
- package/dist/App.d.ts.map +0 -1
- package/dist/components/Alert/Alert.d.ts +0 -21
- package/dist/components/Alert/Alert.d.ts.map +0 -1
- package/dist/components/Alert/index.d.ts +0 -2
- package/dist/components/Alert/index.d.ts.map +0 -1
- package/dist/components/Badge/Badge.d.ts +0 -7
- package/dist/components/Badge/Badge.d.ts.map +0 -1
- package/dist/components/Badge/index.d.ts +0 -2
- package/dist/components/Badge/index.d.ts.map +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
- package/dist/components/Breadcrumbs/index.d.ts +0 -2
- package/dist/components/Breadcrumbs/index.d.ts.map +0 -1
- package/dist/components/Button/Button.d.ts +0 -14
- package/dist/components/Button/Button.d.ts.map +0 -1
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Button/index.d.ts.map +0 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +0 -6
- package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +0 -1
- package/dist/components/ButtonGroup/index.d.ts +0 -2
- package/dist/components/ButtonGroup/index.d.ts.map +0 -1
- package/dist/components/Calendar/Calendar.d.ts +0 -5
- package/dist/components/Calendar/Calendar.d.ts.map +0 -1
- package/dist/components/Calendar/index.d.ts +0 -2
- package/dist/components/Calendar/index.d.ts.map +0 -1
- package/dist/components/Card/Card.d.ts +0 -7
- package/dist/components/Card/Card.d.ts.map +0 -1
- package/dist/components/Card/CardBody.d.ts +0 -6
- package/dist/components/Card/CardBody.d.ts.map +0 -1
- package/dist/components/Card/CardFooter.d.ts +0 -6
- package/dist/components/Card/CardFooter.d.ts.map +0 -1
- package/dist/components/Card/CardHeader.d.ts +0 -14
- package/dist/components/Card/CardHeader.d.ts.map +0 -1
- package/dist/components/Card/index.d.ts +0 -3
- package/dist/components/Card/index.d.ts.map +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts +0 -7
- package/dist/components/Checkbox/Checkbox.d.ts.map +0 -1
- package/dist/components/Checkbox/index.d.ts +0 -2
- package/dist/components/Checkbox/index.d.ts.map +0 -1
- package/dist/components/Chip/Chip.d.ts +0 -6
- package/dist/components/Chip/Chip.d.ts.map +0 -1
- package/dist/components/Chip/index.d.ts +0 -2
- package/dist/components/Chip/index.d.ts.map +0 -1
- package/dist/components/Code/Code.d.ts +0 -6
- package/dist/components/Code/Code.d.ts.map +0 -1
- package/dist/components/Code/index.d.ts +0 -2
- package/dist/components/Code/index.d.ts.map +0 -1
- package/dist/components/DatePicker/DatePicker.d.ts +0 -2
- package/dist/components/DatePicker/DatePicker.d.ts.map +0 -1
- package/dist/components/DatePicker/index.d.ts +0 -2
- package/dist/components/DatePicker/index.d.ts.map +0 -1
- package/dist/components/Dropdown/Dropdown.d.ts +0 -2
- package/dist/components/Dropdown/Dropdown.d.ts.map +0 -1
- package/dist/components/Dropdown/index.d.ts +0 -2
- package/dist/components/Dropdown/index.d.ts.map +0 -1
- package/dist/components/Input/Input.d.ts +0 -3
- package/dist/components/Input/Input.d.ts.map +0 -1
- package/dist/components/Modal/Modal.d.ts +0 -9
- package/dist/components/Modal/Modal.d.ts.map +0 -1
- package/dist/components/Modal/index.d.ts +0 -2
- package/dist/components/Modal/index.d.ts.map +0 -1
- package/dist/components/Pagination/Pagination.d.ts +0 -7
- package/dist/components/Pagination/Pagination.d.ts.map +0 -1
- package/dist/components/Pagination/index.d.ts +0 -2
- package/dist/components/Pagination/index.d.ts.map +0 -1
- package/dist/components/Radio/Radio.d.ts +0 -8
- package/dist/components/Radio/Radio.d.ts.map +0 -1
- package/dist/components/Radio/index.d.ts +0 -2
- package/dist/components/Radio/index.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -16
- package/dist/components/index.d.ts.map +0 -1
- package/dist/liquid-glass-for-react.es.js +0 -1081
- package/dist/liquid-glass-for-react.umd.js +0 -154
- package/dist/main.d.ts +0 -1
- package/dist/main.d.ts.map +0 -1
- package/dist/vite.svg +0 -1
package/dist/styles.css
ADDED
|
@@ -0,0 +1,1178 @@
|
|
|
1
|
+
@theme inline {
|
|
2
|
+
--color-liquid-accent: var(--lg-accent);
|
|
3
|
+
--color-liquid-text: var(--lg-text);
|
|
4
|
+
--color-liquid-secondary: var(--lg-text-secondary);
|
|
5
|
+
--color-liquid-separator: var(--lg-separator);
|
|
6
|
+
--radius-liquid: var(--lg-radius);
|
|
7
|
+
--font-liquid: var(--lg-font);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@layer base {
|
|
11
|
+
:root {
|
|
12
|
+
--lg-accent: #0a84ff;
|
|
13
|
+
--lg-accent-rgb: 10, 132, 255;
|
|
14
|
+
--lg-text: rgba(14, 18, 27, 0.96);
|
|
15
|
+
--lg-text-secondary: rgba(25, 31, 42, 0.64);
|
|
16
|
+
--lg-text-tertiary: rgba(25, 31, 42, 0.42);
|
|
17
|
+
--lg-canvas: #eef2f8;
|
|
18
|
+
--lg-surface: rgba(255, 255, 255, 0.46);
|
|
19
|
+
--lg-surface-strong: rgba(255, 255, 255, 0.68);
|
|
20
|
+
--lg-surface-clear: rgba(255, 255, 255, 0.24);
|
|
21
|
+
--lg-surface-overlay: rgba(246, 247, 250, 0.82);
|
|
22
|
+
--lg-surface-overlay-control: rgba(199, 201, 208, 0.70);
|
|
23
|
+
--lg-surface-overlay-strong: rgba(224, 225, 230, 0.90);
|
|
24
|
+
--lg-overlay-backdrop: rgba(76, 78, 88, 0.30);
|
|
25
|
+
--lg-separator: rgba(36, 43, 57, 0.14);
|
|
26
|
+
--lg-highlight: rgba(255, 255, 255, 0.92);
|
|
27
|
+
--lg-reflection: white;
|
|
28
|
+
--lg-thumb-surface: initial;
|
|
29
|
+
--lg-shadow: rgba(28, 35, 49, 0.2);
|
|
30
|
+
--lg-radius: 24px;
|
|
31
|
+
--lg-blur: 24px;
|
|
32
|
+
--lg-clear-blur: 32px;
|
|
33
|
+
--lg-paper-blur: 38px;
|
|
34
|
+
--lg-control-blur: 18px;
|
|
35
|
+
--lg-detail-blur: 12px;
|
|
36
|
+
--lg-backdrop-blur: 9px;
|
|
37
|
+
--lg-saturation: 180%;
|
|
38
|
+
--lg-control-saturation: 150%;
|
|
39
|
+
--lg-vivid-saturation: 170%;
|
|
40
|
+
--lg-control-radius: 14px;
|
|
41
|
+
--lg-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
|
|
42
|
+
--lg-motion-duration-fast: 160ms;
|
|
43
|
+
--lg-motion-duration-standard: 260ms;
|
|
44
|
+
--lg-motion-duration-slow: 420ms;
|
|
45
|
+
--lg-motion-ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
46
|
+
--lg-motion-ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
|
|
47
|
+
--lg-motion-ease-exit: cubic-bezier(0.4, 0, 1, 1);
|
|
48
|
+
--lg-motion-spring-soft: cubic-bezier(0.22, 1, 0.36, 1);
|
|
49
|
+
--lg-motion-spring-bouncy: cubic-bezier(0.16, 1.25, 0.3, 1);
|
|
50
|
+
--lg-motion-press-scale: 1.5;
|
|
51
|
+
--lg-motion-press-scale-subtle: 1.18;
|
|
52
|
+
--lg-spring: var(--lg-motion-spring-soft);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-lg-scheme="dark"],
|
|
56
|
+
.lg-dark {
|
|
57
|
+
--lg-text: rgba(255, 255, 255, 0.96);
|
|
58
|
+
--lg-text-secondary: rgba(235, 239, 248, 0.66);
|
|
59
|
+
--lg-text-tertiary: rgba(235, 239, 248, 0.42);
|
|
60
|
+
--lg-canvas: #080b12;
|
|
61
|
+
--lg-surface: rgba(35, 40, 51, 0.46);
|
|
62
|
+
--lg-surface-strong: rgba(49, 55, 68, 0.68);
|
|
63
|
+
--lg-surface-clear: rgba(28, 33, 44, 0.28);
|
|
64
|
+
--lg-surface-overlay: rgba(31, 36, 47, 0.82);
|
|
65
|
+
--lg-surface-overlay-control: rgba(71, 76, 88, 0.70);
|
|
66
|
+
--lg-surface-overlay-strong: rgba(58, 63, 76, 0.90);
|
|
67
|
+
--lg-overlay-backdrop: rgba(0, 0, 0, 0.46);
|
|
68
|
+
--lg-separator: rgba(255, 255, 255, 0.16);
|
|
69
|
+
--lg-highlight: rgba(154, 178, 215, 0.32);
|
|
70
|
+
--lg-reflection: rgba(154, 178, 215, 0.18);
|
|
71
|
+
--lg-thumb-surface: linear-gradient(155deg, rgba(137, 158, 188, 0.94), rgba(81, 101, 130, 0.78));
|
|
72
|
+
--lg-shadow: rgba(0, 0, 0, 0.56);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media (prefers-color-scheme: dark) {
|
|
76
|
+
:root:not([data-lg-scheme]) .lg-root:not([data-lg-scheme]) {
|
|
77
|
+
--lg-text: rgba(255, 255, 255, 0.96);
|
|
78
|
+
--lg-text-secondary: rgba(235, 239, 248, 0.66);
|
|
79
|
+
--lg-text-tertiary: rgba(235, 239, 248, 0.42);
|
|
80
|
+
--lg-canvas: #080b12;
|
|
81
|
+
--lg-surface: rgba(35, 40, 51, 0.46);
|
|
82
|
+
--lg-surface-strong: rgba(49, 55, 68, 0.68);
|
|
83
|
+
--lg-surface-clear: rgba(28, 33, 44, 0.28);
|
|
84
|
+
--lg-surface-overlay: rgba(31, 36, 47, 0.82);
|
|
85
|
+
--lg-surface-overlay-control: rgba(71, 76, 88, 0.70);
|
|
86
|
+
--lg-surface-overlay-strong: rgba(58, 63, 76, 0.90);
|
|
87
|
+
--lg-overlay-backdrop: rgba(0, 0, 0, 0.46);
|
|
88
|
+
--lg-separator: rgba(255, 255, 255, 0.16);
|
|
89
|
+
--lg-highlight: rgba(154, 178, 215, 0.32);
|
|
90
|
+
--lg-reflection: rgba(154, 178, 215, 0.18);
|
|
91
|
+
--lg-thumb-surface: linear-gradient(155deg, rgba(137, 158, 188, 0.94), rgba(81, 101, 130, 0.78));
|
|
92
|
+
--lg-shadow: rgba(0, 0, 0, 0.56);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.lg-root {
|
|
97
|
+
color: var(--lg-text);
|
|
98
|
+
font-family: var(--lg-font);
|
|
99
|
+
font-size: 15px;
|
|
100
|
+
line-height: 1.4;
|
|
101
|
+
-webkit-font-smoothing: antialiased;
|
|
102
|
+
text-rendering: optimizeLegibility;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.lg-root button,
|
|
106
|
+
.lg-root input,
|
|
107
|
+
.lg-root textarea,
|
|
108
|
+
.lg-root select {
|
|
109
|
+
color: inherit;
|
|
110
|
+
font: inherit;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@layer components {
|
|
115
|
+
:where(.lg-modal, .lg-popper, .lg-snackbar-transition) {
|
|
116
|
+
color: var(--lg-text);
|
|
117
|
+
font-family: var(--lg-font);
|
|
118
|
+
font-size: 15px;
|
|
119
|
+
line-height: 1.4;
|
|
120
|
+
-webkit-font-smoothing: antialiased;
|
|
121
|
+
text-rendering: optimizeLegibility;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
:where(.lg-modal, .lg-popper, .lg-snackbar-transition) :where(button, input, textarea, select) {
|
|
125
|
+
color: inherit;
|
|
126
|
+
font: inherit;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.lg-glass {
|
|
130
|
+
--lg-glass-radius: var(--lg-radius);
|
|
131
|
+
--lg-glass-blur: var(--lg-blur);
|
|
132
|
+
--lg-glass-saturation: var(--lg-saturation);
|
|
133
|
+
--lg-pointer-x: 50%;
|
|
134
|
+
--lg-pointer-y: 0%;
|
|
135
|
+
--lg-tint: transparent;
|
|
136
|
+
position: relative;
|
|
137
|
+
isolation: isolate;
|
|
138
|
+
overflow: clip;
|
|
139
|
+
border: 1px solid color-mix(in srgb, var(--lg-highlight) 44%, transparent);
|
|
140
|
+
border-radius: var(--lg-glass-radius);
|
|
141
|
+
color: var(--lg-text);
|
|
142
|
+
background:
|
|
143
|
+
radial-gradient(ellipse 115% 52% at 50% -22%, color-mix(in srgb, var(--lg-highlight) 26%, transparent), transparent 72%),
|
|
144
|
+
radial-gradient(ellipse 76% 78% at 100% 116%, color-mix(in srgb, var(--lg-tint) 12%, transparent), transparent 74%),
|
|
145
|
+
color-mix(in srgb, var(--lg-surface) 96%, var(--lg-tint));
|
|
146
|
+
box-shadow:
|
|
147
|
+
0 1px 0 color-mix(in srgb, var(--lg-reflection) 64%, transparent) inset,
|
|
148
|
+
0 -1px 0 rgba(0, 0, 0, 0.045) inset,
|
|
149
|
+
0 18px 46px -25px var(--lg-shadow),
|
|
150
|
+
0 3px 10px -7px rgba(0, 0, 0, 0.15);
|
|
151
|
+
/* Keep the unprefixed declaration last so CSS optimization retains it. */
|
|
152
|
+
-webkit-backdrop-filter: blur(var(--lg-glass-blur)) saturate(var(--lg-glass-saturation)) brightness(1.025);
|
|
153
|
+
backdrop-filter: blur(var(--lg-glass-blur)) saturate(var(--lg-glass-saturation)) brightness(1.025);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.lg-glass::before {
|
|
157
|
+
content: "";
|
|
158
|
+
position: absolute;
|
|
159
|
+
z-index: -1;
|
|
160
|
+
inset: 0;
|
|
161
|
+
border-radius: inherit;
|
|
162
|
+
pointer-events: none;
|
|
163
|
+
padding: 1px;
|
|
164
|
+
background:
|
|
165
|
+
radial-gradient(ellipse 88% 32% at 50% 0%, color-mix(in srgb, var(--lg-reflection) 86%, transparent), transparent 76%),
|
|
166
|
+
linear-gradient(180deg, color-mix(in srgb, var(--lg-reflection) 50%, transparent), color-mix(in srgb, var(--lg-reflection) 13%, transparent) 42%, color-mix(in srgb, var(--lg-reflection) 8%, transparent) 70%, rgba(0, 0, 0, 0.07));
|
|
167
|
+
mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
|
|
168
|
+
mask-composite: exclude;
|
|
169
|
+
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
|
|
170
|
+
-webkit-mask-composite: xor;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.lg-glass__light {
|
|
174
|
+
position: absolute;
|
|
175
|
+
z-index: -1;
|
|
176
|
+
inset: -32%;
|
|
177
|
+
pointer-events: none;
|
|
178
|
+
opacity: 0.4;
|
|
179
|
+
background:
|
|
180
|
+
radial-gradient(circle 22% at var(--lg-pointer-x) var(--lg-pointer-y), color-mix(in srgb, var(--lg-reflection) 62%, transparent), transparent 100%),
|
|
181
|
+
radial-gradient(ellipse 45% 24% at 50% 0%, color-mix(in srgb, var(--lg-reflection) 28%, transparent), transparent 100%),
|
|
182
|
+
radial-gradient(ellipse 36% 32% at 94% 104%, color-mix(in srgb, var(--lg-tint) 15%, transparent), transparent 100%);
|
|
183
|
+
filter: blur(22px);
|
|
184
|
+
mix-blend-mode: soft-light;
|
|
185
|
+
transform: translate3d(0, 0, 0);
|
|
186
|
+
transition: opacity 280ms ease;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.lg-glass__content {
|
|
190
|
+
position: relative;
|
|
191
|
+
z-index: 1;
|
|
192
|
+
min-width: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.lg-glass[data-lg-variant="clear"] {
|
|
196
|
+
--lg-glass-blur: var(--lg-clear-blur);
|
|
197
|
+
background:
|
|
198
|
+
radial-gradient(ellipse 116% 48% at 50% -20%, color-mix(in srgb, var(--lg-reflection) 22%, transparent), transparent 74%),
|
|
199
|
+
radial-gradient(ellipse 72% 76% at 100% 115%, color-mix(in srgb, var(--lg-tint) 10%, transparent), transparent 76%),
|
|
200
|
+
color-mix(in srgb, var(--lg-surface-clear) 94%, var(--lg-tint));
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.lg-glass[data-lg-variant="prominent"] {
|
|
204
|
+
--lg-tint: var(--lg-accent);
|
|
205
|
+
color: white;
|
|
206
|
+
border-color: color-mix(in srgb, var(--lg-reflection) 46%, transparent);
|
|
207
|
+
background:
|
|
208
|
+
radial-gradient(ellipse 116% 50% at 50% -20%, color-mix(in srgb, var(--lg-reflection) 30%, transparent), transparent 72%),
|
|
209
|
+
color-mix(in srgb, var(--lg-accent) 78%, rgba(30, 60, 110, 0.54));
|
|
210
|
+
box-shadow:
|
|
211
|
+
0 1px 0 color-mix(in srgb, var(--lg-reflection) 65%, transparent) inset,
|
|
212
|
+
0 -1px 0 rgba(0, 0, 0, 0.16) inset,
|
|
213
|
+
0 10px 30px -10px color-mix(in srgb, var(--lg-accent) 65%, transparent);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.lg-glass[data-lg-variant="tinted"] {
|
|
217
|
+
background:
|
|
218
|
+
radial-gradient(ellipse 116% 50% at 50% -20%, color-mix(in srgb, var(--lg-reflection) 25%, transparent), transparent 74%),
|
|
219
|
+
radial-gradient(ellipse 72% 76% at 100% 115%, color-mix(in srgb, var(--lg-tint) 14%, transparent), transparent 76%),
|
|
220
|
+
color-mix(in srgb, var(--lg-tint) 22%, var(--lg-surface));
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.lg-glass:is(.lg-dialog, .lg-popover__glass, .lg-snackbar, .lg-drawer, .lg-autocomplete__popover),
|
|
224
|
+
.lg-modal__content > .lg-glass {
|
|
225
|
+
--lg-surface: var(--lg-surface-overlay-control);
|
|
226
|
+
--lg-surface-strong: var(--lg-surface-overlay-strong);
|
|
227
|
+
background:
|
|
228
|
+
radial-gradient(ellipse 116% 48% at 50% -20%, color-mix(in srgb, var(--lg-reflection) 32%, transparent), transparent 74%),
|
|
229
|
+
radial-gradient(ellipse 72% 76% at 100% 115%, color-mix(in srgb, var(--lg-tint) 8%, transparent), transparent 76%),
|
|
230
|
+
color-mix(in srgb, var(--lg-surface-overlay) 97%, var(--lg-tint));
|
|
231
|
+
box-shadow:
|
|
232
|
+
0 1px 0 color-mix(in srgb, var(--lg-reflection) 78%, transparent) inset,
|
|
233
|
+
0 -1px 0 rgba(0, 0, 0, 0.06) inset,
|
|
234
|
+
0 26px 62px -28px var(--lg-shadow),
|
|
235
|
+
0 7px 20px -12px rgba(0, 0, 0, 0.22);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.lg-glass[data-lg-tone="accent"] { --lg-tint: var(--lg-accent); }
|
|
239
|
+
.lg-glass[data-lg-tone="success"] { --lg-tint: #30d158; }
|
|
240
|
+
.lg-glass[data-lg-tone="warning"] { --lg-tint: #ff9f0a; }
|
|
241
|
+
.lg-glass[data-lg-tone="danger"] { --lg-tint: #ff453a; }
|
|
242
|
+
.lg-glass[data-lg-tone="info"] { --lg-tint: #64d2ff; }
|
|
243
|
+
|
|
244
|
+
.lg-interactive {
|
|
245
|
+
cursor: pointer;
|
|
246
|
+
transition: transform 420ms var(--lg-spring), box-shadow 420ms var(--lg-spring), background 220ms ease;
|
|
247
|
+
}
|
|
248
|
+
.lg-interactive:hover { transform: translateY(-1px) scale(1.006); }
|
|
249
|
+
.lg-interactive:active { transform: scale(var(--lg-motion-press-scale-subtle)); transition-duration: 120ms; }
|
|
250
|
+
.lg-interactive:focus-visible { outline: 3px solid color-mix(in srgb, var(--lg-accent) 48%, transparent); outline-offset: 3px; }
|
|
251
|
+
|
|
252
|
+
.lg-title { margin: 0; color: inherit; font-size: 1.06em; font-weight: 650; line-height: 1.24; letter-spacing: -0.012em; }
|
|
253
|
+
.lg-description { margin: 0; color: var(--lg-text-secondary); line-height: 1.45; }
|
|
254
|
+
.lg-content { min-width: 0; }
|
|
255
|
+
.lg-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
|
|
256
|
+
.lg-header, .lg-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
257
|
+
.lg-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
|
|
258
|
+
|
|
259
|
+
.lg-button {
|
|
260
|
+
--lg-button-bg: var(--lg-surface);
|
|
261
|
+
--lg-button-border: color-mix(in srgb, var(--lg-highlight) 52%, transparent);
|
|
262
|
+
position: relative;
|
|
263
|
+
isolation: isolate;
|
|
264
|
+
display: inline-grid;
|
|
265
|
+
place-items: center;
|
|
266
|
+
min-width: max-content;
|
|
267
|
+
min-height: 40px;
|
|
268
|
+
padding: 0 16px;
|
|
269
|
+
overflow: hidden;
|
|
270
|
+
border: 1px solid var(--lg-button-border);
|
|
271
|
+
border-radius: var(--lg-button-radius, 999px);
|
|
272
|
+
color: var(--lg-text);
|
|
273
|
+
background: linear-gradient(145deg, color-mix(in srgb, var(--lg-reflection) 22%, transparent), transparent 48%), var(--lg-button-bg);
|
|
274
|
+
box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 58%, transparent) inset, 0 -1px 0 rgba(0,0,0,.08) inset, 0 5px 14px -8px var(--lg-shadow);
|
|
275
|
+
-webkit-backdrop-filter: blur(var(--lg-button-blur, var(--lg-control-blur))) saturate(var(--lg-vivid-saturation));
|
|
276
|
+
backdrop-filter: blur(var(--lg-button-blur, var(--lg-control-blur))) saturate(var(--lg-vivid-saturation));
|
|
277
|
+
cursor: pointer;
|
|
278
|
+
user-select: none;
|
|
279
|
+
-webkit-tap-highlight-color: transparent;
|
|
280
|
+
transition: transform var(--lg-button-duration, 380ms) var(--lg-spring), background 180ms ease, box-shadow 280ms ease, opacity 180ms ease;
|
|
281
|
+
}
|
|
282
|
+
.lg-button::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% -35%, color-mix(in srgb, var(--lg-reflection) 75%, transparent), transparent 48%); opacity: .58; }
|
|
283
|
+
.lg-button__light { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 20%, color-mix(in srgb, var(--lg-reflection) 25%, transparent) 48%, transparent 76%); transform: translateX(-120%); transition: transform 600ms var(--lg-spring); }
|
|
284
|
+
.lg-button__ripples { position: absolute; z-index: 0; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
|
|
285
|
+
.lg-button__ripple { position: absolute; border-radius: 50%; opacity: 0; background: color-mix(in srgb, currentColor 24%, color-mix(in srgb, var(--lg-reflection) 72%, transparent)); transform: scale(0); animation: lg-button-ripple 620ms cubic-bezier(.2,.75,.3,1); mix-blend-mode: soft-light; }
|
|
286
|
+
.lg-button:hover:not(:disabled) { transform: translateY(-1px) scale(1.018); box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 68%, transparent) inset, 0 8px 18px -9px var(--lg-shadow); }
|
|
287
|
+
.lg-button:hover:not(:disabled) .lg-button__light { transform: translateX(120%); }
|
|
288
|
+
.lg-button:active:not(:disabled) { transform: scale(var(--lg-motion-press-scale)); transition-duration: 110ms; }
|
|
289
|
+
.lg-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--lg-accent) 50%, transparent); outline-offset: 2px; }
|
|
290
|
+
.lg-button:disabled { cursor: not-allowed; opacity: .42; }
|
|
291
|
+
.lg-button__content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; }
|
|
292
|
+
.lg-button__label { display: inline-flex; min-width: 0; align-items: center; justify-content: center; line-height: 1.15; }
|
|
293
|
+
.lg-button__content > svg, .lg-button__content > span > svg, .lg-button__label > svg { display: block; width: 1.25em; height: 1.25em; flex: 0 0 auto; }
|
|
294
|
+
.lg-button__content > span:not(.lg-button__label) { display: inline-flex; align-items: center; justify-content: center; }
|
|
295
|
+
.lg-button[data-lg-variant="clear"] { --lg-button-bg: transparent; box-shadow: none; backdrop-filter: none; }
|
|
296
|
+
.lg-button[data-lg-variant="prominent"] { --lg-button-bg: color-mix(in srgb, var(--lg-accent) 82%, #305b8c); --lg-button-border: color-mix(in srgb, var(--lg-reflection) 42%, transparent); color: #fff; box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 62%, transparent) inset, 0 -1px 0 rgba(0,0,0,.14) inset, 0 8px 22px -9px color-mix(in srgb, var(--lg-accent) 72%, transparent); }
|
|
297
|
+
.lg-button[data-lg-variant="tinted"] { --lg-button-bg: color-mix(in srgb, var(--lg-accent) 18%, var(--lg-surface)); color: var(--lg-accent); }
|
|
298
|
+
.lg-button[data-lg-tone="danger"] { --lg-accent: #ff453a; }
|
|
299
|
+
.lg-button[data-lg-tone="success"] { --lg-accent: #30d158; }
|
|
300
|
+
.lg-button[data-lg-tone="warning"] { --lg-accent: #ff9f0a; }
|
|
301
|
+
.lg-button[data-lg-tone="info"] { --lg-accent: #32ade6; }
|
|
302
|
+
.lg-button[data-lg-size="sm"] { min-height: 32px; padding-inline: 12px; font-size: 13px; }
|
|
303
|
+
.lg-button[data-lg-size="lg"] { min-height: 48px; padding-inline: 20px; font-size: 16px; }
|
|
304
|
+
.lg-button[data-lg-size="xl"] { min-height: 56px; padding-inline: 24px; font-size: 17px; font-weight: 600; }
|
|
305
|
+
.lg-button--block { width: 100%; }
|
|
306
|
+
.lg-icon-button { width: 40px; min-width: 40px; padding: 0; aspect-ratio: 1; }
|
|
307
|
+
.lg-icon-button[data-lg-size] { padding: 0; }
|
|
308
|
+
.lg-icon-button .lg-button__content, .lg-icon-button .lg-button__label { width: 100%; height: 100%; }
|
|
309
|
+
.lg-icon-button[data-lg-size="sm"] { width: 32px; min-width: 32px; }
|
|
310
|
+
.lg-icon-button[data-lg-size="lg"] { width: 48px; min-width: 48px; }
|
|
311
|
+
.lg-icon-button[data-lg-size="xl"] { width: 56px; min-width: 56px; }
|
|
312
|
+
.lg-button-group { display: inline-flex; align-items: stretch; gap: 8px; }
|
|
313
|
+
.lg-button-group[data-lg-orientation="vertical"] { flex-direction: column; }
|
|
314
|
+
.lg-button-group[data-lg-attached="true"] { gap: 1px; padding: 3px; border-radius: var(--lg-button-radius, 999px); background: color-mix(in srgb, var(--lg-surface) 85%, transparent); box-shadow: 0 0 0 1px var(--lg-separator); -webkit-backdrop-filter: blur(var(--lg-control-blur)); backdrop-filter: blur(var(--lg-control-blur)); }
|
|
315
|
+
.lg-button-group[data-lg-attached="true"] .lg-button { border: 0; box-shadow: none; }
|
|
316
|
+
.lg-button-group[data-lg-full-width="true"] { display: flex; width: 100%; }
|
|
317
|
+
.lg-button__spinner { display: inline-flex; align-items: center; }
|
|
318
|
+
.lg-button[data-lg-control-variant="bordered"], .lg-button[data-lg-control-variant="ghost"] { border-color: var(--lg-accent); color: var(--lg-accent); }
|
|
319
|
+
.lg-button[data-lg-control-variant="ghost"]:hover { background: color-mix(in srgb, var(--lg-accent) 12%, transparent); }
|
|
320
|
+
.lg-button[data-lg-control-variant="faded"] { border-color: var(--lg-separator); }
|
|
321
|
+
.lg-fab { box-shadow: 0 12px 28px -12px var(--lg-shadow); }
|
|
322
|
+
.lg-fab:not(.lg-fab--extended) { width: 52px; min-width: 52px; padding: 0; }
|
|
323
|
+
.lg-spinner { width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: lg-spin .75s linear infinite; }
|
|
324
|
+
|
|
325
|
+
.lg-field { display: inline-flex; min-width: 0; flex-direction: column; gap: 6px; }
|
|
326
|
+
.lg-field--block { display: flex; width: 100%; }
|
|
327
|
+
.lg-field__label { padding-inline: 3px; color: var(--lg-text-secondary); font-size: 13px; font-weight: 550; }
|
|
328
|
+
.lg-field__helper { padding-inline: 3px; color: var(--lg-text-secondary); font-size: 12px; }
|
|
329
|
+
.lg-field--error .lg-field__label, .lg-field--error .lg-field__helper { color: #ff453a; }
|
|
330
|
+
.lg-input-shell { display: flex; min-width: 0; min-height: 42px; align-items: center; gap: 8px; padding-inline: 12px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--lg-highlight) 40%, var(--lg-separator)); border-radius: var(--lg-field-radius, var(--lg-control-radius)); background: color-mix(in srgb, var(--lg-surface) 82%, transparent); box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 40%, transparent) inset, 0 3px 12px -9px var(--lg-shadow); -webkit-backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
|
|
331
|
+
.lg-input-shell:focus-within { border-color: color-mix(in srgb, var(--lg-accent) 70%, color-mix(in srgb, var(--lg-reflection) 50%, transparent)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lg-accent) 20%, transparent), 0 1px 0 color-mix(in srgb, var(--lg-reflection) 48%, transparent) inset; background: var(--lg-surface-strong); }
|
|
332
|
+
.lg-field--error .lg-input-shell { border-color: #ff453a; box-shadow: 0 0 0 3px color-mix(in srgb, #ff453a 16%, transparent); }
|
|
333
|
+
.lg-input-shell[data-lg-size="sm"] { min-height: 34px; border-radius: var(--lg-field-radius, max(8px, calc(var(--lg-control-radius) - 3px))); font-size: 13px; }
|
|
334
|
+
.lg-input-shell[data-lg-size="lg"] { min-height: 48px; padding-inline: 15px; border-radius: var(--lg-field-radius, calc(var(--lg-control-radius) + 2px)); font-size: 16px; }
|
|
335
|
+
.lg-input-shell[data-lg-size="xl"] { min-height: 56px; padding-inline: 18px; border-radius: var(--lg-field-radius, calc(var(--lg-control-radius) + 5px)); font-size: 17px; }
|
|
336
|
+
.lg-input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--lg-text); background: transparent; }
|
|
337
|
+
.lg-input::placeholder, .lg-textarea::placeholder { color: var(--lg-text-tertiary); }
|
|
338
|
+
.lg-input-shell__affix { display: inline-flex; flex: 0 0 auto; align-items: center; color: var(--lg-text-secondary); }
|
|
339
|
+
.lg-input-shell__inner { display: flex; flex: 1 1 0; min-width: 0; align-items: center; gap: 8px; }
|
|
340
|
+
.lg-input-shell[data-lg-control-variant="bordered"] { background: transparent; box-shadow: none; }
|
|
341
|
+
.lg-input-shell[data-lg-control-variant="faded"] { background: var(--lg-surface-strong); }
|
|
342
|
+
.lg-input-shell[data-lg-control-variant="underlined"] { border-width: 0 0 1px; border-radius: 0; background: transparent; box-shadow: none; }
|
|
343
|
+
.lg-input-shell[data-lg-control-variant="flat"] { border-color: transparent; }
|
|
344
|
+
.lg-input-shell[data-lg-control-variant]:focus-within { border-color: var(--lg-accent); }
|
|
345
|
+
.lg-input-shell:focus-within { transition-duration: var(--lg-field-duration, 180ms); }
|
|
346
|
+
.lg-field__clear { border: 0; border-radius: 50%; padding: 1px 6px; color: var(--lg-text-secondary); background: transparent; cursor: pointer; }
|
|
347
|
+
.lg-field[data-lg-label-placement="outside-left"] { display: inline-grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
|
|
348
|
+
.lg-field[data-lg-label-placement="outside-left"] .lg-field__helper { grid-column: 2; }
|
|
349
|
+
.lg-field[data-lg-label-placement="inside"] > .lg-field__label { margin-bottom: -5px; padding: 5px 12px 0; border-radius: var(--lg-control-radius) var(--lg-control-radius) 0 0; background: var(--lg-surface); }
|
|
350
|
+
.lg-picker-field { position: relative; }
|
|
351
|
+
.lg-picker-trigger { display: flex; min-width: 210px; min-height: 42px; align-items: center; justify-content: space-between; gap: 14px; padding: 0 11px 0 12px; border: 1px solid color-mix(in srgb, var(--lg-highlight) 40%, var(--lg-separator)); border-radius: var(--lg-control-radius); outline: 0; color: var(--lg-text); background: color-mix(in srgb, var(--lg-surface) 82%, transparent); box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 40%, transparent) inset, 0 3px 12px -9px var(--lg-shadow); -webkit-backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); text-align: left; cursor: pointer; transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
|
|
352
|
+
.lg-picker-trigger:hover:not(:disabled) { background: var(--lg-surface-strong); }
|
|
353
|
+
.lg-picker-trigger:focus-visible, .lg-picker-trigger[aria-expanded="true"] { border-color: color-mix(in srgb, var(--lg-accent) 70%, color-mix(in srgb, var(--lg-reflection) 50%, transparent)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lg-accent) 20%, transparent), 0 1px 0 color-mix(in srgb, var(--lg-reflection) 48%, transparent) inset; background: var(--lg-surface-strong); }
|
|
354
|
+
.lg-field--error .lg-picker-trigger { border-color: #ff453a; box-shadow: 0 0 0 3px color-mix(in srgb, #ff453a 16%, transparent); }
|
|
355
|
+
.lg-picker-trigger:disabled { cursor: not-allowed; opacity: .52; }
|
|
356
|
+
.lg-picker-trigger[data-lg-size="sm"] { min-height: 34px; border-radius: max(8px, calc(var(--lg-control-radius) - 3px)); font-size: 13px; }
|
|
357
|
+
.lg-picker-trigger[data-lg-size="lg"] { min-height: 48px; padding-inline: 15px; border-radius: calc(var(--lg-control-radius) + 2px); font-size: 16px; }
|
|
358
|
+
.lg-picker-trigger[data-lg-size="xl"] { min-height: 56px; padding-inline: 18px; border-radius: calc(var(--lg-control-radius) + 5px); font-size: 17px; }
|
|
359
|
+
.lg-field--block .lg-picker-trigger { width: 100%; }
|
|
360
|
+
.lg-picker-trigger__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
361
|
+
.lg-picker-trigger__value[data-lg-placeholder="true"] { color: var(--lg-text-tertiary); }
|
|
362
|
+
.lg-picker-trigger__icon { display: inline-flex; flex: 0 0 auto; color: var(--lg-text-secondary); }
|
|
363
|
+
.lg-picker-trigger__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
|
|
364
|
+
.lg-picker-popover { width: min(330px, calc(100vw - 16px)); }
|
|
365
|
+
.lg-picker-popover--datetime { width: min(540px, calc(100vw - 16px)); }
|
|
366
|
+
.lg-picker-popover .lg-popover__glass { width: 100%; padding: 8px; }
|
|
367
|
+
.lg-picker { display: grid; min-width: 0; gap: 8px; }
|
|
368
|
+
.lg-picker__calendar { min-width: 0; }
|
|
369
|
+
.lg-picker__calendar-header { display: grid; min-height: 38px; grid-template-columns: 34px minmax(0,1fr) 34px; align-items: center; gap: 4px; margin-bottom: 4px; }
|
|
370
|
+
.lg-picker__calendar-header strong { overflow: hidden; font-size: 14px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
|
|
371
|
+
.lg-picker__weekdays, .lg-picker__days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; }
|
|
372
|
+
.lg-picker__weekdays { padding-block: 2px 4px; color: var(--lg-text-tertiary); font-size: 11px; font-weight: 650; text-align: center; }
|
|
373
|
+
.lg-picker__days button { display: grid; min-width: 0; aspect-ratio: 1; padding: 0; place-items: center; border: 0; border-radius: 50%; color: var(--lg-text); background: transparent; font-size: 12px; cursor: pointer; transition: color 140ms ease, background 140ms ease, transform 180ms var(--lg-spring); }
|
|
374
|
+
.lg-picker__days button:hover:not(:disabled) { background: var(--lg-surface-strong); transform: scale(1.06); }
|
|
375
|
+
.lg-picker__days button[data-lg-outside="true"] { color: var(--lg-text-tertiary); opacity: .55; }
|
|
376
|
+
.lg-picker__days button[data-lg-today="true"] { box-shadow: 0 0 0 1px color-mix(in srgb, var(--lg-accent) 58%, transparent) inset; color: var(--lg-accent); }
|
|
377
|
+
.lg-picker__days button[aria-pressed="true"] { color: var(--lg-text); background: color-mix(in srgb, var(--lg-accent) 24%, var(--lg-surface-strong)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--lg-accent) 64%, transparent) inset, 0 5px 12px -7px color-mix(in srgb, var(--lg-accent) 54%, transparent), 0 1px 0 color-mix(in srgb, var(--lg-reflection) 58%, transparent) inset; font-weight: 700; }
|
|
378
|
+
.lg-picker__days button:focus-visible { outline: 2px solid color-mix(in srgb, var(--lg-accent) 62%, transparent); outline-offset: 1px; }
|
|
379
|
+
.lg-picker__days button:disabled { cursor: not-allowed; opacity: .2; }
|
|
380
|
+
.lg-picker__time { display: grid; min-width: 140px; height: 250px; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 5px; padding: 4px; border: 1px solid var(--lg-separator); border-radius: var(--lg-control-radius); background: color-mix(in srgb, var(--lg-surface-clear) 76%, transparent); }
|
|
381
|
+
.lg-picker__time-column { display: flex; height: 100%; gap: 2px; padding-block: 102px; overflow-y: auto; flex-direction: column; scroll-snap-type: y mandatory; scrollbar-width: none; }
|
|
382
|
+
.lg-picker__time-column::-webkit-scrollbar { display: none; }
|
|
383
|
+
.lg-picker__time-column button { min-height: 36px; flex: 0 0 36px; padding: 0 8px; border: 0; border-radius: 10px; color: var(--lg-text-secondary); background: transparent; font-variant-numeric: tabular-nums; scroll-snap-align: center; cursor: pointer; }
|
|
384
|
+
.lg-picker__time-column button:hover { color: var(--lg-text); background: var(--lg-surface); }
|
|
385
|
+
.lg-picker__time-column button[aria-pressed="true"] { color: var(--lg-text); background: var(--lg-surface-strong); box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 48%, transparent) inset, 0 5px 12px -9px var(--lg-shadow); font-weight: 650; }
|
|
386
|
+
.lg-picker__time-column button:focus-visible { outline: 2px solid var(--lg-accent); outline-offset: -2px; }
|
|
387
|
+
.lg-picker__time-separator { font-weight: 700; }
|
|
388
|
+
.lg-picker-popover--datetime .lg-picker { grid-template-columns: minmax(0,1fr) 150px; align-items: stretch; }
|
|
389
|
+
.lg-picker__actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; padding-top: 7px; border-top: 1px solid var(--lg-separator); }
|
|
390
|
+
.lg-picker-popover--datetime .lg-picker__actions { grid-column: 1 / -1; }
|
|
391
|
+
.lg-number-field__steppers { display: grid; margin: -6px -8px -6px 0; border-left: 1px solid var(--lg-separator); }
|
|
392
|
+
.lg-number-field__steppers button { width: 24px; height: 17px; padding: 0; border: 0; color: var(--lg-text-secondary); background: transparent; font-size: 11px; line-height: 1; cursor: pointer; }
|
|
393
|
+
.lg-number-field__steppers button + button { border-top: 1px solid var(--lg-separator); }
|
|
394
|
+
|
|
395
|
+
.lg-choice, .lg-switch { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; user-select: none; }
|
|
396
|
+
.lg-choice__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
|
|
397
|
+
.lg-checkbox__control, .lg-radio__control { position: relative; display: grid; flex: 0 0 auto; width: 20px; height: 20px; place-items: center; border: 1px solid color-mix(in srgb, var(--lg-highlight) 36%, var(--lg-separator)); background: var(--lg-surface); box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 55%, transparent) inset, 0 2px 7px -5px var(--lg-shadow); -webkit-backdrop-filter: blur(var(--lg-detail-blur)); backdrop-filter: blur(var(--lg-detail-blur)); transition: transform 220ms var(--lg-spring), background 180ms ease, border-color 180ms ease; }
|
|
398
|
+
.lg-checkbox__control { border-radius: var(--lg-choice-radius, 6px); }
|
|
399
|
+
.lg-radio__control { border-radius: 50%; }
|
|
400
|
+
.lg-choice__native:focus-visible + .lg-checkbox__control, .lg-choice__native:focus-visible + .lg-radio__control, .lg-choice__native:focus-visible + .lg-switch__track { outline: 3px solid color-mix(in srgb, var(--lg-accent) 44%, transparent); outline-offset: 2px; }
|
|
401
|
+
.lg-choice__native:checked + .lg-checkbox__control, .lg-choice__native:indeterminate + .lg-checkbox__control { border-color: color-mix(in srgb, var(--lg-accent) 74%, white); background: var(--lg-accent); transform: scale(1.03); }
|
|
402
|
+
.lg-checkbox__control svg { width: 14px; fill: none; stroke: white; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.55); transition: opacity 140ms ease, transform 240ms var(--lg-spring); }
|
|
403
|
+
.lg-choice__native:checked + .lg-checkbox__control svg, .lg-choice__native:indeterminate + .lg-checkbox__control svg { opacity: 1; transform: scale(1); }
|
|
404
|
+
.lg-choice__native:checked + .lg-radio__control { border: 6px solid var(--lg-accent); background: white; }
|
|
405
|
+
.lg-choice [aria-invalid="true"] + :is(.lg-checkbox__control, .lg-radio__control), .lg-switch [aria-invalid="true"] + .lg-switch__track { border-color: #e73739; }
|
|
406
|
+
.lg-choice[data-lg-line-through="true"]:has(input:checked) .lg-choice__label { text-decoration: line-through; }
|
|
407
|
+
.lg-checkbox__custom-icon { display: none; align-items: center; justify-content: center; color: white; }
|
|
408
|
+
.lg-choice__native:is(:checked, :indeterminate) + .lg-checkbox__control .lg-checkbox__custom-icon { display: inline-flex; }
|
|
409
|
+
.lg-choice__copy { display: flex; min-width: 0; flex-direction: column; padding-top: 1px; }
|
|
410
|
+
.lg-choice__label { color: var(--lg-text); line-height: 1.25; }
|
|
411
|
+
.lg-choice__description { margin-top: 3px; color: var(--lg-text-secondary); font-size: 12px; line-height: 1.3; }
|
|
412
|
+
.lg-choice:has(input:disabled), .lg-switch:has(input:disabled) { cursor: not-allowed; opacity: .44; }
|
|
413
|
+
.lg-radio-group { display: flex; gap: 12px; }
|
|
414
|
+
.lg-radio-group[data-lg-orientation="vertical"] { flex-direction: column; }
|
|
415
|
+
.lg-radio-group--field[data-lg-orientation] { flex-direction: column; gap: 6px; }
|
|
416
|
+
.lg-radio-group__choices { display: flex; gap: 12px; }
|
|
417
|
+
.lg-radio-group[data-lg-orientation="vertical"] .lg-radio-group__choices { flex-direction: column; }
|
|
418
|
+
.lg-choice :is(.lg-checkbox__control, .lg-radio__control) { transition-duration: var(--lg-choice-duration, 200ms); }
|
|
419
|
+
.lg-choice[data-lg-size="sm"] .lg-checkbox__control, .lg-choice[data-lg-size="sm"] .lg-radio__control { width: 16px; height: 16px; }
|
|
420
|
+
.lg-choice[data-lg-size="lg"] .lg-checkbox__control, .lg-choice[data-lg-size="lg"] .lg-radio__control { width: 24px; height: 24px; }
|
|
421
|
+
|
|
422
|
+
.lg-switch { --lg-switch-track-width: 48px; --lg-switch-track-height: 28px; --lg-switch-thumb-width: 28px; --lg-switch-thumb-height: 22px; --lg-switch-thumb-travel: 16px; --lg-switch-active-thumb-width: calc(var(--lg-switch-thumb-width) * 1.65); --lg-switch-active-thumb-height: calc(var(--lg-switch-thumb-height) * 1.68); --lg-switch-active-offset: calc((var(--lg-switch-active-thumb-width) - var(--lg-switch-thumb-width)) / -2); --lg-switch-drag-x: var(--lg-switch-active-offset); align-items: center; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
|
|
423
|
+
.lg-switch[data-lg-size="sm"] { --lg-switch-track-width: 40px; --lg-switch-track-height: 24px; --lg-switch-thumb-width: 23px; --lg-switch-thumb-height: 18px; --lg-switch-thumb-travel: 13px; }
|
|
424
|
+
.lg-switch[data-lg-size="lg"] { --lg-switch-track-width: 56px; --lg-switch-track-height: 32px; --lg-switch-thumb-width: 33px; --lg-switch-thumb-height: 26px; --lg-switch-thumb-travel: 19px; }
|
|
425
|
+
.lg-switch__track { position: relative; width: var(--lg-switch-track-width); height: var(--lg-switch-track-height); flex: 0 0 auto; border: 1px solid color-mix(in srgb,var(--lg-highlight) 34%,var(--lg-separator)); border-radius: var(--lg-switch-radius, 999px); background: var(--lg-switch-track-color, color-mix(in srgb,var(--lg-text-tertiary) 36%,var(--lg-surface))); box-shadow: 0 1px 3px rgba(0,0,0,.14) inset,0 1px 0 color-mix(in srgb, var(--lg-reflection) 32%, transparent); -webkit-backdrop-filter: blur(var(--lg-detail-blur)) saturate(var(--lg-vivid-saturation)); backdrop-filter: blur(var(--lg-detail-blur)) saturate(var(--lg-vivid-saturation)); transition: background var(--lg-switch-duration, 240ms) cubic-bezier(.42,0,.58,1),border-color var(--lg-switch-duration, 240ms) ease-in-out,box-shadow var(--lg-switch-duration, 240ms) ease-in-out,filter 180ms ease; }
|
|
426
|
+
.lg-switch__track::before { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse 70% 100% at 28% 8%,color-mix(in srgb, var(--lg-reflection) 58%, transparent),transparent 58%); content: ""; opacity: .38; pointer-events: none; transition: transform 360ms var(--lg-spring),opacity 220ms ease; }
|
|
427
|
+
.lg-switch__start, .lg-switch__end { position: absolute; top: 50%; display: grid; place-items: center; transform: translateY(-50%); font-size: 10px; }
|
|
428
|
+
.lg-switch__start { left: 5px; color: white; visibility: hidden; }
|
|
429
|
+
.lg-switch__end { right: 5px; color: var(--lg-text-secondary); }
|
|
430
|
+
.lg-choice__native:checked + .lg-switch__track .lg-switch__start { visibility: visible; }
|
|
431
|
+
.lg-choice__native:checked + .lg-switch__track .lg-switch__end { visibility: hidden; }
|
|
432
|
+
.lg-switch__thumb-icon { display: grid; height: 100%; align-items: center; justify-items: center; font-size: 11px; }
|
|
433
|
+
.lg-switch__thumb { position: absolute; z-index: 1; top: 50%; left: 2px; width: var(--lg-switch-thumb-width); height: var(--lg-switch-thumb-height); overflow: hidden; border: 1px solid color-mix(in srgb, var(--lg-reflection) 72%, transparent); border-radius: var(--lg-switch-radius, 999px); background: var(--lg-switch-thumb-color, var(--lg-thumb-surface, linear-gradient(155deg,rgba(255,255,255,.96),rgba(219,235,247,.68)))); box-shadow: 0 3px 9px rgba(0,0,0,.24),0 1px 1px color-mix(in srgb, var(--lg-reflection) 90%, transparent) inset,0 -1px 0 rgba(55,85,107,.08) inset; -webkit-backdrop-filter: blur(var(--lg-detail-blur)) saturate(var(--lg-control-saturation)); backdrop-filter: blur(var(--lg-detail-blur)) saturate(var(--lg-control-saturation)); transform: translate(0,-50%); transition: transform var(--lg-switch-duration, 320ms) var(--lg-spring),width var(--lg-switch-duration, 250ms) cubic-bezier(.42,0,.58,1),height var(--lg-switch-duration, 270ms) cubic-bezier(.42,0,.58,1),border-color 230ms ease-in-out,background 250ms ease-in-out,box-shadow 250ms ease-in-out,backdrop-filter 250ms ease-in-out; will-change: width,height,transform; }
|
|
434
|
+
.lg-switch__thumb::before { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse 82% 58% at 50% 0%,color-mix(in srgb, var(--lg-reflection) 86%, transparent),color-mix(in srgb, var(--lg-reflection) 20%, transparent) 58%,transparent 76%); content: ""; opacity: .74; pointer-events: none; transition: opacity 220ms ease,transform 280ms var(--lg-spring); }
|
|
435
|
+
.lg-switch__thumb::after { position: absolute; inset: 1px; border-radius: inherit; box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 58%, transparent) inset,0 -1px 0 rgba(43,73,94,.08) inset; content: ""; pointer-events: none; }
|
|
436
|
+
.lg-switch:active .lg-switch__track, .lg-switch[data-lg-dragging="true"] .lg-switch__track { filter: saturate(1.06) brightness(1.03); box-shadow: 0 1px 4px rgba(0,0,0,.15) inset,0 1px 0 color-mix(in srgb, var(--lg-reflection) 28%, transparent); }
|
|
437
|
+
.lg-switch:active .lg-switch__thumb, .lg-switch[data-lg-dragging="true"] .lg-switch__thumb { width: var(--lg-switch-active-thumb-width); height: var(--lg-switch-active-thumb-height); border-color: transparent; background: linear-gradient(180deg,color-mix(in srgb, var(--lg-reflection) 34%, transparent),color-mix(in srgb, var(--lg-reflection) 10%, transparent) 54%,rgba(204,229,246,.17)); box-shadow: 0 8px 18px rgba(0,0,0,.20),0 2px 2px color-mix(in srgb, var(--lg-reflection) 74%, transparent) inset,0 -1px 0 rgba(41,70,91,.10) inset; -webkit-backdrop-filter: blur(var(--lg-backdrop-blur)) saturate(var(--lg-control-saturation)) brightness(1.06); backdrop-filter: blur(var(--lg-backdrop-blur)) saturate(var(--lg-control-saturation)) brightness(1.06); transform: translate(var(--lg-switch-active-offset),-50%); transition: transform 170ms cubic-bezier(.2,1.2,.3,1),width 170ms cubic-bezier(.2,1.3,.3,1),height 190ms cubic-bezier(.2,1.3,.3,1),border-color 120ms ease,background 150ms ease,box-shadow 170ms ease,backdrop-filter 150ms ease; }
|
|
438
|
+
.lg-switch:active .lg-switch__thumb::before, .lg-switch[data-lg-dragging="true"] .lg-switch__thumb::before { opacity: .95; transform: translateY(-3%); }
|
|
439
|
+
.lg-switch:active .lg-switch__thumb::after, .lg-switch[data-lg-dragging="true"] .lg-switch__thumb::after { box-shadow: 0 2px 1px color-mix(in srgb, var(--lg-reflection) 82%, transparent) inset,0 -3px 2px color-mix(in srgb, var(--lg-reflection) 58%, transparent) inset,1px 0 1px color-mix(in srgb, var(--lg-reflection) 32%, transparent) inset,-1px 0 1px rgba(25,54,75,.08) inset; }
|
|
440
|
+
.lg-choice__native:checked + .lg-switch__track { border-color: color-mix(in srgb,var(--lg-switch-checked-color, var(--lg-accent)) 72%,white); background: var(--lg-switch-checked-color, var(--lg-accent)); }
|
|
441
|
+
.lg-choice__native:checked + .lg-switch__track .lg-switch__thumb { transform: translate(var(--lg-switch-thumb-travel),-50%); }
|
|
442
|
+
.lg-switch:active .lg-choice__native:checked + .lg-switch__track .lg-switch__thumb { transform: translate(calc(var(--lg-switch-thumb-travel) + var(--lg-switch-active-offset)),-50%); }
|
|
443
|
+
.lg-switch[data-lg-dragging="true"] .lg-switch__thumb, .lg-switch[data-lg-dragging="true"] .lg-choice__native:checked + .lg-switch__track .lg-switch__thumb { transform: translate(var(--lg-switch-drag-x),-50%); transition: transform 30ms linear,width 170ms cubic-bezier(.2,1.3,.3,1),height 190ms cubic-bezier(.2,1.3,.3,1),border-color 120ms ease,background 150ms ease,box-shadow 170ms ease,backdrop-filter 150ms ease; }
|
|
444
|
+
|
|
445
|
+
.lg-slider { --lg-slider-thumb-size: 24px; --lg-slider-thumb-width: calc(var(--lg-slider-thumb-size) * 1.42); --lg-slider-track-height: 7px; display: inline-flex; min-width: 180px; flex-direction: column; gap: 4px; }
|
|
446
|
+
.lg-slider[data-lg-size="sm"] { --lg-slider-thumb-size: 20px; --lg-slider-track-height: 5px; }
|
|
447
|
+
.lg-slider[data-lg-size="lg"] { --lg-slider-thumb-size: 28px; --lg-slider-track-height: 8px; }
|
|
448
|
+
.lg-slider__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: 1px; color: var(--lg-text-secondary); font-size: 13px; }
|
|
449
|
+
.lg-slider__header output { min-width: 3ch; color: var(--lg-text); font-variant-numeric: tabular-nums; text-align: right; }
|
|
450
|
+
.lg-slider__control { position: relative; display: block; width: 100%; height: 44px; touch-action: pan-y; }
|
|
451
|
+
.lg-slider__track { position: absolute; top: 50%; right: calc(var(--lg-slider-thumb-width) / 2); left: calc(var(--lg-slider-thumb-width) / 2); height: var(--lg-slider-track-height); border: 0; border-radius: var(--lg-slider-radius, 999px); background: var(--lg-slider-track-color, color-mix(in srgb,var(--lg-text-tertiary) 25%,transparent)); box-shadow: 0 0 0 1px color-mix(in srgb,var(--lg-highlight) 24%,transparent) inset,0 1px 3px rgba(0,0,0,.14) inset,0 1px 0 color-mix(in srgb, var(--lg-reflection) 32%, transparent); transform: translateY(-50%); transition: box-shadow 220ms ease,filter 220ms ease; }
|
|
452
|
+
.lg-slider__fill { position: absolute; inset: 0 auto 0 0; width: var(--lg-slider-value); border: 0; border-radius: inherit; background: var(--lg-slider-fill-color, linear-gradient(90deg,var(--lg-accent),color-mix(in srgb,var(--lg-accent) 78%,white))); box-shadow: 0 0 0 1px color-mix(in srgb,var(--lg-accent) 74%,white) inset,0 0 9px color-mix(in srgb,var(--lg-accent) 24%,transparent),0 1px 0 color-mix(in srgb, var(--lg-reflection) 42%, transparent) inset; }
|
|
453
|
+
.lg-slider__thumb { position: absolute; z-index: 1; top: 50%; left: var(--lg-slider-value); width: var(--lg-slider-thumb-width); height: var(--lg-slider-thumb-size); overflow: hidden; border: 1px solid color-mix(in srgb, var(--lg-reflection) 76%, transparent); border-radius: var(--lg-slider-radius, 999px); background: var(--lg-slider-thumb-color, var(--lg-thumb-surface, linear-gradient(155deg,rgba(255,255,255,.94),rgba(212,231,245,.62)))); box-shadow: 0 4px 11px rgba(0,0,0,.24),0 1px 0 color-mix(in srgb, var(--lg-reflection) 90%, transparent) inset,0 -1px 0 rgba(63,91,111,.08) inset; -webkit-backdrop-filter: blur(var(--lg-detail-blur)) saturate(var(--lg-control-saturation)) brightness(1.04); backdrop-filter: blur(var(--lg-detail-blur)) saturate(var(--lg-control-saturation)) brightness(1.04); transform: translate(-50%,-50%); transition: width var(--lg-slider-duration, 250ms) cubic-bezier(.42,0,.58,1),height var(--lg-slider-duration, 270ms) cubic-bezier(.42,0,.58,1),border-color 230ms ease-in-out,box-shadow 250ms ease-in-out,background 250ms ease-in-out,backdrop-filter 250ms ease-in-out; will-change: width,height; }
|
|
454
|
+
.lg-slider__thumb::before { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse 80% 58% at 50% 0%,color-mix(in srgb, var(--lg-reflection) 82%, transparent),color-mix(in srgb, var(--lg-reflection) 18%, transparent) 58%,transparent 76%); content: ""; opacity: .72; pointer-events: none; transition: opacity 260ms ease,transform 340ms cubic-bezier(.16,1,.3,1); }
|
|
455
|
+
.lg-slider__thumb::after { position: absolute; inset: 1px; border-radius: inherit; box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 55%, transparent) inset,0 -1px 0 rgba(65,91,112,.06) inset; content: ""; pointer-events: none; }
|
|
456
|
+
.lg-slider input { position: absolute; z-index: 2; inset: 0; width: 100%; height: 44px; margin: 0; opacity: 0; appearance: none; background: transparent; cursor: pointer; }
|
|
457
|
+
.lg-slider input::-webkit-slider-runnable-track { height: var(--lg-slider-track-height); background: transparent; }
|
|
458
|
+
.lg-slider input::-webkit-slider-thumb { width: var(--lg-slider-thumb-width); height: 44px; appearance: none; border: 0; background: transparent; }
|
|
459
|
+
.lg-slider input::-moz-range-track, .lg-slider input::-moz-range-progress { height: var(--lg-slider-track-height); border: 0; background: transparent; }
|
|
460
|
+
.lg-slider input::-moz-range-thumb { width: var(--lg-slider-thumb-width); height: 44px; border: 0; opacity: 0; background: transparent; }
|
|
461
|
+
.lg-slider__control:has(input:active) .lg-slider__track, .lg-slider__control[data-lg-dragging="true"] .lg-slider__track { filter: saturate(1.12) brightness(1.04); box-shadow: 0 0 0 1px color-mix(in srgb,var(--lg-highlight) 24%,transparent) inset,0 1px 4px rgba(0,0,0,.16) inset,0 1px 0 color-mix(in srgb, var(--lg-reflection) 28%, transparent); }
|
|
462
|
+
.lg-slider__control:has(input:active) .lg-slider__thumb, .lg-slider__control[data-lg-dragging="true"] .lg-slider__thumb { width: calc(var(--lg-slider-thumb-width) * 1.64); height: calc(var(--lg-slider-thumb-size) * 1.52); border-color: transparent; background: linear-gradient(180deg,color-mix(in srgb, var(--lg-reflection) 34%, transparent),color-mix(in srgb, var(--lg-reflection) 10%, transparent) 54%,rgba(204,229,246,.18)); box-shadow: 0 8px 18px rgba(0,0,0,.20),0 2px 2px color-mix(in srgb, var(--lg-reflection) 72%, transparent) inset,0 -1px 0 rgba(41,70,91,.10) inset; -webkit-backdrop-filter: blur(var(--lg-backdrop-blur)) saturate(var(--lg-control-saturation)) brightness(1.06); backdrop-filter: blur(var(--lg-backdrop-blur)) saturate(var(--lg-control-saturation)) brightness(1.06); transition: width 170ms cubic-bezier(.2,1.3,.3,1),height 190ms cubic-bezier(.2,1.3,.3,1),border-color 120ms ease,box-shadow 170ms ease,background 150ms ease,backdrop-filter 150ms ease; }
|
|
463
|
+
.lg-slider__control:has(input:active) .lg-slider__thumb::before, .lg-slider__control[data-lg-dragging="true"] .lg-slider__thumb::before { opacity: .94; transform: translateY(-3%); }
|
|
464
|
+
.lg-slider__control:has(input:focus-visible) { border-radius: var(--lg-slider-radius, 999px); outline: 3px solid color-mix(in srgb,var(--lg-accent) 38%,transparent); outline-offset: 1px; }
|
|
465
|
+
.lg-slider__control:has(input:active), .lg-slider__control[data-lg-dragging="true"] { outline: none; }
|
|
466
|
+
.lg-slider:has(input:disabled) { opacity: .44; }
|
|
467
|
+
.lg-slider input:disabled { cursor: not-allowed; }
|
|
468
|
+
|
|
469
|
+
.lg-select-shell { position: relative; display: block; }
|
|
470
|
+
.lg-select { width: 100%; min-height: 42px; appearance: none; padding: 0 38px 0 12px; border: 1px solid color-mix(in srgb, var(--lg-highlight) 40%, var(--lg-separator)); border-radius: var(--lg-control-radius); outline: 0; color: var(--lg-text); background: var(--lg-surface); box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 40%, transparent) inset; -webkit-backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); }
|
|
471
|
+
.lg-select:focus-visible { border-color: var(--lg-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lg-accent) 20%, transparent); }
|
|
472
|
+
.lg-select-shell > svg { position: absolute; top: 50%; right: 13px; width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; pointer-events: none; transform: translateY(-50%); }
|
|
473
|
+
|
|
474
|
+
.lg-rating { display: inline-flex; align-items: center; color: color-mix(in srgb, var(--lg-text-tertiary) 45%, transparent); }
|
|
475
|
+
.lg-rating__item { display: grid; width: 28px; height: 32px; padding: 2px; place-items: center; border: 0; color: inherit; background: transparent; cursor: pointer; transition: transform 240ms var(--lg-spring), color 160ms ease; }
|
|
476
|
+
.lg-rating__item svg { width: 24px; fill: currentColor; stroke: currentColor; stroke-width: 1; }
|
|
477
|
+
.lg-rating__item[data-lg-filled="true"] { color: #ffcc00; filter: drop-shadow(0 2px 3px rgba(225,155,0,.25)); }
|
|
478
|
+
.lg-rating__item:hover { color: #ffcc00; transform: scale(1.16); }
|
|
479
|
+
.lg-rating__item:focus-visible { outline: 2px solid var(--lg-accent); border-radius: 6px; }
|
|
480
|
+
|
|
481
|
+
.lg-autocomplete { position: relative; display: inline-block; }
|
|
482
|
+
.lg-autocomplete .lg-field { width: 100%; }
|
|
483
|
+
.lg-autocomplete__toggle { display: grid; width: 26px; height: 26px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: var(--lg-text-secondary); background: transparent; cursor: pointer; }
|
|
484
|
+
.lg-autocomplete__toggle:hover { background: var(--lg-surface); }
|
|
485
|
+
.lg-autocomplete__toggle svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
|
|
486
|
+
.lg-autocomplete__popover { padding: 5px; }
|
|
487
|
+
.lg-autocomplete__list { display: flex; max-height: min(268px, max(0px, calc(var(--lg-popper-available-height, 100dvh) - 12px))); flex-direction: column; gap: 2px; overflow-y: auto; overscroll-behavior: contain; }
|
|
488
|
+
.lg-autocomplete__option { width: 100%; padding: 9px 10px; border: 0; border-radius: 11px; color: var(--lg-text); background: transparent; text-align: left; cursor: pointer; }
|
|
489
|
+
.lg-autocomplete__option[data-lg-active="true"] { background: color-mix(in srgb, var(--lg-accent) 14%, var(--lg-surface)); }
|
|
490
|
+
.lg-autocomplete__option[aria-selected="true"] { color: var(--lg-accent); font-weight: 600; }
|
|
491
|
+
.lg-autocomplete__empty { padding: 12px; color: var(--lg-text-secondary); text-align: center; }
|
|
492
|
+
|
|
493
|
+
.lg-toggle-group { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid color-mix(in srgb, var(--lg-highlight) 38%, var(--lg-separator)); border-radius: var(--lg-button-radius, 999px); background: color-mix(in srgb, var(--lg-surface) 84%, transparent); -webkit-backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); }
|
|
494
|
+
.lg-toggle-group .lg-toggle-button { border: 0; box-shadow: none; backdrop-filter: none; }
|
|
495
|
+
.lg-toggle-button[data-lg-selected="true"] { --lg-button-bg: var(--lg-surface-strong); box-shadow: 0 2px 7px -3px var(--lg-shadow), 0 1px 0 color-mix(in srgb, var(--lg-reflection) 55%, transparent) inset; }
|
|
496
|
+
|
|
497
|
+
.lg-transfer-list { display: grid; grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr); align-items: center; gap: 12px; }
|
|
498
|
+
.lg-transfer-list__panel { min-height: 230px; }
|
|
499
|
+
.lg-transfer-list__heading { padding: 12px 14px 9px; border-bottom: 1px solid var(--lg-separator); font-weight: 600; }
|
|
500
|
+
.lg-transfer-list__items { display: flex; max-height: 240px; flex-direction: column; gap: 2px; padding: 5px; overflow-y: auto; }
|
|
501
|
+
.lg-transfer-list__items button { display: flex; align-items: center; gap: 9px; padding: 8px; border: 0; border-radius: 10px; color: var(--lg-text); background: transparent; text-align: left; cursor: pointer; }
|
|
502
|
+
.lg-transfer-list__items button:hover, .lg-transfer-list__items button[aria-selected="true"] { background: color-mix(in srgb, var(--lg-accent) 13%, var(--lg-surface)); }
|
|
503
|
+
.lg-transfer-list__check { width: 16px; height: 16px; border: 1px solid var(--lg-separator); border-radius: 5px; }
|
|
504
|
+
.lg-transfer-list__items button[aria-selected="true"] .lg-transfer-list__check { border: 5px solid var(--lg-accent); }
|
|
505
|
+
.lg-transfer-list__actions { display: flex; flex-direction: column; gap: 7px; }
|
|
506
|
+
|
|
507
|
+
.lg-avatar { display: inline-grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid color-mix(in srgb, var(--lg-highlight) 52%, transparent); border-radius: 50%; color: var(--lg-text-secondary); background: linear-gradient(145deg, color-mix(in srgb, var(--lg-reflection) 38%, transparent), transparent), var(--lg-surface-strong); box-shadow: 0 3px 10px -6px var(--lg-shadow); font-size: 14px; font-weight: 600; }
|
|
508
|
+
.lg-avatar img { width: 100%; height: 100%; object-fit: cover; }
|
|
509
|
+
.lg-avatar[data-lg-size="xs"] { width: 24px; height: 24px; font-size: 9px; }
|
|
510
|
+
.lg-avatar[data-lg-size="sm"] { width: 32px; height: 32px; font-size: 11px; }
|
|
511
|
+
.lg-avatar[data-lg-size="lg"] { width: 52px; height: 52px; font-size: 17px; }
|
|
512
|
+
.lg-avatar[data-lg-size="xl"] { width: 72px; height: 72px; font-size: 22px; }
|
|
513
|
+
.lg-avatar[data-lg-shape="rounded"] { border-radius: 28%; }
|
|
514
|
+
.lg-avatar[data-lg-shape="square"] { border-radius: 0; }
|
|
515
|
+
.lg-avatar-group { display: flex; align-items: center; }
|
|
516
|
+
.lg-avatar-group .lg-avatar + .lg-avatar { margin-left: -10px; }
|
|
517
|
+
.lg-avatar-group .lg-avatar { outline: 2px solid color-mix(in srgb, var(--lg-canvas) 72%, transparent); }
|
|
518
|
+
|
|
519
|
+
.lg-badge { position: relative; display: inline-flex; }
|
|
520
|
+
.lg-badge__indicator { position: absolute; z-index: 2; display: grid; min-width: 18px; height: 18px; padding-inline: 5px; place-items: center; border: 1.5px solid color-mix(in srgb, var(--lg-reflection) 72%, transparent); border-radius: 999px; color: #fff; background: #ff453a; box-shadow: 0 2px 5px rgba(0,0,0,.25); font-size: 10px; font-weight: 700; line-height: 1; transition: transform 240ms var(--lg-spring), opacity 180ms ease; }
|
|
521
|
+
.lg-badge__indicator[data-lg-tone="accent"] { background: var(--lg-accent); }
|
|
522
|
+
.lg-badge__indicator[data-lg-tone="success"] { background: #30d158; }
|
|
523
|
+
.lg-badge__indicator[data-lg-tone="warning"] { background: #ff9f0a; }
|
|
524
|
+
.lg-badge__indicator[data-lg-tone="info"] { background: #32ade6; }
|
|
525
|
+
.lg-badge__indicator[data-lg-tone="neutral"] { background: #8e8e93; }
|
|
526
|
+
.lg-badge__indicator[data-lg-variant="dot"] { min-width: 10px; width: 10px; height: 10px; padding: 0; }
|
|
527
|
+
.lg-badge__indicator[data-lg-placement="top-end"] { top: 0; right: 0; transform: translate(45%,-45%); }
|
|
528
|
+
.lg-badge__indicator[data-lg-placement="top-start"] { top: 0; left: 0; transform: translate(-45%,-45%); }
|
|
529
|
+
.lg-badge__indicator[data-lg-placement="bottom-end"] { right: 0; bottom: 0; transform: translate(45%,45%); }
|
|
530
|
+
.lg-badge__indicator[data-lg-placement="bottom-start"] { bottom: 0; left: 0; transform: translate(-45%,45%); }
|
|
531
|
+
.lg-badge__indicator[data-lg-invisible="true"] { opacity: 0; transform: scale(0); }
|
|
532
|
+
|
|
533
|
+
.lg-chip { display: inline-flex; min-height: 30px; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid color-mix(in srgb, var(--lg-highlight) 40%, var(--lg-separator)); border-radius: var(--lg-button-radius, 999px); color: var(--lg-text); background: color-mix(in srgb, var(--lg-surface) 88%, transparent); box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 40%, transparent) inset; -webkit-backdrop-filter: blur(var(--lg-detail-blur)); backdrop-filter: blur(var(--lg-detail-blur)); font-size: 13px; transition: transform 180ms var(--lg-spring), background 180ms ease; }
|
|
534
|
+
.lg-chip[data-lg-variant="outlined"] { background: transparent; }
|
|
535
|
+
.lg-chip[data-lg-variant="filled"] { border-color: transparent; background: color-mix(in srgb, var(--lg-accent) 18%, var(--lg-surface)); }
|
|
536
|
+
.lg-chip[data-lg-tone="accent"] { color: var(--lg-accent); }
|
|
537
|
+
.lg-chip[data-lg-tone="success"] { --lg-accent: #248a3d; color: var(--lg-accent); }
|
|
538
|
+
.lg-chip[data-lg-tone="warning"] { --lg-accent: #c67400; color: var(--lg-accent); }
|
|
539
|
+
.lg-chip[data-lg-tone="danger"] { --lg-accent: #ff453a; color: var(--lg-accent); }
|
|
540
|
+
.lg-chip[data-lg-tone="info"] { --lg-accent: #168aad; color: var(--lg-accent); }
|
|
541
|
+
.lg-chip[data-lg-size="sm"] { min-height: 24px; padding-inline: 8px; font-size: 11px; }
|
|
542
|
+
.lg-chip--clickable { cursor: pointer; }
|
|
543
|
+
.lg-chip--clickable:hover { transform: translateY(-1px); background: var(--lg-surface-strong); }
|
|
544
|
+
.lg-chip[data-lg-disabled="true"] { pointer-events: none; opacity: .42; }
|
|
545
|
+
.lg-chip__leading { display: inline-flex; }
|
|
546
|
+
.lg-chip__delete { display: grid; width: 18px; height: 18px; margin-right: -5px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: var(--lg-text-secondary); background: color-mix(in srgb, var(--lg-text-tertiary) 18%, transparent); cursor: pointer; }
|
|
547
|
+
|
|
548
|
+
.lg-divider { display: flex; align-items: center; gap: 12px; color: var(--lg-text-tertiary); font-size: 12px; }
|
|
549
|
+
.lg-divider::before, .lg-divider::after { content: ""; height: 1px; flex: 1; background: var(--lg-separator); }
|
|
550
|
+
.lg-divider:not(:has(span))::after { display: none; }
|
|
551
|
+
.lg-divider--inset { margin-inline: 16px; }
|
|
552
|
+
.lg-divider[data-lg-orientation="vertical"] { width: 1px; min-height: 1em; align-self: stretch; background: var(--lg-separator); }
|
|
553
|
+
.lg-divider[data-lg-orientation="vertical"]::before, .lg-divider[data-lg-orientation="vertical"]::after { display: none; }
|
|
554
|
+
|
|
555
|
+
.lg-icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; line-height: 0; }
|
|
556
|
+
.lg-icon > svg { width: 100%; height: 100%; }
|
|
557
|
+
.lg-list { display: flex; margin: 0; padding: 5px; flex-direction: column; list-style: none; }
|
|
558
|
+
.lg-list[data-lg-inset="true"] { padding: 0; overflow: clip; border: 1px solid color-mix(in srgb, var(--lg-highlight) 44%, transparent); border-radius: var(--lg-radius); background: color-mix(in srgb, var(--lg-surface) 74%, transparent); box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 50%, transparent) inset, 0 12px 32px -24px var(--lg-shadow); -webkit-backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-vivid-saturation)); backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-vivid-saturation)); }
|
|
559
|
+
.lg-list-item { display: flex; min-height: 48px; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 12px; }
|
|
560
|
+
.lg-list[data-lg-divided="true"] .lg-list-item + .lg-list-item { border-top: 1px solid var(--lg-separator); border-top-left-radius: 0; border-top-right-radius: 0; }
|
|
561
|
+
.lg-list[data-lg-inset="true"] .lg-list-item { min-height: 52px; padding: 11px 14px; border-radius: 0; }
|
|
562
|
+
.lg-list[data-lg-inset="true"] .lg-list-item:last-child { border-bottom-right-radius: inherit; border-bottom-left-radius: inherit; }
|
|
563
|
+
.lg-list-item--interactive { cursor: pointer; transition: background 150ms ease, transform 150ms ease; }
|
|
564
|
+
.lg-list-item--interactive:hover { background: color-mix(in srgb, var(--lg-surface-strong) 72%, transparent); }
|
|
565
|
+
.lg-list-item--interactive:active { transform: scale(var(--lg-motion-press-scale-subtle)); }
|
|
566
|
+
.lg-list-item[data-lg-selected="true"] { background: color-mix(in srgb, var(--lg-accent) 15%, var(--lg-surface)); }
|
|
567
|
+
.lg-list-item[data-lg-disabled="true"] { pointer-events: none; opacity: .42; }
|
|
568
|
+
.lg-list-item__leading, .lg-list-item__trailing { display: inline-flex; flex: 0 0 auto; align-items: center; color: var(--lg-text-secondary); }
|
|
569
|
+
.lg-list-item__content { display: flex; min-width: 0; flex: 1; flex-direction: column; }
|
|
570
|
+
.lg-list-item__primary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
571
|
+
.lg-list-item__secondary { margin-top: 2px; overflow: hidden; color: var(--lg-text-secondary); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
|
|
572
|
+
.lg-list-subheader { position: sticky; top: 0; z-index: 1; padding: 10px 11px; color: var(--lg-text-secondary); background: color-mix(in srgb, var(--lg-surface) 78%, transparent); -webkit-backdrop-filter: blur(var(--lg-control-blur)); backdrop-filter: blur(var(--lg-control-blur)); font-size: 13px; font-weight: 600; list-style: none; }
|
|
573
|
+
.lg-list[data-lg-inset="true"] .lg-list-subheader { padding: 12px 14px; border-bottom: 1px solid var(--lg-separator); border-radius: 0; background: color-mix(in srgb, var(--lg-surface) 50%, transparent); font-size: 12px; font-weight: 650; }
|
|
574
|
+
|
|
575
|
+
.lg-table-container { overflow-x: auto; }
|
|
576
|
+
.lg-table-container > .lg-glass__content { min-width: max-content; }
|
|
577
|
+
.lg-table { width: 100%; border-collapse: collapse; color: var(--lg-text); font-size: 14px; }
|
|
578
|
+
.lg-table__header { padding: 12px 14px; border-bottom: 1px solid var(--lg-separator); color: var(--lg-text-secondary); font-size: 12px; font-weight: 650; text-align: left; }
|
|
579
|
+
.lg-table__cell { padding: 13px 14px; border-bottom: 1px solid var(--lg-separator); }
|
|
580
|
+
.lg-table__body .lg-table__row:last-child .lg-table__cell { border-bottom: 0; }
|
|
581
|
+
.lg-table__row { transition: background var(--lg-table-duration, 150ms) ease; }
|
|
582
|
+
.lg-table__body .lg-table__row:hover { background: color-mix(in srgb, var(--lg-surface-strong) 45%, transparent); }
|
|
583
|
+
.lg-table__caption { padding: 10px; color: var(--lg-text-secondary); caption-side: bottom; font-size: 12px; }
|
|
584
|
+
.lg-table__footer { background: color-mix(in srgb, var(--lg-surface) 50%, transparent); font-weight: 600; }
|
|
585
|
+
|
|
586
|
+
.lg-tooltip { position: relative; display: inline-flex; }
|
|
587
|
+
.lg-tooltip__bubble { position: absolute; z-index: 100; width: max-content; max-width: 260px; padding: 6px 9px; border: 1px solid color-mix(in srgb, var(--lg-reflection) 24%, transparent); border-radius: max(8px, calc(var(--lg-control-radius) - 5px)); color: white; background: color-mix(in srgb, rgba(27,30,36,.78) 78%, var(--lg-surface-strong)); box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); font-size: 12px; line-height: 1.25; pointer-events: none; animation: lg-tooltip-in 160ms var(--lg-spring); }
|
|
588
|
+
.lg-tooltip__bubble[data-lg-placement^="top"] { bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%); }
|
|
589
|
+
.lg-tooltip__bubble[data-lg-placement^="bottom"] { top: calc(100% + 7px); left: 50%; transform: translateX(-50%); }
|
|
590
|
+
.lg-tooltip__bubble[data-lg-placement^="left"] { top: 50%; right: calc(100% + 7px); transform: translateY(-50%); }
|
|
591
|
+
.lg-tooltip__bubble[data-lg-placement^="right"] { top: 50%; left: calc(100% + 7px); transform: translateY(-50%); }
|
|
592
|
+
|
|
593
|
+
.lg-typography { margin: 0; color: var(--lg-text); }
|
|
594
|
+
.lg-typography[data-lg-color="secondary"] { color: var(--lg-text-secondary); }
|
|
595
|
+
.lg-typography[data-lg-color="tertiary"] { color: var(--lg-text-tertiary); }
|
|
596
|
+
.lg-typography[data-lg-color="accent"] { color: var(--lg-accent); }
|
|
597
|
+
.lg-typography[data-lg-color="inherit"] { color: inherit; }
|
|
598
|
+
.lg-typography[data-lg-weight="regular"] { font-weight: 400; }
|
|
599
|
+
.lg-typography[data-lg-weight="medium"] { font-weight: 510; }
|
|
600
|
+
.lg-typography[data-lg-weight="semibold"] { font-weight: 630; }
|
|
601
|
+
.lg-typography[data-lg-weight="bold"] { font-weight: 700; }
|
|
602
|
+
.lg-typography[data-lg-typography="largeTitle"] { font-size: 34px; font-weight: 700; line-height: 1.12; letter-spacing: -.028em; }
|
|
603
|
+
.lg-typography[data-lg-typography="title1"] { font-size: 28px; font-weight: 680; line-height: 1.16; letter-spacing: -.024em; }
|
|
604
|
+
.lg-typography[data-lg-typography="title2"] { font-size: 22px; font-weight: 650; line-height: 1.2; letter-spacing: -.018em; }
|
|
605
|
+
.lg-typography[data-lg-typography="title3"] { font-size: 20px; font-weight: 620; line-height: 1.22; }
|
|
606
|
+
.lg-typography[data-lg-typography="headline"] { font-size: 17px; font-weight: 600; line-height: 1.3; }
|
|
607
|
+
.lg-typography[data-lg-typography="body"] { font-size: 17px; line-height: 1.4; }
|
|
608
|
+
.lg-typography[data-lg-typography="callout"] { font-size: 16px; line-height: 1.38; }
|
|
609
|
+
.lg-typography[data-lg-typography="subheadline"] { font-size: 15px; line-height: 1.36; }
|
|
610
|
+
.lg-typography[data-lg-typography="footnote"] { font-size: 13px; line-height: 1.34; }
|
|
611
|
+
.lg-typography[data-lg-typography="caption1"] { font-size: 12px; line-height: 1.3; }
|
|
612
|
+
.lg-typography[data-lg-typography="caption2"] { font-size: 11px; line-height: 1.28; }
|
|
613
|
+
.lg-truncate { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
614
|
+
|
|
615
|
+
.lg-paper {
|
|
616
|
+
--lg-glass-blur: var(--lg-paper-blur);
|
|
617
|
+
padding: 20px;
|
|
618
|
+
box-shadow:
|
|
619
|
+
0 1px 0 color-mix(in srgb, var(--lg-reflection) 72%, transparent) inset,
|
|
620
|
+
0 -1px 0 rgba(0,0,0,.035) inset,
|
|
621
|
+
0 22px 54px -30px var(--lg-shadow),
|
|
622
|
+
0 5px 16px -11px rgba(0,0,0,.16);
|
|
623
|
+
}
|
|
624
|
+
.lg-paper[data-lg-elevation="0"] { box-shadow: none; }
|
|
625
|
+
.lg-paper[data-lg-elevation="2"] { box-shadow: 0 16px 40px -18px var(--lg-shadow), 0 1px 0 color-mix(in srgb, var(--lg-reflection) 50%, transparent) inset; }
|
|
626
|
+
.lg-paper[data-lg-elevation="3"] { box-shadow: 0 24px 56px -22px var(--lg-shadow), 0 1px 0 color-mix(in srgb, var(--lg-reflection) 50%, transparent) inset; }
|
|
627
|
+
.lg-paper[data-lg-elevation="4"] { box-shadow: 0 32px 70px -26px var(--lg-shadow), 0 1px 0 color-mix(in srgb, var(--lg-reflection) 50%, transparent) inset; }
|
|
628
|
+
.lg-card > .lg-glass__content { display: flex; min-height: inherit; flex-direction: column; }
|
|
629
|
+
.lg-card[data-lg-orientation="horizontal"] > .lg-glass__content { flex-direction: row; }
|
|
630
|
+
.lg-card[data-lg-selected="true"] { border-color: color-mix(in srgb, var(--lg-accent) 55%, var(--lg-highlight)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lg-accent) 14%, transparent), 0 14px 35px -18px var(--lg-shadow); }
|
|
631
|
+
.lg-card[data-lg-disabled="true"] { pointer-events: none; opacity: .5; }
|
|
632
|
+
.lg-card .lg-header { padding: 18px 20px 0; }
|
|
633
|
+
.lg-card .lg-content { flex: 1; padding: 18px 20px; }
|
|
634
|
+
.lg-card .lg-actions { padding: 0 14px 14px; }
|
|
635
|
+
.lg-card .lg-footer { padding: 14px 20px; border-top: 1px solid var(--lg-separator); }
|
|
636
|
+
|
|
637
|
+
.lg-app-bar { z-index: 40; width: 100%; overflow: visible; border-inline: 0; }
|
|
638
|
+
.lg-app-bar > .lg-glass__content { display: flex; min-height: 58px; align-items: center; gap: 12px; padding: 8px max(16px, env(safe-area-inset-left)); }
|
|
639
|
+
.lg-app-bar[data-lg-position="fixed"] { position: fixed; right: 0; left: 0; }
|
|
640
|
+
.lg-app-bar[data-lg-position="sticky"] { position: sticky; }
|
|
641
|
+
.lg-app-bar[data-lg-edge="top"] { top: 0; border-top: 0; }
|
|
642
|
+
.lg-app-bar[data-lg-edge="bottom"] { bottom: 0; border-bottom: 0; }
|
|
643
|
+
.lg-app-bar[data-lg-safe-area="true"][data-lg-edge="top"] > .lg-glass__content { padding-top: max(8px, env(safe-area-inset-top)); }
|
|
644
|
+
.lg-app-bar[data-lg-safe-area="true"][data-lg-edge="bottom"] > .lg-glass__content { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
|
|
645
|
+
|
|
646
|
+
.lg-accordion__summary { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; border: 0; color: var(--lg-text); background: transparent; text-align: left; cursor: pointer; }
|
|
647
|
+
.lg-accordion__summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--lg-accent) 42%, transparent); outline-offset: -3px; border-radius: inherit; }
|
|
648
|
+
.lg-accordion__indicator { display: inline-flex; flex: 0 0 auto; transition: transform var(--lg-motion-duration-standard, 360ms) var(--lg-spring); }
|
|
649
|
+
.lg-accordion__indicator svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
|
|
650
|
+
.lg-accordion[data-lg-expanded="true"] .lg-accordion__indicator { transform: rotate(180deg); }
|
|
651
|
+
.lg-accordion__details { display: grid; grid-template-rows: 0fr; padding-inline: 16px; overflow: hidden; color: var(--lg-text-secondary); opacity: 0; visibility: hidden; transform: translateY(-5px); transition: grid-template-rows var(--lg-motion-duration-standard, 380ms) var(--lg-spring), opacity var(--lg-motion-duration-fast, 180ms) ease, transform var(--lg-motion-duration-standard, 300ms) var(--lg-spring), visibility 0s linear var(--lg-motion-duration-standard, 380ms); }
|
|
652
|
+
.lg-accordion__details-inner { min-height: 0; overflow: hidden; padding-bottom: 0; transition: padding-bottom var(--lg-motion-duration-standard, 380ms) var(--lg-spring); }
|
|
653
|
+
.lg-accordion[data-lg-expanded="true"] .lg-accordion__details { grid-template-rows: 1fr; opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
|
|
654
|
+
.lg-accordion[data-lg-expanded="true"] .lg-accordion__details-inner { padding-bottom: 16px; }
|
|
655
|
+
.lg-accordion[data-lg-disabled="true"] { pointer-events: none; opacity: .45; }
|
|
656
|
+
|
|
657
|
+
.lg-alert { display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px; border-radius: var(--lg-control-radius); }
|
|
658
|
+
.lg-alert > .lg-glass__content { display: contents; }
|
|
659
|
+
.lg-alert[data-lg-alert-variant="soft"] { background: color-mix(in srgb, var(--lg-tint, var(--lg-accent)) 13%, var(--lg-surface)); }
|
|
660
|
+
.lg-alert[data-lg-alert-variant="outlined"] { border: 1px solid color-mix(in srgb, var(--lg-tint, var(--lg-accent)) 42%, var(--lg-separator)); background: transparent; }
|
|
661
|
+
.lg-alert[data-lg-tone="success"] { --lg-tint: #30d158; }
|
|
662
|
+
.lg-alert[data-lg-tone="warning"] { --lg-tint: #ff9f0a; }
|
|
663
|
+
.lg-alert[data-lg-tone="danger"] { --lg-tint: #ff453a; }
|
|
664
|
+
.lg-alert[data-lg-tone="info"] { --lg-tint: #32ade6; }
|
|
665
|
+
.lg-alert__icon { display: inline-flex; flex: 0 0 auto; color: var(--lg-tint, var(--lg-accent)); }
|
|
666
|
+
.lg-alert__icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
667
|
+
.lg-alert__content { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
|
|
668
|
+
.lg-alert__action { display: inline-flex; align-self: center; }
|
|
669
|
+
.lg-alert__close { margin: -7px -8px -7px 0; }
|
|
670
|
+
|
|
671
|
+
.lg-backdrop { position: absolute; inset: 0; opacity: 0; background: var(--lg-overlay-backdrop); transition: opacity var(--lg-modal-duration, 320ms) ease; }
|
|
672
|
+
.lg-backdrop[data-lg-blur="true"] { -webkit-backdrop-filter: blur(var(--lg-backdrop-blur)) saturate(var(--lg-control-saturation)); backdrop-filter: blur(var(--lg-backdrop-blur)) saturate(var(--lg-control-saturation)); }
|
|
673
|
+
.lg-backdrop[data-lg-open="true"] { opacity: 1; }
|
|
674
|
+
.lg-backdrop[data-lg-invisible="true"] { background: transparent; backdrop-filter: none; }
|
|
675
|
+
.lg-modal { position: fixed; z-index: 1000; inset: 0; display: grid; overflow: hidden; place-items: center; outline: 0; overscroll-behavior: contain; visibility: hidden; pointer-events: none; transition: visibility 0s linear var(--lg-modal-duration, 360ms); }
|
|
676
|
+
.lg-modal[data-lg-open="true"] { visibility: visible; pointer-events: auto; transition-delay: 0s; }
|
|
677
|
+
.lg-modal__content { position: relative; z-index: 1; box-sizing: border-box; display: grid; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); overflow: hidden; place-items: center; overscroll-behavior: none; opacity: 0; transform: translateY(22px) scale(.94); filter: blur(7px); transition: opacity var(--lg-modal-duration, 360ms) ease, transform var(--lg-modal-duration, 360ms) var(--lg-spring), filter calc(var(--lg-modal-duration, 360ms) * .75) ease; }
|
|
678
|
+
.lg-modal[data-lg-open="true"] > .lg-modal__content { opacity: 1; transform: none; filter: none; }
|
|
679
|
+
.lg-modal[data-lg-transition="exiting"] > .lg-backdrop { transition-timing-function: var(--lg-motion-ease-exit); }
|
|
680
|
+
.lg-modal[data-lg-transition="exiting"] > .lg-modal__content { opacity: 0; transform: translateY(7px) scale(.985); filter: none; transition-timing-function: ease-out, var(--lg-motion-ease-exit), ease-out; }
|
|
681
|
+
.lg-dialog { box-sizing: border-box; width: min(92vw, 560px); max-width: 100%; max-height: min(88vh, 900px); max-height: min(88dvh, 900px); overflow: clip; }
|
|
682
|
+
.lg-dialog > .lg-glass__content { max-height: inherit; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
|
|
683
|
+
.lg-dialog[data-lg-size="sm"] { width: min(92vw, 400px); }
|
|
684
|
+
.lg-dialog[data-lg-size="lg"] { width: min(94vw, 820px); }
|
|
685
|
+
.lg-dialog[data-lg-size="fullscreen"] { width: 100%; height: 100%; max-height: none; border-radius: 0; }
|
|
686
|
+
.lg-dialog[data-lg-size="fullscreen"] > .lg-glass__content { height: 100%; max-height: none; }
|
|
687
|
+
.lg-modal { --lg-modal-width: 560px; }
|
|
688
|
+
.lg-modal[data-lg-modal-size="xs"] { --lg-modal-width: 320px; }
|
|
689
|
+
.lg-modal[data-lg-modal-size="sm"] { --lg-modal-width: 400px; }
|
|
690
|
+
.lg-modal[data-lg-modal-size="lg"] { --lg-modal-width: 820px; }
|
|
691
|
+
.lg-modal[data-lg-modal-size="xl"] { --lg-modal-width: 900px; }
|
|
692
|
+
.lg-modal[data-lg-modal-size="2xl"] { --lg-modal-width: 960px; }
|
|
693
|
+
.lg-modal[data-lg-modal-size="3xl"] { --lg-modal-width: 1024px; }
|
|
694
|
+
.lg-modal[data-lg-modal-size="4xl"] { --lg-modal-width: 1152px; }
|
|
695
|
+
.lg-modal[data-lg-modal-size="5xl"] { --lg-modal-width: 1280px; }
|
|
696
|
+
.lg-dialog[data-lg-size]:not([data-lg-size="sm"], [data-lg-size="md"], [data-lg-size="lg"], [data-lg-size="fullscreen"]) { width: min(94vw, var(--lg-modal-width)); }
|
|
697
|
+
.lg-dialog:not([data-lg-size="fullscreen"]) { border-radius: var(--lg-modal-radius, var(--lg-glass-radius)); }
|
|
698
|
+
.lg-modal[data-lg-modal-shadow="none"] .lg-dialog { box-shadow: none; }
|
|
699
|
+
.lg-modal[data-lg-modal-shadow="sm"] .lg-dialog { box-shadow: 0 6px 18px -10px var(--lg-shadow); }
|
|
700
|
+
.lg-modal[data-lg-modal-shadow="lg"] .lg-dialog { box-shadow: 0 22px 70px -20px var(--lg-shadow); }
|
|
701
|
+
.lg-modal:is([data-lg-modal-placement="top"], [data-lg-modal-placement="top-center"]) > .lg-modal__content { align-items: start; }
|
|
702
|
+
.lg-modal:is([data-lg-modal-placement="bottom"], [data-lg-modal-placement="bottom-center"]) > .lg-modal__content { align-items: end; }
|
|
703
|
+
.lg-modal[data-lg-modal-scroll="outside"] > .lg-modal__content { overflow-y: auto; align-items: start; overscroll-behavior: contain; }
|
|
704
|
+
.lg-modal[data-lg-modal-scroll="outside"] .lg-dialog { max-height: none; }
|
|
705
|
+
.lg-modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; border: 1px solid var(--lg-separator); border-radius: 50%; color: var(--lg-text); background: var(--lg-surface); cursor: pointer; }
|
|
706
|
+
.lg-dialog .lg-header { padding: 20px 22px 0; }
|
|
707
|
+
.lg-dialog .lg-content { padding: 18px 22px; }
|
|
708
|
+
.lg-dialog .lg-actions { padding: 0 16px 16px; }
|
|
709
|
+
.lg-dialog .lg-footer { padding: 14px 22px; border-top: 1px solid var(--lg-separator); }
|
|
710
|
+
|
|
711
|
+
.lg-progress { position: relative; color: var(--lg-accent); }
|
|
712
|
+
.lg-progress[data-lg-tone="success"] { color: #30d158; }
|
|
713
|
+
.lg-progress[data-lg-tone="warning"] { color: #ff9f0a; }
|
|
714
|
+
.lg-progress[data-lg-tone="danger"] { color: #ff453a; }
|
|
715
|
+
.lg-progress--linear { width: 100%; height: 7px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--lg-text-tertiary) 18%, transparent); box-shadow: 0 1px 2px rgba(0,0,0,.1) inset; }
|
|
716
|
+
.lg-progress__bar { display: block; height: 100%; border-radius: inherit; background: currentColor; box-shadow: 0 0 8px color-mix(in srgb, currentColor 45%, transparent); transition: width 420ms var(--lg-spring); }
|
|
717
|
+
.lg-progress--linear[data-lg-indeterminate="true"] .lg-progress__bar { position: absolute; width: 45%; animation: lg-progress-linear 1.2s ease-in-out infinite; }
|
|
718
|
+
.lg-progress__label { position: absolute; top: calc(100% + 3px); right: 0; color: var(--lg-text-secondary); font-size: 10px; }
|
|
719
|
+
.lg-progress--circular { display: inline-grid; place-items: center; }
|
|
720
|
+
.lg-progress--circular svg { position: absolute; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
|
|
721
|
+
.lg-progress--circular circle { fill: none; }
|
|
722
|
+
.lg-progress--circular .lg-progress__track { stroke: color-mix(in srgb, var(--lg-text-tertiary) 18%, transparent); }
|
|
723
|
+
.lg-progress--circular .lg-progress__value { stroke: currentColor; stroke-linecap: round; transition: stroke-dashoffset 420ms var(--lg-spring); }
|
|
724
|
+
.lg-progress--circular[data-lg-indeterminate="true"] svg { animation: lg-spin 1s linear infinite; }
|
|
725
|
+
.lg-progress--circular > span { font-size: 9px; font-weight: 600; }
|
|
726
|
+
|
|
727
|
+
.lg-skeleton-group { display: flex; width: 100%; flex-direction: column; gap: 7px; }
|
|
728
|
+
.lg-skeleton { position: relative; display: block; width: 100%; height: 1.1em; overflow: hidden; border-radius: 5px; background: color-mix(in srgb, var(--lg-text-tertiary) 12%, var(--lg-surface)); }
|
|
729
|
+
.lg-skeleton[data-lg-variant="text"] { height: .82em; transform: scaleY(.7); transform-origin: center; }
|
|
730
|
+
.lg-skeleton[data-lg-variant="rounded"] { border-radius: var(--lg-control-radius); }
|
|
731
|
+
.lg-skeleton[data-lg-variant="circular"] { border-radius: 50%; }
|
|
732
|
+
.lg-skeleton[data-lg-animation="wave"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--lg-reflection) 38%, transparent), transparent); transform: translateX(-100%); animation: lg-skeleton-wave 1.5s ease-in-out infinite; }
|
|
733
|
+
.lg-skeleton[data-lg-animation="pulse"] { animation: lg-skeleton-pulse 1.5s ease-in-out infinite; }
|
|
734
|
+
|
|
735
|
+
.lg-snackbar-transition { position: fixed; z-index: 1100; }
|
|
736
|
+
.lg-snackbar-transition[data-lg-placement="bottom"] { bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; }
|
|
737
|
+
.lg-snackbar-transition[data-lg-placement="bottom-start"] { bottom: max(18px, env(safe-area-inset-bottom)); left: 18px; }
|
|
738
|
+
.lg-snackbar-transition[data-lg-placement="bottom-end"] { right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); }
|
|
739
|
+
.lg-snackbar-transition[data-lg-placement="top"] { top: max(18px, env(safe-area-inset-top)); left: 50%; }
|
|
740
|
+
.lg-snackbar-transition[data-lg-placement="top-start"] { top: max(18px, env(safe-area-inset-top)); left: 18px; }
|
|
741
|
+
.lg-snackbar-transition[data-lg-placement="top-end"] { top: max(18px, env(safe-area-inset-top)); right: 18px; }
|
|
742
|
+
.lg-snackbar { position: relative; z-index: 0; display: flex; min-width: min(360px, calc(100vw - 24px)); max-width: min(520px, calc(100vw - 24px)); align-items: center; gap: 12px; padding: 8px 9px 8px 15px; }
|
|
743
|
+
.lg-snackbar > .lg-glass__content { display: contents; }
|
|
744
|
+
.lg-snackbar__message { flex: 1; }
|
|
745
|
+
.lg-snackbar__action { display: inline-flex; }
|
|
746
|
+
.lg-snackbar[data-lg-placement="bottom"], .lg-snackbar[data-lg-placement="top"] { transform: translateX(-50%); }
|
|
747
|
+
|
|
748
|
+
.lg-bottom-navigation { display: inline-block; padding: 4px; }
|
|
749
|
+
.lg-bottom-navigation > .lg-glass__content { display: flex; align-items: center; gap: 4px; }
|
|
750
|
+
.lg-bottom-navigation[data-lg-adaptive="true"] { width: min(100%, var(--lg-bottom-navigation-width, 21rem)); transition: width 380ms var(--lg-spring); }
|
|
751
|
+
.lg-bottom-navigation[data-lg-mode="compact"] { --lg-bottom-navigation-width: 17.5rem; }
|
|
752
|
+
.lg-bottom-navigation[data-lg-mode="expanded"] { --lg-bottom-navigation-width: 28rem; }
|
|
753
|
+
.lg-bottom-navigation__panels { display: grid; min-width: 0; flex: 1 1 auto; align-items: center; }
|
|
754
|
+
.lg-bottom-navigation__panel { grid-area: 1 / 1; min-width: 0; }
|
|
755
|
+
.lg-bottom-navigation[data-lg-adaptive="true"] .lg-bottom-navigation__panel { transition: opacity 200ms ease, transform 360ms var(--lg-spring), visibility 0s linear 200ms; }
|
|
756
|
+
.lg-bottom-navigation__panel[data-lg-active="false"] { visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(6px) scale(.96); }
|
|
757
|
+
.lg-bottom-navigation__panel[data-lg-active="true"] { transition-delay: 0s; }
|
|
758
|
+
.lg-bottom-navigation__actions { display: flex; align-items: stretch; gap: 2px; }
|
|
759
|
+
.lg-bottom-navigation[data-lg-adaptive="true"] .lg-bottom-navigation__action { min-width: 0; flex: 1 1 0; }
|
|
760
|
+
.lg-bottom-navigation__accessory { display: flex; flex: none; align-items: center; }
|
|
761
|
+
.lg-bottom-navigation__action { position: relative; display: flex; min-width: 58px; min-height: 48px; align-items: center; justify-content: center; gap: 3px; padding: 5px 12px; flex-direction: column; border: 0; border-radius: var(--lg-button-radius, 999px); color: var(--lg-text-secondary); background: transparent; cursor: pointer; transition: color 180ms ease, background 220ms ease, transform 180ms var(--lg-spring); }
|
|
762
|
+
.lg-bottom-navigation__action:hover { background: color-mix(in srgb, var(--lg-surface-strong) 62%, transparent); }
|
|
763
|
+
.lg-bottom-navigation__action:active { transform: scale(var(--lg-motion-press-scale)); }
|
|
764
|
+
.lg-bottom-navigation__action[data-lg-selected="true"] { color: var(--lg-accent); background: color-mix(in srgb, var(--lg-accent) 13%, var(--lg-surface)); }
|
|
765
|
+
.lg-bottom-navigation__icon { display: inline-flex; font-size: 20px; transition: transform 300ms var(--lg-spring); }
|
|
766
|
+
.lg-bottom-navigation__action[data-lg-selected="true"] .lg-bottom-navigation__icon { transform: translateY(-1px) scale(1.08); }
|
|
767
|
+
.lg-bottom-navigation__label { font-size: 10px; font-weight: 550; line-height: 1; }
|
|
768
|
+
.lg-bottom-navigation:not([data-lg-show-labels="true"]) .lg-bottom-navigation__action:not([data-lg-selected="true"]):has(.lg-bottom-navigation__icon) .lg-bottom-navigation__label { display: none; }
|
|
769
|
+
.lg-bottom-navigation[data-lg-mode="compact"] .lg-bottom-navigation__action:has(.lg-bottom-navigation__icon) .lg-bottom-navigation__label { display: none; }
|
|
770
|
+
|
|
771
|
+
.lg-breadcrumbs ol { display: flex; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; gap: 8px; list-style: none; }
|
|
772
|
+
.lg-breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--lg-text-secondary); }
|
|
773
|
+
.lg-breadcrumbs li:last-child { color: var(--lg-text); }
|
|
774
|
+
.lg-breadcrumbs__separator { color: var(--lg-text-tertiary); user-select: none; }
|
|
775
|
+
|
|
776
|
+
.lg-edge-modal { place-items: stretch; }
|
|
777
|
+
.lg-modal.lg-edge-modal > .lg-modal__content { display: block; padding: 0; opacity: 1; transform: none; filter: none; transition: none; pointer-events: none; }
|
|
778
|
+
.lg-drawer { position: fixed; z-index: 1; overflow: auto; overscroll-behavior: contain; pointer-events: none; transition: transform var(--lg-drawer-duration, 380ms) var(--lg-motion-ease-exit); }
|
|
779
|
+
.lg-drawer > .lg-glass__content { min-height: 100%; }
|
|
780
|
+
.lg-drawer[data-lg-anchor="left"] { top: 0; bottom: 0; left: 0; width: min(86vw, 340px); border-left: 0; transform: translate3d(calc(-100% - 16px), 0, 0); }
|
|
781
|
+
.lg-drawer[data-lg-anchor="right"] { top: 0; right: 0; bottom: 0; width: min(86vw, 340px); border-right: 0; transform: translate3d(calc(100% + 16px), 0, 0); }
|
|
782
|
+
.lg-drawer[data-lg-anchor="top"] { top: 0; right: 0; left: 0; max-height: 86vh; border-top: 0; transform: translate3d(0, calc(-100% - 16px), 0); }
|
|
783
|
+
.lg-drawer[data-lg-anchor="bottom"] { right: 0; bottom: 0; left: 0; max-height: 86vh; border-bottom: 0; border-radius: var(--lg-radius) var(--lg-radius) 0 0; transform: translate3d(0, calc(100% + 16px), 0); }
|
|
784
|
+
.lg-drawer[data-lg-open="true"], .lg-drawer-modal[data-lg-open="true"] .lg-drawer { transform: translate3d(0, 0, 0); pointer-events: auto; transition-timing-function: var(--lg-motion-ease-enter); }
|
|
785
|
+
|
|
786
|
+
.lg-bottom-sheet {
|
|
787
|
+
position: fixed;
|
|
788
|
+
inset: auto 0 0;
|
|
789
|
+
width: min(100%, 40rem);
|
|
790
|
+
max-height: min(var(--lg-sheet-max-height, 85dvh), calc(100dvh - max(12px, env(safe-area-inset-top))));
|
|
791
|
+
margin-inline: auto;
|
|
792
|
+
border-bottom: 0;
|
|
793
|
+
border-radius: var(--lg-radius) var(--lg-radius) 0 0;
|
|
794
|
+
transform: translate3d(0, calc(100% + 16px), 0);
|
|
795
|
+
pointer-events: none;
|
|
796
|
+
transition: transform var(--lg-modal-duration, 380ms) var(--lg-motion-ease-exit);
|
|
797
|
+
}
|
|
798
|
+
.lg-bottom-sheet-modal[data-lg-open="true"] .lg-bottom-sheet {
|
|
799
|
+
transform: translate3d(0, var(--lg-sheet-offset, 0px), 0);
|
|
800
|
+
pointer-events: auto;
|
|
801
|
+
transition-timing-function: var(--lg-motion-ease-enter);
|
|
802
|
+
}
|
|
803
|
+
.lg-bottom-sheet-modal[data-lg-open="true"] .lg-bottom-sheet[data-lg-dragging="true"] { transition: none; }
|
|
804
|
+
.lg-bottom-sheet > .lg-glass__content { display: flex; max-height: inherit; flex-direction: column; }
|
|
805
|
+
.lg-bottom-sheet__handle { display: grid; min-height: 32px; flex: none; place-items: center; }
|
|
806
|
+
.lg-bottom-sheet__handle[data-lg-draggable="true"] { touch-action: none; user-select: none; cursor: grab; }
|
|
807
|
+
.lg-bottom-sheet[data-lg-dragging="true"] .lg-bottom-sheet__handle { cursor: grabbing; }
|
|
808
|
+
.lg-bottom-sheet__handle span { width: 36px; height: 4px; border-radius: 999px; background: var(--lg-text-tertiary); }
|
|
809
|
+
.lg-bottom-sheet__body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
|
|
810
|
+
.lg-bottom-sheet__body:only-child { padding-top: 16px; }
|
|
811
|
+
|
|
812
|
+
.lg-link { color: var(--lg-accent); text-decoration-color: color-mix(in srgb, currentColor 48%, transparent); text-underline-offset: .18em; transition: opacity 160ms ease; }
|
|
813
|
+
.lg-link:hover { opacity: .72; }
|
|
814
|
+
.lg-link[data-lg-underline="none"] { text-decoration: none; }
|
|
815
|
+
.lg-link[data-lg-underline="hover"]:not(:hover) { text-decoration: none; }
|
|
816
|
+
.lg-link[data-lg-color="primary"] { color: var(--lg-text); }
|
|
817
|
+
.lg-link[data-lg-color="secondary"] { color: var(--lg-text-secondary); }
|
|
818
|
+
.lg-link[data-lg-color="inherit"] { color: inherit; }
|
|
819
|
+
|
|
820
|
+
.lg-popper { z-index: 1050; }
|
|
821
|
+
.lg-popover__glass { min-width: 180px; padding: 5px; animation: lg-popover-in 240ms var(--lg-spring); }
|
|
822
|
+
.lg-menu { display: flex; min-width: 188px; flex-direction: column; gap: 2px; }
|
|
823
|
+
.lg-menu-item { display: flex; width: 100%; min-height: 36px; align-items: center; gap: 9px; padding: 7px 9px; border: 0; border-radius: 10px; color: var(--lg-text); background: transparent; text-align: left; cursor: pointer; }
|
|
824
|
+
.lg-menu-item:hover, .lg-menu-item:focus-visible, .lg-menu-item[data-lg-selected="true"] { outline: 0; background: color-mix(in srgb, var(--lg-accent) 15%, var(--lg-surface)); }
|
|
825
|
+
.lg-menu-item[data-lg-destructive="true"] { color: #ff453a; }
|
|
826
|
+
.lg-menu-item:disabled { opacity: .4; cursor: not-allowed; }
|
|
827
|
+
.lg-menu-item__leading, .lg-menu-item__trailing { display: inline-flex; flex: 0 0 auto; color: var(--lg-text-secondary); }
|
|
828
|
+
.lg-menu-item__label { flex: 1; }
|
|
829
|
+
.lg-menu-item__trailing { font-size: 12px; }
|
|
830
|
+
.lg-menu-divider { height: 1px; margin: 4px 7px; background: var(--lg-separator); }
|
|
831
|
+
.lg-menubar { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid color-mix(in srgb, var(--lg-highlight) 38%, var(--lg-separator)); border-radius: var(--lg-control-radius); background: var(--lg-surface); -webkit-backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); }
|
|
832
|
+
|
|
833
|
+
.lg-pagination { display: flex; align-items: center; gap: 3px; }
|
|
834
|
+
.lg-pagination .lg-button { min-width: 32px; padding-inline: 8px; }
|
|
835
|
+
.lg-pagination__ellipsis { display: inline-grid; width: 24px; place-items: center; color: var(--lg-text-secondary); }
|
|
836
|
+
|
|
837
|
+
.lg-speed-dial { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
|
|
838
|
+
.lg-speed-dial[data-lg-direction="down"] { flex-direction: column-reverse; }
|
|
839
|
+
.lg-speed-dial[data-lg-direction="left"] { flex-direction: row-reverse; }
|
|
840
|
+
.lg-speed-dial[data-lg-direction="right"] { flex-direction: row; }
|
|
841
|
+
.lg-speed-dial__actions { display: flex; flex-direction: inherit; gap: 9px; }
|
|
842
|
+
.lg-speed-dial__action-wrap { display: flex; align-items: center; gap: 8px; opacity: 0; pointer-events: none; transform: translateY(9px) scale(.82); transition: opacity 180ms ease, transform 340ms var(--lg-spring); }
|
|
843
|
+
.lg-speed-dial__action-wrap[data-lg-visible="true"] { opacity: 1; pointer-events: auto; transform: none; }
|
|
844
|
+
.lg-speed-dial__label { width: max-content; padding: 5px 8px; border-radius: max(8px, calc(var(--lg-control-radius) - 6px)); color: white; background: color-mix(in srgb, rgba(25,28,34,.72) 78%, var(--lg-surface-strong)); -webkit-backdrop-filter: blur(var(--lg-detail-blur)); backdrop-filter: blur(var(--lg-detail-blur)); font-size: 11px; }
|
|
845
|
+
.lg-speed-dial__trigger { transition: transform 380ms var(--lg-spring); }
|
|
846
|
+
.lg-speed-dial__trigger[aria-expanded="true"] { transform: rotate(45deg); }
|
|
847
|
+
|
|
848
|
+
.lg-stepper { display: flex; align-items: flex-start; }
|
|
849
|
+
.lg-stepper[data-lg-orientation="vertical"] { flex-direction: column; }
|
|
850
|
+
.lg-step { position: relative; display: flex; min-width: 0; flex: 1; align-items: center; gap: 9px; color: var(--lg-text-secondary); }
|
|
851
|
+
.lg-step:not(:last-child)::after { content: ""; height: 1px; flex: 1; margin-inline: 6px; background: var(--lg-separator); }
|
|
852
|
+
.lg-step__indicator { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 1px solid var(--lg-separator); border-radius: 50%; background: var(--lg-surface); box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 50%, transparent) inset; font-size: 12px; font-weight: 650; }
|
|
853
|
+
.lg-step[data-lg-active="true"] { color: var(--lg-text); }
|
|
854
|
+
.lg-step[data-lg-active="true"] .lg-step__indicator { border-color: color-mix(in srgb, var(--lg-accent) 65%, white); color: white; background: var(--lg-accent); box-shadow: 0 3px 9px color-mix(in srgb, var(--lg-accent) 35%, transparent); }
|
|
855
|
+
.lg-step[data-lg-completed="true"] .lg-step__indicator { border-color: #30d158; color: white; background: #30d158; }
|
|
856
|
+
.lg-step[data-lg-disabled="true"] { opacity: .4; }
|
|
857
|
+
.lg-step__body { display: flex; min-width: 0; flex-direction: column; }
|
|
858
|
+
.lg-step__label { overflow: hidden; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
|
|
859
|
+
.lg-step__optional { color: var(--lg-text-tertiary); font-size: 11px; }
|
|
860
|
+
.lg-stepper[data-lg-orientation="vertical"] .lg-step { min-height: 58px; flex: none; align-items: flex-start; }
|
|
861
|
+
.lg-stepper[data-lg-orientation="vertical"] .lg-step:not(:last-child)::after { position: absolute; top: 30px; bottom: 2px; left: 13px; width: 1px; height: auto; margin: 0; }
|
|
862
|
+
|
|
863
|
+
.lg-tabs { display: inline-block; max-width: 100%; }
|
|
864
|
+
.lg-tabs__list { position: relative; display: inline-flex; max-width: 100%; align-items: center; gap: 2px; }
|
|
865
|
+
.lg-tabs[data-lg-variant="segmented"] .lg-tabs__list { padding: 3px; border: 1px solid color-mix(in srgb, var(--lg-highlight) 38%, var(--lg-separator)); border-radius: var(--lg-button-radius, 999px); background: color-mix(in srgb, var(--lg-surface) 76%, transparent); box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 40%, transparent) inset, 0 8px 24px -18px var(--lg-shadow); -webkit-backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-vivid-saturation)); backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-vivid-saturation)); }
|
|
866
|
+
.lg-tabs[data-lg-variant="scrollable"] .lg-tabs__list { overflow-x: auto; }
|
|
867
|
+
.lg-tabs__indicator { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: var(--lg-tab-indicator-width); border: 1px solid color-mix(in srgb,var(--lg-highlight) 58%,transparent); border-radius: var(--lg-button-radius, 999px); opacity: 0; background: linear-gradient(145deg,color-mix(in srgb,var(--lg-highlight) 30%,transparent),transparent 55%),var(--lg-surface-strong); box-shadow: 0 5px 14px -7px var(--lg-shadow),0 1px 0 color-mix(in srgb, var(--lg-reflection) 62%, transparent) inset; transform: translateX(var(--lg-tab-indicator-x)); transition: width 420ms var(--lg-spring), transform 420ms var(--lg-spring), opacity 160ms ease; }
|
|
868
|
+
.lg-tabs__list[data-lg-indicator-ready="true"] .lg-tabs__indicator { opacity: 1; }
|
|
869
|
+
.lg-tabs:not([data-lg-variant="segmented"]) .lg-tabs__indicator { display: none; }
|
|
870
|
+
.lg-tab { position: relative; z-index: 1; display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 7px; padding: 6px 14px; border: 0; border-radius: var(--lg-button-radius, 999px); color: var(--lg-text-secondary); background: transparent; cursor: pointer; transition: color 240ms ease, transform 220ms var(--lg-spring); }
|
|
871
|
+
.lg-tab__content { display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: transform 260ms var(--lg-spring); }
|
|
872
|
+
.lg-tab:hover { color: var(--lg-text); }
|
|
873
|
+
.lg-tab:active { transform: scale(var(--lg-motion-press-scale)); }
|
|
874
|
+
.lg-tab:active .lg-tab__content { transform: scale(1.01); }
|
|
875
|
+
.lg-tab[data-lg-selected="true"] { color: var(--lg-text); }
|
|
876
|
+
.lg-tabs[data-lg-variant="standard"] .lg-tab { border-radius: max(8px, calc(var(--lg-control-radius) - 4px)); }
|
|
877
|
+
.lg-tabs[data-lg-variant="standard"] .lg-tab[data-lg-selected="true"] { color: var(--lg-accent); background: transparent; box-shadow: inset 0 -2px var(--lg-accent); }
|
|
878
|
+
.lg-tab-panel { padding-block: 16px; animation: lg-panel-in 240ms ease; }
|
|
879
|
+
|
|
880
|
+
.lg-box { min-width: 0; }
|
|
881
|
+
.lg-container { width: 100%; margin-inline: auto; }
|
|
882
|
+
.lg-container[data-lg-gutters="true"] { padding-inline: clamp(16px, 4vw, 32px); }
|
|
883
|
+
.lg-container[data-lg-max-width="sm"] { max-width: 640px; }
|
|
884
|
+
.lg-container[data-lg-max-width="md"] { max-width: 800px; }
|
|
885
|
+
.lg-container[data-lg-max-width="lg"] { max-width: 1120px; }
|
|
886
|
+
.lg-container[data-lg-max-width="xl"] { max-width: 1440px; }
|
|
887
|
+
.lg-grid { display: grid; }
|
|
888
|
+
.lg-grid-item { min-width: 0; }
|
|
889
|
+
.lg-stack { display: flex; min-width: 0; }
|
|
890
|
+
.lg-image-list { display: grid; margin: 0; padding: 0; list-style: none; }
|
|
891
|
+
.lg-image-list-item { position: relative; overflow: hidden; border-radius: var(--lg-control-radius); }
|
|
892
|
+
.lg-image-list-item > img, .lg-image-list-item > picture, .lg-image-list-item > video { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--lg-spring); }
|
|
893
|
+
.lg-image-list-item:hover > img { transform: scale(1.025); }
|
|
894
|
+
.lg-image-list-item__bar { position: absolute; right: 8px; bottom: 8px; left: 8px; display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; border: 1px solid color-mix(in srgb, var(--lg-reflection) 30%, transparent); border-radius: var(--lg-control-radius); color: white; background: color-mix(in srgb, rgba(25,28,36,.28) 78%, var(--lg-surface-clear)); box-shadow: 0 8px 20px -12px rgba(0,0,0,.65); -webkit-backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-vivid-saturation)); backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-vivid-saturation)); }
|
|
895
|
+
.lg-image-list-item__title { font-weight: 600; }
|
|
896
|
+
.lg-image-list-item__subtitle { opacity: .72; font-size: 11px; }
|
|
897
|
+
.lg-masonry > * { margin-bottom: 16px; break-inside: avoid; }
|
|
898
|
+
.lg-timeline { display: flex; margin: 0; padding: 0; flex-direction: column; list-style: none; }
|
|
899
|
+
.lg-timeline-item { display: grid; grid-template-columns: minmax(0, .7fr) 28px minmax(0, 1fr); min-height: 74px; gap: 12px; }
|
|
900
|
+
.lg-timeline-item__opposite { padding-top: 3px; color: var(--lg-text-secondary); text-align: right; }
|
|
901
|
+
.lg-timeline-item__separator { display: flex; align-items: center; flex-direction: column; }
|
|
902
|
+
.lg-timeline-item__dot { display: grid; width: 18px; height: 18px; place-items: center; border: 4px solid var(--lg-accent); border-radius: 50%; background: var(--lg-surface-strong); box-shadow: 0 2px 7px color-mix(in srgb, var(--lg-accent) 24%, transparent); }
|
|
903
|
+
.lg-timeline-item__connector { width: 1px; flex: 1; margin-block: 4px; background: var(--lg-separator); }
|
|
904
|
+
.lg-timeline-item__content { padding-bottom: 18px; }
|
|
905
|
+
.lg-timeline[data-lg-position="left"] .lg-timeline-item { grid-template-columns: 0 28px minmax(0,1fr); }
|
|
906
|
+
.lg-timeline[data-lg-position="left"] .lg-timeline-item__opposite { display: none; }
|
|
907
|
+
.lg-timeline[data-lg-position="right"] .lg-timeline-item { grid-template-columns: minmax(0,1fr) 28px 0; }
|
|
908
|
+
.lg-timeline[data-lg-position="right"] .lg-timeline-item__opposite { grid-column: 3; }
|
|
909
|
+
.lg-timeline[data-lg-position="right"] .lg-timeline-item__separator { grid-column: 2; grid-row: 1; }
|
|
910
|
+
.lg-timeline[data-lg-position="right"] .lg-timeline-item__content { grid-column: 1; grid-row: 1; text-align: right; }
|
|
911
|
+
|
|
912
|
+
.lg-textarea { width: 100%; min-height: 42px; resize: none; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--lg-highlight) 40%, var(--lg-separator)); border-radius: var(--lg-field-radius, var(--lg-control-radius)); outline: 0; color: var(--lg-text); background: var(--lg-surface); box-shadow: 0 1px 0 color-mix(in srgb, var(--lg-reflection) 40%, transparent) inset; -webkit-backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); backdrop-filter: blur(var(--lg-control-blur)) saturate(var(--lg-control-saturation)); }
|
|
913
|
+
.lg-textarea:focus { border-color: var(--lg-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lg-accent) 20%, transparent); }
|
|
914
|
+
.lg-textarea[data-lg-autosize-disabled="true"] { resize: vertical; }
|
|
915
|
+
.lg-textarea[data-lg-size="sm"] { font-size: 13px; }
|
|
916
|
+
.lg-textarea[data-lg-size="lg"] { font-size: 16px; }
|
|
917
|
+
.lg-textarea-shell .lg-input-shell__inner { align-items: flex-start; }
|
|
918
|
+
.lg-textarea-shell .lg-textarea { padding-inline: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
|
|
919
|
+
.lg-textarea-shell :is(.lg-input-shell__affix, .lg-field__clear) { margin-top: 10px; }
|
|
920
|
+
.lg-transition { transition-duration: var(--lg-duration); transition-timing-function: var(--lg-spring); }
|
|
921
|
+
.lg-transition[data-lg-transition="fade"] { opacity: 0; transition-property: opacity; }
|
|
922
|
+
.lg-transition[data-lg-transition="scale"] { opacity: 0; transform: scale(.92); transition-property: opacity, transform; }
|
|
923
|
+
.lg-transition[data-lg-transition="slide-up"] { opacity: 0; transform: translateY(14px); transition-property: opacity, transform; }
|
|
924
|
+
.lg-transition[data-lg-transition="slide-down"] { opacity: 0; transform: translateY(-14px); transition-property: opacity, transform; }
|
|
925
|
+
.lg-transition[data-lg-visible="true"] { opacity: 1; transform: none; }
|
|
926
|
+
|
|
927
|
+
.lg-data-grid__sort { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 6px; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; font-weight: inherit; cursor: pointer; }
|
|
928
|
+
.lg-data-grid__row { cursor: pointer; }
|
|
929
|
+
.lg-data-grid__row[data-lg-selected="true"] { background: color-mix(in srgb, var(--lg-accent) 13%, transparent); }
|
|
930
|
+
.lg-data-grid__row[data-lg-striped="true"] { background: color-mix(in srgb, var(--lg-surface-strong) 30%, transparent); }
|
|
931
|
+
.lg-data-grid__empty { padding: 28px; color: var(--lg-text-secondary); text-align: center; }
|
|
932
|
+
.lg-chart { width: 100%; overflow: hidden; }
|
|
933
|
+
.lg-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
|
|
934
|
+
.lg-chart__grid line { stroke: var(--lg-separator); stroke-width: 1; }
|
|
935
|
+
.lg-chart__line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 3px 4px color-mix(in srgb, currentColor 24%, transparent)); }
|
|
936
|
+
.lg-chart__labels text { fill: var(--lg-text-secondary); font-family: var(--lg-font); font-size: 10px; }
|
|
937
|
+
.lg-chart__legend { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; color: var(--lg-text-secondary); font-size: 12px; }
|
|
938
|
+
.lg-chart__legend span { display: inline-flex; align-items: center; gap: 5px; }
|
|
939
|
+
.lg-chart__legend i { width: 8px; height: 8px; border-radius: 50%; }
|
|
940
|
+
.lg-tree, .lg-tree ul { margin: 0; padding: 0; list-style: none; }
|
|
941
|
+
.lg-tree ul { padding-left: 18px; }
|
|
942
|
+
.lg-tree-item__row { display: flex; width: 100%; min-height: 34px; align-items: center; gap: 6px; padding: 5px 8px; border: 0; border-radius: 9px; color: var(--lg-text); background: transparent; text-align: left; cursor: pointer; }
|
|
943
|
+
.lg-tree-item__row:hover { background: color-mix(in srgb, var(--lg-surface-strong) 55%, transparent); }
|
|
944
|
+
.lg-tree-item__row[data-lg-selected="true"] { background: color-mix(in srgb, var(--lg-accent) 15%, var(--lg-surface)); }
|
|
945
|
+
.lg-tree-item__toggle { display: grid; width: 18px; height: 18px; place-items: center; color: var(--lg-text-secondary); transition: transform 220ms var(--lg-spring); }
|
|
946
|
+
.lg-tree-item[aria-expanded="true"] > .lg-tree-item__row .lg-tree-item__toggle { transform: rotate(90deg); }
|
|
947
|
+
.lg-tree-item__icon { display: inline-flex; color: var(--lg-text-secondary); }
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
@layer utilities {
|
|
951
|
+
@keyframes lg-spin { to { transform: rotate(360deg); } }
|
|
952
|
+
@keyframes lg-button-ripple { 0% { opacity: .46; transform: scale(0); } 62% { opacity: .2; } 100% { opacity: 0; transform: scale(1); } }
|
|
953
|
+
@keyframes lg-tooltip-in { from { opacity: 0; scale: .92; } }
|
|
954
|
+
@keyframes lg-details-in { from { opacity: 0; transform: translateY(-5px); } }
|
|
955
|
+
@keyframes lg-dialog-in { from { opacity: 0; transform: translateY(22px) scale(.93); } }
|
|
956
|
+
@keyframes lg-popover-in { from { opacity: 0; transform: translateY(-5px) scale(.96); } }
|
|
957
|
+
@keyframes lg-panel-in { from { opacity: 0; transform: translateY(4px); } }
|
|
958
|
+
@keyframes lg-progress-linear { 0% { transform: translateX(-110%); } 100% { transform: translateX(330%); } }
|
|
959
|
+
@keyframes lg-skeleton-wave { 100% { transform: translateX(100%); } }
|
|
960
|
+
@keyframes lg-skeleton-pulse { 50% { opacity: .46; } }
|
|
961
|
+
|
|
962
|
+
@media (max-width: 640px) {
|
|
963
|
+
.lg-picker-popover--datetime .lg-picker { grid-template-columns: 1fr; }
|
|
964
|
+
.lg-picker-popover--datetime .lg-picker__time { height: 150px; }
|
|
965
|
+
.lg-picker-popover--datetime .lg-picker__time-column { padding-block: 52px; }
|
|
966
|
+
.lg-picker-popover--datetime .lg-picker__actions { grid-column: auto; }
|
|
967
|
+
.lg-transfer-list { grid-template-columns: 1fr; }
|
|
968
|
+
.lg-transfer-list__actions { flex-direction: row; justify-content: center; transform: rotate(90deg); }
|
|
969
|
+
.lg-stepper:not([data-lg-orientation="vertical"]) .lg-step__body { display: none; }
|
|
970
|
+
.lg-timeline-item { grid-template-columns: 24px minmax(0,1fr); }
|
|
971
|
+
.lg-timeline-item__opposite { display: none; }
|
|
972
|
+
.lg-timeline-item__separator { grid-column: 1 !important; grid-row: 1 !important; }
|
|
973
|
+
.lg-timeline-item__content { grid-column: 2 !important; grid-row: 1 !important; text-align: left !important; }
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
@media (prefers-reduced-motion: reduce) {
|
|
977
|
+
.lg-root *, .lg-root *::before, .lg-root *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
|
|
981
|
+
.lg-glass, .lg-button, .lg-input-shell, .lg-select, .lg-textarea, .lg-menubar, .lg-toggle-group, .lg-slider__thumb, .lg-switch__thumb { background-color: color-mix(in srgb, var(--lg-canvas) 92%, var(--lg-text) 8%); -webkit-backdrop-filter: none; backdrop-filter: none; }
|
|
982
|
+
.lg-glass__light { display: none; }
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
[data-lg-reduce-transparency="true"] .lg-glass,
|
|
986
|
+
[data-lg-reduce-transparency="true"] .lg-button,
|
|
987
|
+
[data-lg-reduce-transparency="true"] .lg-input-shell,
|
|
988
|
+
[data-lg-reduce-transparency="true"] .lg-select,
|
|
989
|
+
[data-lg-reduce-transparency="true"] .lg-textarea {
|
|
990
|
+
background-color: color-mix(in srgb, var(--lg-canvas) 92%, var(--lg-text) 8%);
|
|
991
|
+
-webkit-backdrop-filter: none;
|
|
992
|
+
backdrop-filter: none;
|
|
993
|
+
}
|
|
994
|
+
[data-lg-reduce-transparency="true"] .lg-glass__light { display: none; }
|
|
995
|
+
[data-lg-reduce-motion="true"] *, [data-lg-reduce-motion="true"] *::before, [data-lg-reduce-motion="true"] *::after { animation: none !important; transition: none !important; }
|
|
996
|
+
.lg-slider__body { display: flex; align-items: center; gap: 8px; }
|
|
997
|
+
.lg-slider__fill { left: var(--lg-slider-fill-start, 0); width: var(--lg-slider-fill-length, var(--lg-slider-value)); }
|
|
998
|
+
.lg-slider__mark { position: absolute; z-index: 0; left: var(--lg-slider-mark); top: 50%; min-width: 3px; min-height: 3px; transform: translate(-50%, -50%); border-radius: 999px; color: var(--lg-text-secondary); background: var(--lg-separator); font-size: 10px; }
|
|
999
|
+
.lg-slider__mark:not(:empty) { top: calc(100% + 9px); background: none; }
|
|
1000
|
+
.lg-slider__tooltip { position: absolute; z-index: 2; bottom: calc(100% + 12px); left: var(--lg-slider-value); padding: 4px 7px; border: 1px solid var(--lg-separator); border-radius: 8px; color: var(--lg-text); background: var(--lg-surface-strong); transform: translateX(-50%); opacity: 0; pointer-events: none; font-size: 12px; white-space: nowrap; }
|
|
1001
|
+
.lg-slider__control:is(:hover, :focus-within, [data-lg-dragging="true"]) .lg-slider__tooltip { opacity: 1; }
|
|
1002
|
+
.lg-slider[data-lg-outline="true"] .lg-slider__thumb { outline: 1px solid var(--lg-accent); outline-offset: 2px; }
|
|
1003
|
+
.lg-slider[data-lg-disable-thumb-scale="true"] .lg-slider__control:is(:has(input:active), [data-lg-dragging="true"]) .lg-slider__thumb { width: var(--lg-slider-thumb-width); height: var(--lg-slider-thumb-size); }
|
|
1004
|
+
.lg-slider[data-lg-orientation="vertical"] { min-width: 44px; align-items: center; }
|
|
1005
|
+
.lg-slider[data-lg-orientation="vertical"] .lg-slider__body { flex-direction: column; }
|
|
1006
|
+
.lg-slider[data-lg-orientation="vertical"] .lg-slider__control { width: 44px; height: 180px; touch-action: pan-x; }
|
|
1007
|
+
.lg-slider[data-lg-orientation="vertical"] input { width: 100%; height: 100%; writing-mode: vertical-lr; direction: rtl; }
|
|
1008
|
+
.lg-slider[data-lg-orientation="vertical"] .lg-slider__track { inset: calc(var(--lg-slider-thumb-width) / 2) auto calc(var(--lg-slider-thumb-width) / 2) 50%; width: var(--lg-slider-track-height); height: auto; transform: translateX(-50%); }
|
|
1009
|
+
.lg-slider[data-lg-orientation="vertical"] .lg-slider__fill { inset: auto 0 var(--lg-slider-fill-start, 0); width: 100%; height: var(--lg-slider-fill-length); }
|
|
1010
|
+
.lg-slider[data-lg-orientation="vertical"] .lg-slider__thumb { left: 50%; top: auto; bottom: var(--lg-slider-value); transform: translate(-50%, 50%); }
|
|
1011
|
+
.lg-slider[data-lg-orientation="vertical"] .lg-slider__mark { left: 50%; top: auto; bottom: var(--lg-slider-mark); transform: translate(-50%, 50%); }
|
|
1012
|
+
.lg-slider[data-lg-orientation="vertical"] .lg-slider__mark:not(:empty) { left: calc(100% + 10px); transform: translate(0, 50%); }
|
|
1013
|
+
.lg-slider[data-lg-orientation="vertical"] .lg-slider__tooltip { top: auto; bottom: var(--lg-slider-value); left: calc(100% + 12px); transform: translateY(50%); }
|
|
1014
|
+
.lg-slider--range .lg-slider__control { cursor: grab; touch-action: none; }
|
|
1015
|
+
.lg-slider--range .lg-slider__control[data-lg-dragging="true"] { cursor: grabbing; }
|
|
1016
|
+
.lg-slider--range .lg-slider__control input { pointer-events: none; }
|
|
1017
|
+
.lg-slider--range .lg-slider__range-thumb:not([data-lg-active="true"]) .lg-slider__thumb { width: var(--lg-slider-thumb-width); height: var(--lg-slider-thumb-size); }
|
|
1018
|
+
.lg-select__native { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; pointer-events: none; }
|
|
1019
|
+
.lg-select__trigger { display: block; text-align: start; cursor: pointer; }
|
|
1020
|
+
.lg-select__trigger:disabled { cursor: not-allowed; opacity: .5; }
|
|
1021
|
+
.lg-select__inner { display: flex; gap: 8px; align-items: center; }
|
|
1022
|
+
.lg-select__value { display: flex; flex: 1 1 auto; flex-wrap: wrap; min-width: 0; }
|
|
1023
|
+
.lg-select__icon { position: absolute; top: 50%; inset-inline-end: 12px; display: grid; width: 16px; height: 16px; place-items: center; pointer-events: none; transform: translateY(-50%); }
|
|
1024
|
+
.lg-select__icon svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform var(--lg-select-duration, var(--lg-motion-duration-fast)) ease; }
|
|
1025
|
+
.lg-select__icon[data-lg-open="true"] svg { transform: rotate(180deg); }
|
|
1026
|
+
.lg-select__clear { position: absolute; top: 50%; inset-inline-end: 30px; transform: translateY(-50%); }
|
|
1027
|
+
.lg-select-shell:has(.lg-select__clear) .lg-select { padding-inline-end: 54px; }
|
|
1028
|
+
.lg-select-shell[data-lg-control-variant="bordered"] .lg-select { background: transparent; }
|
|
1029
|
+
.lg-select-shell[data-lg-control-variant="underlined"] .lg-select { border-width: 0 0 1px; border-radius: 0; box-shadow: none; }
|
|
1030
|
+
.lg-select-shell[data-lg-control-variant="faded"] .lg-select { background: var(--lg-surface-strong); }
|
|
1031
|
+
.lg-select__scroll { overflow-y: auto; overscroll-behavior: contain; }
|
|
1032
|
+
.lg-select__scroll[data-lg-scroll-indicators="true"] { scrollbar-color: var(--lg-text-tertiary) transparent; }
|
|
1033
|
+
.lg-select__listbox { display: grid; gap: 2px; padding: 5px; }
|
|
1034
|
+
.lg-select__listbox [role="option"], .lg-select__empty { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 5px 9px; border-radius: 8px; }
|
|
1035
|
+
.lg-select__listbox [role="option"]:not([aria-disabled="true"]) { cursor: pointer; }
|
|
1036
|
+
.lg-select__listbox [role="option"][aria-disabled="true"] { opacity: .45; }
|
|
1037
|
+
.lg-select__listbox [aria-selected="true"], .lg-select__listbox [data-lg-active="true"] { background: color-mix(in srgb, var(--lg-accent) 17%, transparent); }
|
|
1038
|
+
.lg-avatar__fallback { grid-area: 1 / 1; }
|
|
1039
|
+
.lg-avatar:has(.lg-avatar__fallback) img { grid-area: 1 / 1; }
|
|
1040
|
+
.lg-avatar[data-lg-avatar-color]:not([data-lg-avatar-color="default"]) { background: color-mix(in srgb, var(--lg-accent) 25%, var(--lg-surface)); }
|
|
1041
|
+
.lg-avatar[data-lg-avatar-border="true"] { outline: 2px solid var(--lg-accent); outline-offset: 2px; }
|
|
1042
|
+
.lg-avatar[data-lg-disabled="true"] { opacity: .48; }
|
|
1043
|
+
.lg-avatar-group[data-lg-grid="true"] { display: grid; grid-template-columns: repeat(auto-fit, max-content); gap: 8px; }
|
|
1044
|
+
.lg-avatar-group[data-lg-grid="true"] .lg-avatar { margin: 0; }
|
|
1045
|
+
.lg-badge__indicator[data-lg-size="sm"] { min-width: 14px; height: 14px; font-size: 9px; }
|
|
1046
|
+
.lg-badge__indicator[data-lg-size="lg"] { min-width: 23px; height: 23px; font-size: 12px; }
|
|
1047
|
+
.lg-badge__indicator[data-lg-shape="rectangle"] { border-radius: 5px; }
|
|
1048
|
+
.lg-badge__indicator[data-lg-one-char="true"] { aspect-ratio: 1; padding-inline: 0; }
|
|
1049
|
+
.lg-badge__indicator[data-lg-outline="false"] { border-color: transparent; }
|
|
1050
|
+
.lg-badge__indicator:is([data-lg-variant="flat"], [data-lg-variant="faded"]) { color: var(--lg-text); background: color-mix(in srgb, var(--lg-accent) 36%, var(--lg-surface-strong)); }
|
|
1051
|
+
.lg-badge__indicator[data-lg-variant="shadow"] { box-shadow: 0 3px 13px -2px var(--lg-accent); }
|
|
1052
|
+
.lg-chip__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
|
|
1053
|
+
.lg-chip[data-lg-size="lg"] { min-height: 34px; padding-inline: 12px; font-size: 15px; }
|
|
1054
|
+
.lg-progress--linear { border-radius: var(--lg-progress-radius, 999px); }
|
|
1055
|
+
.lg-progress[data-lg-size="sm"] .lg-progress--linear, .lg-progress--linear[data-lg-size="sm"] { height: 4px; }
|
|
1056
|
+
.lg-progress[data-lg-size="lg"] .lg-progress--linear, .lg-progress--linear[data-lg-size="lg"] { height: 11px; }
|
|
1057
|
+
.lg-progress__bar, .lg-progress__value { transition-duration: var(--lg-progress-duration, 420ms); }
|
|
1058
|
+
.lg-progress__labels { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; color: var(--lg-text-secondary); font-size: 13px; }
|
|
1059
|
+
.lg-progress[data-lg-striped="true"] .lg-progress__bar { background: repeating-linear-gradient(125deg, currentColor 0 6px, color-mix(in srgb, currentColor 68%, transparent) 6px 12px); }
|
|
1060
|
+
.lg-progress[aria-disabled="true"] { opacity: .5; }
|
|
1061
|
+
.lg-alert__icon--plain { background: transparent; }
|
|
1062
|
+
.lg-skeleton-group--content { display: inline-grid; }
|
|
1063
|
+
.lg-skeleton-group--content > * { grid-area: 1 / 1; width: 100%; height: 100%; }
|
|
1064
|
+
.lg-skeleton__content[data-lg-loading="true"] { visibility: hidden; }
|
|
1065
|
+
.lg-tabs[data-lg-full-width="true"], .lg-tabs[data-lg-full-width="true"] .lg-tabs__list { width: 100%; }
|
|
1066
|
+
.lg-tabs[data-lg-full-width="true"] .lg-tab { flex: 1 1 auto; }
|
|
1067
|
+
.lg-tabs:is([data-lg-vertical="true"], [data-lg-placement="bottom"]) { display: inline-flex; align-items: flex-start; gap: 10px; }
|
|
1068
|
+
.lg-tabs[data-lg-vertical="true"] .lg-tabs__list { flex-direction: column; align-items: stretch; }
|
|
1069
|
+
.lg-tabs[data-lg-placement="bottom"] { flex-direction: column-reverse; }
|
|
1070
|
+
.lg-tabs[data-lg-placement="end"] { flex-direction: row-reverse; }
|
|
1071
|
+
.lg-tabs[data-lg-vertical="true"] .lg-tabs__indicator { top: 0; bottom: auto; left: 3px; right: 3px; width: auto; height: var(--lg-tab-indicator-width); transform: translateY(var(--lg-tab-indicator-x)); }
|
|
1072
|
+
.lg-tabs[data-lg-size="sm"] .lg-tab { min-height: 30px; font-size: 12px; }
|
|
1073
|
+
.lg-tabs[data-lg-size="lg"] .lg-tab { min-height: 44px; font-size: 16px; }
|
|
1074
|
+
.lg-tab:disabled { opacity: .45; cursor: not-allowed; }
|
|
1075
|
+
.lg-tabs__indicator { transition-duration: var(--lg-tab-duration, 420ms); }
|
|
1076
|
+
.lg-tabs[data-lg-tabs-variant="bordered"] .lg-tabs__list { background: transparent; }
|
|
1077
|
+
.lg-tabs[data-lg-tabs-variant="light"] .lg-tab[data-lg-selected="true"] { box-shadow: none; }
|
|
1078
|
+
.lg-pagination[data-lg-compact="true"] { gap: 2px; }
|
|
1079
|
+
.lg-pagination[data-lg-shadow="true"] [aria-current="page"] { box-shadow: 0 6px 20px -8px var(--lg-accent); }
|
|
1080
|
+
.lg-card[data-lg-full-width="true"] { width: 100%; }
|
|
1081
|
+
.lg-card[data-lg-pressable="true"]:not([data-lg-select-text="true"]) { user-select: none; cursor: pointer; }
|
|
1082
|
+
.lg-card[data-lg-hoverable="true"]:hover { background-color: var(--lg-surface-strong); }
|
|
1083
|
+
.lg-card[data-lg-blurred="false"], .lg-app-bar[data-lg-blurred="false"] { -webkit-backdrop-filter: none; backdrop-filter: none; }
|
|
1084
|
+
.lg-card[data-lg-footer-blurred="true"] .lg-footer { background: color-mix(in srgb, var(--lg-surface) 60%, transparent); backdrop-filter: blur(var(--lg-control-blur)); }
|
|
1085
|
+
.lg-card[data-lg-shadow="none"] { box-shadow: none; }
|
|
1086
|
+
.lg-card[data-lg-shadow="sm"] { box-shadow: 0 6px 18px -12px var(--lg-shadow); }
|
|
1087
|
+
.lg-card[data-lg-shadow="lg"] { box-shadow: 0 18px 42px -16px var(--lg-shadow); }
|
|
1088
|
+
.lg-card[data-lg-card-pressed="true"]::after { position: absolute; inset: 0; pointer-events: none; content: ""; background: radial-gradient(circle at var(--lg-card-press-x) var(--lg-card-press-y), color-mix(in srgb, var(--lg-accent) 26%, transparent), transparent 70%); }
|
|
1089
|
+
.lg-app-bar { min-height: var(--lg-app-bar-height, auto); transition: transform var(--lg-motion-duration-standard) var(--lg-motion-ease-standard); }
|
|
1090
|
+
.lg-app-bar[data-lg-border="false"] { border-color: transparent; }
|
|
1091
|
+
.lg-app-bar[data-lg-border="true"] { border-bottom-color: var(--lg-separator); }
|
|
1092
|
+
.lg-app-bar[data-lg-scroll-hide="true"] { transform: translateY(-100%); }
|
|
1093
|
+
.lg-app-bar[data-lg-scroll-hide="true"][data-lg-edge="bottom"] { transform: translateY(100%); }
|
|
1094
|
+
.lg-app-bar[data-lg-max-width] > .lg-glass__content { width: min(100%, var(--lg-app-bar-width, 100%)); margin-inline: auto; }
|
|
1095
|
+
.lg-app-bar[data-lg-max-width="sm"] { --lg-app-bar-width: 640px; }
|
|
1096
|
+
.lg-app-bar[data-lg-max-width="md"] { --lg-app-bar-width: 768px; }
|
|
1097
|
+
.lg-app-bar[data-lg-max-width="lg"] { --lg-app-bar-width: 1024px; }
|
|
1098
|
+
.lg-app-bar[data-lg-max-width="xl"] { --lg-app-bar-width: 1280px; }
|
|
1099
|
+
.lg-app-bar[data-lg-max-width="2xl"] { --lg-app-bar-width: 1536px; }
|
|
1100
|
+
.lg-link[data-lg-block="true"] { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; background: color-mix(in srgb, var(--lg-accent) 10%, transparent); }
|
|
1101
|
+
.lg-link[data-lg-size="sm"], .lg-breadcrumbs[data-lg-size="sm"] { font-size: 12px; }
|
|
1102
|
+
.lg-link[data-lg-size="lg"], .lg-breadcrumbs[data-lg-size="lg"] { font-size: 16px; }
|
|
1103
|
+
.lg-link[data-lg-underline="focus"]:focus-visible, .lg-link[data-lg-underline="active"]:active, .lg-breadcrumbs[data-lg-underline="always"] a { text-decoration: underline; }
|
|
1104
|
+
.lg-link[aria-disabled="true"], .lg-breadcrumbs[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
|
|
1105
|
+
.lg-link__icon { display: inline-flex; margin-inline-start: 3px; vertical-align: -.1em; }
|
|
1106
|
+
.lg-link__icon svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.4; }
|
|
1107
|
+
.lg-breadcrumbs:is([data-lg-variant="solid"], [data-lg-variant="bordered"]) { padding: 5px 9px; border: 1px solid var(--lg-separator); border-radius: var(--lg-control-radius); }
|
|
1108
|
+
.lg-breadcrumbs[data-lg-variant="solid"] { background: var(--lg-surface); }
|
|
1109
|
+
.lg-tooltip__floating { pointer-events: none; }
|
|
1110
|
+
.lg-tooltip__bubble--floating { position: relative; display: block; }
|
|
1111
|
+
.lg-tooltip__bubble[data-lg-size="lg"] { font-size: 15px; padding: 8px 11px; }
|
|
1112
|
+
.lg-tooltip__bubble[data-lg-shadow="none"], .lg-popover[data-lg-shadow="none"] .lg-popover__glass { box-shadow: none; }
|
|
1113
|
+
.lg-popover[data-lg-size="sm"] .lg-popover__glass { font-size: 13px; }
|
|
1114
|
+
.lg-popover[data-lg-size="lg"] .lg-popover__glass { font-size: 17px; }
|
|
1115
|
+
.lg-popover__backdrop { position: fixed; z-index: 999; pointer-events: none; }
|
|
1116
|
+
[data-lg-popover-trigger="open"] { scale: .97; }
|
|
1117
|
+
.lg-popper__arrow { position: absolute; z-index: -1; width: 10px; height: 10px; background: var(--lg-surface-strong); transform: rotate(45deg); pointer-events: none; }
|
|
1118
|
+
.lg-accordion[data-lg-full-width="true"] { width: 100%; }
|
|
1119
|
+
.lg-accordion--group > .lg-glass__content { display: grid; }
|
|
1120
|
+
.lg-accordion--group:not([data-lg-accordion-variant="splitted"]) .lg-accordion { border: 0; box-shadow: none; background: transparent; backdrop-filter: none; }
|
|
1121
|
+
.lg-accordion--group:not([data-lg-accordion-variant="splitted"]) .lg-accordion::before { display: none; }
|
|
1122
|
+
.lg-accordion--group[data-lg-accordion-variant="splitted"] { padding: 6px; }
|
|
1123
|
+
.lg-accordion--group[data-lg-accordion-variant="splitted"] > .lg-glass__content { gap: 7px; }
|
|
1124
|
+
.lg-accordion[data-lg-compact="true"] .lg-accordion__summary { padding-block: 6px; min-height: 34px; }
|
|
1125
|
+
.lg-accordion__heading { margin: 0; font-size: inherit; }
|
|
1126
|
+
.lg-accordion__divider { height: 1px; margin-inline: 10px; background: var(--lg-separator); }
|
|
1127
|
+
.lg-accordion__title-row { display: flex; align-items: center; gap: 10px; }
|
|
1128
|
+
.lg-accordion__title-wrapper { display: grid; gap: 3px; text-align: start; }
|
|
1129
|
+
.lg-accordion__subtitle { font-size: 12px; font-weight: 400; color: var(--lg-text-secondary); }
|
|
1130
|
+
.lg-picker__months { display: flex; gap: 12px; overflow-x: auto; max-width: calc(100vw - 32px); }
|
|
1131
|
+
.lg-picker__calendar { flex: 0 0 auto; }
|
|
1132
|
+
.lg-picker__month-year { display: flex; gap: 4px; }
|
|
1133
|
+
.lg-picker__month-year select { color: var(--lg-text); background: var(--lg-surface); border: 1px solid var(--lg-separator); border-radius: 7px; }
|
|
1134
|
+
.lg-picker-trigger[data-lg-control-variant="bordered"] { background: transparent; }
|
|
1135
|
+
.lg-picker-trigger[data-lg-control-variant="underlined"] { border-width: 0 0 1px; border-radius: 0; box-shadow: none; }
|
|
1136
|
+
.lg-picker-trigger[data-lg-control-variant="faded"] { background: var(--lg-surface-strong); }
|
|
1137
|
+
.lg-autocomplete__end { display: inline-flex; align-items: center; gap: 4px; }
|
|
1138
|
+
.lg-autocomplete__toggle[data-lg-open="true"] svg { transform: rotate(180deg); }
|
|
1139
|
+
.lg-table__surface { position: relative; overflow: auto; overscroll-behavior: contain; }
|
|
1140
|
+
.lg-table__surface[data-lg-shadow="sm"] { box-shadow: 0 6px 18px -12px var(--lg-shadow); }
|
|
1141
|
+
.lg-table__surface:is([data-lg-shadow="md"], [data-lg-shadow="lg"]) { box-shadow: 0 16px 44px -16px var(--lg-shadow); }
|
|
1142
|
+
.lg-table[data-lg-striped="true"] .lg-table__body > tr:nth-child(even) { background: color-mix(in srgb, var(--lg-surface-strong) 55%, transparent); }
|
|
1143
|
+
.lg-table[data-lg-compact="true"] :is(th, td) { padding-block: 6px; }
|
|
1144
|
+
.lg-table[data-lg-full-width="false"] { width: auto; }
|
|
1145
|
+
.lg-table__head[data-lg-sticky="true"] { position: sticky; top: 0; z-index: 1; background: var(--lg-surface-strong); }
|
|
1146
|
+
.lg-table__row[aria-selected="true"] { background: color-mix(in srgb, var(--lg-accent) 16%, transparent); }
|
|
1147
|
+
.lg-table__row[aria-disabled="true"] { opacity: .5; }
|
|
1148
|
+
.lg-table__sort { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font: inherit; }
|
|
1149
|
+
.lg-table__selection { width: 36px; }
|
|
1150
|
+
.lg-table__load-more td { padding: 0; height: 1px; }
|
|
1151
|
+
.lg-list[data-lg-variant="bordered"] { border: 1px solid var(--lg-separator); border-radius: var(--lg-radius); }
|
|
1152
|
+
.lg-list:is([data-lg-variant="solid"], [data-lg-variant="flat"], [data-lg-variant="faded"]) { background: var(--lg-surface); border-radius: var(--lg-radius); }
|
|
1153
|
+
.lg-list[data-lg-variant="shadow"] { box-shadow: 0 14px 34px -18px var(--lg-shadow); }
|
|
1154
|
+
.lg-list-item { transition-duration: var(--lg-list-duration, 220ms); }
|
|
1155
|
+
.lg-list-item[data-lg-divider="true"], .lg-menu-item[data-lg-divider="true"] { border-bottom: 1px solid var(--lg-separator); }
|
|
1156
|
+
.lg-list-item__link { display: flex; flex: 1 1 auto; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
|
|
1157
|
+
.lg-list[data-lg-focus-highlight="true"] .lg-list-item:focus-visible, .lg-list-item[data-lg-focus-highlight="true"]:focus-visible { background: color-mix(in srgb, var(--lg-accent) 14%, transparent); }
|
|
1158
|
+
.lg-menu-item__label { display: grid; gap: 3px; text-align: start; }
|
|
1159
|
+
.lg-menu-item__description { color: var(--lg-text-secondary); font-size: 12px; }
|
|
1160
|
+
.lg-menu[data-lg-variant="bordered"] .lg-menu-item:focus-visible { outline: 1px solid var(--lg-accent); }
|
|
1161
|
+
.lg-menu[data-lg-variant="solid"] .lg-menu-item:is(:hover, [aria-checked="true"]) { background: color-mix(in srgb, var(--lg-accent) 24%, var(--lg-surface)); }
|
|
1162
|
+
.lg-snackbar__icon { display: grid; flex: 0 0 auto; place-items: center; }
|
|
1163
|
+
.lg-snackbar__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--lg-accent); stroke-width: 1.8; }
|
|
1164
|
+
.lg-snackbar__progress { position: absolute; bottom: 0; inset-inline: 0; height: 2px; background: var(--lg-separator); }
|
|
1165
|
+
.lg-snackbar__progress > span { display: block; height: 100%; background: var(--lg-accent); transform-origin: left; animation: lg-toast-countdown linear forwards; }
|
|
1166
|
+
@keyframes lg-toast-countdown { to { transform: scaleX(0); } }
|
|
1167
|
+
[data-lg-side="top"] > .lg-popper__arrow { bottom: -5px; left: calc(50% - 5px); }
|
|
1168
|
+
[data-lg-side="bottom"] > .lg-popper__arrow { top: -5px; left: calc(50% - 5px); }
|
|
1169
|
+
[data-lg-side="left"] > .lg-popper__arrow { right: -5px; top: calc(50% - 5px); }
|
|
1170
|
+
[data-lg-side="right"] > .lg-popper__arrow { left: -5px; top: calc(50% - 5px); }
|
|
1171
|
+
[data-lg-disable-animation="true"] { --lg-motion-press-scale: 1; --lg-motion-press-scale-subtle: 1; }
|
|
1172
|
+
[data-lg-disable-animation="true"], [data-lg-disable-animation="true"]::before, [data-lg-disable-animation="true"]::after,
|
|
1173
|
+
[data-lg-disable-animation="true"] *, [data-lg-disable-animation="true"] *::before, [data-lg-disable-animation="true"] *::after {
|
|
1174
|
+
animation-duration: .01ms !important;
|
|
1175
|
+
animation-iteration-count: 1 !important;
|
|
1176
|
+
transition-duration: .01ms !important;
|
|
1177
|
+
}
|
|
1178
|
+
}
|