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,202 @@
|
|
|
1
|
+
/* ===== BASE ===== */
|
|
2
|
+
/* Theme-controlled: colors, border-width, shadow. Style-controlled: shape. */
|
|
3
|
+
.s-mselect-wrapper {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
position: relative;
|
|
7
|
+
width: 100%;
|
|
8
|
+
}
|
|
9
|
+
.mselect-control {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
gap: 4px;
|
|
14
|
+
min-height: 44px;
|
|
15
|
+
padding: 8px 36px 8px 12px;
|
|
16
|
+
background: var(--t-surface);
|
|
17
|
+
color: var(--t-text);
|
|
18
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
19
|
+
border-radius: var(--t-card-radius);
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
22
|
+
}
|
|
23
|
+
.mselect-control:hover {
|
|
24
|
+
border-color: color-mix(in srgb, var(--t-text) 50%, var(--t-border));
|
|
25
|
+
}
|
|
26
|
+
.s-mselect-wrapper.focused .mselect-control {
|
|
27
|
+
border-color: var(--t-primary);
|
|
28
|
+
box-shadow: 0 0 0 3px var(--t-shadow);
|
|
29
|
+
}
|
|
30
|
+
.s-mselect-wrapper.disabled {
|
|
31
|
+
opacity: 0.45;
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
34
|
+
.mselect-chips {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-wrap: wrap;
|
|
37
|
+
gap: 4px;
|
|
38
|
+
}
|
|
39
|
+
.mselect-chip {
|
|
40
|
+
display: inline-flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
gap: 4px;
|
|
43
|
+
padding: 2px 8px;
|
|
44
|
+
font-size: 13px;
|
|
45
|
+
background: color-mix(in srgb, var(--t-primary) 12%, var(--t-surface));
|
|
46
|
+
color: var(--t-primary);
|
|
47
|
+
border-radius: 999px;
|
|
48
|
+
}
|
|
49
|
+
.mselect-chip button {
|
|
50
|
+
background: none;
|
|
51
|
+
border: none;
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
color: inherit;
|
|
54
|
+
font-size: 14px;
|
|
55
|
+
line-height: 1;
|
|
56
|
+
padding: 0 2px;
|
|
57
|
+
}
|
|
58
|
+
.mselect-dropdown {
|
|
59
|
+
position: absolute;
|
|
60
|
+
top: 100%;
|
|
61
|
+
left: 0;
|
|
62
|
+
right: 0;
|
|
63
|
+
margin-top: 4px;
|
|
64
|
+
background: var(--t-surface);
|
|
65
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
66
|
+
border-radius: var(--t-card-radius);
|
|
67
|
+
box-shadow: var(--t-shadow-md);
|
|
68
|
+
z-index: 50;
|
|
69
|
+
max-height: 200px;
|
|
70
|
+
overflow-y: auto;
|
|
71
|
+
}
|
|
72
|
+
.mselect-option {
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
gap: 8px;
|
|
76
|
+
padding: 8px 12px;
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
transition: background 0.15s;
|
|
79
|
+
}
|
|
80
|
+
.mselect-option:hover {
|
|
81
|
+
background: color-mix(in srgb, var(--t-primary) 8%, var(--t-surface));
|
|
82
|
+
}
|
|
83
|
+
.mselect-option.selected {
|
|
84
|
+
background: color-mix(in srgb, var(--t-primary) 15%, var(--t-surface));
|
|
85
|
+
color: var(--t-primary);
|
|
86
|
+
font-weight: 500;
|
|
87
|
+
}
|
|
88
|
+
.mselect-option input {
|
|
89
|
+
accent-color: var(--t-primary);
|
|
90
|
+
}
|
|
91
|
+
.mselect-placeholder {
|
|
92
|
+
color: var(--t-text-muted);
|
|
93
|
+
font-size: 14px;
|
|
94
|
+
}
|
|
95
|
+
.mselect-arrow {
|
|
96
|
+
position: absolute;
|
|
97
|
+
right: 12px;
|
|
98
|
+
top: 50%;
|
|
99
|
+
transform: translateY(-50%);
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
color: var(--t-border);
|
|
102
|
+
transition: color 0.2s, transform 0.2s;
|
|
103
|
+
}
|
|
104
|
+
.s-mselect-wrapper.open .mselect-arrow {
|
|
105
|
+
color: var(--t-primary);
|
|
106
|
+
transform: translateY(-50%) rotate(180deg);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
110
|
+
|
|
111
|
+
/* Brutalist */
|
|
112
|
+
.s-mselect-brutalist .mselect-control {
|
|
113
|
+
font-family: 'Courier New', monospace;
|
|
114
|
+
font-weight: bold;
|
|
115
|
+
border: var(--t-border-width) solid var(--t-text);
|
|
116
|
+
border-radius: 0;
|
|
117
|
+
box-shadow: 4px 4px 0 var(--t-text);
|
|
118
|
+
}
|
|
119
|
+
.s-mselect-brutalist .mselect-dropdown { border: var(--t-border-width) solid var(--t-text); border-radius: 0; box-shadow: 4px 4px 0 var(--t-text); }
|
|
120
|
+
|
|
121
|
+
/* Pixel */
|
|
122
|
+
.s-mselect-pixel .mselect-control {
|
|
123
|
+
font-family: 'Courier New', monospace;
|
|
124
|
+
border: var(--t-border-width) solid var(--t-primary);
|
|
125
|
+
border-radius: 0;
|
|
126
|
+
box-shadow: inset -3px -3px 0 rgba(0,0,0,0.25), inset 3px 3px 0 rgba(255,255,255,0.1);
|
|
127
|
+
}
|
|
128
|
+
.s-mselect-pixel .mselect-dropdown { border: var(--t-border-width) solid var(--t-primary); border-radius: 0; }
|
|
129
|
+
|
|
130
|
+
/* Neon */
|
|
131
|
+
.s-mselect-neon .mselect-control {
|
|
132
|
+
border-color: var(--t-primary);
|
|
133
|
+
box-shadow: 0 0 5px var(--t-primary);
|
|
134
|
+
}
|
|
135
|
+
.s-mselect-neon .mselect-dropdown { border-color: var(--t-primary); box-shadow: 0 0 8px var(--t-primary); }
|
|
136
|
+
|
|
137
|
+
/* Metro */
|
|
138
|
+
.s-mselect-metro .mselect-control {
|
|
139
|
+
border-radius: 0;
|
|
140
|
+
border: var(--t-border-width) solid var(--t-primary);
|
|
141
|
+
font-weight: 600;
|
|
142
|
+
box-shadow: none;
|
|
143
|
+
}
|
|
144
|
+
.s-mselect-metro .mselect-dropdown { border-radius: 0; border: var(--t-border-width) solid var(--t-primary); }
|
|
145
|
+
|
|
146
|
+
/* Bootstrap */
|
|
147
|
+
.s-mselect-bootstrap .mselect-control {
|
|
148
|
+
border-radius: 6px;
|
|
149
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
150
|
+
box-shadow: var(--t-shadow-xs);
|
|
151
|
+
}
|
|
152
|
+
.s-mselect-bootstrap.focused .mselect-control { box-shadow: 0 0 0 3px var(--t-shadow); border-color: var(--t-primary); }
|
|
153
|
+
.s-mselect-bootstrap .mselect-dropdown { border-radius: 6px; }
|
|
154
|
+
|
|
155
|
+
/* Cartoon */
|
|
156
|
+
.s-mselect-cartoon .mselect-control {
|
|
157
|
+
border-radius: 16px;
|
|
158
|
+
border: var(--t-border-width) solid var(--t-text);
|
|
159
|
+
box-shadow: 4px 4px 0 var(--t-primary);
|
|
160
|
+
font-weight: 700;
|
|
161
|
+
}
|
|
162
|
+
.s-mselect-cartoon .mselect-dropdown { border-radius: 16px; border: var(--t-border-width) solid var(--t-text); box-shadow: 4px 4px 0 var(--t-primary); }
|
|
163
|
+
|
|
164
|
+
/* Illustration */
|
|
165
|
+
.s-mselect-illustration .mselect-control {
|
|
166
|
+
border-radius: 8px;
|
|
167
|
+
border: var(--t-border-width) solid var(--t-text);
|
|
168
|
+
box-shadow: 3px 3px 0 var(--t-border);
|
|
169
|
+
font-style: italic;
|
|
170
|
+
}
|
|
171
|
+
.s-mselect-illustration .mselect-dropdown { border-radius: 8px; border: var(--t-border-width) solid var(--t-text); box-shadow: 3px 3px 0 var(--t-border); }
|
|
172
|
+
|
|
173
|
+
/* Carbon */
|
|
174
|
+
.s-mselect-carbon .mselect-control {
|
|
175
|
+
border-radius: 0;
|
|
176
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
177
|
+
border-bottom-width: 2px;
|
|
178
|
+
font-family: 'IBM Plex Sans', sans-serif;
|
|
179
|
+
box-shadow: none;
|
|
180
|
+
}
|
|
181
|
+
.s-mselect-carbon.focused .mselect-control { border-bottom-color: var(--t-primary); box-shadow: none; }
|
|
182
|
+
.s-mselect-carbon .mselect-dropdown { border-radius: 0; }
|
|
183
|
+
|
|
184
|
+
/* Liquid Glass */
|
|
185
|
+
.s-mselect-liquid-glass .mselect-control {
|
|
186
|
+
border-radius: 16px;
|
|
187
|
+
backdrop-filter: blur(24px) saturate(1.6);
|
|
188
|
+
-webkit-backdrop-filter: blur(24px) saturate(1.6);
|
|
189
|
+
background: rgba(255,255,255,0.1);
|
|
190
|
+
border: 1px solid rgba(255,255,255,0.2);
|
|
191
|
+
box-shadow: var(--t-shadow-md), inset 0 1px 0 rgba(255,255,255,0.3);
|
|
192
|
+
}
|
|
193
|
+
.s-mselect-liquid-glass .mselect-dropdown { border-radius: 16px; backdrop-filter: blur(24px); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
|
|
194
|
+
|
|
195
|
+
/* Legacy iOS */
|
|
196
|
+
.s-mselect-legacy-ios .mselect-control {
|
|
197
|
+
border-radius: 10px;
|
|
198
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
199
|
+
background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%);
|
|
200
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-xs);
|
|
201
|
+
}
|
|
202
|
+
.s-mselect-legacy-ios .mselect-dropdown { border-radius: 10px; }
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* ===== BASE ===== */
|
|
2
|
+
/* Theme-controlled: colors, border-width, shadow. Style-controlled: shape. */
|
|
3
|
+
.s-pagination {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: 4px;
|
|
7
|
+
}
|
|
8
|
+
.s-pagination-btn {
|
|
9
|
+
display: inline-flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
min-width: 36px;
|
|
13
|
+
height: 36px;
|
|
14
|
+
padding: 4px 10px;
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
17
|
+
border-radius: var(--t-card-radius);
|
|
18
|
+
background: var(--t-surface);
|
|
19
|
+
color: var(--t-text);
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
transition: all 0.2s ease;
|
|
22
|
+
}
|
|
23
|
+
.s-pagination-btn:hover { border-color: var(--t-primary); color: var(--t-primary); }
|
|
24
|
+
.s-pagination-btn.active {
|
|
25
|
+
background: var(--t-primary);
|
|
26
|
+
color: #fff;
|
|
27
|
+
border-color: var(--t-primary);
|
|
28
|
+
}
|
|
29
|
+
.s-pagination-btn:disabled { opacity: 0.4; pointer-events: none; }
|
|
30
|
+
|
|
31
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
32
|
+
|
|
33
|
+
/* Brutalist */
|
|
34
|
+
.s-pagination-brutalist .s-pagination-btn { border: var(--t-border-width) solid var(--t-text); border-radius: 0; box-shadow: 2px 2px 0 var(--t-text); font-family: 'Courier New', monospace; font-weight: bold; }
|
|
35
|
+
|
|
36
|
+
/* Pixel */
|
|
37
|
+
.s-pagination-pixel .s-pagination-btn { border: var(--t-border-width) solid var(--t-primary); border-radius: 0; font-family: 'Courier New', monospace; }
|
|
38
|
+
|
|
39
|
+
/* Neon */
|
|
40
|
+
.s-pagination-neon .s-pagination-btn { border-color: var(--t-primary); box-shadow: 0 0 4px var(--t-primary); }
|
|
41
|
+
.s-pagination-neon .s-pagination-btn.active { box-shadow: 0 0 8px var(--t-primary), 0 0 16px var(--t-shadow); }
|
|
42
|
+
|
|
43
|
+
/* Metro */
|
|
44
|
+
.s-pagination-metro .s-pagination-btn { border-radius: 0; border: var(--t-border-width) solid var(--t-primary); font-weight: 600; box-shadow: none; }
|
|
45
|
+
|
|
46
|
+
/* Bootstrap */
|
|
47
|
+
.s-pagination-bootstrap .s-pagination-btn { border-radius: 6px; border: var(--t-border-width) solid var(--t-border); box-shadow: var(--t-shadow-xs); }
|
|
48
|
+
|
|
49
|
+
/* Cartoon */
|
|
50
|
+
.s-pagination-cartoon .s-pagination-btn { border-radius: 12px; border: var(--t-border-width) solid var(--t-text); box-shadow: 3px 3px 0 var(--t-primary); font-weight: 700; }
|
|
51
|
+
|
|
52
|
+
/* Illustration */
|
|
53
|
+
.s-pagination-illustration .s-pagination-btn { border-radius: 8px; border: var(--t-border-width) solid var(--t-text); box-shadow: 2px 2px 0 var(--t-border); }
|
|
54
|
+
|
|
55
|
+
/* Carbon */
|
|
56
|
+
.s-pagination-carbon .s-pagination-btn { border-radius: 0; border: var(--t-border-width) solid var(--t-border); font-family: 'IBM Plex Sans', sans-serif; }
|
|
57
|
+
|
|
58
|
+
/* Liquid Glass */
|
|
59
|
+
.s-pagination-liquid-glass .s-pagination-btn { border-radius: 12px; backdrop-filter: blur(16px); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
|
|
60
|
+
.s-pagination-liquid-glass .s-pagination-btn.active { background: color-mix(in srgb, var(--t-primary) 60%, transparent); }
|
|
61
|
+
|
|
62
|
+
/* Legacy iOS */
|
|
63
|
+
.s-pagination-legacy-ios .s-pagination-btn { border-radius: 8px; border: var(--t-border-width) solid var(--t-border); background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); }
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/* ===== BASE ===== */
|
|
2
|
+
.s-popover-wrapper {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
}
|
|
6
|
+
.s-popover-trigger { cursor: pointer; }
|
|
7
|
+
|
|
8
|
+
.s-popover {
|
|
9
|
+
position: absolute;
|
|
10
|
+
z-index: 500;
|
|
11
|
+
background: var(--t-surface);
|
|
12
|
+
color: var(--t-text);
|
|
13
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
14
|
+
border-radius: var(--t-card-radius);
|
|
15
|
+
box-shadow: var(--t-shadow-lg);
|
|
16
|
+
min-width: 160px;
|
|
17
|
+
max-width: 320px;
|
|
18
|
+
padding: 12px 16px;
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* Positions */
|
|
23
|
+
.popover-top {
|
|
24
|
+
bottom: calc(100% + 10px);
|
|
25
|
+
left: 50%;
|
|
26
|
+
transform: translateX(-50%);
|
|
27
|
+
}
|
|
28
|
+
.popover-bottom {
|
|
29
|
+
top: calc(100% + 10px);
|
|
30
|
+
left: 50%;
|
|
31
|
+
transform: translateX(-50%);
|
|
32
|
+
}
|
|
33
|
+
.popover-left {
|
|
34
|
+
right: calc(100% + 10px);
|
|
35
|
+
top: 50%;
|
|
36
|
+
transform: translateY(-50%);
|
|
37
|
+
}
|
|
38
|
+
.popover-right {
|
|
39
|
+
left: calc(100% + 10px);
|
|
40
|
+
top: 50%;
|
|
41
|
+
transform: translateY(-50%);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Arrow */
|
|
45
|
+
.s-popover-arrow {
|
|
46
|
+
position: absolute;
|
|
47
|
+
width: 8px;
|
|
48
|
+
height: 8px;
|
|
49
|
+
background: var(--t-surface);
|
|
50
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
51
|
+
transform: rotate(45deg);
|
|
52
|
+
z-index: -1;
|
|
53
|
+
}
|
|
54
|
+
.popover-top .s-popover-arrow {
|
|
55
|
+
bottom: -5px;
|
|
56
|
+
left: 50%;
|
|
57
|
+
margin-left: -4px;
|
|
58
|
+
border-top: none;
|
|
59
|
+
border-left: none;
|
|
60
|
+
}
|
|
61
|
+
.popover-bottom .s-popover-arrow {
|
|
62
|
+
top: -5px;
|
|
63
|
+
left: 50%;
|
|
64
|
+
margin-left: -4px;
|
|
65
|
+
border-bottom: none;
|
|
66
|
+
border-right: none;
|
|
67
|
+
}
|
|
68
|
+
.popover-left .s-popover-arrow {
|
|
69
|
+
right: -5px;
|
|
70
|
+
top: 50%;
|
|
71
|
+
margin-top: -4px;
|
|
72
|
+
border-bottom: none;
|
|
73
|
+
border-left: none;
|
|
74
|
+
}
|
|
75
|
+
.popover-right .s-popover-arrow {
|
|
76
|
+
left: -5px;
|
|
77
|
+
top: 50%;
|
|
78
|
+
margin-top: -4px;
|
|
79
|
+
border-top: none;
|
|
80
|
+
border-right: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.s-popover-content { line-height: 1.5; }
|
|
84
|
+
|
|
85
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
86
|
+
|
|
87
|
+
/* Brutalist */
|
|
88
|
+
.s-popover-brutalist .s-popover { border-radius: 0; border: 3px solid var(--t-text); box-shadow: 4px 4px 0 var(--t-text); font-family: 'Courier New', monospace; }
|
|
89
|
+
|
|
90
|
+
/* Pixel */
|
|
91
|
+
.s-popover-pixel .s-popover { border-radius: 0; border: 3px solid var(--t-primary); font-family: 'Courier New', monospace; }
|
|
92
|
+
|
|
93
|
+
/* Neon */
|
|
94
|
+
.s-popover-neon .s-popover { border-color: var(--t-primary); box-shadow: 0 0 10px var(--t-primary), 0 0 30px var(--t-shadow); }
|
|
95
|
+
|
|
96
|
+
/* Metro */
|
|
97
|
+
.s-popover-metro .s-popover { border-radius: 0; border: 2px solid var(--t-primary); box-shadow: none; }
|
|
98
|
+
|
|
99
|
+
/* Bootstrap */
|
|
100
|
+
.s-popover-bootstrap .s-popover { border-radius: 6px; border: 1px solid var(--t-border); box-shadow: var(--t-shadow-md); }
|
|
101
|
+
|
|
102
|
+
/* Cartoon */
|
|
103
|
+
.s-popover-cartoon .s-popover { border-radius: 16px; border: 3px solid var(--t-text); box-shadow: 5px 5px 0 var(--t-primary); font-weight: 700; }
|
|
104
|
+
|
|
105
|
+
/* Illustration */
|
|
106
|
+
.s-popover-illustration .s-popover { border-radius: 8px; border: 2px solid var(--t-text); box-shadow: 3px 3px 0 var(--t-border); font-style: italic; }
|
|
107
|
+
|
|
108
|
+
/* Carbon */
|
|
109
|
+
.s-popover-carbon .s-popover { border-radius: 0; border: 1px solid var(--t-border); font-family: 'IBM Plex Sans', sans-serif; }
|
|
110
|
+
|
|
111
|
+
/* Liquid Glass */
|
|
112
|
+
.s-popover-liquid-glass .s-popover { border-radius: 16px; backdrop-filter: blur(24px) saturate(1.6); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); box-shadow: var(--t-shadow-lg), inset 0 1px 0 rgba(255,255,255,0.2); }
|
|
113
|
+
.s-popover-liquid-glass .s-popover-arrow { background: rgba(255,255,255,0.08); backdrop-filter: blur(24px); }
|
|
114
|
+
|
|
115
|
+
/* Legacy iOS */
|
|
116
|
+
.s-popover-legacy-ios .s-popover { border-radius: 10px; border: 1px solid var(--t-border); background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, var(--t-surface) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-md); }
|
|
117
|
+
|
|
118
|
+
/* Material3 */
|
|
119
|
+
.s-popover-material3 .s-popover { border-radius: 16px; }
|
|
120
|
+
|
|
121
|
+
/* Fluent */
|
|
122
|
+
.s-popover-fluent .s-popover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* ===== BASE ===== */
|
|
2
|
+
/* Theme-controlled: colors, shadow. Style-controlled: track height, shape. */
|
|
3
|
+
.s-progressbar {
|
|
4
|
+
position: relative;
|
|
5
|
+
width: 100%;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
gap: 4px;
|
|
9
|
+
}
|
|
10
|
+
.progress-track {
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 8px;
|
|
13
|
+
background: var(--t-border);
|
|
14
|
+
border-radius: 4px;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
}
|
|
17
|
+
.progress-fill {
|
|
18
|
+
height: 100%;
|
|
19
|
+
background: var(--t-primary);
|
|
20
|
+
border-radius: 4px;
|
|
21
|
+
transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
22
|
+
}
|
|
23
|
+
.progress-fill.animated {
|
|
24
|
+
background: linear-gradient(90deg, var(--t-primary) 0%, var(--t-secondary) 50%, var(--t-primary) 100%);
|
|
25
|
+
background-size: 200% 100%;
|
|
26
|
+
animation: progressbarMove 1.5s linear infinite;
|
|
27
|
+
}
|
|
28
|
+
@keyframes progressbarMove {
|
|
29
|
+
0% { background-position: 200% 0; }
|
|
30
|
+
100% { background-position: -200% 0; }
|
|
31
|
+
}
|
|
32
|
+
/* Value popover — shown on hover/focus/click when `label` is enabled */
|
|
33
|
+
.progress-popover {
|
|
34
|
+
position: absolute;
|
|
35
|
+
bottom: calc(100% + 6px);
|
|
36
|
+
left: 50%;
|
|
37
|
+
transform: translateX(-50%);
|
|
38
|
+
background: var(--t-text);
|
|
39
|
+
color: var(--t-surface);
|
|
40
|
+
padding: 4px 8px;
|
|
41
|
+
border-radius: 4px;
|
|
42
|
+
font-size: 12px;
|
|
43
|
+
font-weight: 600;
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
z-index: 10;
|
|
46
|
+
pointer-events: none;
|
|
47
|
+
}
|
|
48
|
+
.progress-popover::after {
|
|
49
|
+
content: '';
|
|
50
|
+
position: absolute;
|
|
51
|
+
top: 100%;
|
|
52
|
+
left: 50%;
|
|
53
|
+
transform: translateX(-50%);
|
|
54
|
+
border: 4px solid transparent;
|
|
55
|
+
border-top-color: var(--t-text);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Indeterminate — value < 0: a chunk slides across the track */
|
|
59
|
+
.progress-fill.indeterminate {
|
|
60
|
+
width: 40%;
|
|
61
|
+
animation: progressbarIndeterminate 1.3s cubic-bezier(0.65, 0, 0.35, 1) infinite;
|
|
62
|
+
}
|
|
63
|
+
@keyframes progressbarIndeterminate {
|
|
64
|
+
0% { transform: translateX(-120%); }
|
|
65
|
+
100% { transform: translateX(250%); }
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
69
|
+
|
|
70
|
+
/* Brutalist */
|
|
71
|
+
.s-progressbar-brutalist .progress-track { border-radius: 0; border: var(--t-border-width) solid var(--t-text); height: 12px; }
|
|
72
|
+
.s-progressbar-brutalist .progress-fill { border-radius: 0; }
|
|
73
|
+
|
|
74
|
+
/* Pixel */
|
|
75
|
+
.s-progressbar-pixel .progress-track { border-radius: 0; border: var(--t-border-width) solid var(--t-primary); height: 12px; }
|
|
76
|
+
.s-progressbar-pixel .progress-fill { border-radius: 0; }
|
|
77
|
+
|
|
78
|
+
/* Neon */
|
|
79
|
+
.s-progressbar-neon .progress-track { box-shadow: 0 0 4px var(--t-primary); }
|
|
80
|
+
.s-progressbar-neon .progress-fill { box-shadow: 0 0 8px var(--t-primary); }
|
|
81
|
+
|
|
82
|
+
/* Metro */
|
|
83
|
+
.s-progressbar-metro .progress-track { border-radius: 0; height: 6px; }
|
|
84
|
+
.s-progressbar-metro .progress-fill { border-radius: 0; }
|
|
85
|
+
|
|
86
|
+
/* Bootstrap */
|
|
87
|
+
.s-progressbar-bootstrap .progress-track { border-radius: 4px; height: 8px; box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); }
|
|
88
|
+
|
|
89
|
+
/* Cartoon */
|
|
90
|
+
.s-progressbar-cartoon .progress-track { border-radius: 8px; border: var(--t-border-width) solid var(--t-text); height: 14px; box-shadow: 3px 3px 0 var(--t-primary); }
|
|
91
|
+
.s-progressbar-cartoon .progress-fill { border-radius: 6px; }
|
|
92
|
+
|
|
93
|
+
/* Illustration */
|
|
94
|
+
.s-progressbar-illustration .progress-track { border-radius: 4px; border: var(--t-border-width) solid var(--t-text); height: 10px; }
|
|
95
|
+
|
|
96
|
+
/* Carbon */
|
|
97
|
+
.s-progressbar-carbon .progress-track { border-radius: 0; height: 4px; }
|
|
98
|
+
.s-progressbar-carbon .progress-fill { border-radius: 0; }
|
|
99
|
+
|
|
100
|
+
/* Liquid Glass */
|
|
101
|
+
.s-progressbar-liquid-glass .progress-track { border-radius: 4px; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); }
|
|
102
|
+
.s-progressbar-liquid-glass .progress-fill { background: color-mix(in srgb, var(--t-primary) 70%, transparent); }
|
|
103
|
+
|
|
104
|
+
/* Legacy iOS */
|
|
105
|
+
.s-progressbar-legacy-ios .progress-track { border-radius: 4px; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, var(--t-border) 100%); box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); }
|
|
106
|
+
.s-progressbar-legacy-ios .progress-fill { background: linear-gradient(180deg, color-mix(in srgb, var(--t-primary) 80%, #fff) 0%, var(--t-primary) 100%); }
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/* ===== BASE ===== */
|
|
2
|
+
/* Theme-controlled: colors, border-width. Style-controlled: shape. */
|
|
3
|
+
.s-radio {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: 8px;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
user-select: none;
|
|
9
|
+
position: relative;
|
|
10
|
+
}
|
|
11
|
+
.s-radio.disabled { opacity: 0.45; pointer-events: none; }
|
|
12
|
+
.s-radio input {
|
|
13
|
+
position: absolute;
|
|
14
|
+
opacity: 0;
|
|
15
|
+
width: 1px;
|
|
16
|
+
height: 1px;
|
|
17
|
+
pointer-events: none;
|
|
18
|
+
}
|
|
19
|
+
.s-radio-circle {
|
|
20
|
+
width: 20px;
|
|
21
|
+
height: 20px;
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
26
|
+
border-radius: 50%;
|
|
27
|
+
background: var(--t-surface);
|
|
28
|
+
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
29
|
+
flex-shrink: 0;
|
|
30
|
+
}
|
|
31
|
+
.s-radio-circle:hover { border-color: var(--t-primary); }
|
|
32
|
+
.s-radio.selected .s-radio-circle {
|
|
33
|
+
border-color: var(--t-primary);
|
|
34
|
+
}
|
|
35
|
+
.s-radio-dot {
|
|
36
|
+
width: 10px;
|
|
37
|
+
height: 10px;
|
|
38
|
+
border-radius: 50%;
|
|
39
|
+
background: var(--t-primary);
|
|
40
|
+
opacity: 0;
|
|
41
|
+
transform: scale(0);
|
|
42
|
+
transition: all 0.15s ease;
|
|
43
|
+
}
|
|
44
|
+
.s-radio.selected .s-radio-dot {
|
|
45
|
+
opacity: 1;
|
|
46
|
+
transform: scale(1);
|
|
47
|
+
}
|
|
48
|
+
.s-radio-label { font-size: 14px; color: var(--t-text); }
|
|
49
|
+
|
|
50
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
51
|
+
|
|
52
|
+
/* Brutalist */
|
|
53
|
+
.s-radio-brutalist .s-radio-circle {
|
|
54
|
+
border: var(--t-border-width) solid var(--t-text);
|
|
55
|
+
border-radius: 0;
|
|
56
|
+
box-shadow: 2px 2px 0 var(--t-text);
|
|
57
|
+
}
|
|
58
|
+
.s-radio-brutalist .s-radio-dot { border-radius: 0; }
|
|
59
|
+
|
|
60
|
+
/* Pixel */
|
|
61
|
+
.s-radio-pixel .s-radio-circle {
|
|
62
|
+
border: var(--t-border-width) solid var(--t-primary);
|
|
63
|
+
border-radius: 0;
|
|
64
|
+
box-shadow: inset -2px -2px 0 rgba(0,0,0,0.25);
|
|
65
|
+
}
|
|
66
|
+
.s-radio-pixel .s-radio-dot { border-radius: 0; }
|
|
67
|
+
|
|
68
|
+
/* Neon */
|
|
69
|
+
.s-radio-neon .s-radio-circle {
|
|
70
|
+
border-color: var(--t-primary);
|
|
71
|
+
box-shadow: 0 0 4px var(--t-primary);
|
|
72
|
+
}
|
|
73
|
+
.s-radio-neon.selected .s-radio-circle { box-shadow: 0 0 8px var(--t-primary), 0 0 16px var(--t-shadow); }
|
|
74
|
+
|
|
75
|
+
/* Metro */
|
|
76
|
+
.s-radio-metro .s-radio-circle {
|
|
77
|
+
border: var(--t-border-width) solid var(--t-primary);
|
|
78
|
+
box-shadow: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* Bootstrap */
|
|
82
|
+
.s-radio-bootstrap .s-radio-circle {
|
|
83
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
84
|
+
box-shadow: var(--t-shadow-xs);
|
|
85
|
+
}
|
|
86
|
+
.s-radio-bootstrap.selected .s-radio-circle { box-shadow: 0 0 0 3px var(--t-shadow); }
|
|
87
|
+
|
|
88
|
+
/* Cartoon */
|
|
89
|
+
.s-radio-cartoon .s-radio-circle {
|
|
90
|
+
border: var(--t-border-width) solid var(--t-text);
|
|
91
|
+
box-shadow: 3px 3px 0 var(--t-primary);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Illustration */
|
|
95
|
+
.s-radio-illustration .s-radio-circle {
|
|
96
|
+
border: var(--t-border-width) solid var(--t-text);
|
|
97
|
+
box-shadow: 2px 2px 0 var(--t-border);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* Carbon */
|
|
101
|
+
.s-radio-carbon .s-radio-circle {
|
|
102
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
103
|
+
border-bottom-width: 2px;
|
|
104
|
+
}
|
|
105
|
+
.s-radio-carbon.selected .s-radio-circle { border-color: var(--t-primary); }
|
|
106
|
+
|
|
107
|
+
/* Liquid Glass */
|
|
108
|
+
.s-radio-liquid-glass .s-radio-circle {
|
|
109
|
+
backdrop-filter: blur(24px) saturate(1.6);
|
|
110
|
+
background: rgba(255,255,255,0.1);
|
|
111
|
+
border: 1px solid rgba(255,255,255,0.2);
|
|
112
|
+
box-shadow: var(--t-shadow-sm), inset 0 1px 0 rgba(255,255,255,0.3);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* Legacy iOS */
|
|
116
|
+
.s-radio-legacy-ios .s-radio-circle {
|
|
117
|
+
border: var(--t-border-width) solid var(--t-border);
|
|
118
|
+
background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%);
|
|
119
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-xs);
|
|
120
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* ===== BASE ===== */
|
|
2
|
+
.s-rating {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 2px;
|
|
6
|
+
}
|
|
7
|
+
.s-rating-star {
|
|
8
|
+
width: 24px;
|
|
9
|
+
height: 24px;
|
|
10
|
+
color: color-mix(in srgb, var(--t-primary) 25%, transparent);
|
|
11
|
+
transition: all 0.15s ease;
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
}
|
|
14
|
+
.s-rating-star.star-filled {
|
|
15
|
+
color: #eab308;
|
|
16
|
+
}
|
|
17
|
+
.s-rating-star.star-half {
|
|
18
|
+
position: relative;
|
|
19
|
+
color: #eab308;
|
|
20
|
+
}
|
|
21
|
+
.s-rating-star.clickable { cursor: pointer; }
|
|
22
|
+
.s-rating-star.clickable:hover { transform: scale(1.15); }
|
|
23
|
+
.s-rating-star.clickable:active { transform: scale(0.95); }
|
|
24
|
+
.s-rating-value {
|
|
25
|
+
margin-left: 6px;
|
|
26
|
+
font-size: 13px;
|
|
27
|
+
color: var(--t-text-muted);
|
|
28
|
+
font-weight: 500;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* Sizes */
|
|
32
|
+
.rating-sm .s-rating-star { width: 16px; height: 16px; }
|
|
33
|
+
.rating-md .s-rating-star { width: 24px; height: 24px; }
|
|
34
|
+
.rating-lg .s-rating-star { width: 32px; height: 32px; }
|
|
35
|
+
|
|
36
|
+
/* ===== STYLE OVERRIDES ===== */
|
|
37
|
+
|
|
38
|
+
/* Brutalist */
|
|
39
|
+
.s-rating-brutalist .s-rating-star { color: var(--t-text); }
|
|
40
|
+
.s-rating-brutalist .s-rating-star.star-filled { color: #000; }
|
|
41
|
+
|
|
42
|
+
/* Pixel */
|
|
43
|
+
.s-rating-pixel .s-rating-star { image-rendering: pixelated; }
|
|
44
|
+
|
|
45
|
+
/* Neon */
|
|
46
|
+
.s-rating-neon .s-rating-star.star-filled { filter: drop-shadow(0 0 4px #eab308); }
|
|
47
|
+
.s-rating-neon .s-rating-star.star-half { filter: drop-shadow(0 0 4px #eab308); }
|
|
48
|
+
|
|
49
|
+
/* Metro */
|
|
50
|
+
.s-rating-metro .s-rating-star { color: var(--t-text-muted); }
|
|
51
|
+
.s-rating-metro .s-rating-star.star-filled { color: var(--t-primary); }
|
|
52
|
+
|
|
53
|
+
/* Bootstrap */
|
|
54
|
+
.s-rating-bootstrap .s-rating-star.star-filled { color: #ffc107; }
|
|
55
|
+
|
|
56
|
+
/* Cartoon */
|
|
57
|
+
.s-rating-cartoon .s-rating-star.star-filled { filter: drop-shadow(1px 1px 0 var(--t-text)); }
|
|
58
|
+
|
|
59
|
+
/* Carbon */
|
|
60
|
+
.s-rating-carbon .s-rating-star { color: var(--t-border); }
|
|
61
|
+
.s-rating-carbon .s-rating-star.star-filled { color: var(--t-primary); }
|
|
62
|
+
|
|
63
|
+
/* Liquid Glass */
|
|
64
|
+
.s-rating-liquid-glass .s-rating-star { opacity: 0.6; }
|
|
65
|
+
.s-rating-liquid-glass .s-rating-star.star-filled { opacity: 1; filter: drop-shadow(0 0 6px rgba(234,179,8,0.5)); }
|
|
66
|
+
|
|
67
|
+
/* Legacy iOS */
|
|
68
|
+
.s-rating-legacy-ios .s-rating-star.star-filled { color: #ffcc00; }
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/* ===== ROW ===== */
|
|
2
|
+
/* Flex layout primitive — horizontal stack. Dynamic gap/align/justify/fill are
|
|
3
|
+
* set via inline style by the component; this file holds flex best-practices
|
|
4
|
+
* that keep children from overflowing. */
|
|
5
|
+
.s-row { box-sizing: border-box; }
|
|
6
|
+
.s-row > * { min-width: 0; box-sizing: border-box; }
|