@rescui/checkbox 0.7.3 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_virtual/index.css.js +10 -0
- package/lib/_virtual/warning.js +37 -0
- package/lib/checkbox.js +34 -8
- package/lib/index.css +352 -81
- package/lib/parts/checkbox-list.js +23 -5
- package/lib/parts/checkbox.p.module.css.js +28 -21
- package/lib/public-api.p.css +284 -5
- package/lib/public-api.pcss +284 -5
- package/package.json +6 -6
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
2
|
+
"themeLight": "_themeLight_1heg86p_8",
|
|
3
|
+
"themeDark": "_themeDark_1heg86p_11",
|
|
4
|
+
"container": "_container_1heg86p_15",
|
|
5
|
+
"listSizeS": "_listSizeS_1heg86p_20",
|
|
6
|
+
"listSizeM": "_listSizeM_1heg86p_23",
|
|
7
|
+
"listSizeL": "_listSizeL_1heg86p_26",
|
|
8
|
+
"checkboxSizeS": "_checkboxSizeS_1heg86p_30",
|
|
9
|
+
"checkboxSizeM": "_checkboxSizeM_1heg86p_33",
|
|
10
|
+
"checkboxSizeL": "_checkboxSizeL_1heg86p_36",
|
|
11
|
+
"sizeS": "_sizeS_1heg86p_40",
|
|
12
|
+
"sizeM": "_sizeM_1heg86p_43",
|
|
13
|
+
"sizeL": "_sizeL_1heg86p_46",
|
|
14
|
+
"classic": "_classic_1heg86p_50",
|
|
15
|
+
"rock": "_rock_1heg86p_53",
|
|
16
|
+
"checkbox": "_checkbox_1heg86p_30",
|
|
17
|
+
"errorMessage": "_errorMessage_1heg86p_79",
|
|
18
|
+
"list": "_list_1heg86p_20",
|
|
19
|
+
"errorIcon": "_errorIcon_1heg86p_93",
|
|
20
|
+
"input": "_input_1heg86p_99",
|
|
21
|
+
"icon": "_icon_1heg86p_110",
|
|
22
|
+
"enabled": "_enabled_1heg86p_126",
|
|
23
|
+
"indeterminate": "_indeterminate_1heg86p_130",
|
|
24
|
+
"disabled": "_disabled_1heg86p_138",
|
|
25
|
+
"error": "_error_1heg86p_79",
|
|
26
|
+
"checkmark": "_checkmark_1heg86p_194",
|
|
27
|
+
"markS": "_markS_1heg86p_219",
|
|
28
|
+
"markM": "_markM_1heg86p_222",
|
|
29
|
+
"markL": "_markL_1heg86p_225"
|
|
23
30
|
};
|
|
24
31
|
export { styles as default };
|
package/lib/public-api.p.css
CHANGED
|
@@ -1,4 +1,35 @@
|
|
|
1
1
|
@define-mixin rs-checkbox-list-size-s{
|
|
2
|
+
&[class] [data-rs-internal='checkbox-list__error-message']{
|
|
3
|
+
--_rs-typography-letter-spacing:normal;
|
|
4
|
+
--_rs-typography-text-transform:initial;
|
|
5
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
6
|
+
--_rs-typography-font-family:var(
|
|
7
|
+
--rs-font-family-ui,
|
|
8
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
9
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
10
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
11
|
+
);
|
|
12
|
+
--_rs-typography-font-size:var(--rs-h5-font-size, 13px);
|
|
13
|
+
--_rs-typography-font-weight:var(
|
|
14
|
+
--rs-font-weight-semi-bold,
|
|
15
|
+
600
|
|
16
|
+
);
|
|
17
|
+
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
18
|
+
--_rs-typography-base-color:var(
|
|
19
|
+
--rs-color-hard,
|
|
20
|
+
rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227))
|
|
21
|
+
);
|
|
22
|
+
--_rs-typography-text-auto-offset:0;
|
|
23
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
24
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
25
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
26
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
27
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
28
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
29
|
+
}
|
|
30
|
+
&[class] [data-rs-internal='checkbox-list__error-icon']:not(html){
|
|
31
|
+
--_rs-icons-height:20px;
|
|
32
|
+
}
|
|
2
33
|
& [data-rs-internal="checkbox__menu"] [data-rs-internal="menu__menu-item"]{
|
|
3
34
|
--_rs-menu-mi-icon-offset:8px;
|
|
4
35
|
--_rs-menu-mi-vertical-padding:6px;
|
|
@@ -65,6 +96,37 @@
|
|
|
65
96
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
66
97
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
67
98
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
99
|
+
}
|
|
100
|
+
& [data-rs-internal="checkbox"] [data-rs-internal='checkbox__error-message']{
|
|
101
|
+
--_rs-typography-letter-spacing:normal;
|
|
102
|
+
--_rs-typography-text-transform:initial;
|
|
103
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
104
|
+
--_rs-typography-font-family:var(
|
|
105
|
+
--rs-font-family-ui,
|
|
106
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
107
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
108
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
109
|
+
);
|
|
110
|
+
--_rs-typography-font-size:var(--rs-h5-font-size, 13px);
|
|
111
|
+
--_rs-typography-font-weight:var(
|
|
112
|
+
--rs-font-weight-semi-bold,
|
|
113
|
+
600
|
|
114
|
+
);
|
|
115
|
+
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
116
|
+
--_rs-typography-base-color:var(
|
|
117
|
+
--rs-color-hard,
|
|
118
|
+
rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227))
|
|
119
|
+
);
|
|
120
|
+
--_rs-typography-text-auto-offset:0;
|
|
121
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
122
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
123
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
124
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
125
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
126
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
127
|
+
}
|
|
128
|
+
& [data-rs-internal="checkbox"] [data-rs-internal='checkbox__error-icon']:not(html){
|
|
129
|
+
--_rs-icons-height:20px;
|
|
68
130
|
}
|
|
69
131
|
& [data-rs-internal="checkbox__control"]{
|
|
70
132
|
--_rs-checkbox-ci-mark-s-display:initial;
|
|
@@ -76,6 +138,37 @@
|
|
|
76
138
|
}
|
|
77
139
|
}
|
|
78
140
|
@define-mixin rs-checkbox-list-size-m{
|
|
141
|
+
&[class] [data-rs-internal='checkbox-list__error-message']{
|
|
142
|
+
--_rs-typography-letter-spacing:normal;
|
|
143
|
+
--_rs-typography-text-transform:initial;
|
|
144
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
145
|
+
--_rs-typography-font-family:var(
|
|
146
|
+
--rs-font-family-ui,
|
|
147
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
148
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
149
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
150
|
+
);
|
|
151
|
+
--_rs-typography-font-size:var(--rs-h5-font-size, 13px);
|
|
152
|
+
--_rs-typography-font-weight:var(
|
|
153
|
+
--rs-font-weight-semi-bold,
|
|
154
|
+
600
|
|
155
|
+
);
|
|
156
|
+
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
157
|
+
--_rs-typography-base-color:var(
|
|
158
|
+
--rs-color-hard,
|
|
159
|
+
rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227))
|
|
160
|
+
);
|
|
161
|
+
--_rs-typography-text-auto-offset:0;
|
|
162
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
163
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
164
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
165
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
166
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
167
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
168
|
+
}
|
|
169
|
+
&[class] [data-rs-internal='checkbox-list__error-icon']:not(html){
|
|
170
|
+
--_rs-icons-height:20px;
|
|
171
|
+
}
|
|
79
172
|
& [data-rs-internal="checkbox__menu"] [data-rs-internal="menu__menu-item"]{
|
|
80
173
|
--_rs-menu-mi-icon-offset:8px;
|
|
81
174
|
--_rs-menu-mi-vertical-padding:8px;
|
|
@@ -147,6 +240,37 @@
|
|
|
147
240
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
148
241
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
149
242
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
243
|
+
}
|
|
244
|
+
& [data-rs-internal="checkbox"] [data-rs-internal='checkbox__error-message']{
|
|
245
|
+
--_rs-typography-letter-spacing:normal;
|
|
246
|
+
--_rs-typography-text-transform:initial;
|
|
247
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
248
|
+
--_rs-typography-font-family:var(
|
|
249
|
+
--rs-font-family-ui,
|
|
250
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
251
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
252
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
253
|
+
);
|
|
254
|
+
--_rs-typography-font-size:var(--rs-h5-font-size, 13px);
|
|
255
|
+
--_rs-typography-font-weight:var(
|
|
256
|
+
--rs-font-weight-semi-bold,
|
|
257
|
+
600
|
|
258
|
+
);
|
|
259
|
+
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
260
|
+
--_rs-typography-base-color:var(
|
|
261
|
+
--rs-color-hard,
|
|
262
|
+
rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227))
|
|
263
|
+
);
|
|
264
|
+
--_rs-typography-text-auto-offset:0;
|
|
265
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
266
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
267
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
268
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
269
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
270
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
271
|
+
}
|
|
272
|
+
& [data-rs-internal="checkbox"] [data-rs-internal='checkbox__error-icon']:not(html){
|
|
273
|
+
--_rs-icons-height:20px;
|
|
150
274
|
}
|
|
151
275
|
& [data-rs-internal="checkbox__control"]{
|
|
152
276
|
--_rs-checkbox-ci-mark-s-display:none;
|
|
@@ -158,6 +282,37 @@
|
|
|
158
282
|
}
|
|
159
283
|
}
|
|
160
284
|
@define-mixin rs-checkbox-list-size-l{
|
|
285
|
+
&[class] [data-rs-internal='checkbox-list__error-message']{
|
|
286
|
+
--_rs-typography-letter-spacing:normal;
|
|
287
|
+
--_rs-typography-text-transform:initial;
|
|
288
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
289
|
+
--_rs-typography-font-family:var(
|
|
290
|
+
--rs-font-family-ui,
|
|
291
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
292
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
293
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
294
|
+
);
|
|
295
|
+
--_rs-typography-font-size:var(--rs-h4-font-size, 16px);
|
|
296
|
+
--_rs-typography-font-weight:var(
|
|
297
|
+
--rs-font-weight-semi-bold,
|
|
298
|
+
600
|
|
299
|
+
);
|
|
300
|
+
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
301
|
+
--_rs-typography-base-color:var(
|
|
302
|
+
--rs-color-hard,
|
|
303
|
+
rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227))
|
|
304
|
+
);
|
|
305
|
+
--_rs-typography-text-auto-offset:0;
|
|
306
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
307
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
308
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
309
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
310
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
311
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
312
|
+
}
|
|
313
|
+
&[class] [data-rs-internal='checkbox-list__error-icon']:not(html){
|
|
314
|
+
--_rs-icons-height:24px;
|
|
315
|
+
}
|
|
161
316
|
& [data-rs-internal="checkbox__menu"] [data-rs-internal="menu__menu-item"]{
|
|
162
317
|
--_rs-menu-mi-icon-offset:16px;
|
|
163
318
|
--_rs-menu-mi-vertical-padding:12px;
|
|
@@ -229,6 +384,37 @@
|
|
|
229
384
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
230
385
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
231
386
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
387
|
+
}
|
|
388
|
+
& [data-rs-internal="checkbox"] [data-rs-internal='checkbox__error-message']{
|
|
389
|
+
--_rs-typography-letter-spacing:normal;
|
|
390
|
+
--_rs-typography-text-transform:initial;
|
|
391
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
392
|
+
--_rs-typography-font-family:var(
|
|
393
|
+
--rs-font-family-ui,
|
|
394
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
395
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
396
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
397
|
+
);
|
|
398
|
+
--_rs-typography-font-size:var(--rs-h4-font-size, 16px);
|
|
399
|
+
--_rs-typography-font-weight:var(
|
|
400
|
+
--rs-font-weight-semi-bold,
|
|
401
|
+
600
|
|
402
|
+
);
|
|
403
|
+
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
404
|
+
--_rs-typography-base-color:var(
|
|
405
|
+
--rs-color-hard,
|
|
406
|
+
rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227))
|
|
407
|
+
);
|
|
408
|
+
--_rs-typography-text-auto-offset:0;
|
|
409
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
410
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
411
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
412
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
413
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
414
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
415
|
+
}
|
|
416
|
+
& [data-rs-internal="checkbox"] [data-rs-internal='checkbox__error-icon']:not(html){
|
|
417
|
+
--_rs-icons-height:24px;
|
|
232
418
|
}
|
|
233
419
|
& [data-rs-internal="checkbox__control"]{
|
|
234
420
|
--_rs-checkbox-ci-mark-s-display:none;
|
|
@@ -267,7 +453,38 @@
|
|
|
267
453
|
}
|
|
268
454
|
}
|
|
269
455
|
@define-mixin rs-checkbox-size-s{
|
|
270
|
-
&[class][
|
|
456
|
+
&[class] [data-rs-internal='checkbox__error-message']{
|
|
457
|
+
--_rs-typography-letter-spacing:normal;
|
|
458
|
+
--_rs-typography-text-transform:initial;
|
|
459
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
460
|
+
--_rs-typography-font-family:var(
|
|
461
|
+
--rs-font-family-ui,
|
|
462
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
463
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
464
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
465
|
+
);
|
|
466
|
+
--_rs-typography-font-size:var(--rs-h5-font-size, 13px);
|
|
467
|
+
--_rs-typography-font-weight:var(
|
|
468
|
+
--rs-font-weight-semi-bold,
|
|
469
|
+
600
|
|
470
|
+
);
|
|
471
|
+
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
472
|
+
--_rs-typography-base-color:var(
|
|
473
|
+
--rs-color-hard,
|
|
474
|
+
rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227))
|
|
475
|
+
);
|
|
476
|
+
--_rs-typography-text-auto-offset:0;
|
|
477
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
478
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
479
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
480
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
481
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
482
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
483
|
+
}
|
|
484
|
+
&[class] [data-rs-internal='checkbox__error-icon']:not(html){
|
|
485
|
+
--_rs-icons-height:20px;
|
|
486
|
+
}
|
|
487
|
+
& [data-rs-internal="menu__menu-item"][class]{
|
|
271
488
|
--_rs-menu-mi-icon-offset:8px;
|
|
272
489
|
--_rs-menu-mi-vertical-padding:6px;
|
|
273
490
|
--_rs-menu-mi-horizontal-padding:8px;
|
|
@@ -314,7 +531,38 @@
|
|
|
314
531
|
}
|
|
315
532
|
}
|
|
316
533
|
@define-mixin rs-checkbox-size-m{
|
|
317
|
-
&[class][
|
|
534
|
+
&[class] [data-rs-internal='checkbox__error-message']{
|
|
535
|
+
--_rs-typography-letter-spacing:normal;
|
|
536
|
+
--_rs-typography-text-transform:initial;
|
|
537
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
538
|
+
--_rs-typography-font-family:var(
|
|
539
|
+
--rs-font-family-ui,
|
|
540
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
541
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
542
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
543
|
+
);
|
|
544
|
+
--_rs-typography-font-size:var(--rs-h5-font-size, 13px);
|
|
545
|
+
--_rs-typography-font-weight:var(
|
|
546
|
+
--rs-font-weight-semi-bold,
|
|
547
|
+
600
|
|
548
|
+
);
|
|
549
|
+
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
550
|
+
--_rs-typography-base-color:var(
|
|
551
|
+
--rs-color-hard,
|
|
552
|
+
rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227))
|
|
553
|
+
);
|
|
554
|
+
--_rs-typography-text-auto-offset:0;
|
|
555
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
556
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
557
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
558
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
559
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
560
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
561
|
+
}
|
|
562
|
+
&[class] [data-rs-internal='checkbox__error-icon']:not(html){
|
|
563
|
+
--_rs-icons-height:20px;
|
|
564
|
+
}
|
|
565
|
+
& [data-rs-internal="menu__menu-item"][class]{
|
|
318
566
|
--_rs-menu-mi-icon-offset:8px;
|
|
319
567
|
--_rs-menu-mi-vertical-padding:8px;
|
|
320
568
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
@@ -352,7 +600,7 @@
|
|
|
352
600
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
353
601
|
}
|
|
354
602
|
@media screen and (max-width: 640px){
|
|
355
|
-
&[
|
|
603
|
+
& [data-rs-internal="menu__menu-item"][class]{
|
|
356
604
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
357
605
|
}
|
|
358
606
|
}
|
|
@@ -366,7 +614,38 @@
|
|
|
366
614
|
}
|
|
367
615
|
}
|
|
368
616
|
@define-mixin rs-checkbox-size-l{
|
|
369
|
-
&[class][
|
|
617
|
+
&[class] [data-rs-internal='checkbox__error-message']{
|
|
618
|
+
--_rs-typography-letter-spacing:normal;
|
|
619
|
+
--_rs-typography-text-transform:initial;
|
|
620
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
621
|
+
--_rs-typography-font-family:var(
|
|
622
|
+
--rs-font-family-ui,
|
|
623
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
624
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
625
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
626
|
+
);
|
|
627
|
+
--_rs-typography-font-size:var(--rs-h4-font-size, 16px);
|
|
628
|
+
--_rs-typography-font-weight:var(
|
|
629
|
+
--rs-font-weight-semi-bold,
|
|
630
|
+
600
|
|
631
|
+
);
|
|
632
|
+
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
633
|
+
--_rs-typography-base-color:var(
|
|
634
|
+
--rs-color-hard,
|
|
635
|
+
rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227))
|
|
636
|
+
);
|
|
637
|
+
--_rs-typography-text-auto-offset:0;
|
|
638
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
639
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
640
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
641
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
642
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
643
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
644
|
+
}
|
|
645
|
+
&[class] [data-rs-internal='checkbox__error-icon']:not(html){
|
|
646
|
+
--_rs-icons-height:24px;
|
|
647
|
+
}
|
|
648
|
+
& [data-rs-internal="menu__menu-item"][class]{
|
|
370
649
|
--_rs-menu-mi-icon-offset:16px;
|
|
371
650
|
--_rs-menu-mi-vertical-padding:12px;
|
|
372
651
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
@@ -404,7 +683,7 @@
|
|
|
404
683
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
405
684
|
}
|
|
406
685
|
@media screen and (max-width: 640px){
|
|
407
|
-
&[
|
|
686
|
+
& [data-rs-internal="menu__menu-item"][class]{
|
|
408
687
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
409
688
|
}
|
|
410
689
|
}
|