@volverjs/style 0.1.12 → 0.1.14
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/dist/base.css +1 -1
- package/dist/components/vv-accordion-group.css +1 -1
- package/dist/components/vv-accordion.css +1 -1
- package/dist/components/vv-alert-group.css +1 -1
- package/dist/components/vv-alert.css +1 -1
- package/dist/components/vv-avatar-group.css +1 -1
- package/dist/components/vv-avatar.css +1 -1
- package/dist/components/vv-badge.css +1 -1
- package/dist/components/vv-breadcrumb.css +1 -1
- package/dist/components/vv-button-group.css +1 -1
- package/dist/components/vv-button.css +1 -1
- package/dist/components/vv-card.css +1 -1
- package/dist/components/vv-checkbox-group.css +1 -1
- package/dist/components/vv-checkbox.css +1 -1
- package/dist/components/vv-dialog.css +1 -1
- package/dist/components/vv-dropdown-action.css +1 -1
- package/dist/components/vv-dropdown-optgroup.css +1 -1
- package/dist/components/vv-dropdown-option.css +1 -1
- package/dist/components/vv-dropdown.css +1 -1
- package/dist/components/vv-input-file.css +1 -1
- package/dist/components/vv-input-text.css +1 -1
- package/dist/components/vv-nav.css +1 -1
- package/dist/components/vv-progress.css +1 -1
- package/dist/components/vv-radio-group.css +1 -1
- package/dist/components/vv-radio.css +1 -1
- package/dist/components/vv-select.css +1 -1
- package/dist/components/vv-skeleton.css +1 -1
- package/dist/components/vv-tab.css +1 -1
- package/dist/components/vv-table.css +1 -1
- package/dist/components/vv-text.css +1 -1
- package/dist/components/vv-textarea.css +1 -1
- package/dist/components/vv-tooltip.css +1 -1
- package/dist/components.css +1 -1
- package/dist/props/input.css +1 -1
- package/dist/props.css +1 -1
- package/dist/volver.css +1 -1
- package/package.json +12 -9
- package/src/_config.scss +3 -0
- package/src/_preflight.scss +336 -323
- package/src/settings/_input.scss +1 -1
- package/src/tools/_breakpoints.scss +52 -8
- package/src/tools/_mixins.scss +4 -12
- package/src/utilities/tables.scss +1 -1
- package/src/utilities/transforms.scss +10 -1
- package/src/volver.scss +4 -8
package/src/_preflight.scss
CHANGED
|
@@ -1,436 +1,449 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@use 'context' as *;
|
|
3
|
-
|
|
4
|
-
:where(.preflight) {
|
|
5
|
-
:not(.preflight-revert *) {
|
|
6
|
-
// typography
|
|
7
|
-
&:where(h1, h2, h3, h4, h5, h6) {
|
|
8
|
-
@extend %vv-text !optional;
|
|
9
|
-
@extend %vv-text--headline !optional;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&:where(h1) {
|
|
13
|
-
@extend %vv-text--size-1 !optional;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&:where(h2) {
|
|
17
|
-
@extend %vv-text--size-2 !optional;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&:where(h3) {
|
|
21
|
-
@extend %vv-text--size-3 !optional;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&:where(h4) {
|
|
25
|
-
@extend %vv-text--size-4 !optional;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&:where(h5) {
|
|
29
|
-
@extend %vv-text--size-5 !optional;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&:where(h6) {
|
|
33
|
-
@extend %vv-text--size-6 !optional;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:where(p) {
|
|
37
|
-
@extend %vv-text !optional;
|
|
38
|
-
@extend %vv-text--copy !optional;
|
|
39
|
-
@extend %overflow-hidden !optional;
|
|
40
|
-
@extend %text-ellipsis !optional;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&:where(blockquote) {
|
|
44
|
-
@extend %vv-text !optional;
|
|
45
|
-
@extend %vv-text--quote !optional;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&:where(ul, ol) {
|
|
49
|
-
@extend %list-inside !optional;
|
|
50
|
-
@extend %my-sm !optional;
|
|
51
|
-
@extend %pl-lg !optional;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&:where(ul) {
|
|
55
|
-
@extend %list-disc !optional;
|
|
56
|
-
}
|
|
57
2
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
3
|
+
// context
|
|
4
|
+
@use 'context' as *;
|
|
61
5
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
6
|
+
// components
|
|
7
|
+
@use 'components';
|
|
65
8
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
9
|
+
// utilities
|
|
10
|
+
@use 'utilities';
|
|
69
11
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
12
|
+
@if $preflight {
|
|
13
|
+
:where(.preflight) {
|
|
14
|
+
:not(.preflight-revert *) {
|
|
15
|
+
// typography
|
|
16
|
+
&:where(h1, h2, h3, h4, h5, h6) {
|
|
17
|
+
@extend %vv-text !optional;
|
|
18
|
+
@extend %vv-text--headline !optional;
|
|
19
|
+
}
|
|
73
20
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
21
|
+
&:where(h1) {
|
|
22
|
+
@extend %vv-text--size-1 !optional;
|
|
23
|
+
}
|
|
77
24
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
25
|
+
&:where(h2) {
|
|
26
|
+
@extend %vv-text--size-2 !optional;
|
|
27
|
+
}
|
|
81
28
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
29
|
+
&:where(h3) {
|
|
30
|
+
@extend %vv-text--size-3 !optional;
|
|
31
|
+
}
|
|
85
32
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
33
|
+
&:where(h4) {
|
|
34
|
+
@extend %vv-text--size-4 !optional;
|
|
35
|
+
}
|
|
89
36
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
37
|
+
&:where(h5) {
|
|
38
|
+
@extend %vv-text--size-5 !optional;
|
|
39
|
+
}
|
|
93
40
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
41
|
+
&:where(h6) {
|
|
42
|
+
@extend %vv-text--size-6 !optional;
|
|
43
|
+
}
|
|
97
44
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
45
|
+
&:where(p) {
|
|
46
|
+
@extend %vv-text !optional;
|
|
47
|
+
@extend %vv-text--copy !optional;
|
|
48
|
+
@extend %overflow-hidden !optional;
|
|
49
|
+
@extend %text-ellipsis !optional;
|
|
50
|
+
}
|
|
101
51
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
52
|
+
&:where(blockquote) {
|
|
53
|
+
@extend %vv-text !optional;
|
|
54
|
+
@extend %vv-text--quote !optional;
|
|
55
|
+
}
|
|
105
56
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
57
|
+
&:where(ul, ol) {
|
|
58
|
+
@extend %list-inside !optional;
|
|
59
|
+
@extend %my-sm !optional;
|
|
60
|
+
@extend %pl-lg !optional;
|
|
61
|
+
}
|
|
111
62
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
63
|
+
&:where(ul) {
|
|
64
|
+
@extend %list-disc !optional;
|
|
65
|
+
}
|
|
115
66
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
67
|
+
&:where(ol, ol[type='1']) {
|
|
68
|
+
@extend %list-decimal !optional;
|
|
69
|
+
}
|
|
119
70
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
71
|
+
&:where(ol[type='a']) {
|
|
72
|
+
@extend %list-lower-latin !optional;
|
|
73
|
+
}
|
|
124
74
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
75
|
+
&:where(ol[type='A']) {
|
|
76
|
+
@extend %list-upper-latin !optional;
|
|
77
|
+
}
|
|
129
78
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
79
|
+
&:where(ol[type='i']) {
|
|
80
|
+
@extend %list-lower-roman !optional;
|
|
81
|
+
}
|
|
133
82
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
83
|
+
&:where(ol[type='I']) {
|
|
84
|
+
@extend %list-upper-roman !optional;
|
|
85
|
+
}
|
|
137
86
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
87
|
+
&:where(li > p) {
|
|
88
|
+
@extend %inline !optional;
|
|
89
|
+
}
|
|
141
90
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
91
|
+
&:where(b, strong, th) {
|
|
92
|
+
@extend %font-bold !optional;
|
|
93
|
+
}
|
|
146
94
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
95
|
+
&:where(em, i, cite, dfn, var) {
|
|
96
|
+
@extend %italic !optional;
|
|
97
|
+
}
|
|
150
98
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
99
|
+
&:where(svg) {
|
|
100
|
+
@extend %align-middle !optional;
|
|
101
|
+
}
|
|
154
102
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
@extend %border-solid !optional;
|
|
159
|
-
@extend %border-surface-3 !optional;
|
|
160
|
-
}
|
|
103
|
+
&:where(dfn, var) {
|
|
104
|
+
@extend %font-serif !optional;
|
|
105
|
+
}
|
|
161
106
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
@extend %vv-text--link !optional;
|
|
107
|
+
&:where(del, s) {
|
|
108
|
+
@extend %line-through !optional;
|
|
109
|
+
}
|
|
166
110
|
|
|
167
|
-
&:where(
|
|
168
|
-
@extend %
|
|
111
|
+
&:where(ins, u, cite) {
|
|
112
|
+
@extend %underline !optional;
|
|
169
113
|
}
|
|
170
114
|
|
|
171
|
-
&:where(
|
|
172
|
-
@extend %
|
|
115
|
+
&:where(abbr) {
|
|
116
|
+
@extend %underline !optional;
|
|
117
|
+
@extend %decoration-dotted !optional;
|
|
118
|
+
@extend %cursor-help !optional;
|
|
173
119
|
}
|
|
174
120
|
|
|
175
|
-
&:where(
|
|
176
|
-
@extend %
|
|
121
|
+
&:where(code) {
|
|
122
|
+
@extend %font-mono !optional;
|
|
177
123
|
}
|
|
178
124
|
|
|
179
|
-
&:where(
|
|
180
|
-
@extend %
|
|
125
|
+
&:where(p > code) {
|
|
126
|
+
@extend %whitespace-nowrap !optional;
|
|
181
127
|
}
|
|
182
128
|
|
|
183
|
-
&:where(
|
|
184
|
-
@extend %
|
|
129
|
+
&:where(sub) {
|
|
130
|
+
@extend %align-sub !optional;
|
|
131
|
+
@extend %text-smaller !optional;
|
|
185
132
|
}
|
|
186
|
-
}
|
|
187
133
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
input[type='submit'],
|
|
193
|
-
input[type='reset']
|
|
194
|
-
) {
|
|
195
|
-
@extend %vv-button !optional;
|
|
134
|
+
&:where(sup) {
|
|
135
|
+
@extend %align-super !optional;
|
|
136
|
+
@extend %text-smaller !optional;
|
|
137
|
+
}
|
|
196
138
|
|
|
197
|
-
&:where(
|
|
198
|
-
@extend %
|
|
139
|
+
&:where(q) {
|
|
140
|
+
@extend %font-serif !optional;
|
|
199
141
|
}
|
|
200
142
|
|
|
201
|
-
&:where(
|
|
202
|
-
@extend %
|
|
143
|
+
&:where(small) {
|
|
144
|
+
@extend %text-smaller !optional;
|
|
203
145
|
}
|
|
204
146
|
|
|
205
|
-
&:where(
|
|
206
|
-
@extend %
|
|
147
|
+
&:where(mark) {
|
|
148
|
+
@extend %bg-warning !optional;
|
|
207
149
|
}
|
|
208
150
|
|
|
209
|
-
&:where(
|
|
210
|
-
@extend %
|
|
151
|
+
&:where(pre) {
|
|
152
|
+
@extend %font-mono !optional;
|
|
153
|
+
@extend %whitespace-pre !optional;
|
|
211
154
|
}
|
|
212
155
|
|
|
213
|
-
&:where(
|
|
214
|
-
@extend %
|
|
156
|
+
&:where(dl) {
|
|
157
|
+
@extend %my-sm !optional;
|
|
215
158
|
}
|
|
216
159
|
|
|
217
|
-
&:where(
|
|
218
|
-
@extend %
|
|
160
|
+
&:where(dd) {
|
|
161
|
+
@extend %ml-sm !optional;
|
|
219
162
|
}
|
|
220
163
|
|
|
221
|
-
&:where(
|
|
222
|
-
@extend %
|
|
164
|
+
&:where(hr) {
|
|
165
|
+
@extend %my-lg !optional;
|
|
166
|
+
@extend %border !optional;
|
|
167
|
+
@extend %border-solid !optional;
|
|
168
|
+
@extend %border-surface-3 !optional;
|
|
223
169
|
}
|
|
224
170
|
|
|
225
|
-
|
|
226
|
-
|
|
171
|
+
// anchor
|
|
172
|
+
&:where(a:not(.#{map.get($components-names, vv-button)})) {
|
|
173
|
+
@extend %vv-text !optional;
|
|
174
|
+
@extend %vv-text--link !optional;
|
|
175
|
+
|
|
176
|
+
&:where(:hover) {
|
|
177
|
+
@extend %vv-button-modifier-link--hover !optional;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&:where(:focus) {
|
|
181
|
+
@extend %vv-button-modifier-link--focus !optional;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&:where(:focus-visible) {
|
|
185
|
+
@extend %vv-button-modifier-link--focus-visible !optional;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&:where(:visited) {
|
|
189
|
+
@extend %vv-button-modifier-link--visited !optional;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&:where(:active) {
|
|
193
|
+
@extend %vv-button-modifier-link--active !optional;
|
|
194
|
+
}
|
|
227
195
|
}
|
|
228
196
|
|
|
229
|
-
|
|
230
|
-
|
|
197
|
+
// buttons
|
|
198
|
+
&:where(
|
|
231
199
|
button,
|
|
232
200
|
input[type='button'],
|
|
233
201
|
input[type='submit'],
|
|
234
202
|
input[type='reset']
|
|
235
203
|
) {
|
|
236
|
-
@extend %
|
|
237
|
-
}
|
|
238
|
-
}
|
|
204
|
+
@extend %vv-button !optional;
|
|
239
205
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
@extend %vv-table--bordered !optional;
|
|
206
|
+
&:where([type='button']) {
|
|
207
|
+
@extend %vv-button--primary !optional;
|
|
208
|
+
}
|
|
244
209
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
210
|
+
&:where([type='reset']) {
|
|
211
|
+
@extend %vv-button--secondary !optional;
|
|
212
|
+
}
|
|
248
213
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
}
|
|
214
|
+
&:where(:disabled) {
|
|
215
|
+
@extend %vv-button--disabled !optional;
|
|
216
|
+
}
|
|
253
217
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
}
|
|
218
|
+
&:where(:hover) {
|
|
219
|
+
@extend %vv-button--hover !optional;
|
|
220
|
+
}
|
|
258
221
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}
|
|
222
|
+
&:where(:focus) {
|
|
223
|
+
@extend %vv-button--focus !optional;
|
|
224
|
+
}
|
|
263
225
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
}
|
|
226
|
+
&:where(:focus-visible) {
|
|
227
|
+
@extend %vv-button--focus-visible !optional;
|
|
228
|
+
}
|
|
268
229
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
230
|
+
&:where(:visited) {
|
|
231
|
+
@extend %vv-button--visited !optional;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&:where(:active) {
|
|
235
|
+
@extend %vv-button--active !optional;
|
|
236
|
+
}
|
|
272
237
|
|
|
273
|
-
|
|
274
|
-
|
|
238
|
+
&
|
|
239
|
+
+ :where(
|
|
240
|
+
button,
|
|
241
|
+
input[type='button'],
|
|
242
|
+
input[type='submit'],
|
|
243
|
+
input[type='reset']
|
|
244
|
+
) {
|
|
245
|
+
@extend %ml-sm !optional;
|
|
246
|
+
}
|
|
275
247
|
}
|
|
276
|
-
}
|
|
277
248
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
249
|
+
// table
|
|
250
|
+
&:where(table) {
|
|
251
|
+
@extend %vv-table !optional;
|
|
252
|
+
@extend %vv-table--bordered !optional;
|
|
281
253
|
|
|
282
|
-
|
|
283
|
-
|
|
254
|
+
:where(tr) {
|
|
255
|
+
@extend %vv-table__tr !optional;
|
|
256
|
+
}
|
|
284
257
|
|
|
285
|
-
|
|
286
|
-
@extend %vv-
|
|
258
|
+
:where(td) {
|
|
259
|
+
@extend %vv-table__td !optional;
|
|
260
|
+
@extend %vv-table-modifier-bordered__td !optional;
|
|
287
261
|
}
|
|
288
262
|
|
|
289
|
-
|
|
290
|
-
@extend %vv-
|
|
263
|
+
:where(th) {
|
|
264
|
+
@extend %vv-table__th !optional;
|
|
265
|
+
@extend %vv-table-modifier-bordered__th !optional;
|
|
291
266
|
}
|
|
292
267
|
|
|
293
|
-
|
|
294
|
-
@extend %vv-
|
|
268
|
+
:where(caption) {
|
|
269
|
+
@extend %vv-table__caption !optional;
|
|
295
270
|
}
|
|
296
271
|
}
|
|
297
|
-
}
|
|
298
272
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
273
|
+
// progress
|
|
274
|
+
&:where(progress) {
|
|
275
|
+
@extend %vv-progress !optional;
|
|
276
|
+
}
|
|
302
277
|
|
|
303
|
-
|
|
304
|
-
|
|
278
|
+
// checkbox
|
|
279
|
+
&:where(fieldset:has(input[type='checkbox'])) {
|
|
280
|
+
@extend %vv-checkbox-group !optional;
|
|
305
281
|
|
|
306
|
-
|
|
307
|
-
@extend %vv-checkbox-
|
|
308
|
-
!optional;
|
|
282
|
+
:where(legend) {
|
|
283
|
+
@extend %vv-checkbox-group__legend !optional;
|
|
309
284
|
}
|
|
285
|
+
}
|
|
310
286
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
}
|
|
287
|
+
&:where(label:has(input[type='checkbox'])) {
|
|
288
|
+
@extend %w-full !optional;
|
|
289
|
+
@extend %vv-checkbox !optional;
|
|
315
290
|
|
|
316
|
-
|
|
317
|
-
@extend %vv-
|
|
318
|
-
|
|
319
|
-
|
|
291
|
+
:where(input[type='checkbox']) {
|
|
292
|
+
@extend %vv-checkbox__input !optional;
|
|
293
|
+
|
|
294
|
+
&:checked {
|
|
295
|
+
@extend %vv-checkbox-element-input--checked !optional;
|
|
296
|
+
}
|
|
320
297
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
298
|
+
&:indeterminate {
|
|
299
|
+
@extend %vv-checkbox-element-input--indeterminate
|
|
300
|
+
!optional;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
&:focus-visible {
|
|
304
|
+
@extend %vv-checkbox-element-input--focus-visible
|
|
305
|
+
!optional;
|
|
306
|
+
}
|
|
324
307
|
}
|
|
325
308
|
}
|
|
326
|
-
}
|
|
327
309
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
310
|
+
// switch
|
|
311
|
+
&:where(label:has(input[type='checkbox'][role='switch'])) {
|
|
312
|
+
@extend %vv-checkbox--switch !optional;
|
|
313
|
+
|
|
314
|
+
:where(input[type='checkbox'][role='switch']) {
|
|
315
|
+
@extend %vv-checkbox-modifier-switch__input !optional;
|
|
316
|
+
|
|
317
|
+
&:hover {
|
|
318
|
+
@extend %vv-checkbox-modifier-switch-element-input--hover
|
|
319
|
+
!optional;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
&:active {
|
|
323
|
+
@extend %vv-checkbox-modifier-switch-element-input--active
|
|
324
|
+
!optional;
|
|
325
|
+
}
|
|
331
326
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
327
|
+
&:checked {
|
|
328
|
+
@extend %vv-checkbox-modifier-switch-element-input--checked
|
|
329
|
+
!optional;
|
|
330
|
+
}
|
|
335
331
|
|
|
336
|
-
|
|
337
|
-
|
|
332
|
+
&:focus-visible {
|
|
333
|
+
@extend %vv-checkbox-modifier-switch-element-input--focus-visible
|
|
334
|
+
!optional;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
338
337
|
}
|
|
339
|
-
}
|
|
340
338
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
339
|
+
&:where(label:has(input[type='checkbox']:disabled)) {
|
|
340
|
+
@extend %vv-checkbox--disabled !optional;
|
|
341
|
+
}
|
|
344
342
|
|
|
345
|
-
|
|
346
|
-
|
|
343
|
+
// radio
|
|
344
|
+
&:where(fieldset:has(input[type='radio'])) {
|
|
345
|
+
@extend %vv-radio-group !optional;
|
|
347
346
|
|
|
348
|
-
|
|
349
|
-
@extend %vv-radio-
|
|
347
|
+
:where(legend) {
|
|
348
|
+
@extend %vv-radio-group__legend !optional;
|
|
350
349
|
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
&:where(label:has(input[type='radio'])) {
|
|
353
|
+
@extend %w-full !optional;
|
|
354
|
+
@extend %vv-radio !optional;
|
|
351
355
|
|
|
352
|
-
|
|
353
|
-
@extend %vv-
|
|
356
|
+
:where(input[type='radio']) {
|
|
357
|
+
@extend %vv-radio__input !optional;
|
|
358
|
+
|
|
359
|
+
&:checked {
|
|
360
|
+
@extend %vv-radio-element-input--checked !optional;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
&:focus-visible {
|
|
364
|
+
@extend %vv-radio-element-input--focus-visible
|
|
365
|
+
!optional;
|
|
366
|
+
}
|
|
354
367
|
}
|
|
355
368
|
}
|
|
356
|
-
}
|
|
357
369
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
370
|
+
&:where(label:has(input[type='radio']:disabled)) {
|
|
371
|
+
@extend %vv-radio--disabled !optional;
|
|
372
|
+
}
|
|
361
373
|
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
374
|
+
// textarea
|
|
375
|
+
&:where(label:has(+ textarea)) {
|
|
376
|
+
@extend %vv-textarea__label !optional;
|
|
377
|
+
}
|
|
366
378
|
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
379
|
+
&:where(textarea) {
|
|
380
|
+
@extend %w-full !optional;
|
|
381
|
+
@extend %vv-textarea !optional;
|
|
382
|
+
@extend %vv-textarea__wrapper !optional;
|
|
383
|
+
@extend %vv-textarea__input !optional;
|
|
384
|
+
|
|
385
|
+
&:disabled {
|
|
386
|
+
@extend %vv-textarea--disabled !optional;
|
|
387
|
+
}
|
|
372
388
|
|
|
373
|
-
|
|
374
|
-
|
|
389
|
+
&:read-only {
|
|
390
|
+
@extend %vv-textarea--readonly !optional;
|
|
391
|
+
}
|
|
375
392
|
}
|
|
376
393
|
|
|
377
|
-
|
|
378
|
-
|
|
394
|
+
// select
|
|
395
|
+
&:where(label:has(+ select)) {
|
|
396
|
+
@extend %vv-select__label !optional;
|
|
379
397
|
}
|
|
380
|
-
}
|
|
381
398
|
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
399
|
+
&:where(select) {
|
|
400
|
+
@extend %w-full !optional;
|
|
401
|
+
@extend %vv-select !optional;
|
|
402
|
+
@extend %vv-select__wrapper !optional;
|
|
403
|
+
@extend %vv-select__input !optional;
|
|
404
|
+
@extend %vv-select-modifier-dirty__input !optional;
|
|
386
405
|
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
@extend %vv-select__input !optional;
|
|
392
|
-
@extend %vv-select-modifier-dirty__input !optional;
|
|
406
|
+
&:disabled {
|
|
407
|
+
@extend %vv-select--disabled !optional;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
393
410
|
|
|
394
|
-
|
|
395
|
-
|
|
411
|
+
// input text
|
|
412
|
+
&:where(
|
|
413
|
+
label:has(
|
|
414
|
+
+ input:not(
|
|
415
|
+
[type='radio'],
|
|
416
|
+
[type='checkbox'],
|
|
417
|
+
[type='button'],
|
|
418
|
+
[type='submit'],
|
|
419
|
+
[type='reset']
|
|
420
|
+
)
|
|
421
|
+
)
|
|
422
|
+
) {
|
|
423
|
+
@extend %vv-input-text__label !optional;
|
|
396
424
|
}
|
|
397
|
-
}
|
|
398
425
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
426
|
+
&:where(
|
|
427
|
+
input:not(
|
|
428
|
+
[type='radio'],
|
|
429
|
+
[type='checkbox'],
|
|
430
|
+
[type='button'],
|
|
431
|
+
[type='submit'],
|
|
432
|
+
[type='reset']
|
|
433
|
+
)
|
|
434
|
+
) {
|
|
435
|
+
@extend %w-full !optional;
|
|
436
|
+
@extend %vv-input-text !optional;
|
|
437
|
+
@extend %vv-input-text__wrapper !optional;
|
|
438
|
+
@extend %vv-input-text__input !optional;
|
|
439
|
+
|
|
440
|
+
&:disabled {
|
|
441
|
+
@extend %vv-input-text--disabled !optional;
|
|
442
|
+
}
|
|
413
443
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
[type='checkbox'],
|
|
418
|
-
[type='button'],
|
|
419
|
-
[type='submit'],
|
|
420
|
-
[type='reset']
|
|
421
|
-
)
|
|
422
|
-
) {
|
|
423
|
-
@extend %w-full !optional;
|
|
424
|
-
@extend %vv-input-text !optional;
|
|
425
|
-
@extend %vv-input-text__wrapper !optional;
|
|
426
|
-
@extend %vv-input-text__input !optional;
|
|
427
|
-
|
|
428
|
-
&:disabled {
|
|
429
|
-
@extend %vv-input-text--disabled !optional;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
&:read-only {
|
|
433
|
-
@extend %vv-input-text--readonly !optional;
|
|
444
|
+
&:read-only {
|
|
445
|
+
@extend %vv-input-text--readonly !optional;
|
|
446
|
+
}
|
|
434
447
|
}
|
|
435
448
|
}
|
|
436
449
|
}
|