svelte-multistyle-ui 0.0.1-alpha
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 +201 -0
- package/README.md +183 -0
- package/dist/actions/portal.d.ts +20 -0
- package/dist/actions/portal.js +32 -0
- package/dist/components/Accordion.svelte +64 -0
- package/dist/components/Accordion.svelte.d.ts +19 -0
- package/dist/components/Alert.svelte +61 -0
- package/dist/components/Alert.svelte.d.ts +23 -0
- package/dist/components/Avatar.svelte +31 -0
- package/dist/components/Avatar.svelte.d.ts +21 -0
- package/dist/components/Breadcrumb.svelte +35 -0
- package/dist/components/Breadcrumb.svelte.d.ts +15 -0
- package/dist/components/Button.svelte +34 -0
- package/dist/components/Button.svelte.d.ts +25 -0
- package/dist/components/ButtonGroup.svelte +45 -0
- package/dist/components/ButtonGroup.svelte.d.ts +23 -0
- package/dist/components/Card.svelte +29 -0
- package/dist/components/Card.svelte.d.ts +21 -0
- package/dist/components/Carousel.svelte +111 -0
- package/dist/components/Carousel.svelte.d.ts +23 -0
- package/dist/components/Checkbox.svelte +64 -0
- package/dist/components/Checkbox.svelte.d.ts +21 -0
- package/dist/components/Chip.svelte +43 -0
- package/dist/components/Chip.svelte.d.ts +27 -0
- package/dist/components/Column.svelte +38 -0
- package/dist/components/Column.svelte.d.ts +21 -0
- package/dist/components/CommandPalette.svelte +207 -0
- package/dist/components/CommandPalette.svelte.d.ts +19 -0
- package/dist/components/DatePicker.svelte +365 -0
- package/dist/components/DatePicker.svelte.d.ts +31 -0
- package/dist/components/Divider.svelte +32 -0
- package/dist/components/Divider.svelte.d.ts +17 -0
- package/dist/components/Drawer.svelte +69 -0
- package/dist/components/Drawer.svelte.d.ts +21 -0
- package/dist/components/DropdownMenu.svelte +113 -0
- package/dist/components/DropdownMenu.svelte.d.ts +25 -0
- package/dist/components/FAB.svelte +27 -0
- package/dist/components/FAB.svelte.d.ts +19 -0
- package/dist/components/FileUpload.svelte +76 -0
- package/dist/components/FileUpload.svelte.d.ts +21 -0
- package/dist/components/Grid.svelte +51 -0
- package/dist/components/Grid.svelte.d.ts +27 -0
- package/dist/components/IconButton.svelte +39 -0
- package/dist/components/IconButton.svelte.d.ts +27 -0
- package/dist/components/Input.svelte +121 -0
- package/dist/components/Input.svelte.d.ts +69 -0
- package/dist/components/Modal.svelte +57 -0
- package/dist/components/Modal.svelte.d.ts +23 -0
- package/dist/components/MultiSelect.svelte +125 -0
- package/dist/components/MultiSelect.svelte.d.ts +23 -0
- package/dist/components/Pagination.svelte +52 -0
- package/dist/components/Pagination.svelte.d.ts +19 -0
- package/dist/components/Popover.svelte +114 -0
- package/dist/components/Popover.svelte.d.ts +23 -0
- package/dist/components/ProgressBar.svelte +72 -0
- package/dist/components/ProgressBar.svelte.d.ts +21 -0
- package/dist/components/Radio.svelte +39 -0
- package/dist/components/Radio.svelte.d.ts +21 -0
- package/dist/components/Rating.svelte +102 -0
- package/dist/components/Rating.svelte.d.ts +25 -0
- package/dist/components/Row.svelte +39 -0
- package/dist/components/Row.svelte.d.ts +23 -0
- package/dist/components/Select.svelte +80 -0
- package/dist/components/Select.svelte.d.ts +23 -0
- package/dist/components/Skeleton.svelte +26 -0
- package/dist/components/Skeleton.svelte.d.ts +19 -0
- package/dist/components/Slider.svelte +46 -0
- package/dist/components/Slider.svelte.d.ts +25 -0
- package/dist/components/Spinner.svelte +27 -0
- package/dist/components/Spinner.svelte.d.ts +15 -0
- package/dist/components/Stepper.svelte +34 -0
- package/dist/components/Stepper.svelte.d.ts +17 -0
- package/dist/components/Table.svelte +59 -0
- package/dist/components/Table.svelte.d.ts +19 -0
- package/dist/components/Tabs.svelte +32 -0
- package/dist/components/Tabs.svelte.d.ts +17 -0
- package/dist/components/Textarea.svelte +86 -0
- package/dist/components/Textarea.svelte.d.ts +31 -0
- package/dist/components/Toast.svelte +90 -0
- package/dist/components/Toast.svelte.d.ts +19 -0
- package/dist/components/Toggle.svelte +46 -0
- package/dist/components/Toggle.svelte.d.ts +21 -0
- package/dist/components/Tooltip.svelte +35 -0
- package/dist/components/Tooltip.svelte.d.ts +19 -0
- package/dist/components/accordion-styles.css +89 -0
- package/dist/components/alert-styles.css +66 -0
- package/dist/components/avatar-styles.css +50 -0
- package/dist/components/breadcrumb-styles.css +73 -0
- package/dist/components/button-styles.css +272 -0
- package/dist/components/buttongroup-styles.css +118 -0
- package/dist/components/card-styles.css +101 -0
- package/dist/components/carousel-styles.css +145 -0
- package/dist/components/charts/BarChart.svelte +5 -0
- package/dist/components/charts/BarChart.svelte.d.ts +29 -0
- package/dist/components/charts/BubbleChart.svelte +5 -0
- package/dist/components/charts/BubbleChart.svelte.d.ts +29 -0
- package/dist/components/charts/Chart.svelte +186 -0
- package/dist/components/charts/Chart.svelte.d.ts +37 -0
- package/dist/components/charts/ComboChart.svelte +5 -0
- package/dist/components/charts/ComboChart.svelte.d.ts +29 -0
- package/dist/components/charts/DoughnutChart.svelte +5 -0
- package/dist/components/charts/DoughnutChart.svelte.d.ts +29 -0
- package/dist/components/charts/LineChart.svelte +5 -0
- package/dist/components/charts/LineChart.svelte.d.ts +29 -0
- package/dist/components/charts/PieChart.svelte +5 -0
- package/dist/components/charts/PieChart.svelte.d.ts +29 -0
- package/dist/components/charts/PolarAreaChart.svelte +5 -0
- package/dist/components/charts/PolarAreaChart.svelte.d.ts +29 -0
- package/dist/components/charts/RadarChart.svelte +5 -0
- package/dist/components/charts/RadarChart.svelte.d.ts +29 -0
- package/dist/components/charts/ScatterChart.svelte +5 -0
- package/dist/components/charts/ScatterChart.svelte.d.ts +29 -0
- package/dist/components/charts/StackedBarChart.svelte +18 -0
- package/dist/components/charts/StackedBarChart.svelte.d.ts +29 -0
- package/dist/components/charts/StackedLineChart.svelte +21 -0
- package/dist/components/charts/StackedLineChart.svelte.d.ts +29 -0
- package/dist/components/charts/chart-config.d.ts +102 -0
- package/dist/components/charts/chart-config.js +616 -0
- package/dist/components/charts/chart-styles.css +159 -0
- package/dist/components/checkbox-styles.css +125 -0
- package/dist/components/chip-styles.css +107 -0
- package/dist/components/column-styles.css +6 -0
- package/dist/components/commandpalette-styles.css +162 -0
- package/dist/components/datepicker-styles.css +1011 -0
- package/dist/components/divider-styles.css +56 -0
- package/dist/components/drawer-styles.css +83 -0
- package/dist/components/dropdown-styles.css +128 -0
- package/dist/components/fab-styles.css +61 -0
- package/dist/components/fileupload-styles.css +125 -0
- package/dist/components/grid-styles.css +6 -0
- package/dist/components/iconbutton-styles.css +146 -0
- package/dist/components/input-styles.css +436 -0
- package/dist/components/modal-styles.css +103 -0
- package/dist/components/multiselect-styles.css +202 -0
- package/dist/components/pagination-styles.css +63 -0
- package/dist/components/popover-styles.css +122 -0
- package/dist/components/progressbar-styles.css +106 -0
- package/dist/components/radio-styles.css +120 -0
- package/dist/components/rating-styles.css +68 -0
- package/dist/components/row-styles.css +6 -0
- package/dist/components/select-styles.css +218 -0
- package/dist/components/skeleton-styles.css +48 -0
- package/dist/components/slider-styles.css +85 -0
- package/dist/components/spinner-styles.css +52 -0
- package/dist/components/stepper-styles.css +93 -0
- package/dist/components/table-styles.css +114 -0
- package/dist/components/tabs-styles.css +74 -0
- package/dist/components/textarea-styles.css +224 -0
- package/dist/components/theme-base.css +64 -0
- package/dist/components/theme.css +440 -0
- package/dist/components/toast-styles.css +106 -0
- package/dist/components/toggle-styles.css +131 -0
- package/dist/components/tooltip-styles.css +56 -0
- package/dist/config.d.ts +1 -0
- package/dist/config.js +9 -0
- package/dist/config.svelte.d.ts +25 -0
- package/dist/config.svelte.js +41 -0
- package/dist/index.d.ts +52 -0
- package/dist/index.js +69 -0
- package/package.json +65 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
/* ===== BASE ===== */
|
|
2
|
+
/* Theme-controlled: colors, border-width, shadow, radius. Style-controlled: shape. */
|
|
3
|
+
.s-select-wrapper {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
position: relative;
|
|
6
|
+
width: 100%;
|
|
7
|
+
}
|
|
8
|
+
.s-select-wrapper select {
|
|
9
|
+
width: 100%;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
font-family: inherit;
|
|
12
|
+
font-size: 15px;
|
|
13
|
+
padding: 12px 36px 12px 14px;
|
|
14
|
+
appearance: none;
|
|
15
|
+
-webkit-appearance: none;
|
|
16
|
+
outline: none;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
background: var(--t-surface);
|
|
19
|
+
color: var(--t-text);
|
|
20
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
21
|
+
border-radius: var(--t-card-radius);
|
|
22
|
+
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
23
|
+
}
|
|
24
|
+
.s-select-wrapper select:hover {
|
|
25
|
+
border-color: color-mix(in srgb, var(--t-text) 50%, var(--t-border));
|
|
26
|
+
}
|
|
27
|
+
.s-select-wrapper.focused select {
|
|
28
|
+
border-color: var(--t-primary);
|
|
29
|
+
box-shadow: 0 0 0 3px var(--t-shadow);
|
|
30
|
+
}
|
|
31
|
+
.s-select-wrapper.disabled {
|
|
32
|
+
opacity: 0.45;
|
|
33
|
+
pointer-events: none;
|
|
34
|
+
}
|
|
35
|
+
.s-select-arrow {
|
|
36
|
+
position: absolute;
|
|
37
|
+
right: 12px;
|
|
38
|
+
top: 50%;
|
|
39
|
+
transform: translateY(-50%);
|
|
40
|
+
pointer-events: none;
|
|
41
|
+
color: var(--t-border);
|
|
42
|
+
transition: color 0.2s, transform 0.2s;
|
|
43
|
+
}
|
|
44
|
+
.s-select-wrapper.focused .s-select-arrow {
|
|
45
|
+
color: var(--t-primary);
|
|
46
|
+
}
|
|
47
|
+
.s-select-floating-label {
|
|
48
|
+
position: absolute;
|
|
49
|
+
pointer-events: none;
|
|
50
|
+
left: 14px;
|
|
51
|
+
top: 14px;
|
|
52
|
+
font-size: 15px;
|
|
53
|
+
color: var(--t-border);
|
|
54
|
+
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
55
|
+
transform-origin: left center;
|
|
56
|
+
}
|
|
57
|
+
.s-select-wrapper.floated .s-select-floating-label {
|
|
58
|
+
transform: translateY(-10px) scale(0.75);
|
|
59
|
+
color: var(--t-primary);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* ===== FLOATING LABEL STYLES ===== */
|
|
63
|
+
.s-select-material select,
|
|
64
|
+
.s-select-material3 select,
|
|
65
|
+
.s-select-fluent select,
|
|
66
|
+
.s-select-carbon select,
|
|
67
|
+
.s-select-bootstrap select,
|
|
68
|
+
.s-select-legacy-ios select {
|
|
69
|
+
padding-top: 22px;
|
|
70
|
+
padding-bottom: 6px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* ===== MATERIAL ===== */
|
|
74
|
+
.s-select-material select {
|
|
75
|
+
background: color-mix(in srgb, var(--t-primary) 4%, var(--t-surface));
|
|
76
|
+
border: none;
|
|
77
|
+
border-bottom: var(--t-border-width) solid var(--t-border);
|
|
78
|
+
border-radius: var(--t-card-radius) var(--t-card-radius) 0 0;
|
|
79
|
+
}
|
|
80
|
+
.s-select-material.focused select {
|
|
81
|
+
border-bottom-color: var(--t-primary);
|
|
82
|
+
box-shadow: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* ===== MATERIAL 3 ===== */
|
|
86
|
+
.s-select-material3 select {
|
|
87
|
+
background: var(--t-surface);
|
|
88
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
89
|
+
border-radius: var(--t-card-radius);
|
|
90
|
+
}
|
|
91
|
+
.s-select-material3.focused select {
|
|
92
|
+
border-color: var(--t-primary);
|
|
93
|
+
border-width: calc(var(--t-border-width) + 0.5px);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
97
|
+
|
|
98
|
+
/* Brutalist */
|
|
99
|
+
.s-select-brutalist select {
|
|
100
|
+
font-family: 'Courier New', monospace;
|
|
101
|
+
font-weight: bold;
|
|
102
|
+
border: var(--t-border-width) solid var(--t-text);
|
|
103
|
+
border-radius: 0;
|
|
104
|
+
box-shadow: 4px 4px 0 var(--t-text);
|
|
105
|
+
background: var(--t-surface);
|
|
106
|
+
}
|
|
107
|
+
.s-select-brutalist.focused select { border-color: var(--t-primary); box-shadow: 5px 5px 0 var(--t-primary); }
|
|
108
|
+
|
|
109
|
+
/* Pixel */
|
|
110
|
+
.s-select-pixel select {
|
|
111
|
+
font-family: 'Courier New', monospace;
|
|
112
|
+
background: var(--t-surface);
|
|
113
|
+
color: var(--t-text);
|
|
114
|
+
border: var(--t-border-width) solid var(--t-primary);
|
|
115
|
+
border-radius: 0;
|
|
116
|
+
box-shadow: inset -3px -3px 0 rgba(0,0,0,0.25), inset 3px 3px 0 rgba(255,255,255,0.1);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* Neon */
|
|
120
|
+
.s-select-neon select {
|
|
121
|
+
background: var(--t-surface);
|
|
122
|
+
color: var(--t-text);
|
|
123
|
+
border-color: var(--t-primary);
|
|
124
|
+
box-shadow: 0 0 5px var(--t-primary);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* Metro */
|
|
128
|
+
.s-select-metro select {
|
|
129
|
+
border-radius: 0;
|
|
130
|
+
border: var(--t-border-width) solid var(--t-primary);
|
|
131
|
+
background: var(--t-surface);
|
|
132
|
+
font-weight: 600;
|
|
133
|
+
box-shadow: none;
|
|
134
|
+
}
|
|
135
|
+
.s-select-metro.focused select { box-shadow: none; }
|
|
136
|
+
|
|
137
|
+
/* Bootstrap */
|
|
138
|
+
.s-select-bootstrap select {
|
|
139
|
+
border-radius: 6px;
|
|
140
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
141
|
+
box-shadow: var(--t-shadow-xs);
|
|
142
|
+
background: var(--t-surface);
|
|
143
|
+
}
|
|
144
|
+
.s-select-bootstrap.focused select {
|
|
145
|
+
box-shadow: 0 0 0 3px var(--t-shadow);
|
|
146
|
+
border-color: var(--t-primary);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* Cartoon */
|
|
150
|
+
.s-select-cartoon select {
|
|
151
|
+
border-radius: 16px;
|
|
152
|
+
border: var(--t-border-width) solid var(--t-text);
|
|
153
|
+
box-shadow: 4px 4px 0 var(--t-primary);
|
|
154
|
+
font-weight: 700;
|
|
155
|
+
background: var(--t-surface);
|
|
156
|
+
}
|
|
157
|
+
.s-select-cartoon.focused select {
|
|
158
|
+
border-color: var(--t-primary);
|
|
159
|
+
box-shadow: 5px 5px 0 var(--t-secondary);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* Illustration */
|
|
163
|
+
.s-select-illustration select {
|
|
164
|
+
border-radius: 8px;
|
|
165
|
+
border: var(--t-border-width) solid var(--t-text);
|
|
166
|
+
box-shadow: 3px 3px 0 var(--t-border);
|
|
167
|
+
font-style: italic;
|
|
168
|
+
background: var(--t-surface);
|
|
169
|
+
}
|
|
170
|
+
.s-select-illustration.focused select {
|
|
171
|
+
border-color: var(--t-primary);
|
|
172
|
+
box-shadow: 3px 3px 0 var(--t-primary);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* Carbon */
|
|
176
|
+
.s-select-carbon select {
|
|
177
|
+
border-radius: 0;
|
|
178
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
179
|
+
border-bottom-width: 2px;
|
|
180
|
+
font-family: 'IBM Plex Sans', sans-serif;
|
|
181
|
+
background: var(--t-surface);
|
|
182
|
+
box-shadow: none;
|
|
183
|
+
}
|
|
184
|
+
.s-select-carbon.focused select {
|
|
185
|
+
border-bottom-color: var(--t-primary);
|
|
186
|
+
box-shadow: none;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/* Liquid Glass */
|
|
190
|
+
.s-select-liquid-glass {
|
|
191
|
+
background: rgba(255,255,255,0.1);
|
|
192
|
+
border: 1px solid rgba(255,255,255,0.2);
|
|
193
|
+
border-radius: 16px;
|
|
194
|
+
backdrop-filter: blur(24px) saturate(1.6);
|
|
195
|
+
-webkit-backdrop-filter: blur(24px) saturate(1.6);
|
|
196
|
+
box-shadow: var(--t-shadow-md), inset 0 1px 0 rgba(255,255,255,0.3);
|
|
197
|
+
}
|
|
198
|
+
.s-select-liquid-glass select {
|
|
199
|
+
background: transparent;
|
|
200
|
+
border: none;
|
|
201
|
+
border-radius: 16px;
|
|
202
|
+
}
|
|
203
|
+
.s-select-liquid-glass.focused {
|
|
204
|
+
border-color: var(--t-primary);
|
|
205
|
+
}
|
|
206
|
+
.s-select-liquid-glass.focused select { box-shadow: none; }
|
|
207
|
+
|
|
208
|
+
/* Legacy iOS */
|
|
209
|
+
.s-select-legacy-ios select {
|
|
210
|
+
border-radius: 10px;
|
|
211
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
212
|
+
background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%);
|
|
213
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-xs);
|
|
214
|
+
}
|
|
215
|
+
.s-select-legacy-ios.focused select {
|
|
216
|
+
border-color: var(--t-primary);
|
|
217
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 0 0 3px var(--t-shadow);
|
|
218
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* ===== BASE ===== */
|
|
2
|
+
/* Theme-controlled: shimmer colors, radius. Style-controlled: shape. */
|
|
3
|
+
.s-skeleton {
|
|
4
|
+
background: linear-gradient(90deg, var(--t-border) 25%, color-mix(in srgb, var(--t-border) 60%, var(--t-surface)) 50%, var(--t-border) 75%);
|
|
5
|
+
background-size: 200% 100%;
|
|
6
|
+
animation: skeletonShimmer 1.5s ease-in-out infinite;
|
|
7
|
+
border-radius: var(--t-card-radius);
|
|
8
|
+
}
|
|
9
|
+
.s-skeleton-text { border-radius: 4px; }
|
|
10
|
+
.s-skeleton-circle { border-radius: 50%; }
|
|
11
|
+
.s-skeleton-rect { border-radius: var(--t-card-radius); }
|
|
12
|
+
|
|
13
|
+
@keyframes skeletonShimmer {
|
|
14
|
+
0% { background-position: 200% 0; }
|
|
15
|
+
100% { background-position: -200% 0; }
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
19
|
+
|
|
20
|
+
/* Brutalist */
|
|
21
|
+
.s-skeleton-brutalist { border-radius: 0; border: var(--t-border-width) solid var(--t-text); }
|
|
22
|
+
|
|
23
|
+
/* Pixel */
|
|
24
|
+
.s-skeleton-pixel { border-radius: 0; border: var(--t-border-width) solid var(--t-primary); animation-timing-function: steps(5); }
|
|
25
|
+
|
|
26
|
+
/* Neon */
|
|
27
|
+
.s-skeleton-neon { box-shadow: 0 0 4px var(--t-primary); }
|
|
28
|
+
|
|
29
|
+
/* Metro */
|
|
30
|
+
.s-skeleton-metro { border-radius: 0; }
|
|
31
|
+
|
|
32
|
+
/* Bootstrap */
|
|
33
|
+
.s-skeleton-bootstrap { border-radius: 4px; }
|
|
34
|
+
|
|
35
|
+
/* Cartoon */
|
|
36
|
+
.s-skeleton-cartoon { border-radius: 12px; border: var(--t-border-width) solid var(--t-text); }
|
|
37
|
+
|
|
38
|
+
/* Illustration */
|
|
39
|
+
.s-skeleton-illustration { border-radius: 6px; border: var(--t-border-width) solid var(--t-text); }
|
|
40
|
+
|
|
41
|
+
/* Carbon */
|
|
42
|
+
.s-skeleton-carbon { border-radius: 0; }
|
|
43
|
+
|
|
44
|
+
/* Liquid Glass */
|
|
45
|
+
.s-skeleton-liquid-glass { background: rgba(255,255,255,0.08); border-radius: 12px; backdrop-filter: blur(8px); }
|
|
46
|
+
|
|
47
|
+
/* Legacy iOS */
|
|
48
|
+
.s-skeleton-legacy-ios { border-radius: 8px; }
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* ===== BASE ===== */
|
|
2
|
+
/* Theme-controlled: track/fill colors, thumb colors, shadow. Style-controlled: track height, thumb shape. */
|
|
3
|
+
.s-slider-wrapper {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 6px;
|
|
7
|
+
width: 100%;
|
|
8
|
+
}
|
|
9
|
+
.s-slider-wrapper.disabled { opacity: 0.45; pointer-events: none; }
|
|
10
|
+
.s-slider-label { font-size: 13px; color: var(--t-text); font-weight: 500; }
|
|
11
|
+
.s-slider-value { font-size: 12px; color: var(--t-primary); font-weight: 600; }
|
|
12
|
+
.s-slider-track-wrapper {
|
|
13
|
+
position: relative;
|
|
14
|
+
height: 24px;
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
}
|
|
18
|
+
.s-slider-track-wrapper input[type="range"] {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 6px;
|
|
21
|
+
appearance: none;
|
|
22
|
+
-webkit-appearance: none;
|
|
23
|
+
background: var(--t-border);
|
|
24
|
+
border-radius: 3px;
|
|
25
|
+
outline: none;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
transition: all 0.2s ease;
|
|
28
|
+
}
|
|
29
|
+
.s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb {
|
|
30
|
+
-webkit-appearance: none;
|
|
31
|
+
width: 18px;
|
|
32
|
+
height: 18px;
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
background: var(--t-primary);
|
|
35
|
+
border: 2px solid #fff;
|
|
36
|
+
box-shadow: var(--t-shadow-sm);
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
transition: all 0.2s ease;
|
|
39
|
+
}
|
|
40
|
+
.s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb:hover {
|
|
41
|
+
transform: scale(1.15);
|
|
42
|
+
box-shadow: var(--t-shadow-colored-md);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
46
|
+
|
|
47
|
+
/* Brutalist */
|
|
48
|
+
.s-slider-brutalist .s-slider-track-wrapper input[type="range"] { border-radius: 0; height: 8px; border: var(--t-border-width) solid var(--t-text); }
|
|
49
|
+
.s-slider-brutalist .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { border-radius: 0; border: var(--t-border-width) solid var(--t-text); }
|
|
50
|
+
|
|
51
|
+
/* Pixel */
|
|
52
|
+
.s-slider-pixel .s-slider-track-wrapper input[type="range"] { border-radius: 0; height: 8px; border: var(--t-border-width) solid var(--t-primary); }
|
|
53
|
+
.s-slider-pixel .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { border-radius: 0; border: var(--t-border-width) solid var(--t-primary); }
|
|
54
|
+
|
|
55
|
+
/* Neon */
|
|
56
|
+
.s-slider-neon .s-slider-track-wrapper input[type="range"] { box-shadow: 0 0 4px var(--t-primary); }
|
|
57
|
+
.s-slider-neon .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { box-shadow: 0 0 8px var(--t-primary), 0 0 16px var(--t-shadow); }
|
|
58
|
+
|
|
59
|
+
/* Metro */
|
|
60
|
+
.s-slider-metro .s-slider-track-wrapper input[type="range"] { border-radius: 0; height: 4px; }
|
|
61
|
+
.s-slider-metro .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { border-radius: 0; width: 16px; height: 16px; }
|
|
62
|
+
|
|
63
|
+
/* Bootstrap */
|
|
64
|
+
.s-slider-bootstrap .s-slider-track-wrapper input[type="range"] { border-radius: 3px; }
|
|
65
|
+
.s-slider-bootstrap .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { box-shadow: var(--t-shadow-xs); }
|
|
66
|
+
|
|
67
|
+
/* Cartoon */
|
|
68
|
+
.s-slider-cartoon .s-slider-track-wrapper input[type="range"] { height: 10px; border-radius: 5px; border: var(--t-border-width) solid var(--t-text); }
|
|
69
|
+
.s-slider-cartoon .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { width: 24px; height: 24px; border: var(--t-border-width) solid var(--t-text); box-shadow: 3px 3px 0 var(--t-primary); }
|
|
70
|
+
|
|
71
|
+
/* Illustration */
|
|
72
|
+
.s-slider-illustration .s-slider-track-wrapper input[type="range"] { height: 8px; border: var(--t-border-width) solid var(--t-text); border-radius: 4px; }
|
|
73
|
+
.s-slider-illustration .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { border: var(--t-border-width) solid var(--t-text); box-shadow: 2px 2px 0 var(--t-border); }
|
|
74
|
+
|
|
75
|
+
/* Carbon */
|
|
76
|
+
.s-slider-carbon .s-slider-track-wrapper input[type="range"] { border-radius: 0; height: 4px; }
|
|
77
|
+
.s-slider-carbon .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { border-radius: 50%; width: 14px; height: 14px; border: var(--t-border-width) solid var(--t-border); }
|
|
78
|
+
|
|
79
|
+
/* Liquid Glass */
|
|
80
|
+
.s-slider-liquid-glass .s-slider-track-wrapper input[type="range"] { background: rgba(255,255,255,0.15); border-radius: 3px; }
|
|
81
|
+
.s-slider-liquid-glass .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { background: rgba(255,255,255,0.8); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.3); }
|
|
82
|
+
|
|
83
|
+
/* Legacy iOS */
|
|
84
|
+
.s-slider-legacy-ios .s-slider-track-wrapper input[type="range"] { border-radius: 3px; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, var(--t-border) 100%); }
|
|
85
|
+
.s-slider-legacy-ios .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { background: linear-gradient(180deg, #fff 0%, #e8e8e8 100%); box-shadow: var(--t-shadow-sm); }
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* ===== BASE ===== */
|
|
2
|
+
/* Theme-controlled: spinner colors. Style-controlled: spinner shape. */
|
|
3
|
+
.s-spinner {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
}
|
|
8
|
+
.s-spinner-circle {
|
|
9
|
+
border-radius: 50%;
|
|
10
|
+
border: 3px solid var(--t-border);
|
|
11
|
+
border-top-color: var(--t-primary);
|
|
12
|
+
animation: spinnerRotate 0.8s linear infinite;
|
|
13
|
+
}
|
|
14
|
+
.s-spinner.spinner-sm .s-spinner-circle { width: 20px; height: 20px; border-width: 2px; }
|
|
15
|
+
.s-spinner.spinner-md .s-spinner-circle { width: 32px; height: 32px; border-width: 3px; }
|
|
16
|
+
.s-spinner.spinner-lg .s-spinner-circle { width: 48px; height: 48px; border-width: 4px; }
|
|
17
|
+
|
|
18
|
+
@keyframes spinnerRotate {
|
|
19
|
+
to { transform: rotate(360deg); }
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
23
|
+
|
|
24
|
+
/* Brutalist */
|
|
25
|
+
.s-spinner-brutalist .s-spinner-circle { border-radius: 0; border: var(--t-border-width) solid var(--t-text); border-top-color: var(--t-primary); }
|
|
26
|
+
|
|
27
|
+
/* Pixel */
|
|
28
|
+
.s-spinner-pixel .s-spinner-circle { border-radius: 0; border: var(--t-border-width) solid var(--t-primary); border-top-color: var(--t-secondary); animation-timing-function: steps(8); }
|
|
29
|
+
|
|
30
|
+
/* Neon */
|
|
31
|
+
.s-spinner-neon .s-spinner-circle { border-color: transparent; border-top-color: var(--t-primary); box-shadow: 0 0 8px var(--t-primary); }
|
|
32
|
+
|
|
33
|
+
/* Metro */
|
|
34
|
+
.s-spinner-metro .s-spinner-circle { border-radius: 50%; border: 3px solid transparent; border-top-color: var(--t-primary); }
|
|
35
|
+
|
|
36
|
+
/* Bootstrap */
|
|
37
|
+
.s-spinner-bootstrap .s-spinner-circle { border-color: color-mix(in srgb, var(--t-primary) 20%, transparent); border-top-color: var(--t-primary); }
|
|
38
|
+
|
|
39
|
+
/* Cartoon */
|
|
40
|
+
.s-spinner-cartoon .s-spinner-circle { border: 4px solid var(--t-text); border-top-color: var(--t-primary); box-shadow: 3px 3px 0 var(--t-primary); }
|
|
41
|
+
|
|
42
|
+
/* Illustration */
|
|
43
|
+
.s-spinner-illustration .s-spinner-circle { border: var(--t-border-width) solid var(--t-text); border-top-color: var(--t-primary); }
|
|
44
|
+
|
|
45
|
+
/* Carbon */
|
|
46
|
+
.s-spinner-carbon .s-spinner-circle { border: 2px solid var(--t-border); border-top-color: var(--t-primary); }
|
|
47
|
+
|
|
48
|
+
/* Liquid Glass */
|
|
49
|
+
.s-spinner-liquid-glass .s-spinner-circle { border-color: rgba(255,255,255,0.15); border-top-color: var(--t-primary); }
|
|
50
|
+
|
|
51
|
+
/* Legacy iOS */
|
|
52
|
+
.s-spinner-legacy-ios .s-spinner-circle { border-color: var(--t-border); border-top-color: var(--t-primary); }
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* ===== BASE ===== */
|
|
2
|
+
/* Theme-controlled: colors, border-width. Style-controlled: shape. */
|
|
3
|
+
.s-stepper {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
width: 100%;
|
|
7
|
+
gap: 0;
|
|
8
|
+
}
|
|
9
|
+
.s-stepper-step {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: 8px;
|
|
13
|
+
flex: 1;
|
|
14
|
+
}
|
|
15
|
+
.s-stepper-circle {
|
|
16
|
+
width: 32px;
|
|
17
|
+
height: 32px;
|
|
18
|
+
border-radius: 50%;
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
font-size: 13px;
|
|
23
|
+
font-weight: 600;
|
|
24
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
25
|
+
background: var(--t-surface);
|
|
26
|
+
color: var(--t-text-muted);
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
transition: all 0.2s ease;
|
|
29
|
+
}
|
|
30
|
+
.s-stepper-step.active .s-stepper-circle {
|
|
31
|
+
background: var(--t-primary);
|
|
32
|
+
border-color: var(--t-primary);
|
|
33
|
+
color: #fff;
|
|
34
|
+
}
|
|
35
|
+
.s-stepper-step.completed .s-stepper-circle {
|
|
36
|
+
background: var(--t-primary);
|
|
37
|
+
border-color: var(--t-primary);
|
|
38
|
+
color: #fff;
|
|
39
|
+
}
|
|
40
|
+
.s-stepper-label { font-size: 13px; color: var(--t-text-muted); }
|
|
41
|
+
.s-stepper-step.active .s-stepper-label { color: var(--t-primary); font-weight: 500; }
|
|
42
|
+
.s-stepper-step.completed .s-stepper-label { color: var(--t-text); }
|
|
43
|
+
.s-stepper-connector {
|
|
44
|
+
flex: 1;
|
|
45
|
+
height: 2px;
|
|
46
|
+
background: var(--t-border);
|
|
47
|
+
margin: 0 8px;
|
|
48
|
+
transition: background 0.2s;
|
|
49
|
+
}
|
|
50
|
+
.s-stepper-connector.completed {
|
|
51
|
+
background: var(--t-primary);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
55
|
+
|
|
56
|
+
/* Brutalist */
|
|
57
|
+
.s-stepper-brutalist .s-stepper-circle { border-radius: 0; border: var(--t-border-width) solid var(--t-text); box-shadow: 2px 2px 0 var(--t-text); }
|
|
58
|
+
.s-stepper-brutalist .s-stepper-connector { height: var(--t-border-width); background: var(--t-text); }
|
|
59
|
+
.s-stepper-brutalist .s-stepper-connector.completed { background: var(--t-primary); }
|
|
60
|
+
|
|
61
|
+
/* Pixel */
|
|
62
|
+
.s-stepper-pixel .s-stepper-circle { border-radius: 0; border: var(--t-border-width) solid var(--t-primary); }
|
|
63
|
+
.s-stepper-pixel .s-stepper-label { font-family: 'Courier New', monospace; }
|
|
64
|
+
|
|
65
|
+
/* Neon */
|
|
66
|
+
.s-stepper-neon .s-stepper-circle { box-shadow: 0 0 4px var(--t-primary); }
|
|
67
|
+
.s-stepper-neon .s-stepper-step.active .s-stepper-circle { box-shadow: 0 0 8px var(--t-primary), 0 0 16px var(--t-shadow); }
|
|
68
|
+
|
|
69
|
+
/* Metro */
|
|
70
|
+
.s-stepper-metro .s-stepper-circle { border-radius: 0; border: var(--t-border-width) solid var(--t-primary); }
|
|
71
|
+
.s-stepper-metro .s-stepper-label { font-weight: 600; }
|
|
72
|
+
|
|
73
|
+
/* Bootstrap */
|
|
74
|
+
.s-stepper-bootstrap .s-stepper-circle { border: var(--t-border-width) solid var(--t-border); box-shadow: var(--t-shadow-xs); }
|
|
75
|
+
|
|
76
|
+
/* Cartoon */
|
|
77
|
+
.s-stepper-cartoon .s-stepper-circle { border: var(--t-border-width) solid var(--t-text); box-shadow: 3px 3px 0 var(--t-primary); }
|
|
78
|
+
.s-stepper-cartoon .s-stepper-label { font-weight: 700; }
|
|
79
|
+
|
|
80
|
+
/* Illustration */
|
|
81
|
+
.s-stepper-illustration .s-stepper-circle { border: var(--t-border-width) solid var(--t-text); box-shadow: 2px 2px 0 var(--t-border); }
|
|
82
|
+
.s-stepper-illustration .s-stepper-label { font-style: italic; }
|
|
83
|
+
|
|
84
|
+
/* Carbon */
|
|
85
|
+
.s-stepper-carbon .s-stepper-circle { border-radius: 50%; border: var(--t-border-width) solid var(--t-border); }
|
|
86
|
+
.s-stepper-carbon .s-stepper-label { font-family: 'IBM Plex Sans', sans-serif; font-size: 12px; }
|
|
87
|
+
|
|
88
|
+
/* Liquid Glass */
|
|
89
|
+
.s-stepper-liquid-glass .s-stepper-circle { backdrop-filter: blur(16px); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
|
|
90
|
+
.s-stepper-liquid-glass .s-stepper-step.active .s-stepper-circle { background: color-mix(in srgb, var(--t-primary) 60%, transparent); }
|
|
91
|
+
|
|
92
|
+
/* Legacy iOS */
|
|
93
|
+
.s-stepper-legacy-ios .s-stepper-circle { background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%); border: var(--t-border-width) solid var(--t-border); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); }
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/* ===== TABLE WRAPPER ===== */
|
|
2
|
+
.s-table-wrapper {
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.s-table-scroll {
|
|
7
|
+
overflow-x: auto;
|
|
8
|
+
-webkit-overflow-scrolling: touch;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.s-table-caption {
|
|
12
|
+
caption-side: top;
|
|
13
|
+
text-align: left;
|
|
14
|
+
padding: 0 0 8px;
|
|
15
|
+
font-size: 13px;
|
|
16
|
+
font-weight: 600;
|
|
17
|
+
color: var(--t-text-hint);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* ===== BASE ===== */
|
|
21
|
+
/* Theme-controlled: colors, border-width. Style-controlled: shape. */
|
|
22
|
+
.s-table {
|
|
23
|
+
width: 100%;
|
|
24
|
+
min-width: max-content;
|
|
25
|
+
border-collapse: collapse;
|
|
26
|
+
font-size: 14px;
|
|
27
|
+
color: var(--t-text);
|
|
28
|
+
}
|
|
29
|
+
.s-table th {
|
|
30
|
+
text-align: left;
|
|
31
|
+
padding: 10px 14px;
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
border-bottom: var(--t-border-width) solid var(--t-border);
|
|
34
|
+
color: var(--t-text);
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
}
|
|
37
|
+
.s-table td {
|
|
38
|
+
padding: 10px 14px;
|
|
39
|
+
border-bottom: 1px solid var(--t-border);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* ===== VARIANTS ===== */
|
|
43
|
+
|
|
44
|
+
/* Striped — alternating row colors */
|
|
45
|
+
.s-table-variant-striped tbody tr:nth-child(even) td {
|
|
46
|
+
background: color-mix(in srgb, var(--t-primary) 4%, var(--t-surface));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Hoverable — row highlight on hover */
|
|
50
|
+
.s-table-variant-hoverable tbody tr {
|
|
51
|
+
transition: background 0.15s;
|
|
52
|
+
}
|
|
53
|
+
.s-table-variant-hoverable tbody tr:hover td {
|
|
54
|
+
background: color-mix(in srgb, var(--t-primary) 6%, var(--t-surface));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* Bordered — full cell borders */
|
|
58
|
+
.s-table-variant-bordered th,
|
|
59
|
+
.s-table-variant-bordered td {
|
|
60
|
+
border: 1px solid var(--t-border);
|
|
61
|
+
}
|
|
62
|
+
.s-table-variant-bordered th {
|
|
63
|
+
border-bottom: var(--t-border-width) solid var(--t-border);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Compact — reduced cell padding for dense data */
|
|
67
|
+
.s-table-variant-compact th,
|
|
68
|
+
.s-table-variant-compact td {
|
|
69
|
+
padding: 6px 10px;
|
|
70
|
+
font-size: 13px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
74
|
+
|
|
75
|
+
/* Brutalist */
|
|
76
|
+
.s-table-brutalist { border: var(--t-border-width) solid var(--t-text); }
|
|
77
|
+
.s-table-brutalist th { border-bottom: var(--t-border-width) solid var(--t-text); font-family: 'Courier New', monospace; }
|
|
78
|
+
.s-table-brutalist td { border-bottom: var(--t-border-width) solid var(--t-text); }
|
|
79
|
+
|
|
80
|
+
/* Pixel */
|
|
81
|
+
.s-table-pixel { border: var(--t-border-width) solid var(--t-primary); }
|
|
82
|
+
.s-table-pixel th { font-family: 'Courier New', monospace; border-bottom: var(--t-border-width) solid var(--t-primary); }
|
|
83
|
+
|
|
84
|
+
/* Neon */
|
|
85
|
+
.s-table-neon { border: var(--t-border-width) solid var(--t-primary); box-shadow: 0 0 4px var(--t-primary); }
|
|
86
|
+
.s-table-neon th { border-bottom-color: var(--t-primary); }
|
|
87
|
+
|
|
88
|
+
/* Metro */
|
|
89
|
+
.s-table-metro th { border-bottom: var(--t-border-width) solid var(--t-primary); font-weight: 600; }
|
|
90
|
+
.s-table-metro td { border-bottom: 1px solid var(--t-primary); }
|
|
91
|
+
|
|
92
|
+
/* Bootstrap */
|
|
93
|
+
.s-table-bootstrap { border: var(--t-border-width) solid var(--t-border); border-radius: 6px; overflow: hidden; }
|
|
94
|
+
.s-table-bootstrap th { background: color-mix(in srgb, var(--t-primary) 5%, var(--t-surface)); }
|
|
95
|
+
|
|
96
|
+
/* Cartoon */
|
|
97
|
+
.s-table-cartoon { border: var(--t-border-width) solid var(--t-text); border-radius: 12px; overflow: hidden; box-shadow: 4px 4px 0 var(--t-primary); }
|
|
98
|
+
.s-table-cartoon th { font-weight: 700; border-bottom: var(--t-border-width) solid var(--t-text); }
|
|
99
|
+
|
|
100
|
+
/* Illustration */
|
|
101
|
+
.s-table-illustration { border: var(--t-border-width) solid var(--t-text); border-radius: 8px; overflow: hidden; box-shadow: 3px 3px 0 var(--t-border); }
|
|
102
|
+
.s-table-illustration th { font-style: italic; }
|
|
103
|
+
|
|
104
|
+
/* Carbon */
|
|
105
|
+
.s-table-carbon { font-family: 'IBM Plex Sans', sans-serif; }
|
|
106
|
+
.s-table-carbon th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: var(--t-border-width) solid var(--t-border); }
|
|
107
|
+
|
|
108
|
+
/* Liquid Glass */
|
|
109
|
+
.s-table-liquid-glass { border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; overflow: hidden; backdrop-filter: blur(16px); }
|
|
110
|
+
.s-table-liquid-glass th { background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.15); }
|
|
111
|
+
|
|
112
|
+
/* Legacy iOS */
|
|
113
|
+
.s-table-legacy-ios { border: var(--t-border-width) solid var(--t-border); border-radius: 10px; overflow: hidden; box-shadow: var(--t-shadow-xs); }
|
|
114
|
+
.s-table-legacy-ios th { background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%); }
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* ===== BASE ===== */
|
|
2
|
+
/* Theme-controlled: colors, border-width. Style-controlled: tab shape. */
|
|
3
|
+
.s-tabs {
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: 0;
|
|
6
|
+
border-bottom: 2px solid var(--t-border);
|
|
7
|
+
width: 100%;
|
|
8
|
+
}
|
|
9
|
+
.s-tab {
|
|
10
|
+
padding: 10px 18px;
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
color: var(--t-text-muted);
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
border: none;
|
|
16
|
+
background: transparent;
|
|
17
|
+
border-bottom: 2px solid transparent;
|
|
18
|
+
margin-bottom: -2px;
|
|
19
|
+
transition: all 0.2s ease;
|
|
20
|
+
}
|
|
21
|
+
.s-tab:hover { color: var(--t-text); }
|
|
22
|
+
.s-tab.active {
|
|
23
|
+
color: var(--t-primary);
|
|
24
|
+
border-bottom-color: var(--t-primary);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
28
|
+
|
|
29
|
+
/* Brutalist */
|
|
30
|
+
.s-tabs-brutalist { border-bottom: var(--t-border-width) solid var(--t-text); }
|
|
31
|
+
.s-tabs-brutalist .s-tab { font-family: 'Courier New', monospace; font-weight: bold; }
|
|
32
|
+
.s-tabs-brutalist .s-tab.active { border-bottom: var(--t-border-width) solid var(--t-primary); background: color-mix(in srgb, var(--t-primary) 8%, var(--t-surface)); }
|
|
33
|
+
|
|
34
|
+
/* Pixel */
|
|
35
|
+
.s-tabs-pixel { border-bottom: var(--t-border-width) solid var(--t-primary); }
|
|
36
|
+
.s-tabs-pixel .s-tab { font-family: 'Courier New', monospace; }
|
|
37
|
+
.s-tabs-pixel .s-tab.active { border-bottom: var(--t-border-width) solid var(--t-secondary); }
|
|
38
|
+
|
|
39
|
+
/* Neon */
|
|
40
|
+
.s-tabs-neon { border-bottom-color: var(--t-primary); box-shadow: 0 2px 4px var(--t-shadow); }
|
|
41
|
+
.s-tabs-neon .s-tab.active { text-shadow: 0 0 4px var(--t-primary); }
|
|
42
|
+
|
|
43
|
+
/* Metro */
|
|
44
|
+
.s-tabs-metro { border-bottom: var(--t-border-width) solid var(--t-primary); }
|
|
45
|
+
.s-tabs-metro .s-tab { font-weight: 600; }
|
|
46
|
+
.s-tabs-metro .s-tab.active { background: var(--t-primary); color: #fff; border-bottom-color: var(--t-primary); }
|
|
47
|
+
|
|
48
|
+
/* Bootstrap */
|
|
49
|
+
.s-tabs-bootstrap { border-bottom: var(--t-border-width) solid var(--t-border); }
|
|
50
|
+
.s-tabs-bootstrap .s-tab { border-radius: 6px 6px 0 0; }
|
|
51
|
+
.s-tabs-bootstrap .s-tab.active { border: var(--t-border-width) solid var(--t-border); border-bottom-color: var(--t-surface); background: var(--t-surface); }
|
|
52
|
+
|
|
53
|
+
/* Cartoon */
|
|
54
|
+
.s-tabs-cartoon { border-bottom: var(--t-border-width) solid var(--t-text); }
|
|
55
|
+
.s-tabs-cartoon .s-tab { font-weight: 700; border-radius: 12px 12px 0 0; }
|
|
56
|
+
.s-tabs-cartoon .s-tab.active { background: var(--t-primary); color: #fff; border-bottom: var(--t-border-width) solid var(--t-primary); box-shadow: 3px -3px 0 var(--t-text); }
|
|
57
|
+
|
|
58
|
+
/* Illustration */
|
|
59
|
+
.s-tabs-illustration { border-bottom: var(--t-border-width) solid var(--t-text); }
|
|
60
|
+
.s-tabs-illustration .s-tab { font-style: italic; }
|
|
61
|
+
.s-tabs-illustration .s-tab.active { border-bottom: var(--t-border-width) solid var(--t-primary); }
|
|
62
|
+
|
|
63
|
+
/* Carbon */
|
|
64
|
+
.s-tabs-carbon { border-bottom: var(--t-border-width) solid var(--t-border); }
|
|
65
|
+
.s-tabs-carbon .s-tab { font-family: 'IBM Plex Sans', sans-serif; font-size: 13px; }
|
|
66
|
+
.s-tabs-carbon .s-tab.active { border-bottom: 2px solid var(--t-primary); }
|
|
67
|
+
|
|
68
|
+
/* Liquid Glass */
|
|
69
|
+
.s-tabs-liquid-glass { border-bottom: 1px solid rgba(255,255,255,0.2); }
|
|
70
|
+
.s-tabs-liquid-glass .s-tab.active { background: rgba(255,255,255,0.1); backdrop-filter: blur(12px); border-radius: 8px 8px 0 0; }
|
|
71
|
+
|
|
72
|
+
/* Legacy iOS */
|
|
73
|
+
.s-tabs-legacy-ios { border-bottom: var(--t-border-width) solid var(--t-border); }
|
|
74
|
+
.s-tabs-legacy-ios .s-tab.active { background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%); border: var(--t-border-width) solid var(--t-border); border-bottom-color: transparent; border-radius: 8px 8px 0 0; }
|