@rolster/react-components 18.21.24 → 18.21.26
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/cjs/assets/{index-Buj4-HoB.css → index-8XUn402Z.css} +189 -114
- package/dist/es/assets/{index-Buj4-HoB.css → index-8XUn402Z.css} +189 -114
- package/dist/esm/components/atoms/Amount/Amount.css +5 -4
- package/dist/esm/components/atoms/Avatar/Avatar.css +5 -5
- package/dist/esm/components/atoms/Badge/Badge.css +1 -1
- package/dist/esm/components/atoms/Breadcrumb/Breadcrumb.css +3 -2
- package/dist/esm/components/atoms/Button/Button.css +11 -11
- package/dist/esm/components/atoms/ButtonAction/ButtonAction.css +13 -7
- package/dist/esm/components/atoms/CheckBox/CheckBox.css +9 -4
- package/dist/esm/components/atoms/Icon/Icon.css +6 -5
- package/dist/esm/components/atoms/Input/Input.css +20 -12
- package/dist/esm/components/atoms/InputSearch/InputSearch.css +1 -1
- package/dist/esm/components/atoms/Label/Label.css +6 -3
- package/dist/esm/components/atoms/Poster/Poster.css +10 -6
- package/dist/esm/components/atoms/ProgressCircular/ProgressCircular.css +6 -2
- package/dist/esm/components/atoms/RadioButton/RadioButton.css +9 -4
- package/dist/esm/components/atoms/Skeleton/Skeleton.css +7 -4
- package/dist/esm/components/atoms/SkeletonText/SkeletonText.css +9 -5
- package/dist/esm/components/atoms/Switch/Switch.css +8 -7
- package/dist/esm/components/atoms/TabularText/TabularText.css +4 -4
- package/dist/esm/components/molecules/Ballot/Ballot.css +50 -21
- package/dist/esm/components/molecules/PickerDay/PickerDay.css +1 -1
- package/dist/esm/components/molecules/PickerMonth/PickerMonth.css +1 -1
- package/dist/esm/components/molecules/PickerYear/PickerYear.css +1 -1
- package/dist/esm/components/molecules/Toolbar/Toolbar.css +1 -1
- package/dist/esm/components/organisms/Card/Card.css +1 -1
- package/dist/esm/components/organisms/Snackbar/Snackbar.css +1 -1
- package/package.json +2 -2
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
5
5
|
overflow: hidden;
|
|
6
|
-
font-size: var(--rlc-avatar-font-size);
|
|
7
|
-
width: var(--rlc-avatar-width);
|
|
8
|
-
height: var(--rlc-avatar-height);
|
|
6
|
+
font-size: var(--rlc-avatar-font-size, var(--rls-title-font-size));
|
|
7
|
+
width: var(--rlc-avatar-width, var(--rls-sizing-x24));
|
|
8
|
+
height: var(--rlc-avatar-height, var(--rls-sizing-x24));
|
|
9
9
|
background: var(--rls-theme-gradient-500);
|
|
10
|
-
color: var(--rls-theme-
|
|
11
|
-
border-radius: var(--rlc-avatar-
|
|
10
|
+
color: var(--rls-theme-color-050);
|
|
11
|
+
border-radius: var(--rlc-avatar-radius, var(--rls-sizing-x4));
|
|
12
12
|
}
|
|
13
13
|
.rls-avatar--skeleton {
|
|
14
14
|
background: var(--rls-theme-color-200);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
display: inline-block;
|
|
4
4
|
width: auto;
|
|
5
|
-
padding: var(--rlc-badge-padding);
|
|
5
|
+
padding: var(--rlc-badge-padding, var(--rls-sizing-x2));
|
|
6
6
|
box-sizing: border-box;
|
|
7
7
|
font-size: var(--rls-caption-font-size);
|
|
8
8
|
letter-spacing: var(--rls-caption-letter-spacing);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
.rls-breadcrumb {
|
|
2
|
+
--pvt-height: var(--rlc-breadcrumb-height, var(--rls-sizing-x18));
|
|
2
3
|
--pvt-link-font-color: var(--rls-app-color-600);
|
|
3
4
|
display: -webkit-box;
|
|
4
5
|
width: 100%;
|
|
5
|
-
height: var(--
|
|
6
|
-
line-height: var(--
|
|
6
|
+
height: var(--pvt-height);
|
|
7
|
+
line-height: var(--pvt-height);
|
|
7
8
|
padding: 0rem var(--rls-sizing-x8);
|
|
8
9
|
box-sizing: border-box;
|
|
9
10
|
user-select: none;
|
|
@@ -9,22 +9,22 @@
|
|
|
9
9
|
--pvt-classic-font-color: var(--rls-app-color-500);
|
|
10
10
|
--pvt-classic-border: none;
|
|
11
11
|
--pvt-raised-background: var(--rls-theme-color-500);
|
|
12
|
-
--pvt-raised-font-color: var(--rls-theme-
|
|
12
|
+
--pvt-raised-font-color: var(--rls-theme-color-050);
|
|
13
13
|
--pvt-raised-border: none;
|
|
14
14
|
--pvt-flat-background: var(--rls-theme-color-200);
|
|
15
15
|
--pvt-flat-font-color: var(--rls-theme-color-700);
|
|
16
16
|
--pvt-flat-border: none;
|
|
17
17
|
--pvt-stroked-background: transparent;
|
|
18
18
|
--pvt-stroked-font-color: var(--rls-theme-color-500);
|
|
19
|
-
--pvt-stroked-border: var(--rls-theme-border-
|
|
19
|
+
--pvt-stroked-border: var(--rls-theme-border-2-500);
|
|
20
20
|
--pvt-outline-background: transparent;
|
|
21
21
|
--pvt-outline-font-color: var(--rls-app-color-600);
|
|
22
|
-
--pvt-outline-border: var(--rls-app-border-
|
|
22
|
+
--pvt-outline-border: var(--rls-app-border-2-300);
|
|
23
23
|
--pvt-ghost-background: none;
|
|
24
24
|
--pvt-ghost-font-color: var(--rls-theme-color-500);
|
|
25
25
|
--pvt-ghost-border: none;
|
|
26
26
|
--pvt-gradient-background: var(--rls-theme-gradient-500);
|
|
27
|
-
--pvt-gradient-font-color: var(--rls-theme-
|
|
27
|
+
--pvt-gradient-font-color: var(--rls-theme-color-050);
|
|
28
28
|
--pvt-gradient-border: none;
|
|
29
29
|
position: relative;
|
|
30
30
|
padding: 0rem;
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
--pvt-flat-border: none;
|
|
52
52
|
--pvt-stroked-background: var(--rls-theme-color-100);
|
|
53
53
|
--pvt-stroked-font-color: var(--rls-theme-color-700);
|
|
54
|
-
--pvt-stroked-border: var(--rls-theme-border-
|
|
54
|
+
--pvt-stroked-border: var(--rls-theme-border-2-700);
|
|
55
55
|
--pvt-outline-background: transparent;
|
|
56
56
|
--pvt-outline-font-color: var(--rls-theme-color-500);
|
|
57
|
-
--pvt-outline-border: var(--rls-theme-border-
|
|
57
|
+
--pvt-outline-border: var(--rls-theme-border-2-500);
|
|
58
58
|
--pvt-ghost-background: var(--rls-theme-color-200);
|
|
59
59
|
--pvt-ghost-font-color: var(--rls-theme-font-100);
|
|
60
60
|
--pvt-ghost-border: none;
|
|
@@ -74,10 +74,10 @@
|
|
|
74
74
|
--pvt-flat-border: none;
|
|
75
75
|
--pvt-stroked-background: transparent;
|
|
76
76
|
--pvt-stroked-font-color: var(--rls-theme-color-300);
|
|
77
|
-
--pvt-stroked-border: var(--rls-theme-border-
|
|
77
|
+
--pvt-stroked-border: var(--rls-theme-border-2-300);
|
|
78
78
|
--pvt-outline-background: transparent;
|
|
79
79
|
--pvt-outline-font-color: var(--rls-app-color-400);
|
|
80
|
-
--pvt-outline-border: var(--rls-app-border-
|
|
80
|
+
--pvt-outline-border: var(--rls-app-border-2-100);
|
|
81
81
|
--pvt-ghost-background: transparent;
|
|
82
82
|
--pvt-ghost-font-color: var(--rls-theme-color-300);
|
|
83
83
|
--pvt-ghost-border: none;
|
|
@@ -93,9 +93,9 @@
|
|
|
93
93
|
overflow: hidden;
|
|
94
94
|
line-height: var(--rls-sizing-x20);
|
|
95
95
|
height: var(--rls-sizing-x20);
|
|
96
|
-
padding: var(--rlc-button-content-padding);
|
|
96
|
+
padding: var(--rlc-button-content-padding, 0rem var(--rls-sizing-x4));
|
|
97
97
|
box-sizing: border-box;
|
|
98
|
-
border-radius: var(--rlc-button-content-radius);
|
|
98
|
+
border-radius: var(--rlc-button-content-radius, var(--rls-sizing-x2));
|
|
99
99
|
color: var(--pvt-button-content-font-color);
|
|
100
100
|
border: var(--pvt-button-content-border);
|
|
101
101
|
background: var(--pvt-button-content-background);
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
font-size: var(--rls-button-font-size);
|
|
165
165
|
font-weight: var(--rls-font-weight-bold);
|
|
166
166
|
letter-spacing: var(--rls-button-letter-spacing);
|
|
167
|
-
text-transform: var(--rlc-button-label-text-transform);
|
|
167
|
+
text-transform: var(--rlc-button-label-text-transform, uppercase);
|
|
168
168
|
text-overflow: ellipsis;
|
|
169
169
|
overflow: hidden;
|
|
170
170
|
white-space: nowrap;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
.rls-button-action {
|
|
2
|
+
--pvt-ripple-dimension: var(
|
|
3
|
+
--rlc-action-ripple-dimension,
|
|
4
|
+
var(--rls-sizing-x18)
|
|
5
|
+
);
|
|
6
|
+
--pvt-ripple-position: var(--rlc-action-ripple-position, -9rem);
|
|
7
|
+
--pvt-ripple-color: var(--rlc-action-ripple-color, var(--rls-app-color-600));
|
|
2
8
|
--pvt-tooltip-transition-delay: 0ms;
|
|
3
9
|
--pvt-tooltip-opacity: 0;
|
|
4
10
|
position: relative;
|
|
@@ -11,7 +17,7 @@
|
|
|
11
17
|
user-select: none;
|
|
12
18
|
cursor: default;
|
|
13
19
|
background: transparent;
|
|
14
|
-
color: var(--rlc-action-color);
|
|
20
|
+
color: var(--rlc-action-color, var(--rls-app-color-600));
|
|
15
21
|
}
|
|
16
22
|
.rls-button-action::before {
|
|
17
23
|
position: absolute;
|
|
@@ -23,7 +29,7 @@
|
|
|
23
29
|
visibility: hidden;
|
|
24
30
|
border-radius: 50%;
|
|
25
31
|
transform: scale(0);
|
|
26
|
-
background: var(--
|
|
32
|
+
background: var(--pvt-ripple-color);
|
|
27
33
|
padding-top: calc(120% - var(--rls-sizing-x4));
|
|
28
34
|
padding-left: calc(120% - var(--rls-sizing-x4));
|
|
29
35
|
margin-top: calc(-60% + var(--rls-sizing-x2));
|
|
@@ -41,12 +47,12 @@
|
|
|
41
47
|
top: 50%;
|
|
42
48
|
left: 50%;
|
|
43
49
|
opacity: 0.24;
|
|
44
|
-
width: var(--
|
|
45
|
-
height: var(--
|
|
46
|
-
margin-top: var(--
|
|
47
|
-
margin-left: var(--
|
|
50
|
+
width: var(--pvt-ripple-dimension);
|
|
51
|
+
height: var(--pvt-ripple-dimension);
|
|
52
|
+
margin-top: var(--pvt-ripple-position);
|
|
53
|
+
margin-left: var(--pvt-ripple-position);
|
|
48
54
|
border-radius: 50%;
|
|
49
|
-
background: var(--
|
|
55
|
+
background: var(--pvt-ripple-color);
|
|
50
56
|
transform: scale(0);
|
|
51
57
|
transition: transform 160ms 0ms var(--rls-sharp-curve);
|
|
52
58
|
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
.rls-checkbox {
|
|
2
|
+
--pvt-dimension: var(--rlc-checkbox-dimension, var(--rls-sizing-x12));
|
|
3
|
+
--pvt-component-dimension: var(
|
|
4
|
+
--rlc-checkbox-children-dimension,
|
|
5
|
+
var(--rls-sizing-x6)
|
|
6
|
+
);
|
|
2
7
|
--pvt-component-border-color: var(--rls-app-color-500);
|
|
3
8
|
--pvt-component-transform: scale(0);
|
|
4
9
|
position: relative;
|
|
5
10
|
display: flex;
|
|
6
|
-
width: var(--
|
|
7
|
-
height: var(--
|
|
11
|
+
width: var(--pvt-dimension);
|
|
12
|
+
height: var(--pvt-dimension);
|
|
8
13
|
justify-content: center;
|
|
9
14
|
align-items: center;
|
|
10
15
|
box-sizing: border-box;
|
|
@@ -25,8 +30,8 @@
|
|
|
25
30
|
pointer-events: none;
|
|
26
31
|
}
|
|
27
32
|
.rls-checkbox__component {
|
|
28
|
-
width: var(--
|
|
29
|
-
height: var(--
|
|
33
|
+
width: var(--pvt-component-dimension);
|
|
34
|
+
height: var(--pvt-component-dimension);
|
|
30
35
|
border-radius: var(--rls-sizing-x1);
|
|
31
36
|
background: var(--rls-theme-color-500);
|
|
32
37
|
transform: var(--pvt-component-transform);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
.rls-icon {
|
|
2
|
+
--pvt-icon-dimension: var(--rlc-icon-dimension, var(--rls-sizing-x12));
|
|
2
3
|
--pvt-icon-display: block;
|
|
3
4
|
position: relative;
|
|
4
|
-
font-size: var(--
|
|
5
|
-
width: var(--
|
|
6
|
-
height: var(--
|
|
7
|
-
line-height: var(--
|
|
5
|
+
font-size: var(--pvt-icon-dimension);
|
|
6
|
+
width: var(--pvt-icon-dimension);
|
|
7
|
+
height: var(--pvt-icon-dimension);
|
|
8
|
+
line-height: var(--pvt-icon-dimension);
|
|
8
9
|
}
|
|
9
10
|
.rls-icon--skeleton {
|
|
10
11
|
--pvt-icon-display: none;
|
|
@@ -13,7 +14,7 @@
|
|
|
13
14
|
}
|
|
14
15
|
.rls-icon > i {
|
|
15
16
|
display: var(--pvt-icon-display);
|
|
16
|
-
color: var(--rlc-icon-color);
|
|
17
|
+
color: var(--rlc-icon-color, inherit);
|
|
17
18
|
width: 100%;
|
|
18
19
|
height: 100%;
|
|
19
20
|
line-height: inherit;
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
.rls-input {
|
|
2
|
-
--pvt-
|
|
2
|
+
--pvt-font-color: var(--rlc-input-font-color, var(--rls-app-color-900));
|
|
3
|
+
--pvt-font-size: var(--rlc-input-font-size, var(--rls-input-font-size));
|
|
4
|
+
--pvt-letter-spacing: var(
|
|
5
|
+
--rlc-input-letter-spacing,
|
|
6
|
+
var(--rls-input-letter-spacing)
|
|
7
|
+
);
|
|
8
|
+
--pvt-height: var(--rlc-input-height, var(--rls-sizing-x12));
|
|
9
|
+
--pvt-text-align: var(--rlc-input-text-align, left);
|
|
10
|
+
--pvt-value-font-color: var(--pvt-font-color);
|
|
3
11
|
--pvt-value-opacity: 1;
|
|
4
12
|
--pvt-component-font-color: transparent;
|
|
5
13
|
position: relative;
|
|
6
14
|
width: 100%;
|
|
7
15
|
}
|
|
8
16
|
.rls-input--focused {
|
|
9
|
-
--pvt-component-font-color: var(--
|
|
17
|
+
--pvt-component-font-color: var(--pvt-font-color);
|
|
10
18
|
--pvt-value-font-color: transparent;
|
|
11
19
|
}
|
|
12
20
|
.rls-input--disabled {
|
|
@@ -15,8 +23,8 @@
|
|
|
15
23
|
.rls-input__component {
|
|
16
24
|
position: relative;
|
|
17
25
|
width: 100%;
|
|
18
|
-
height: var(--
|
|
19
|
-
line-height: var(--
|
|
26
|
+
height: var(--pvt-height);
|
|
27
|
+
line-height: var(--pvt-height);
|
|
20
28
|
padding: 0rem;
|
|
21
29
|
cursor: text;
|
|
22
30
|
border: none;
|
|
@@ -24,9 +32,9 @@
|
|
|
24
32
|
background: transparent;
|
|
25
33
|
color: var(--pvt-component-font-color);
|
|
26
34
|
font-weight: var(--rls-font-weight-medium);
|
|
27
|
-
font-size: var(--
|
|
28
|
-
text-align: var(--
|
|
29
|
-
letter-spacing: var(--
|
|
35
|
+
font-size: var(--pvt-font-size);
|
|
36
|
+
text-align: var(--pvt-text-align);
|
|
37
|
+
letter-spacing: var(--pvt-letter-spacing);
|
|
30
38
|
}
|
|
31
39
|
.rls-input__component::-webkit-outer-spin-button,
|
|
32
40
|
.rls-input__component::-webkit-inner-spin-button {
|
|
@@ -48,8 +56,8 @@
|
|
|
48
56
|
top: 0rem;
|
|
49
57
|
left: 0rem;
|
|
50
58
|
width: 100%;
|
|
51
|
-
height: var(--
|
|
52
|
-
line-height: var(--
|
|
59
|
+
height: var(--pvt-height);
|
|
60
|
+
line-height: var(--pvt-height);
|
|
53
61
|
background: transparent;
|
|
54
62
|
pointer-events: none;
|
|
55
63
|
overflow: hidden;
|
|
@@ -57,7 +65,7 @@
|
|
|
57
65
|
opacity: var(--pvt-value-opacity);
|
|
58
66
|
color: var(--pvt-value-font-color);
|
|
59
67
|
font-weight: var(--rls-font-weight-medium);
|
|
60
|
-
font-size: var(--
|
|
61
|
-
text-align: var(--
|
|
62
|
-
letter-spacing: var(--
|
|
68
|
+
font-size: var(--pvt-font-size);
|
|
69
|
+
text-align: var(--pvt-text-align);
|
|
70
|
+
letter-spacing: var(--pvt-letter-spacing);
|
|
63
71
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
.rls-label {
|
|
2
|
-
font-size: var(--rlc-label-font-size);
|
|
3
|
-
letter-spacing: var(
|
|
4
|
-
|
|
2
|
+
font-size: var(--rlc-label-font-size, var(--rls-smalltext-font-size));
|
|
3
|
+
letter-spacing: var(
|
|
4
|
+
--rlc-label-letter-spacing,
|
|
5
|
+
var(--rls-smalltext-letter-spacing)
|
|
6
|
+
);
|
|
7
|
+
line-height: var(--rlc-label-height, var(--rls-smalltext-line-height));
|
|
5
8
|
font-weight: inherit;
|
|
6
9
|
}
|
|
7
10
|
.rls-label[rls-theme] {
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
.rls-poster {
|
|
2
2
|
--pvt-background: var(--rls-theme-color-100);
|
|
3
|
+
--pvt-height: var(--rlc-poster-height, var(--rls-body-line-height));
|
|
3
4
|
--pvt-border-content: none;
|
|
4
5
|
--pvt-border-color: var(--rls-app-color-400);
|
|
5
6
|
position: relative;
|
|
6
7
|
display: block;
|
|
7
8
|
width: auto;
|
|
8
9
|
font-weight: inherit;
|
|
9
|
-
font-size: var(--rlc-poster-font-size);
|
|
10
|
-
letter-spacing: var(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
font-size: var(--rlc-poster-font-size, var(--rls-body-font-size));
|
|
11
|
+
letter-spacing: var(
|
|
12
|
+
--rlc-poster-letter-spacing,
|
|
13
|
+
var(--rls-body-letter-spacing)
|
|
14
|
+
);
|
|
15
|
+
height: var(--pvt-height);
|
|
16
|
+
line-height: var(--pvt-height);
|
|
17
|
+
padding: var(--rlc-poster-padding, var(--rls-sizing-x4));
|
|
18
|
+
text-align: var(--rlc-poster-text-align, center);
|
|
15
19
|
border-radius: var(--rls-sizing-x2);
|
|
16
20
|
color: var(--rls-app-color-600);
|
|
17
21
|
background: var(--rls-app-color-200);
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
.rls-progress-circular {
|
|
2
|
+
--pvt-dimension: var(
|
|
3
|
+
--rlc-progress-circular-dimension,
|
|
4
|
+
var(--rls-sizing-x28)
|
|
5
|
+
);
|
|
2
6
|
position: relative;
|
|
3
|
-
width: var(--
|
|
4
|
-
height: var(--
|
|
7
|
+
width: var(--pvt-dimension);
|
|
8
|
+
height: var(--pvt-dimension);
|
|
5
9
|
padding: var(--rls-sizing-x2);
|
|
6
10
|
box-sizing: border-box;
|
|
7
11
|
stroke: var(--rls-theme-color-500);
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
.rls-radiobutton {
|
|
2
|
+
--pvt-dimension: var(--rlc-radiobutton-dimension, var(--rls-sizing-x12));
|
|
3
|
+
--pvt-component-dimension: var(
|
|
4
|
+
--rlc-radiobutton-children-dimension,
|
|
5
|
+
var(--rls-sizing-x6)
|
|
6
|
+
);
|
|
2
7
|
--pvt-component-border-color: var(--rls-app-color-500);
|
|
3
8
|
--pvt-component-transform: scale(0);
|
|
4
9
|
position: relative;
|
|
5
10
|
display: flex;
|
|
6
|
-
width: var(--
|
|
7
|
-
height: var(--
|
|
11
|
+
width: var(--pvt-dimension);
|
|
12
|
+
height: var(--pvt-dimension);
|
|
8
13
|
justify-content: center;
|
|
9
14
|
align-items: center;
|
|
10
15
|
outline: none;
|
|
@@ -25,8 +30,8 @@
|
|
|
25
30
|
pointer-events: none;
|
|
26
31
|
}
|
|
27
32
|
.rls-radiobutton__component {
|
|
28
|
-
width: var(--
|
|
29
|
-
height: var(--
|
|
33
|
+
width: var(--pvt-component-dimension);
|
|
34
|
+
height: var(--pvt-component-dimension);
|
|
30
35
|
border-radius: 50%;
|
|
31
36
|
background: var(--rls-theme-color-500);
|
|
32
37
|
transform: var(--pvt-component-transform);
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
.rls-skeleton {
|
|
2
|
+
--pvt-height: var(--rlc-skeleton-height, inherit);
|
|
3
|
+
--pvt-max-height: var(--rlc-skeleton-max-height, inherit);
|
|
4
|
+
--pvt-min-height: var(--rlc-skeleton-min-height, inherit);
|
|
2
5
|
position: relative;
|
|
3
6
|
width: 100%;
|
|
4
|
-
max-height:
|
|
5
|
-
min-height:
|
|
6
|
-
height:
|
|
7
|
-
line-height:
|
|
7
|
+
max-height: var(--pvt-max-height);
|
|
8
|
+
min-height: var(--pvt-min-height);
|
|
9
|
+
height: var(--pvt-height);
|
|
10
|
+
line-height: var(--pvt-height);
|
|
8
11
|
letter-spacing: inherit;
|
|
9
12
|
overflow: hidden;
|
|
10
13
|
background: var(--rls-theme-color-100);
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
.rls-skeleton-text {
|
|
2
|
-
--
|
|
2
|
+
--pvt-height: var(--rlc-skeleton-text-height, var(--rls-body-line-height));
|
|
3
|
+
--rlc-skeleton-height: var(--pvt-height);
|
|
3
4
|
position: relative;
|
|
4
5
|
display: block;
|
|
5
6
|
overflow: inherit;
|
|
6
7
|
font-weight: inherit;
|
|
7
|
-
font-size: var(--rlc-skeleton-text-font-size);
|
|
8
|
-
letter-spacing: var(
|
|
9
|
-
|
|
8
|
+
font-size: var(--rlc-skeleton-text-font-size, var(--rls-body-font-size));
|
|
9
|
+
letter-spacing: var(
|
|
10
|
+
--rlc-skeleton-text-letter-spacing,
|
|
11
|
+
var(--rls-body-letter-spacing)
|
|
12
|
+
);
|
|
13
|
+
line-height: var(--pvt-height);
|
|
10
14
|
}
|
|
11
15
|
.rls-skeleton-text__value {
|
|
12
16
|
display: flex;
|
|
13
|
-
column-gap: var(--rlc-skeleton-text-column-gap);
|
|
17
|
+
column-gap: var(--rlc-skeleton-text-column-gap, var(--rls-sizing-x4));
|
|
14
18
|
align-items: center;
|
|
15
19
|
font-weight: inherit;
|
|
16
20
|
font-size: inherit;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
.rls-switch {
|
|
2
|
+
--pvt-element-size: var(--rlc-switch-element-size, var(--rls-sizing-x10));
|
|
2
3
|
--pvt-element-left: var(--rls-sizing-x1);
|
|
3
4
|
--pvt-element-border-color: var(--rls-app-color-400);
|
|
4
5
|
--pvt-element-background: var(--rls-app-color-050);
|
|
5
6
|
--pvt-element-item-background: transparent;
|
|
6
|
-
--pvt-bar-background: var(--rls-app-color-
|
|
7
|
-
max-width: var(--rlc-switch-max-width);
|
|
7
|
+
--pvt-bar-background: var(--rls-app-color-300);
|
|
8
|
+
max-width: var(--rlc-switch-max-width, var(--rls-sizing-x18));
|
|
8
9
|
}
|
|
9
10
|
.rls-switch:hover {
|
|
10
11
|
cursor: pointer;
|
|
11
12
|
}
|
|
12
13
|
.rls-switch--checked {
|
|
13
14
|
--pvt-element-left: calc(
|
|
14
|
-
100% - var(--
|
|
15
|
+
100% - var(--pvt-element-size) - var(--rls-sizing-x1)
|
|
15
16
|
);
|
|
16
17
|
--pvt-element-border-color: var(--rls-theme-color-500);
|
|
17
18
|
--pvt-element-background: var(--rls-theme-color-050);
|
|
@@ -32,8 +33,8 @@
|
|
|
32
33
|
position: absolute;
|
|
33
34
|
top: 0rem;
|
|
34
35
|
left: var(--pvt-element-left);
|
|
35
|
-
width: var(--
|
|
36
|
-
height: var(--
|
|
36
|
+
width: var(--pvt-element-size);
|
|
37
|
+
height: var(--pvt-element-size);
|
|
37
38
|
z-index: var(--rls-z-index-2);
|
|
38
39
|
padding: var(--rls-sizing-x2);
|
|
39
40
|
box-sizing: border-box;
|
|
@@ -53,6 +54,6 @@
|
|
|
53
54
|
.rls-switch__component__bar {
|
|
54
55
|
background: var(--pvt-bar-background);
|
|
55
56
|
width: 100%;
|
|
56
|
-
height: var(--rlc-switch-bar-height);
|
|
57
|
-
border-radius: var(--rlc-switch-bar-radius);
|
|
57
|
+
height: var(--rlc-switch-bar-height, var(--rls-sizing-x4));
|
|
58
|
+
border-radius: var(--rlc-switch-bar-radius, var(--rls-sizing-x2));
|
|
58
59
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
.rls-tabular-text {
|
|
2
2
|
display: flex;
|
|
3
3
|
width: auto;
|
|
4
|
-
justify-content: var(--rlc-tabulartext-text-align);
|
|
4
|
+
justify-content: var(--rlc-tabulartext-text-align, flex-start);
|
|
5
5
|
}
|
|
6
6
|
.rls-tabular-text span {
|
|
7
|
-
font-size: var(--rlc-tabulartext-font-size);
|
|
7
|
+
font-size: var(--rlc-tabulartext-font-size, var(--rls-body-font-size));
|
|
8
8
|
}
|
|
9
9
|
.rls-tabular-text__char {
|
|
10
10
|
display: block;
|
|
11
11
|
text-align: center;
|
|
12
|
-
width: var(--rlc-tabulartext-char-width);
|
|
12
|
+
width: var(--rlc-tabulartext-char-width, 5.5rem);
|
|
13
13
|
}
|
|
14
14
|
.rls-tabular-text__pointer {
|
|
15
15
|
display: block;
|
|
16
16
|
text-align: center;
|
|
17
|
-
width: var(--rlc-tabulartext-pointer-width);
|
|
17
|
+
width: var(--rlc-tabulartext-pointer-width, 2rem);
|
|
18
18
|
}
|
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
.rls-ballot {
|
|
2
2
|
--rlc-avatar-width: var(--rls-sizing-x20);
|
|
3
3
|
--rlc-avatar-height: var(--rls-sizing-x20);
|
|
4
|
+
--pvt-title-letter-spacing: var(
|
|
5
|
+
--rlc-ballot-title-letter-spacing,
|
|
6
|
+
var(--rls-label-letter-spacing)
|
|
7
|
+
);
|
|
8
|
+
--pvt-title-font-size: var(
|
|
9
|
+
--rlc-ballot-title-font-size,
|
|
10
|
+
var(--rls-label-font-size)
|
|
11
|
+
);
|
|
12
|
+
--pvt-title-height: var(
|
|
13
|
+
--rlc-ballot-title-height,
|
|
14
|
+
var(--rls-label-line-height)
|
|
15
|
+
);
|
|
16
|
+
--pvt-subtitle-letter-spacing: var(
|
|
17
|
+
--rlc-ballot-subtitle-letter-spacing,
|
|
18
|
+
var(--rls-smalltext-letter-spacing)
|
|
19
|
+
);
|
|
20
|
+
--pvt-subtitle-height: var(
|
|
21
|
+
--rlc-ballot-subtitle-height,
|
|
22
|
+
var(--rls-smalltext-line-height)
|
|
23
|
+
);
|
|
4
24
|
position: relative;
|
|
5
25
|
display: flex;
|
|
6
26
|
width: 100%;
|
|
7
27
|
align-items: center;
|
|
8
28
|
column-gap: var(--rls-sizing-x4);
|
|
9
|
-
padding: var(--rlc-ballot-padding);
|
|
29
|
+
padding: var(--rlc-ballot-padding, var(--rls-sizing-x4));
|
|
10
30
|
box-sizing: border-box;
|
|
11
31
|
overflow: hidden;
|
|
12
32
|
}
|
|
@@ -21,40 +41,49 @@
|
|
|
21
41
|
display: flex;
|
|
22
42
|
overflow: hidden;
|
|
23
43
|
flex-direction: column;
|
|
24
|
-
row-gap: var(--rlc-ballot-component-row-gap);
|
|
44
|
+
row-gap: var(--rlc-ballot-component-row-gap, var(--rls-sizing-x2));
|
|
25
45
|
}
|
|
26
46
|
.rls-ballot .rls-avatar + .rls-ballot__component {
|
|
27
47
|
width: calc(100% - var(--rlc-avatar-width) - var(--rls-sizing-x4));
|
|
28
48
|
}
|
|
29
49
|
.rls-ballot__title {
|
|
30
|
-
--rlc-skeleton-text-height: var(--
|
|
31
|
-
--rlc-skeleton-text-letter-spacing: var(--
|
|
32
|
-
--rlc-skeleton-text-font-size: var(--
|
|
50
|
+
--rlc-skeleton-text-height: var(--pvt-title-height);
|
|
51
|
+
--rlc-skeleton-text-letter-spacing: var(--pvt-title-letter-spacing);
|
|
52
|
+
--rlc-skeleton-text-font-size: var(--pvt-title-font-size);
|
|
33
53
|
position: relative;
|
|
34
54
|
width: 100%;
|
|
35
55
|
color: var(--rls-app-color-900);
|
|
36
56
|
overflow: hidden;
|
|
37
57
|
white-space: nowrap;
|
|
38
58
|
text-overflow: ellipsis;
|
|
39
|
-
font-weight: var(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
59
|
+
font-weight: var(
|
|
60
|
+
--rlc-ballot-title-font-weight,
|
|
61
|
+
var(--rls-font-weight-medium)
|
|
62
|
+
);
|
|
63
|
+
font-size: var(--pvt-title-font-size);
|
|
64
|
+
letter-spacing: var(--pvt-title-letter-spacing);
|
|
65
|
+
min-height: var(--pvt-title-height);
|
|
66
|
+
line-height: var(--pvt-title-height);
|
|
44
67
|
}
|
|
45
68
|
.rls-ballot__subtitle {
|
|
46
|
-
--rlc-skeleton-text-height: var(--
|
|
47
|
-
--rlc-skeleton-text-letter-spacing: var(--
|
|
48
|
-
--rlc-skeleton-text-font-size: var(
|
|
69
|
+
--rlc-skeleton-text-height: var(--pvt-subtitle-height);
|
|
70
|
+
--rlc-skeleton-text-letter-spacing: var(--pvt-subtitle-letter-spacing);
|
|
71
|
+
--rlc-skeleton-text-font-size: var(
|
|
72
|
+
--rlc-ballot-subtitle-font-size,
|
|
73
|
+
var(--rls-smalltext-font-size)
|
|
74
|
+
);
|
|
49
75
|
position: relative;
|
|
50
|
-
width: var(--rlc-ballot-subtitle-width);
|
|
76
|
+
width: var(--rlc-ballot-subtitle-width, 100%);
|
|
51
77
|
color: var(--rls-app-color-600);
|
|
52
|
-
font-weight: var(
|
|
78
|
+
font-weight: var(
|
|
79
|
+
--rlc-ballot-subtitle-font-weight,
|
|
80
|
+
var(--rls-font-weight-semibold)
|
|
81
|
+
);
|
|
53
82
|
font-size: var(--rls-ballot-subtitle-font-size);
|
|
54
|
-
letter-spacing: var(--
|
|
55
|
-
min-height: var(--
|
|
56
|
-
line-height: var(--
|
|
57
|
-
overflow: var(--rlc-ballot-subtitle-overflow);
|
|
58
|
-
text-overflow: var(--rlc-ballot-subtitle-text-overflow);
|
|
59
|
-
white-space: var(--rlc-ballot-subtitle-white-space);
|
|
83
|
+
letter-spacing: var(--pvt-subtitle-letter-spacing);
|
|
84
|
+
min-height: var(--pvt-subtitle-height);
|
|
85
|
+
line-height: var(--pvt-subtitle-height);
|
|
86
|
+
overflow: var(--rlc-ballot-subtitle-overflow, initial);
|
|
87
|
+
text-overflow: var(--rlc-ballot-subtitle-text-overflow, initial);
|
|
88
|
+
white-space: var(--rlc-ballot-subtitle-white-space, initial);
|
|
60
89
|
}
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
.rls-picker-day__element--focused {
|
|
65
65
|
--pvt-span-background: var(--rls-theme-color-500);
|
|
66
|
-
--pvt-span-font-color: var(--rls-theme-
|
|
66
|
+
--pvt-span-font-color: var(--rls-theme-color-050);
|
|
67
67
|
--pvt-span-border: var(--rls-theme-border-1-500);
|
|
68
68
|
}
|
|
69
69
|
.rls-picker-day__element--forbidden {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
.rls-picker-month__component--focused {
|
|
39
39
|
--pvt-component-background: var(--rls-theme-color-500);
|
|
40
|
-
--pvt-component-font-color: var(--rls-theme-
|
|
40
|
+
--pvt-component-font-color: var(--rls-theme-color-050);
|
|
41
41
|
--pvt-component-border: var(--rls-theme-border-1-500);
|
|
42
42
|
}
|
|
43
43
|
.rls-picker-month__component--disabled {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
}
|
|
78
78
|
.rls-picker-year__element--focused {
|
|
79
79
|
--pvt-component-background: var(--rls-theme-color-500);
|
|
80
|
-
--pvt-component-font-color: var(--rls-theme-
|
|
80
|
+
--pvt-component-font-color: var(--rls-theme-color-050);
|
|
81
81
|
--pvt-component-border: var(--rls-theme-border-1-500);
|
|
82
82
|
}
|
|
83
83
|
.rls-picker-year__element--disabled {
|