@rt-tools/ui-kit 0.0.16 → 0.0.20
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/fesm2022/rt-tools-ui-kit.mjs +310 -75
- package/fesm2022/rt-tools-ui-kit.mjs.map +1 -1
- package/package.json +1 -1
- package/rt-tools-ui-kit-0.0.20.tgz +0 -0
- package/src/lib/ui-kit/action-bar/components/bar/rtui-action-bar.component.scss +18 -18
- package/src/lib/ui-kit/action-bar/components/container/rtui-action-bar-container.component.scss +5 -7
- package/src/lib/ui-kit/aside/components/container/aside-container.component.scss +1 -0
- package/src/lib/ui-kit/aside/components/error-notification/aside-error-box.component.scss +6 -6
- package/src/lib/ui-kit/aside/components/panel/aside-panel.component.scss +33 -40
- package/src/lib/ui-kit/aside/stories/aside-component/test-aside.component.scss +1 -1
- package/src/lib/ui-kit/buttons/icon-round/rtui-round-icon-button.component.scss +4 -4
- package/src/lib/ui-kit/buttons/multi-button/rtui-multi-button.component.scss +13 -13
- package/src/lib/ui-kit/checkbox/rtui-checkbox.component.scss +11 -11
- package/src/lib/ui-kit/checkbox/stories/component/test-checkbox.component.scss +2 -2
- package/src/lib/ui-kit/dynamic-selectors/components/actions/rtui-dynamic-selector-list-actions.component.scss +3 -3
- package/src/lib/ui-kit/dynamic-selectors/components/dynamic-selector/rtui-dynamic-selector.component.scss +3 -3
- package/src/lib/ui-kit/dynamic-selectors/components/multi-selector-popup/rtui-multi-selector-popup.component.scss +28 -28
- package/src/lib/ui-kit/dynamic-selectors/components/placeholder/rtui-dynamic-selector-placeholder.component.scss +6 -7
- package/src/lib/ui-kit/dynamic-selectors/components/selected-list/rtui-dynamic-selector-selected-list.component.scss +2 -2
- package/src/lib/ui-kit/dynamic-selectors/strories/component/input/test-dynamic-input.component.scss +2 -3
- package/src/lib/ui-kit/dynamic-selectors/strories/component/selector/test-selector.component.scss +4 -5
- package/src/lib/ui-kit/file-uploader/rtui-file-upload.component.scss +8 -8
- package/src/lib/ui-kit/file-uploader/stories/component/test-file-upload.component.scss +1 -1
- package/src/lib/ui-kit/header/header.component.scss +1 -0
- package/src/lib/ui-kit/header/stories/component/test-header.component.scss +3 -3
- package/src/lib/ui-kit/image-uploader/image-uploader/rtui-image-upload.component.scss +5 -5
- package/src/lib/ui-kit/image-uploader/stories/component/test-image-upload.component.scss +2 -2
- package/src/lib/ui-kit/info-badge/info-badge.component.scss +20 -19
- package/src/lib/ui-kit/info-badge/stories/component/test-info-badge/test-info-badge.component.scss +1 -1
- package/src/lib/ui-kit/modal/modal.component.scss +9 -9
- package/src/lib/ui-kit/popover/rtui-popover-container.component.scss +2 -3
- package/src/lib/ui-kit/scrollable/scrollable-container.component.scss +7 -9
- package/src/lib/ui-kit/side-menu/menu/rtui-side-menu.component.scss +26 -26
- package/src/lib/ui-kit/side-menu/menu-sub-item/rtui-side-menu-sub-item.component.scss +15 -15
- package/src/lib/ui-kit/side-menu/stories/component/test-side-menu-wrapper.component.scss +10 -10
- package/src/lib/ui-kit/snack-bar/snack-bar.component.scss +13 -13
- package/src/lib/ui-kit/snack-bar/stories/component/test-snack-bar.component.scss +3 -3
- package/src/lib/ui-kit/spinner/spinner.component.scss +12 -15
- package/src/lib/ui-kit/table/components/clear-search-button/rtui-clear-button.component.scss +8 -8
- package/src/lib/ui-kit/table/components/pagination-view/rtui-pagination.component.scss +20 -28
- package/src/lib/ui-kit/table/components/table-base-cell/table-base-cell.component.scss +9 -10
- package/src/lib/ui-kit/table/components/table-config-aside/rt-table-config-aside.component.scss +1 -1
- package/src/lib/ui-kit/table/components/table-container/table-container.component.scss +21 -19
- package/src/lib/ui-kit/table/components/table-header-cell/table-header-cell.component.scss +8 -9
- package/src/lib/ui-kit/table/components/table-header-filter-cell/table-header-filter-cell.component.scss +3 -3
- package/src/lib/ui-kit/table/dynamic-list.component.scss +2 -2
- package/src/lib/ui-kit/table/stories/dynamic-list/test-dynamic-list.component.scss +1 -1
- package/src/lib/ui-kit/table/stories/pagination/test-pagination-component.scss +4 -4
- package/src/lib/ui-kit/table/stories/table/test-table-component.scss +1 -1
- package/src/lib/ui-kit/toggle/rtui-toggle.component.scss +23 -29
- package/src/lib/ui-kit/toggle/stories/component/test-toggle.component.scss +2 -2
- package/src/lib/ui-kit/toolbar/toolbar.component.scss +6 -11
- package/src/styles/TOKENS.md +121 -0
- package/src/styles/base/_base.scss +7 -15
- package/src/styles/base/_color-scheme.scss +86 -0
- package/src/styles/base/_mixin.scss +12 -15
- package/src/styles/base/_tokens.scss +426 -0
- package/src/styles/base/_variables.scss +7 -13
- package/src/styles/color-scheme.spec.ts +236 -0
- package/src/styles/components/_action-bar.scss +8 -8
- package/src/styles/components/_button.scss +63 -55
- package/src/styles/components/_checkbox.scss +5 -5
- package/src/styles/components/_dynamic-selectors.scss +13 -14
- package/src/styles/components/_form.scss +8 -13
- package/src/styles/components/_material-bridge.scss +30 -0
- package/src/styles/components/_rtui_button.scss +82 -82
- package/src/styles/components/_snackbar.scss +14 -14
- package/src/styles/components/_table.scss +34 -50
- package/src/styles/main.scss +5 -0
- package/src/styles/tokens.scss +5 -0
- package/styles/tokens.css +301 -0
- package/types/rt-tools-ui-kit.d.ts +101 -2
- package/rt-tools-ui-kit-0.0.16.tgz +0 -0
package/package.json
CHANGED
|
Binary file
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
@use '../../../../../styles/base/variables' as vars;
|
|
3
3
|
|
|
4
4
|
.rtui-action-bar {
|
|
5
|
-
width: var(--rt-action-bar-bar-width);
|
|
6
5
|
display: flex;
|
|
6
|
+
width: var(--rt-action-bar-bar-width);
|
|
7
7
|
align-items: center;
|
|
8
|
-
gap: var(--rt-action-bar-bar-gap);
|
|
9
8
|
padding: var(--rt-action-bar-bar-padding);
|
|
10
9
|
border-radius: var(--rt-action-bar-bar-border-radius);
|
|
11
|
-
color: var(--rt-action-bar-bar-color);
|
|
12
10
|
background-color: var(--rt-action-bar-bar-background-color);
|
|
13
11
|
box-shadow: var(--rt-action-bar-bar-box-shadow);
|
|
12
|
+
color: var(--rt-action-bar-bar-color);
|
|
13
|
+
gap: var(--rt-action-bar-bar-gap);
|
|
14
14
|
|
|
15
15
|
&__counter {
|
|
16
16
|
font-size: var(--rt-action-bar-counter-font-size);
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
|
|
25
25
|
&__action {
|
|
26
26
|
display: flex;
|
|
27
|
-
justify-content: center;
|
|
28
27
|
align-items: center;
|
|
29
|
-
|
|
30
|
-
font-size: var(--rt-action-bar-action-font-size);
|
|
31
|
-
font-weight: var(--rt-action-bar-action-font-weight);
|
|
28
|
+
justify-content: center;
|
|
32
29
|
padding: var(--rt-action-bar-action-padding);
|
|
33
30
|
border-radius: var(--rt-action-bar-action-border-radius);
|
|
34
31
|
cursor: pointer;
|
|
32
|
+
font-size: var(--rt-action-bar-action-font-size);
|
|
33
|
+
font-weight: var(--rt-action-bar-action-font-weight);
|
|
34
|
+
gap: var(--rt-action-bar-action-gap);
|
|
35
35
|
|
|
36
36
|
&:hover {
|
|
37
37
|
background-color: var(--rt-action-bar-action-hover-background-color);
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
&__close-button {
|
|
42
|
-
cursor: pointer;
|
|
43
42
|
margin-left: auto;
|
|
43
|
+
cursor: pointer;
|
|
44
44
|
|
|
45
45
|
svg {
|
|
46
46
|
transition: transform 0.2s ease;
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
@include mixins.media-breakpoint-down(vars.$device-md) {
|
|
55
|
-
gap: var(--rt-action-bar-bar-mobile-gap);
|
|
56
55
|
padding: var(--rt-action-bar-bar-mobile-padding);
|
|
56
|
+
gap: var(--rt-action-bar-bar-mobile-gap);
|
|
57
57
|
|
|
58
58
|
&__actions {
|
|
59
59
|
gap: var(--rt-action-bar-actions-mobile-gap);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&__action {
|
|
63
|
-
gap: var(--rt-action-bar-action-mobile-gap);
|
|
64
63
|
padding: var(--rt-action-bar-action-mobile-padding);
|
|
64
|
+
gap: var(--rt-action-bar-action-mobile-gap);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -69,23 +69,23 @@
|
|
|
69
69
|
.rtui-action-bar-action-menu {
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
|
-
gap: var(--rt-action-bar-action-menu-gap);
|
|
73
72
|
padding: var(--rt-action-bar-action-menu-padding);
|
|
74
73
|
border-radius: var(--rt-action-bar-action-border-radius);
|
|
75
|
-
color: var(--rt-action-bar-action-menu-color);
|
|
76
74
|
background-color: var(--rt-action-bar-action-menu-background-color);
|
|
77
75
|
box-shadow: var(--rt-action-bar-action-menu-box-shadow);
|
|
76
|
+
color: var(--rt-action-bar-action-menu-color);
|
|
77
|
+
gap: var(--rt-action-bar-action-menu-gap);
|
|
78
78
|
|
|
79
79
|
&__action {
|
|
80
80
|
display: flex;
|
|
81
|
-
justify-content: center;
|
|
82
81
|
align-items: center;
|
|
83
|
-
|
|
82
|
+
justify-content: center;
|
|
84
83
|
padding: var(--rt-action-bar-action-menu-action-padding);
|
|
85
|
-
font-size: var(--rt-action-bar-action-menu-action-font-size);
|
|
86
|
-
font-weight: var(--rt-action-bar-action-menu-action-font-weight);
|
|
87
84
|
border-radius: var(--rt-action-bar-action-menu-action-border-radius);
|
|
88
85
|
cursor: pointer;
|
|
86
|
+
font-size: var(--rt-action-bar-action-menu-action-font-size);
|
|
87
|
+
font-weight: var(--rt-action-bar-action-menu-action-font-weight);
|
|
88
|
+
gap: var(--rt-action-bar-action-menu-action-gap);
|
|
89
89
|
|
|
90
90
|
&:hover {
|
|
91
91
|
background-color: var(--rt-action-bar-action-menu-action-hover-background-color);
|
|
@@ -93,12 +93,12 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@include mixins.media-breakpoint-down(vars.$device-md) {
|
|
96
|
-
gap: var(--rt-action-bar-action-menu-action-mobile-gap);
|
|
97
96
|
padding: var(--rt-action-bar-action-menu-action-mobile-padding);
|
|
97
|
+
gap: var(--rt-action-bar-action-menu-action-mobile-gap);
|
|
98
98
|
|
|
99
99
|
&__action {
|
|
100
|
-
gap: var(--rt-action-bar-action-menu-action-mobile-gap);
|
|
101
100
|
padding: var(--rt-action-bar-action-menu-action-mobile-padding);
|
|
101
|
+
gap: var(--rt-action-bar-action-menu-action-mobile-gap);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
}
|
package/src/lib/ui-kit/action-bar/components/container/rtui-action-bar-container.component.scss
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
width: var(--rt-action-bar-container-width);
|
|
3
2
|
position: fixed;
|
|
4
|
-
|
|
5
|
-
bottom: var(--rt-action-bar-container-bottom);
|
|
6
|
-
left: var(--rt-action-bar-container-left);
|
|
7
|
-
right: var(--rt-action-bar-container-right);
|
|
3
|
+
z-index: var(--rt-action-bar-container-z-index);
|
|
8
4
|
display: flex;
|
|
9
|
-
|
|
5
|
+
width: var(--rt-action-bar-container-width);
|
|
10
6
|
align-items: center;
|
|
11
|
-
|
|
7
|
+
justify-content: center;
|
|
8
|
+
inset: var(--rt-action-bar-container-top) var(--rt-action-bar-container-right) var(--rt-action-bar-container-bottom)
|
|
9
|
+
var(--rt-action-bar-container-left);
|
|
12
10
|
}
|
|
@@ -4,28 +4,28 @@
|
|
|
4
4
|
|
|
5
5
|
.aside-error-box {
|
|
6
6
|
display: flex;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
align-items: center;
|
|
9
7
|
width: 100%;
|
|
10
8
|
height: var(--rt-aside-error-box-height);
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-between;
|
|
11
11
|
padding: var(--rt-aside-error-box-padding);
|
|
12
|
-
margin: var(--rt-aside-error-box-margin);
|
|
13
12
|
border: var(--rt-aside-error-box-border);
|
|
14
13
|
border-radius: var(--rt-aside-error-box-border-radius);
|
|
14
|
+
margin: var(--rt-aside-error-box-margin);
|
|
15
15
|
|
|
16
16
|
&__title {
|
|
17
|
-
font-size: var(--rt-aside-error-box-title-font-size);
|
|
18
17
|
color: var(--rt-aside-error-box-title-font-color);
|
|
18
|
+
font-size: var(--rt-aside-error-box-title-font-size);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.aside-error-box-button {
|
|
22
22
|
&__icon {
|
|
23
|
-
margin-right:
|
|
23
|
+
margin-right: var(--rt-spacing-8);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
&__title {
|
|
27
|
-
font-size: var(--rt-aside-error-box-button-font-size);
|
|
28
27
|
color: var(--rt-aside-error-box-button-font-color);
|
|
28
|
+
font-size: var(--rt-aside-error-box-button-font-size);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&.--complete {
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
$aside: (
|
|
5
5
|
host: (
|
|
6
6
|
width: 33.75rem,
|
|
7
|
-
box-shadow: 0 0 1rem 0
|
|
8
|
-
background-color: var(--
|
|
7
|
+
box-shadow: 0 0 1rem 0 var(--rt-color-dark-a10),
|
|
8
|
+
background-color: var(--rt-bg-base-base),
|
|
9
9
|
),
|
|
10
10
|
header: (
|
|
11
11
|
padding: 2rem,
|
|
@@ -24,12 +24,12 @@ $aside: (
|
|
|
24
24
|
header-description: (
|
|
25
25
|
font-size: 1rem,
|
|
26
26
|
margin-bottom: 0.25rem,
|
|
27
|
-
color: var(--
|
|
27
|
+
color: var(--rt-text-base-secondary),
|
|
28
28
|
),
|
|
29
29
|
header-addition: (
|
|
30
30
|
font-size: 1rem,
|
|
31
31
|
margin-top: 0.25rem,
|
|
32
|
-
color: var(--
|
|
32
|
+
color: var(--rt-text-base-secondary),
|
|
33
33
|
),
|
|
34
34
|
header-actions: (
|
|
35
35
|
margin-left: 1rem,
|
|
@@ -45,7 +45,7 @@ $aside: (
|
|
|
45
45
|
),
|
|
46
46
|
footer: (
|
|
47
47
|
padding: 2rem,
|
|
48
|
-
margin-left-
|
|
48
|
+
margin-left-between-buttons: 1rem,
|
|
49
49
|
),
|
|
50
50
|
footer-mobile: (
|
|
51
51
|
padding: 1rem,
|
|
@@ -54,16 +54,16 @@ $aside: (
|
|
|
54
54
|
height: 2rem,
|
|
55
55
|
padding: 0.5rem,
|
|
56
56
|
margin: 2rem 0 2rem 0,
|
|
57
|
-
border: 1px solid var(--
|
|
57
|
+
border: 1px solid var(--rt-border-accent-danger-soft),
|
|
58
58
|
border-radius: 0.375rem,
|
|
59
59
|
),
|
|
60
60
|
error-box-title: (
|
|
61
61
|
font-size: 1rem,
|
|
62
|
-
font-color: var(--
|
|
62
|
+
font-color: var(--rt-text-accent-danger-soft),
|
|
63
63
|
),
|
|
64
64
|
error-box-button: (
|
|
65
65
|
font-size: 1rem,
|
|
66
|
-
font-color: var(--
|
|
66
|
+
font-color: var(--rt-text-base-strong),
|
|
67
67
|
),
|
|
68
68
|
tab-indicator: (
|
|
69
69
|
width: 6rem,
|
|
@@ -72,26 +72,23 @@ $aside: (
|
|
|
72
72
|
color: var(--mdc-filled-button-container-color),
|
|
73
73
|
),
|
|
74
74
|
tab-badge-incorrect: (
|
|
75
|
-
color: var(--
|
|
75
|
+
color: var(--rt-text-accent-danger),
|
|
76
76
|
),
|
|
77
77
|
);
|
|
78
78
|
|
|
79
|
+
// NOTE: emitted at :root on purpose (ViewEncapsulation.None): consumers override
|
|
80
|
+
// these vars from ancestor scopes (e.g. a consumer's `.dark-mode { --rt-aside-host-background-color: … }`).
|
|
81
|
+
// Emitting at :host would set values on the element itself and silently win over
|
|
82
|
+
// inherited overrides — do not "fix" this to :host.
|
|
79
83
|
:root {
|
|
80
84
|
@each $element, $elements in $aside {
|
|
81
85
|
@each $style-token, $value in $elements {
|
|
82
86
|
#{mixins.generateCssVar('aside', #{$element}, #{$style-token})}: #{$value};
|
|
83
87
|
}
|
|
84
88
|
}
|
|
85
|
-
}
|
|
86
89
|
|
|
87
|
-
.
|
|
88
|
-
|
|
89
|
-
z-index: 9999;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// TAB GROUP
|
|
93
|
-
.mat-mdc-tab-group {
|
|
94
|
-
width: 100%;
|
|
90
|
+
// @deprecated — typo kept as alias for backward compatibility; use *-between-* instead.
|
|
91
|
+
--rt-aside-footer-margin-left-betwen-buttons: var(--rt-aside-footer-margin-left-between-buttons);
|
|
95
92
|
}
|
|
96
93
|
|
|
97
94
|
// BADGE
|
|
@@ -100,8 +97,8 @@ $aside: (
|
|
|
100
97
|
}
|
|
101
98
|
|
|
102
99
|
.title-badge {
|
|
103
|
-
margin-left: 0.25rem;
|
|
104
100
|
top: -0.5rem;
|
|
101
|
+
margin-left: var(--rt-spacing-4);
|
|
105
102
|
}
|
|
106
103
|
|
|
107
104
|
.icon-badge,
|
|
@@ -121,12 +118,11 @@ $aside: (
|
|
|
121
118
|
// ASIDE
|
|
122
119
|
.c-aside {
|
|
123
120
|
position: relative;
|
|
121
|
+
width: var(--rt-aside-host-width);
|
|
124
122
|
height: 100vh;
|
|
125
123
|
max-height: 100vh;
|
|
126
|
-
width: var(--rt-aside-host-width);
|
|
127
|
-
|
|
128
|
-
box-shadow: var(--rt-aside-host-box-shadow);
|
|
129
124
|
background-color: var(--rt-aside-host-background-color);
|
|
125
|
+
box-shadow: var(--rt-aside-host-box-shadow);
|
|
130
126
|
|
|
131
127
|
// TAB GROUP
|
|
132
128
|
.mdc-tab-indicator__content.mdc-tab-indicator__content--underline {
|
|
@@ -147,38 +143,38 @@ $aside: (
|
|
|
147
143
|
}
|
|
148
144
|
|
|
149
145
|
.c-aside-title {
|
|
150
|
-
height: 100%;
|
|
151
|
-
width: 100%;
|
|
152
146
|
display: flex;
|
|
147
|
+
width: 100%;
|
|
148
|
+
height: 100%;
|
|
153
149
|
flex-direction: column;
|
|
154
|
-
justify-content: center;
|
|
155
150
|
align-items: flex-start;
|
|
151
|
+
justify-content: center;
|
|
156
152
|
|
|
157
153
|
&__descr {
|
|
158
154
|
margin-bottom: var(--rt-aside-header-description-margin-bottom);
|
|
159
|
-
font-size: var(--rt-aside-header-description-font-size);
|
|
160
155
|
color: var(--rt-aside-header-description-color);
|
|
156
|
+
font-size: var(--rt-aside-header-description-font-size);
|
|
161
157
|
}
|
|
162
158
|
|
|
163
159
|
&__txt {
|
|
164
160
|
font-size: var(--rt-aside-header-title-font-size);
|
|
165
|
-
line-height: var(--rt-aside-header-title-line-height);
|
|
166
161
|
font-weight: var(--rt-aside-header-title-font-weight);
|
|
162
|
+
line-height: var(--rt-aside-header-title-line-height);
|
|
167
163
|
}
|
|
168
164
|
|
|
169
165
|
&__addition {
|
|
170
166
|
margin-top: var(--rt-aside-header-addition-margin-top);
|
|
171
|
-
font-size: var(--rt-aside-header-addition-font-size);
|
|
172
167
|
color: var(--rt-aside-header-addition-color);
|
|
168
|
+
font-size: var(--rt-aside-header-addition-font-size);
|
|
173
169
|
}
|
|
174
170
|
|
|
175
171
|
&__descr,
|
|
176
172
|
&__txt,
|
|
177
173
|
&__addition {
|
|
178
|
-
width: 100%;
|
|
179
|
-
white-space: nowrap;
|
|
180
174
|
overflow: hidden;
|
|
175
|
+
width: 100%;
|
|
181
176
|
text-overflow: ellipsis;
|
|
177
|
+
white-space: nowrap;
|
|
182
178
|
}
|
|
183
179
|
}
|
|
184
180
|
|
|
@@ -196,22 +192,20 @@ $aside: (
|
|
|
196
192
|
} // c-aside-header
|
|
197
193
|
|
|
198
194
|
.c-aside-content {
|
|
199
|
-
height: 100%;
|
|
200
|
-
width: 100%;
|
|
201
|
-
|
|
202
195
|
display: flex;
|
|
196
|
+
width: 100%;
|
|
197
|
+
height: 100%;
|
|
203
198
|
flex-direction: column;
|
|
204
199
|
align-items: center;
|
|
205
200
|
justify-content: flex-start;
|
|
206
|
-
|
|
207
201
|
padding: var(--rt-aside-content-padding);
|
|
208
202
|
|
|
209
203
|
// Change mat tab group styles
|
|
210
204
|
.mat-mdc-tab-header {
|
|
211
|
-
top: 0;
|
|
212
|
-
z-index: 1000;
|
|
213
205
|
position: sticky;
|
|
214
|
-
|
|
206
|
+
z-index: 1000;
|
|
207
|
+
top: 0;
|
|
208
|
+
background: var(--rt-bg-base-base);
|
|
215
209
|
}
|
|
216
210
|
|
|
217
211
|
@include mixins.media-breakpoint-down(vars.$device-xs) {
|
|
@@ -222,9 +216,8 @@ $aside: (
|
|
|
222
216
|
// ASIDE FOOTER
|
|
223
217
|
.c-aside-footer {
|
|
224
218
|
display: flex;
|
|
225
|
-
justify-content: flex-end;
|
|
226
219
|
align-items: center;
|
|
227
|
-
|
|
220
|
+
justify-content: flex-end;
|
|
228
221
|
padding: var(--rt-aside-footer-padding);
|
|
229
222
|
|
|
230
223
|
.c-aside-footer-btn {
|
|
@@ -234,7 +227,7 @@ $aside: (
|
|
|
234
227
|
}
|
|
235
228
|
|
|
236
229
|
.c-aside-footer-btn + .c-aside-footer-btn {
|
|
237
|
-
margin-left: var(--rt-aside-footer-margin-left-
|
|
230
|
+
margin-left: var(--rt-aside-footer-margin-left-between-buttons);
|
|
238
231
|
}
|
|
239
232
|
|
|
240
233
|
@include mixins.media-breakpoint-down(vars.$device-xs) {
|
|
@@ -20,14 +20,14 @@ $round-icon-button: (
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.round-icon-button {
|
|
23
|
+
z-index: var(--rt-round-icon-button-host-z-index);
|
|
23
24
|
display: flex;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
align-items: center;
|
|
26
25
|
width: var(--rt-round-icon-button-host-size);
|
|
27
26
|
height: var(--rt-round-icon-button-host-size);
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
28
29
|
padding: var(--rt-round-icon-button-host-padding);
|
|
29
|
-
|
|
30
|
-
border-radius: 50%;
|
|
30
|
+
border-radius: var(--rt-radius-full);
|
|
31
31
|
cursor: pointer;
|
|
32
32
|
|
|
33
33
|
&__icon {
|
|
@@ -6,7 +6,7 @@ $rtui-multibutton: (
|
|
|
6
6
|
flex-flow: row wrap,
|
|
7
7
|
radius: 8px,
|
|
8
8
|
padding: 4px,
|
|
9
|
-
background-color: var(--
|
|
9
|
+
background-color: var(--rt-bg-base-hover),
|
|
10
10
|
),
|
|
11
11
|
action-base: (
|
|
12
12
|
padding: 4px 8px,
|
|
@@ -14,21 +14,21 @@ $rtui-multibutton: (
|
|
|
14
14
|
border: 0,
|
|
15
15
|
font-size: 12px,
|
|
16
16
|
font-weight: 600,
|
|
17
|
-
color: var(--
|
|
17
|
+
color: var(--rt-text-base-secondary),
|
|
18
18
|
background-color: transparent,
|
|
19
19
|
transition: 'background-color 0.15s, color 0.15s',
|
|
20
20
|
cursor: pointer,
|
|
21
21
|
),
|
|
22
22
|
action-hover: (
|
|
23
|
-
color: var(--
|
|
23
|
+
color: var(--rt-text-base-soft),
|
|
24
24
|
),
|
|
25
25
|
action-active: (
|
|
26
|
-
color: var(--
|
|
27
|
-
background-color: var(--
|
|
26
|
+
color: var(--rt-text-base-soft),
|
|
27
|
+
background-color: var(--rt-bg-base-strong),
|
|
28
28
|
cursor: default,
|
|
29
29
|
),
|
|
30
30
|
action-focus-visible: (
|
|
31
|
-
outline: 2px dashed var(--
|
|
31
|
+
outline: 2px dashed var(--rt-border-focus),
|
|
32
32
|
outline-offset: -2px,
|
|
33
33
|
),
|
|
34
34
|
action-disabled: (
|
|
@@ -48,24 +48,24 @@ $rtui-multibutton: (
|
|
|
48
48
|
.rtui-multibutton-actions {
|
|
49
49
|
display: var(--rt-rtui-multibutton-base-display);
|
|
50
50
|
flex-flow: var(--rt-rtui-multibutton-base-flex-flow);
|
|
51
|
-
border-radius: var(--rt-rtui-multibutton-base-radius);
|
|
52
51
|
padding: var(--rt-rtui-multibutton-base-padding);
|
|
52
|
+
border-radius: var(--rt-rtui-multibutton-base-radius);
|
|
53
53
|
background-color: var(--rt-rtui-multibutton-base-background-color);
|
|
54
54
|
|
|
55
55
|
&__action {
|
|
56
56
|
padding: var(--rt-rtui-multibutton-action-base-padding);
|
|
57
|
-
border-radius: var(--rt-rtui-multibutton-action-base-radius);
|
|
58
57
|
border: var(--rt-rtui-multibutton-action-base-border);
|
|
58
|
+
border-radius: var(--rt-rtui-multibutton-action-base-radius);
|
|
59
|
+
background-color: var(--rt-rtui-multibutton-action-base-background-color);
|
|
60
|
+
color: var(--rt-rtui-multibutton-action-base-color);
|
|
61
|
+
cursor: var(--rt-rtui-multibutton-action-base-cursor);
|
|
59
62
|
font-size: var(--rt-rtui-multibutton-action-base-font-size);
|
|
60
63
|
font-weight: var(--rt-rtui-multibutton-action-base-font-weight);
|
|
61
|
-
color: var(--rt-rtui-multibutton-action-base-color);
|
|
62
|
-
background-color: var(--rt-rtui-multibutton-action-base-background-color);
|
|
63
64
|
transition: var(--rt-rtui-multibutton-action-base-transition);
|
|
64
|
-
cursor: var(--rt-rtui-multibutton-action-base-cursor);
|
|
65
65
|
|
|
66
66
|
&--active {
|
|
67
|
-
color: var(--rt-rtui-multibutton-action-active-color);
|
|
68
67
|
background-color: var(--rt-rtui-multibutton-action-active-background-color);
|
|
68
|
+
color: var(--rt-rtui-multibutton-action-active-color);
|
|
69
69
|
cursor: var(--rt-rtui-multibutton-action-active-cursor);
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -83,9 +83,9 @@ $rtui-multibutton: (
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
&:disabled {
|
|
86
|
-
pointer-events: var(--rt-rtui-multibutton-action-disabled-pointer-events);
|
|
87
86
|
cursor: var(--rt-rtui-multibutton-action-disabled-cursor);
|
|
88
87
|
opacity: var(--rt-rtui-multibutton-action-disabled-opacity);
|
|
88
|
+
pointer-events: var(--rt-rtui-multibutton-action-disabled-pointer-events);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -5,22 +5,22 @@
|
|
|
5
5
|
gap: var(--rt-checkbox-container-gap);
|
|
6
6
|
|
|
7
7
|
&__input {
|
|
8
|
-
@include mixins.visually-hidden
|
|
8
|
+
@include mixins.visually-hidden;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
&__box {
|
|
12
12
|
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
flex-shrink: 0;
|
|
16
13
|
width: var(--rt-checkbox-box-width);
|
|
17
14
|
height: var(--rt-checkbox-box-height);
|
|
15
|
+
flex-shrink: 0;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
18
|
border: var(--rt-checkbox-box-border);
|
|
19
19
|
border-radius: var(--rt-checkbox-box-border-radius);
|
|
20
|
-
color: var(--rt-checkbox-box-inactive-color);
|
|
21
20
|
background-color: var(--rt-checkbox-box-background-color);
|
|
22
|
-
|
|
21
|
+
color: var(--rt-checkbox-box-inactive-color);
|
|
23
22
|
cursor: pointer;
|
|
23
|
+
transition: border-color 0.15s linear;
|
|
24
24
|
|
|
25
25
|
svg {
|
|
26
26
|
opacity: 0;
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
|
|
31
31
|
&__input:checked + &__box,
|
|
32
32
|
&__input:indeterminate + &__box {
|
|
33
|
-
color: var(--rt-checkbox-box-active-color);
|
|
34
33
|
border-color: var(--rt-checkbox-box-active-color);
|
|
34
|
+
color: var(--rt-checkbox-box-active-color);
|
|
35
35
|
|
|
36
36
|
svg {
|
|
37
37
|
opacity: 1;
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
&__input:disabled + &__box {
|
|
42
|
-
color: var(--
|
|
43
|
-
|
|
42
|
+
border-color: var(--rt-border-neutral-strong);
|
|
43
|
+
color: var(--rt-text-base-disabled);
|
|
44
44
|
cursor: default;
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&__label {
|
|
57
|
+
color: var(--rt-checkbox-label-color);
|
|
57
58
|
font-size: var(--rt-checkbox-label-font-size);
|
|
58
59
|
font-weight: var(--rt-checkbox-label-font-weight);
|
|
59
|
-
color: var(--rt-checkbox-label-color);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&__description {
|
|
63
63
|
margin-top: var(--rt-checkbox-description-margin-top);
|
|
64
|
+
color: var(--rt-checkbox-description-color);
|
|
64
65
|
font-size: var(--rt-checkbox-description-font-size);
|
|
65
66
|
font-weight: var(--rt-checkbox-description-font-weight);
|
|
66
|
-
color: var(--rt-checkbox-description-color);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -16,7 +16,7 @@ $dynamic-selector-list-actions: (
|
|
|
16
16
|
size: 1.125rem,
|
|
17
17
|
),
|
|
18
18
|
item-active: (
|
|
19
|
-
color: var(--
|
|
19
|
+
color: var(--rt-text-accent-danger),
|
|
20
20
|
),
|
|
21
21
|
);
|
|
22
22
|
|
|
@@ -29,14 +29,14 @@ $dynamic-selector-list-actions: (
|
|
|
29
29
|
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
|
-
margin-left: auto;
|
|
33
32
|
padding-right: var(--rt-dynamic-selector-list-actions-host-padding-right);
|
|
33
|
+
margin-left: auto;
|
|
34
34
|
|
|
35
35
|
.rtui-dynamic-selector-list-actions {
|
|
36
36
|
display: flex;
|
|
37
37
|
align-items: center;
|
|
38
|
-
margin-left: auto;
|
|
39
38
|
padding-right: var(--rt-dynamic-selector-list-actions-padding-right);
|
|
39
|
+
margin-left: auto;
|
|
40
40
|
|
|
41
41
|
&__control {
|
|
42
42
|
padding: var(--rt-dynamic-selector-list-actions-control-padding);
|