@rolster/styles-foundations 3.0.4 → 3.0.6
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 +21 -21
- package/dist/design-system-bordered.css +19 -19
- package/dist/design-system-bordered.css.map +1 -1
- package/dist/design-system-bordered.min.css +5 -5
- package/dist/design-system-filled.css +20 -21
- package/dist/design-system-filled.css.map +1 -1
- package/dist/design-system-filled.min.css +5 -5
- package/package.json +59 -41
- package/scss/design-system-bordered/app.scss +228 -228
- package/scss/design-system-bordered/atoms/amount.scss +58 -58
- package/scss/design-system-bordered/atoms/area-text.scss +100 -100
- package/scss/design-system-bordered/atoms/avatar.scss +50 -50
- package/scss/design-system-bordered/atoms/badge.scss +51 -51
- package/scss/design-system-bordered/atoms/breadcrumb.scss +87 -87
- package/scss/design-system-bordered/atoms/button-action.scss +124 -124
- package/scss/design-system-bordered/atoms/button-option.scss +49 -49
- package/scss/design-system-bordered/atoms/image.scss +38 -37
- package/scss/design-system-bordered/atoms/input-decimal.scss +15 -15
- package/scss/design-system-bordered/atoms/input-money.scss +15 -15
- package/scss/design-system-bordered/atoms/input-number.scss +12 -12
- package/scss/design-system-bordered/atoms/input-password.scss +48 -48
- package/scss/design-system-bordered/atoms/input-percentage.scss +12 -12
- package/scss/design-system-bordered/atoms/input-search.scss +28 -28
- package/scss/design-system-bordered/atoms/input-text.scss +12 -12
- package/scss/design-system-bordered/atoms/label.scss +20 -20
- package/scss/design-system-bordered/atoms/led.scss +32 -31
- package/scss/design-system-bordered/atoms/message-icon.scss +21 -21
- package/scss/design-system-bordered/atoms/poster.scss +42 -42
- package/scss/design-system-bordered/atoms/progress-bar.scss +83 -83
- package/scss/design-system-bordered/atoms/progress-circular.scss +59 -59
- package/scss/design-system-bordered/atoms/radio-button.scss +55 -55
- package/scss/design-system-bordered/atoms/spinner.scss +102 -102
- package/scss/design-system-bordered/atoms/switch.scss +71 -71
- package/scss/design-system-bordered/atoms/tabular-text.scss +38 -38
- package/scss/design-system-bordered/molecules/alert.scss +52 -52
- package/scss/design-system-bordered/molecules/button-progress.scss +15 -15
- package/scss/design-system-bordered/molecules/button-toggle.scss +100 -100
- package/scss/design-system-bordered/molecules/field-area.scss +13 -13
- package/scss/design-system-bordered/molecules/field-decimal.scss +14 -14
- package/scss/design-system-bordered/molecules/field-file.scss +41 -41
- package/scss/design-system-bordered/molecules/field-list-suggestions.scss +65 -65
- package/scss/design-system-bordered/molecules/field-money.scss +14 -14
- package/scss/design-system-bordered/molecules/field-password.scss +23 -23
- package/scss/design-system-bordered/molecules/field-readonly.scss +24 -24
- package/scss/design-system-bordered/molecules/label-check-box.scss +72 -72
- package/scss/design-system-bordered/molecules/label-radio-button.scss +79 -79
- package/scss/design-system-bordered/molecules/label-switch.scss +71 -71
- package/scss/design-system-bordered/molecules/message-empty.scss +16 -17
- package/scss/design-system-bordered/molecules/pagination.scss +114 -114
- package/scss/design-system-bordered/molecules/picker-day-range.scss +109 -109
- package/scss/design-system-bordered/molecules/picker-day.scss +117 -117
- package/scss/design-system-bordered/molecules/picker-month.scss +67 -67
- package/scss/design-system-bordered/molecules/picker-selector-title.scss +54 -54
- package/scss/design-system-bordered/molecules/picker-year.scss +113 -113
- package/scss/design-system-bordered/molecules/slider.scss +74 -74
- package/scss/design-system-bordered/molecules/tabs.scss +51 -51
- package/scss/design-system-bordered/molecules/toolbar.scss +53 -53
- package/scss/design-system-bordered/organisms/bottom-sheet.scss +108 -108
- package/scss/design-system-bordered/organisms/card.scss +36 -36
- package/scss/design-system-bordered/organisms/confirmation.scss +186 -186
- package/scss/design-system-bordered/organisms/dropdown.scss +45 -45
- package/scss/design-system-bordered/organisms/field-autocomplete.scss +79 -79
- package/scss/design-system-bordered/organisms/field-clock.scss +62 -62
- package/scss/design-system-bordered/organisms/field-date-range.scss +60 -60
- package/scss/design-system-bordered/organisms/field-date.scss +61 -61
- package/scss/design-system-bordered/organisms/form-navigation.scss +46 -46
- package/scss/design-system-bordered/organisms/image-chooser.scss +50 -50
- package/scss/design-system-bordered/organisms/image-editor-modal.scss +23 -23
- package/scss/design-system-bordered/organisms/image-editor.scss +118 -118
- package/scss/design-system-bordered/organisms/modal-sheet.scss +138 -138
- package/scss/design-system-bordered/organisms/modal.scss +75 -75
- package/scss/design-system-bordered/organisms/picker-clock.scss +144 -144
- package/scss/design-system-bordered/organisms/picker-date-range.scss +84 -84
- package/scss/design-system-bordered/organisms/picker-date.scss +86 -86
- package/scss/design-system-bordered/organisms/snackbar.scss +93 -93
- package/scss/design-system-filled/atoms/image.scss +3 -2
- package/scss/design-system-filled/atoms/led.scss +31 -31
- package/scss/design-system-filled/molecules/message-empty.scss +16 -17
- package/scss/foundations/borders.scss +14 -14
- package/scss/foundations/elevations.scss +130 -130
- package/scss/foundations/flex-boxs.scss +96 -96
- package/scss/foundations/helpers.scss +123 -123
- package/scss/foundations/themes.scss +230 -230
- package/scss/utilities/helpers.scss +124 -124
- package/scss/utilities/layout.scss +83 -83
- package/scss/utilities/typographics.scss +208 -208
- /package/scss/design-system-bordered/{_index.scss → index.scss} +0 -0
- /package/scss/design-system-filled/{_index.scss → index.scss} +0 -0
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
// Rolster Technology Radiobutton Component
|
|
2
|
-
// v1.3.2
|
|
3
|
-
// @license MIT
|
|
4
|
-
// Author: Rolster Developers
|
|
5
|
-
// Created: 20/Mar/2018
|
|
6
|
-
// Updated: 16/Ene/2026
|
|
7
|
-
|
|
8
|
-
.rls-radiobutton {
|
|
9
|
-
--pvt-dimension: var(--rlc-radiobutton-dimension, var(--rls-sizing-x12));
|
|
10
|
-
--pvt-component-dimension: calc(var(--pvt-dimension) / 2);
|
|
11
|
-
--pvt-component-background: transparent;
|
|
12
|
-
|
|
13
|
-
position: relative;
|
|
14
|
-
display: flex;
|
|
15
|
-
width: var(--pvt-dimension);
|
|
16
|
-
height: var(--pvt-dimension);
|
|
17
|
-
justify-content: center;
|
|
18
|
-
align-items: center;
|
|
19
|
-
outline: none;
|
|
20
|
-
border-radius: 50%;
|
|
21
|
-
box-sizing: border-box;
|
|
22
|
-
background: transparent;
|
|
23
|
-
border: var(--rls-app-border-1-400);
|
|
24
|
-
transition: all 160ms 0ms var(--rls-standard-curve);
|
|
25
|
-
|
|
26
|
-
&:hover {
|
|
27
|
-
cursor: var(--rlc-radiobutton-cursor, initial);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&--checked {
|
|
31
|
-
--pvt-component-background: var(--rls-app-color-050);
|
|
32
|
-
|
|
33
|
-
background: var(--rls-theme-gradient-500);
|
|
34
|
-
border: var(--rls-theme-border-1-500);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&--disabled {
|
|
38
|
-
opacity: 0.5;
|
|
39
|
-
pointer-events: none;
|
|
40
|
-
background: var(--rls-app-color-300);
|
|
41
|
-
border: none;
|
|
42
|
-
|
|
43
|
-
&.rls-radiobutton--checked {
|
|
44
|
-
--pvt-component-background: var(--rls-app-color-500);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&__component {
|
|
49
|
-
width: var(--pvt-component-dimension);
|
|
50
|
-
height: var(--pvt-component-dimension);
|
|
51
|
-
border-radius: 50%;
|
|
52
|
-
background: var(--pvt-component-background);
|
|
53
|
-
transition: all 160ms 0ms var(--rls-standard-curve);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
// Rolster Technology Radiobutton Component
|
|
2
|
+
// v1.3.2
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 20/Mar/2018
|
|
6
|
+
// Updated: 16/Ene/2026
|
|
7
|
+
|
|
8
|
+
.rls-radiobutton {
|
|
9
|
+
--pvt-dimension: var(--rlc-radiobutton-dimension, var(--rls-sizing-x12));
|
|
10
|
+
--pvt-component-dimension: calc(var(--pvt-dimension) / 2);
|
|
11
|
+
--pvt-component-background: transparent;
|
|
12
|
+
|
|
13
|
+
position: relative;
|
|
14
|
+
display: flex;
|
|
15
|
+
width: var(--pvt-dimension);
|
|
16
|
+
height: var(--pvt-dimension);
|
|
17
|
+
justify-content: center;
|
|
18
|
+
align-items: center;
|
|
19
|
+
outline: none;
|
|
20
|
+
border-radius: 50%;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
background: transparent;
|
|
23
|
+
border: var(--rls-app-border-1-400);
|
|
24
|
+
transition: all 160ms 0ms var(--rls-standard-curve);
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
cursor: var(--rlc-radiobutton-cursor, initial);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--checked {
|
|
31
|
+
--pvt-component-background: var(--rls-app-color-050);
|
|
32
|
+
|
|
33
|
+
background: var(--rls-theme-gradient-500);
|
|
34
|
+
border: var(--rls-theme-border-1-500);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&--disabled {
|
|
38
|
+
opacity: 0.5;
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
background: var(--rls-app-color-300);
|
|
41
|
+
border: none;
|
|
42
|
+
|
|
43
|
+
&.rls-radiobutton--checked {
|
|
44
|
+
--pvt-component-background: var(--rls-app-color-500);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__component {
|
|
49
|
+
width: var(--pvt-component-dimension);
|
|
50
|
+
height: var(--pvt-component-dimension);
|
|
51
|
+
border-radius: 50%;
|
|
52
|
+
background: var(--pvt-component-background);
|
|
53
|
+
transition: all 160ms 0ms var(--rls-standard-curve);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
// Rolster Technology Spinner Component
|
|
2
|
-
// v1.0.0
|
|
3
|
-
// @license MIT
|
|
4
|
-
// Author: Rolster Developers
|
|
5
|
-
// Created: 21/May/2022
|
|
6
|
-
// Updated: 20/Dic/2023
|
|
7
|
-
|
|
8
|
-
.rls-spinner {
|
|
9
|
-
position: relative;
|
|
10
|
-
display: block;
|
|
11
|
-
width: var(--rlc-spinner-dimension, var(--rls-sizing-x12));
|
|
12
|
-
height: var(--rlc-spinner-dimension, var(--rls-sizing-x12));
|
|
13
|
-
fill: var(--rlc-spinner-color, var(--rls-app-color-800));
|
|
14
|
-
|
|
15
|
-
&__svg {
|
|
16
|
-
position: absolute;
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: 100%;
|
|
19
|
-
fill: inherit;
|
|
20
|
-
transform-origin: center center;
|
|
21
|
-
transform: translateZ(0px);
|
|
22
|
-
animation: 1s linear 0s infinite normal none running rls-spinner-scale-out;
|
|
23
|
-
|
|
24
|
-
& > circle {
|
|
25
|
-
r: 5;
|
|
26
|
-
transform: translate(32px, 32px);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&--1 {
|
|
30
|
-
top: 0px;
|
|
31
|
-
left: 9px;
|
|
32
|
-
animation-delay: -1000ms;
|
|
33
|
-
animation-duration: 1000ms;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&--2 {
|
|
37
|
-
top: 5.78509px;
|
|
38
|
-
left: 6.8944px;
|
|
39
|
-
animation-delay: -888.889ms;
|
|
40
|
-
animation-duration: 1000ms;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&--3 {
|
|
44
|
-
top: 8.86327px;
|
|
45
|
-
left: 1.56283px;
|
|
46
|
-
animation-delay: -777.778ms;
|
|
47
|
-
animation-duration: 1000ms;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&--4 {
|
|
51
|
-
top: 7.79423px;
|
|
52
|
-
left: -4.5px;
|
|
53
|
-
animation-delay: -666.667ms;
|
|
54
|
-
animation-duration: 1000ms;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&--5 {
|
|
58
|
-
top: 3.07818px;
|
|
59
|
-
left: -8.45723px;
|
|
60
|
-
animation-delay: -555.556ms;
|
|
61
|
-
animation-duration: 1000ms;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&--6 {
|
|
65
|
-
top: -3.07818px;
|
|
66
|
-
left: -8.45723px;
|
|
67
|
-
animation-delay: -444.444ms;
|
|
68
|
-
animation-duration: 1000ms;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&--7 {
|
|
72
|
-
top: -7.79423px;
|
|
73
|
-
left: -4.5px;
|
|
74
|
-
animation-delay: -333.333ms;
|
|
75
|
-
animation-duration: 1000ms;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&--8 {
|
|
79
|
-
top: -8.86327px;
|
|
80
|
-
left: 1.56283px;
|
|
81
|
-
animation-delay: -222.222ms;
|
|
82
|
-
animation-duration: 1000ms;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&--9 {
|
|
86
|
-
top: -5.78509px;
|
|
87
|
-
left: 6.8944px;
|
|
88
|
-
animation-delay: -111.111ms;
|
|
89
|
-
animation-duration: 1000ms;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
@keyframes rls-spinner-scale-out {
|
|
95
|
-
0% {
|
|
96
|
-
transform: scale(1, 1);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
100% {
|
|
100
|
-
transform: scale(0, 0);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
1
|
+
// Rolster Technology Spinner Component
|
|
2
|
+
// v1.0.0
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 21/May/2022
|
|
6
|
+
// Updated: 20/Dic/2023
|
|
7
|
+
|
|
8
|
+
.rls-spinner {
|
|
9
|
+
position: relative;
|
|
10
|
+
display: block;
|
|
11
|
+
width: var(--rlc-spinner-dimension, var(--rls-sizing-x12));
|
|
12
|
+
height: var(--rlc-spinner-dimension, var(--rls-sizing-x12));
|
|
13
|
+
fill: var(--rlc-spinner-color, var(--rls-app-color-800));
|
|
14
|
+
|
|
15
|
+
&__svg {
|
|
16
|
+
position: absolute;
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
fill: inherit;
|
|
20
|
+
transform-origin: center center;
|
|
21
|
+
transform: translateZ(0px);
|
|
22
|
+
animation: 1s linear 0s infinite normal none running rls-spinner-scale-out;
|
|
23
|
+
|
|
24
|
+
& > circle {
|
|
25
|
+
r: 5;
|
|
26
|
+
transform: translate(32px, 32px);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&--1 {
|
|
30
|
+
top: 0px;
|
|
31
|
+
left: 9px;
|
|
32
|
+
animation-delay: -1000ms;
|
|
33
|
+
animation-duration: 1000ms;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&--2 {
|
|
37
|
+
top: 5.78509px;
|
|
38
|
+
left: 6.8944px;
|
|
39
|
+
animation-delay: -888.889ms;
|
|
40
|
+
animation-duration: 1000ms;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&--3 {
|
|
44
|
+
top: 8.86327px;
|
|
45
|
+
left: 1.56283px;
|
|
46
|
+
animation-delay: -777.778ms;
|
|
47
|
+
animation-duration: 1000ms;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&--4 {
|
|
51
|
+
top: 7.79423px;
|
|
52
|
+
left: -4.5px;
|
|
53
|
+
animation-delay: -666.667ms;
|
|
54
|
+
animation-duration: 1000ms;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&--5 {
|
|
58
|
+
top: 3.07818px;
|
|
59
|
+
left: -8.45723px;
|
|
60
|
+
animation-delay: -555.556ms;
|
|
61
|
+
animation-duration: 1000ms;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&--6 {
|
|
65
|
+
top: -3.07818px;
|
|
66
|
+
left: -8.45723px;
|
|
67
|
+
animation-delay: -444.444ms;
|
|
68
|
+
animation-duration: 1000ms;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&--7 {
|
|
72
|
+
top: -7.79423px;
|
|
73
|
+
left: -4.5px;
|
|
74
|
+
animation-delay: -333.333ms;
|
|
75
|
+
animation-duration: 1000ms;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&--8 {
|
|
79
|
+
top: -8.86327px;
|
|
80
|
+
left: 1.56283px;
|
|
81
|
+
animation-delay: -222.222ms;
|
|
82
|
+
animation-duration: 1000ms;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&--9 {
|
|
86
|
+
top: -5.78509px;
|
|
87
|
+
left: 6.8944px;
|
|
88
|
+
animation-delay: -111.111ms;
|
|
89
|
+
animation-duration: 1000ms;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@keyframes rls-spinner-scale-out {
|
|
95
|
+
0% {
|
|
96
|
+
transform: scale(1, 1);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
100% {
|
|
100
|
+
transform: scale(0, 0);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
// Rolster Technology Switch Component
|
|
2
|
-
// v1.3.0
|
|
3
|
-
// @license MIT
|
|
4
|
-
// Author: Rolster Developers
|
|
5
|
-
// Created: 25/Mar/2018
|
|
6
|
-
// Updated: 28/Oct/2025
|
|
7
|
-
|
|
8
|
-
.rls-switch {
|
|
9
|
-
--pvt-component-background: var(--rls-app-color-400);
|
|
10
|
-
--pvt-component-height: var(
|
|
11
|
-
--rlc-switch-component-height,
|
|
12
|
-
var(--rls-sizing-x12)
|
|
13
|
-
);
|
|
14
|
-
|
|
15
|
-
--pvt-element-left: var(--rls-sizing-x2);
|
|
16
|
-
--pvt-element-width: var(--rlc-switch-element-width, var(--rls-sizing-x8));
|
|
17
|
-
--pvt-element-height: var(--rlc-switch-element-height, var(--rls-sizing-x8));
|
|
18
|
-
--pvt-element-radius: var(--rlc-switch-element-radius, 50%);
|
|
19
|
-
|
|
20
|
-
max-width: var(--rlc-switch-max-width, var(--rls-sizing-x20));
|
|
21
|
-
|
|
22
|
-
&:hover {
|
|
23
|
-
cursor: var(--rlc-switch-cursor, initial);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&--capsule {
|
|
27
|
-
--pvt-component-height: var(--rls-sizing-x8);
|
|
28
|
-
--pvt-element-height: var(--rls-sizing-x4);
|
|
29
|
-
--pvt-element-radius: var(--rls-sizing-x4);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&--checked {
|
|
33
|
-
--pvt-component-background: var(--rls-theme-gradient-500);
|
|
34
|
-
--pvt-element-left: calc(
|
|
35
|
-
100% - var(--pvt-element-width) - var(--rls-sizing-x2)
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&--disabled {
|
|
40
|
-
--pvt-component-background: var(--rls-app-color-300);
|
|
41
|
-
|
|
42
|
-
opacity: 0.5;
|
|
43
|
-
pointer-events: none;
|
|
44
|
-
|
|
45
|
-
&.rls-switch--checked {
|
|
46
|
-
--pvt-component-background: var(--rls-theme-color-400);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&__component {
|
|
51
|
-
position: relative;
|
|
52
|
-
width: 100%;
|
|
53
|
-
height: var(--pvt-component-height);
|
|
54
|
-
background: var(--pvt-component-background);
|
|
55
|
-
border-radius: var(--rls-sizing-x6);
|
|
56
|
-
|
|
57
|
-
&__element {
|
|
58
|
-
position: absolute;
|
|
59
|
-
top: var(--rls-sizing-x2);
|
|
60
|
-
left: var(--pvt-element-left);
|
|
61
|
-
width: var(--pvt-element-width);
|
|
62
|
-
height: var(--pvt-element-height);
|
|
63
|
-
border-radius: var(--pvt-element-radius);
|
|
64
|
-
padding: var(--rls-sizing-x2);
|
|
65
|
-
box-sizing: border-box;
|
|
66
|
-
z-index: var(--rls-z-index-2);
|
|
67
|
-
background: var(--rls-app-color-050);
|
|
68
|
-
transition: all 160ms var(--rls-standard-curve);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
1
|
+
// Rolster Technology Switch Component
|
|
2
|
+
// v1.3.0
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 25/Mar/2018
|
|
6
|
+
// Updated: 28/Oct/2025
|
|
7
|
+
|
|
8
|
+
.rls-switch {
|
|
9
|
+
--pvt-component-background: var(--rls-app-color-400);
|
|
10
|
+
--pvt-component-height: var(
|
|
11
|
+
--rlc-switch-component-height,
|
|
12
|
+
var(--rls-sizing-x12)
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
--pvt-element-left: var(--rls-sizing-x2);
|
|
16
|
+
--pvt-element-width: var(--rlc-switch-element-width, var(--rls-sizing-x8));
|
|
17
|
+
--pvt-element-height: var(--rlc-switch-element-height, var(--rls-sizing-x8));
|
|
18
|
+
--pvt-element-radius: var(--rlc-switch-element-radius, 50%);
|
|
19
|
+
|
|
20
|
+
max-width: var(--rlc-switch-max-width, var(--rls-sizing-x20));
|
|
21
|
+
|
|
22
|
+
&:hover {
|
|
23
|
+
cursor: var(--rlc-switch-cursor, initial);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&--capsule {
|
|
27
|
+
--pvt-component-height: var(--rls-sizing-x8);
|
|
28
|
+
--pvt-element-height: var(--rls-sizing-x4);
|
|
29
|
+
--pvt-element-radius: var(--rls-sizing-x4);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&--checked {
|
|
33
|
+
--pvt-component-background: var(--rls-theme-gradient-500);
|
|
34
|
+
--pvt-element-left: calc(
|
|
35
|
+
100% - var(--pvt-element-width) - var(--rls-sizing-x2)
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&--disabled {
|
|
40
|
+
--pvt-component-background: var(--rls-app-color-300);
|
|
41
|
+
|
|
42
|
+
opacity: 0.5;
|
|
43
|
+
pointer-events: none;
|
|
44
|
+
|
|
45
|
+
&.rls-switch--checked {
|
|
46
|
+
--pvt-component-background: var(--rls-theme-color-400);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&__component {
|
|
51
|
+
position: relative;
|
|
52
|
+
width: 100%;
|
|
53
|
+
height: var(--pvt-component-height);
|
|
54
|
+
background: var(--pvt-component-background);
|
|
55
|
+
border-radius: var(--rls-sizing-x6);
|
|
56
|
+
|
|
57
|
+
&__element {
|
|
58
|
+
position: absolute;
|
|
59
|
+
top: var(--rls-sizing-x2);
|
|
60
|
+
left: var(--pvt-element-left);
|
|
61
|
+
width: var(--pvt-element-width);
|
|
62
|
+
height: var(--pvt-element-height);
|
|
63
|
+
border-radius: var(--pvt-element-radius);
|
|
64
|
+
padding: var(--rls-sizing-x2);
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
z-index: var(--rls-z-index-2);
|
|
67
|
+
background: var(--rls-app-color-050);
|
|
68
|
+
transition: all 160ms var(--rls-standard-curve);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
// Rolster Technology TabularText Component
|
|
2
|
-
// v1.1.2
|
|
3
|
-
// @license MIT
|
|
4
|
-
// Author: Rolster Developers
|
|
5
|
-
// Created: 05/Jun/2023
|
|
6
|
-
// Updated: 01/Jul/2025
|
|
7
|
-
|
|
8
|
-
.rls-tabular-text {
|
|
9
|
-
--pvt-char-font-size: var(
|
|
10
|
-
--rlc-tabular-text-font-size,
|
|
11
|
-
var(--rls-body-font-size)
|
|
12
|
-
);
|
|
13
|
-
|
|
14
|
-
--pvt-char-font-weight: var(--rlc-tabular-text-font-weight, inherit);
|
|
15
|
-
--pvt-char-height: var(--pvt-char-font-size);
|
|
16
|
-
--pvt-char-width: var(--rlc-tabular-text-char-width, 5.5rem);
|
|
17
|
-
--pvt-pointer-width: var(--rlc-tabular-text-pointer-width, 2rem);
|
|
18
|
-
|
|
19
|
-
display: flex;
|
|
20
|
-
width: auto;
|
|
21
|
-
height: var(--pvt-char-height);
|
|
22
|
-
line-height: var(--pvt-char-height);
|
|
23
|
-
font-size: var(--pvt-char-font-size);
|
|
24
|
-
font-weight: var(--pvt-char-font-weight);
|
|
25
|
-
justify-content: var(--rlc-tabular-text-align, flex-start);
|
|
26
|
-
|
|
27
|
-
&__char {
|
|
28
|
-
display: block;
|
|
29
|
-
width: var(--pvt-char-width);
|
|
30
|
-
text-align: center;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&__pointer {
|
|
34
|
-
display: block;
|
|
35
|
-
width: var(--pvt-pointer-width);
|
|
36
|
-
text-align: center;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
// Rolster Technology TabularText Component
|
|
2
|
+
// v1.1.2
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 05/Jun/2023
|
|
6
|
+
// Updated: 01/Jul/2025
|
|
7
|
+
|
|
8
|
+
.rls-tabular-text {
|
|
9
|
+
--pvt-char-font-size: var(
|
|
10
|
+
--rlc-tabular-text-font-size,
|
|
11
|
+
var(--rls-body-font-size)
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
--pvt-char-font-weight: var(--rlc-tabular-text-font-weight, inherit);
|
|
15
|
+
--pvt-char-height: var(--pvt-char-font-size);
|
|
16
|
+
--pvt-char-width: var(--rlc-tabular-text-char-width, 5.5rem);
|
|
17
|
+
--pvt-pointer-width: var(--rlc-tabular-text-pointer-width, 2rem);
|
|
18
|
+
|
|
19
|
+
display: flex;
|
|
20
|
+
width: auto;
|
|
21
|
+
height: var(--pvt-char-height);
|
|
22
|
+
line-height: var(--pvt-char-height);
|
|
23
|
+
font-size: var(--pvt-char-font-size);
|
|
24
|
+
font-weight: var(--pvt-char-font-weight);
|
|
25
|
+
justify-content: var(--rlc-tabular-text-align, flex-start);
|
|
26
|
+
|
|
27
|
+
&__char {
|
|
28
|
+
display: block;
|
|
29
|
+
width: var(--pvt-char-width);
|
|
30
|
+
text-align: center;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__pointer {
|
|
34
|
+
display: block;
|
|
35
|
+
width: var(--pvt-pointer-width);
|
|
36
|
+
text-align: center;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
// Rolster Technology Alert Component
|
|
2
|
-
// v1.1.1
|
|
3
|
-
// @license MIT
|
|
4
|
-
// Author: Rolster Developers
|
|
5
|
-
// Created: 04/Mar/2025
|
|
6
|
-
// Updated: 17/Ene/2026
|
|
7
|
-
|
|
8
|
-
.rls-alert {
|
|
9
|
-
--pvt-icon-background: var(--rls-app-color-600);
|
|
10
|
-
--pvt-icon-color: var(--rls-app-color-050);
|
|
11
|
-
--pvt-content-font-color: var(--rls-app-color-500);
|
|
12
|
-
|
|
13
|
-
position: relative;
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: var(--rlc-alert-align-items, flex-start);
|
|
16
|
-
column-gap: var(--rls-sizing-x6);
|
|
17
|
-
padding: var(--rls-sizing-x4) var(--rls-sizing-x6);
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
background: var(--rls-app-color-100);
|
|
20
|
-
border: var(--rls-app-border-1-300);
|
|
21
|
-
border-radius: var(--rls-sizing-x4);
|
|
22
|
-
|
|
23
|
-
&[rls-theme] {
|
|
24
|
-
--pvt-icon-background: var(--rls-theme-color-500);
|
|
25
|
-
--pvt-icon-color: var(--rls-theme-color-050);
|
|
26
|
-
--pvt-content-font-color: var(--rls-theme-color-700);
|
|
27
|
-
|
|
28
|
-
background: var(--rls-theme-color-050);
|
|
29
|
-
border: var(--rls-theme-border-1-200);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__icon {
|
|
33
|
-
--rlc-icon-color: var(--pvt-icon-color);
|
|
34
|
-
|
|
35
|
-
display: flex;
|
|
36
|
-
width: var(--rls-sizing-x16);
|
|
37
|
-
height: var(--rls-sizing-x16);
|
|
38
|
-
align-items: center;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
border-radius: 50%;
|
|
41
|
-
background: var(--pvt-icon-background);
|
|
42
|
-
|
|
43
|
-
& + .rls-alert__content {
|
|
44
|
-
max-width: calc(100% - 22rem);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&__content {
|
|
49
|
-
width: auto;
|
|
50
|
-
color: var(--pvt-content-font-color);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
1
|
+
// Rolster Technology Alert Component
|
|
2
|
+
// v1.1.1
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 04/Mar/2025
|
|
6
|
+
// Updated: 17/Ene/2026
|
|
7
|
+
|
|
8
|
+
.rls-alert {
|
|
9
|
+
--pvt-icon-background: var(--rls-app-color-600);
|
|
10
|
+
--pvt-icon-color: var(--rls-app-color-050);
|
|
11
|
+
--pvt-content-font-color: var(--rls-app-color-500);
|
|
12
|
+
|
|
13
|
+
position: relative;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: var(--rlc-alert-align-items, flex-start);
|
|
16
|
+
column-gap: var(--rls-sizing-x6);
|
|
17
|
+
padding: var(--rls-sizing-x4) var(--rls-sizing-x6);
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
background: var(--rls-app-color-100);
|
|
20
|
+
border: var(--rls-app-border-1-300);
|
|
21
|
+
border-radius: var(--rls-sizing-x4);
|
|
22
|
+
|
|
23
|
+
&[rls-theme] {
|
|
24
|
+
--pvt-icon-background: var(--rls-theme-color-500);
|
|
25
|
+
--pvt-icon-color: var(--rls-theme-color-050);
|
|
26
|
+
--pvt-content-font-color: var(--rls-theme-color-700);
|
|
27
|
+
|
|
28
|
+
background: var(--rls-theme-color-050);
|
|
29
|
+
border: var(--rls-theme-border-1-200);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__icon {
|
|
33
|
+
--rlc-icon-color: var(--pvt-icon-color);
|
|
34
|
+
|
|
35
|
+
display: flex;
|
|
36
|
+
width: var(--rls-sizing-x16);
|
|
37
|
+
height: var(--rls-sizing-x16);
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
border-radius: 50%;
|
|
41
|
+
background: var(--pvt-icon-background);
|
|
42
|
+
|
|
43
|
+
& + .rls-alert__content {
|
|
44
|
+
max-width: calc(100% - 22rem);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__content {
|
|
49
|
+
width: auto;
|
|
50
|
+
color: var(--pvt-content-font-color);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
// Rolster Technology ButtonProgress Component
|
|
2
|
-
// v1.0.0
|
|
3
|
-
// @license MIT
|
|
4
|
-
// Author: Rolster Developers
|
|
5
|
-
// Created: 11/May/2018
|
|
6
|
-
// Updated: 24/Abr/2024
|
|
7
|
-
|
|
8
|
-
.rls-button-progress {
|
|
9
|
-
--rlc-progress-circular-dimension: var(--rls-sizing-x16);
|
|
10
|
-
|
|
11
|
-
position: relative;
|
|
12
|
-
display: flex;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
align-items: center;
|
|
15
|
-
}
|
|
1
|
+
// Rolster Technology ButtonProgress Component
|
|
2
|
+
// v1.0.0
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 11/May/2018
|
|
6
|
+
// Updated: 24/Abr/2024
|
|
7
|
+
|
|
8
|
+
.rls-button-progress {
|
|
9
|
+
--rlc-progress-circular-dimension: var(--rls-sizing-x16);
|
|
10
|
+
|
|
11
|
+
position: relative;
|
|
12
|
+
display: flex;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
align-items: center;
|
|
15
|
+
}
|