@rt-tools/ui-kit 0.0.19 → 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 +205 -80
- 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 +25 -32
- 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 +7 -7
- package/src/lib/ui-kit/checkbox/rtui-checkbox.component.scss +10 -10
- 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 +2 -2
- 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 +17 -17
- package/src/lib/ui-kit/dynamic-selectors/components/placeholder/rtui-dynamic-selector-placeholder.component.scss +3 -4
- 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 +5 -5
- 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 +5 -5
- package/src/lib/ui-kit/popover/rtui-popover-container.component.scss +2 -3
- package/src/lib/ui-kit/scrollable/scrollable-container.component.scss +3 -5
- package/src/lib/ui-kit/side-menu/menu/rtui-side-menu.component.scss +25 -25
- package/src/lib/ui-kit/side-menu/menu-sub-item/rtui-side-menu-sub-item.component.scss +14 -14
- 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 +9 -9
- 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 +10 -13
- package/src/lib/ui-kit/table/components/clear-search-button/rtui-clear-button.component.scss +5 -5
- package/src/lib/ui-kit/table/components/pagination-view/rtui-pagination.component.scss +14 -22
- package/src/lib/ui-kit/table/components/table-base-cell/table-base-cell.component.scss +8 -9
- 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 +16 -14
- package/src/lib/ui-kit/table/components/table-header-cell/table-header-cell.component.scss +6 -7
- 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 +15 -21
- package/src/lib/ui-kit/toggle/stories/component/test-toggle.component.scss +2 -2
- package/src/lib/ui-kit/toolbar/toolbar.component.scss +5 -10
- package/src/styles/TOKENS.md +95 -2
- package/src/styles/base/_base.scss +4 -5
- package/src/styles/base/_color-scheme.scss +86 -0
- package/src/styles/base/_mixin.scss +12 -15
- package/src/styles/base/_tokens.scss +139 -99
- package/src/styles/base/_variables.scss +5 -11
- package/src/styles/color-scheme.spec.ts +236 -0
- package/src/styles/components/_button.scss +32 -24
- package/src/styles/components/_dynamic-selectors.scss +9 -10
- package/src/styles/components/_form.scss +8 -13
- package/src/styles/components/_material-bridge.scss +30 -0
- package/src/styles/components/_rtui_button.scss +5 -5
- package/src/styles/components/_table.scss +23 -39
- package/src/styles/main.scss +4 -0
- package/styles/tokens.css +79 -101
- package/types/rt-tools-ui-kit.d.ts +55 -7
- package/rt-tools-ui-kit-0.0.19.tgz +0 -0
package/src/lib/ui-kit/dynamic-selectors/strories/component/selector/test-selector.component.scss
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
+
display: flex;
|
|
2
3
|
width: 100vw;
|
|
3
4
|
height: 100vh;
|
|
4
|
-
|
|
5
|
-
display: flex;
|
|
6
5
|
flex-direction: column;
|
|
7
|
-
justify-content: flex-start;
|
|
8
6
|
align-items: center;
|
|
7
|
+
justify-content: flex-start;
|
|
9
8
|
margin: -1rem;
|
|
10
9
|
|
|
11
10
|
rtui-dynamic-selector {
|
|
@@ -23,13 +22,13 @@
|
|
|
23
22
|
.custom-title {
|
|
24
23
|
display: inline-flex;
|
|
25
24
|
align-items: center;
|
|
26
|
-
gap: 0.5rem;
|
|
27
25
|
font-size: 0.875rem;
|
|
26
|
+
gap: 0.5rem;
|
|
28
27
|
|
|
29
28
|
&__icon {
|
|
30
|
-
font-size: 1.125rem;
|
|
31
29
|
width: 1.125rem;
|
|
32
30
|
height: 1.125rem;
|
|
31
|
+
font-size: 1.125rem;
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
&__id {
|
|
@@ -35,18 +35,18 @@ $file-upload: (
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
display: var(--rt-file-upload-host-display);
|
|
38
39
|
width: var(--rt-file-upload-host-width);
|
|
39
40
|
max-width: var(--rt-file-upload-host-max-width);
|
|
40
41
|
height: var(--rt-file-upload-host-height);
|
|
41
42
|
max-height: var(--rt-file-upload-host-max-height);
|
|
42
|
-
display: var(--rt-file-upload-host-display);
|
|
43
43
|
flex-direction: var(--rt-file-upload-host-flex-direction);
|
|
44
|
-
justify-content: var(--rt-file-upload-host-justify-content);
|
|
45
44
|
align-items: var(--rt-file-upload-host-align-items);
|
|
46
|
-
|
|
45
|
+
justify-content: var(--rt-file-upload-host-justify-content);
|
|
47
46
|
padding: var(--rt-file-upload-host-padding);
|
|
48
47
|
border: var(--rt-file-upload-host-border);
|
|
49
48
|
border-radius: var(--rt-file-upload-host-border-radius);
|
|
49
|
+
gap: var(--rt-file-upload-host-gap);
|
|
50
50
|
transition: border-color 0.3s ease-in-out;
|
|
51
51
|
|
|
52
52
|
&.--dragged {
|
|
@@ -57,13 +57,13 @@ $file-upload: (
|
|
|
57
57
|
&__icon {
|
|
58
58
|
width: var(--rt-file-upload-icon-size);
|
|
59
59
|
height: var(--rt-file-upload-icon-size);
|
|
60
|
-
font-size: var(--rt-file-upload-icon-size);
|
|
61
60
|
color: var(--rt-file-upload-icon-color);
|
|
61
|
+
font-size: var(--rt-file-upload-icon-size);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&__title {
|
|
65
|
-
font-size: var(--rt-file-upload-title-font-size);
|
|
66
65
|
color: var(--rt-file-upload-title-color);
|
|
66
|
+
font-size: var(--rt-file-upload-title-font-size);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// Intentionally empty — header is styled entirely via host bindings and Material theme vars.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
:host {
|
|
2
|
+
display: flex;
|
|
2
3
|
width: 100vw;
|
|
3
4
|
height: 100vh;
|
|
4
|
-
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
margin: -1rem;
|
|
7
7
|
|
|
8
8
|
.content {
|
|
9
|
-
flex-grow: 1;
|
|
10
9
|
display: flex;
|
|
11
|
-
|
|
10
|
+
flex-grow: 1;
|
|
12
11
|
align-items: center;
|
|
12
|
+
justify-content: center;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -40,15 +40,15 @@ $image-upload: (
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
display: var(--rt-image-upload-host-display);
|
|
43
44
|
width: var(--rt-image-upload-host-width);
|
|
44
45
|
min-width: var(--rt-image-upload-host-min-height);
|
|
45
46
|
max-width: var(--rt-image-upload-host-max-width);
|
|
46
47
|
height: var(--rt-image-upload-host-height);
|
|
47
48
|
min-height: var(--rt-image-upload-host-min-height);
|
|
48
49
|
max-height: var(--rt-image-upload-host-max-height);
|
|
49
|
-
display: var(--rt-image-upload-host-display);
|
|
50
|
-
justify-content: var(--rt-image-upload-host-justify-content);
|
|
51
50
|
align-items: var(--rt-image-upload-host-align-items);
|
|
51
|
+
justify-content: var(--rt-image-upload-host-justify-content);
|
|
52
52
|
|
|
53
53
|
.rtui-image-cropper {
|
|
54
54
|
padding: var(--rt-image-upload-image-cropper-padding);
|
|
@@ -56,8 +56,8 @@ $image-upload: (
|
|
|
56
56
|
&__actions {
|
|
57
57
|
display: var(--rt-image-upload-image-cropper-actions-display);
|
|
58
58
|
justify-content: var(--rt-image-upload-image-cropper-actions-justify-content);
|
|
59
|
-
gap: var(--rt-image-upload-image-cropper-actions-gap);
|
|
60
59
|
margin-top: var(--rt-image-upload-image-cropper-actions-justify-margin-top);
|
|
60
|
+
gap: var(--rt-image-upload-image-cropper-actions-gap);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -73,8 +73,8 @@ $image-upload: (
|
|
|
73
73
|
pointer-events: none;
|
|
74
74
|
|
|
75
75
|
&--active {
|
|
76
|
-
pointer-events: initial;
|
|
77
76
|
cursor: pointer;
|
|
77
|
+
pointer-events: initial;
|
|
78
78
|
|
|
79
79
|
&:hover {
|
|
80
80
|
opacity: 0.6;
|
|
@@ -84,9 +84,9 @@ $image-upload: (
|
|
|
84
84
|
|
|
85
85
|
&__action {
|
|
86
86
|
position: absolute;
|
|
87
|
+
z-index: 999;
|
|
87
88
|
top: 0;
|
|
88
89
|
right: 0;
|
|
89
|
-
z-index: 999;
|
|
90
90
|
backdrop-filter: blur(1.25rem);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -1,62 +1,63 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
border-radius: 9999px;
|
|
3
2
|
display: block;
|
|
4
|
-
line-height: normal;
|
|
5
3
|
max-width: fit-content;
|
|
4
|
+
border-radius: var(--rt-radius-full);
|
|
6
5
|
|
|
7
|
-
// default values
|
|
8
|
-
|
|
9
|
-
color: #
|
|
6
|
+
// default values (overridable by consumers; runtime variants set inline styles via InfoBadgeDirective)
|
|
7
|
+
/* stylelint-disable-next-line color-no-hex -- default brand blue has no palette token on purpose */
|
|
8
|
+
background-color: var(--rt-info-badge-background-color, #005cbb);
|
|
9
|
+
color: var(--rt-info-badge-color, var(--rt-text-static-light));
|
|
10
|
+
line-height: normal;
|
|
10
11
|
|
|
11
12
|
.c-info-badge {
|
|
12
13
|
display: flex;
|
|
13
|
-
|
|
14
|
+
box-sizing: border-box;
|
|
14
15
|
align-items: center;
|
|
15
16
|
justify-content: center;
|
|
16
|
-
|
|
17
|
+
gap: var(--rt-spacing-2);
|
|
17
18
|
line-height: normal;
|
|
18
19
|
|
|
19
20
|
&__content {
|
|
20
|
-
white-space: nowrap;
|
|
21
21
|
overflow: hidden;
|
|
22
22
|
text-overflow: ellipsis;
|
|
23
|
+
white-space: nowrap;
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
.size-l {
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
padding: var(--rt-spacing-4) var(--rt-spacing-12);
|
|
29
|
+
font-size: var(--rt-font-size-md);
|
|
29
30
|
|
|
30
31
|
.mat-icon {
|
|
31
|
-
font-size:
|
|
32
|
+
font-size: var(--rt-font-size-xl);
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
.size-m {
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
padding: var(--rt-spacing-4) var(--rt-spacing-12);
|
|
38
|
+
font-size: var(--rt-font-size-sm);
|
|
38
39
|
|
|
39
40
|
.mat-icon {
|
|
40
|
-
font-size:
|
|
41
|
+
font-size: var(--rt-font-size-md);
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
.size-s {
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
padding: var(--rt-spacing-4) var(--rt-spacing-12);
|
|
47
|
+
font-size: var(--rt-font-size-xs);
|
|
47
48
|
letter-spacing: 0.025rem;
|
|
48
49
|
|
|
49
50
|
.mat-icon {
|
|
50
|
-
font-size:
|
|
51
|
+
font-size: var(--rt-font-size-xs);
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
.mat-icon {
|
|
55
|
-
height: unset;
|
|
56
56
|
width: unset;
|
|
57
|
+
height: unset;
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
.bold {
|
|
60
|
-
font-weight:
|
|
61
|
+
font-weight: var(--rt-font-weight-bold);
|
|
61
62
|
}
|
|
62
63
|
}
|
|
@@ -47,23 +47,23 @@ $modal: (
|
|
|
47
47
|
::ng-deep {
|
|
48
48
|
.--highlighted {
|
|
49
49
|
display: inline;
|
|
50
|
-
font-weight: var(--rt-modal-text-highlited-font-weight);
|
|
51
50
|
color: var(--rt-modal-text-highlited-color);
|
|
51
|
+
font-weight: var(--rt-modal-text-highlited-font-weight);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.--warn {
|
|
55
55
|
display: inline;
|
|
56
|
+
color: var(--rt-modal-text-warn-color);
|
|
56
57
|
font-size: var(--rt-modal-text-warn-font-size);
|
|
57
58
|
font-weight: var(--rt-modal-text-warn-font-weight);
|
|
58
|
-
color: var(--rt-modal-text-warn-color);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.rtui-modal {
|
|
63
63
|
&__title {
|
|
64
64
|
h1 {
|
|
65
|
-
font-size: var(--rt-modal-title-font-size);
|
|
66
65
|
color: var(--rt-modal-title-color);
|
|
66
|
+
font-size: var(--rt-modal-title-font-size);
|
|
67
67
|
font-weight: var(--rt-modal-title-font-weight);
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -93,7 +93,7 @@ $modal: (
|
|
|
93
93
|
height: auto;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.mdc-dialog__title
|
|
96
|
+
.mdc-dialog__title:before {
|
|
97
97
|
height: 100%;
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -101,8 +101,8 @@ $modal: (
|
|
|
101
101
|
padding: var(--rt-modal-content-padding);
|
|
102
102
|
color: var(--rt-modal-content-color);
|
|
103
103
|
font-size: var(--rt-modal-content-font-size);
|
|
104
|
+
overflow-wrap: var(--rt-modal-content-word-wrap);
|
|
104
105
|
text-align: var(--rt-modal-content-text-align);
|
|
105
|
-
word-wrap: var(--rt-modal-content-word-wrap);
|
|
106
106
|
|
|
107
107
|
mat-form-field {
|
|
108
108
|
width: 100%;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
position: absolute;
|
|
3
|
-
width: fit-content;
|
|
4
3
|
display: block;
|
|
4
|
+
width: fit-content;
|
|
5
5
|
|
|
6
6
|
/* Hack to show properly popover on mouse hover */
|
|
7
|
-
padding-top:
|
|
7
|
+
padding-top: var(--rt-spacing-20);
|
|
8
8
|
text-align: left;
|
|
9
|
-
|
|
10
9
|
transition:
|
|
11
10
|
transform 0.1s,
|
|
12
11
|
opacity 0.5s;
|
|
@@ -27,12 +27,10 @@ $scrollable: (
|
|
|
27
27
|
);
|
|
28
28
|
|
|
29
29
|
:host {
|
|
30
|
-
height: var(--rt-scrollable-host-height);
|
|
31
|
-
width: var(--rt-scrollable-host-width);
|
|
32
|
-
|
|
33
30
|
display: var(--rt-scrollable-host-display);
|
|
31
|
+
width: var(--rt-scrollable-host-width);
|
|
32
|
+
height: var(--rt-scrollable-host-height);
|
|
34
33
|
flex-direction: var(--rt-scrollable-host-flex-direction);
|
|
35
|
-
|
|
36
34
|
background-color: var(--rt-scrollable-host-background-color);
|
|
37
35
|
|
|
38
36
|
@each $element, $elements in $scrollable {
|
|
@@ -49,11 +47,11 @@ $scrollable: (
|
|
|
49
47
|
|
|
50
48
|
&__content {
|
|
51
49
|
display: var(--rt-scrollable-content-display);
|
|
50
|
+
overflow: auto;
|
|
52
51
|
flex-direction: var(--rt-scrollable-content-flex-direction);
|
|
53
52
|
flex-grow: var(--rt-scrollable-content-flex-grow);
|
|
54
53
|
padding: var(--rt-scrollable-content-padding);
|
|
55
54
|
background-color: var(--rt-scrollable-content-background-color);
|
|
56
|
-
overflow: auto;
|
|
57
55
|
}
|
|
58
56
|
|
|
59
57
|
&__footer {
|
|
@@ -41,21 +41,21 @@ $side-menu: (
|
|
|
41
41
|
|
|
42
42
|
.rtui-mobile-side-menu-list {
|
|
43
43
|
display: flex;
|
|
44
|
-
flex-direction: column;
|
|
45
44
|
width: 100%;
|
|
45
|
+
flex-direction: column;
|
|
46
46
|
|
|
47
47
|
&--scrollable {
|
|
48
48
|
width: fit-content;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&__sub {
|
|
52
|
+
animation: fade-in-animation 0.15s ease-in-out 0.15s forwards;
|
|
52
53
|
opacity: 0;
|
|
53
|
-
animation: fadeInAnimation 0.15s ease-in-out 0.15s forwards;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.rtui-mobile-side-menu-list-main {
|
|
57
|
+
animation: fade-in-animation 0.15s ease-in-out 0.15s forwards;
|
|
57
58
|
opacity: 0;
|
|
58
|
-
animation: fadeInAnimation 0.15s ease-in-out 0.15s forwards;
|
|
59
59
|
|
|
60
60
|
.rtui-mobile-side-menu-item {
|
|
61
61
|
&__icon {
|
|
@@ -66,22 +66,22 @@ $side-menu: (
|
|
|
66
66
|
|
|
67
67
|
.rtui-mobile-side-menu-item-title {
|
|
68
68
|
display: flex;
|
|
69
|
-
justify-content: space-between;
|
|
70
69
|
align-items: center;
|
|
70
|
+
justify-content: space-between;
|
|
71
71
|
|
|
72
72
|
&__text {
|
|
73
|
-
|
|
73
|
+
overflow: hidden;
|
|
74
|
+
font-size: var(--rt-font-size-xs);
|
|
74
75
|
text-overflow: ellipsis;
|
|
75
76
|
white-space: nowrap;
|
|
76
|
-
overflow: hidden;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.rtui-mobile-side-menu-item-title-button {
|
|
80
80
|
display: flex;
|
|
81
|
-
justify-content: center;
|
|
82
81
|
align-items: center;
|
|
83
|
-
|
|
84
|
-
border-radius:
|
|
82
|
+
justify-content: center;
|
|
83
|
+
border-radius: var(--rt-radius-full);
|
|
84
|
+
margin-left: var(--rt-spacing-8);
|
|
85
85
|
|
|
86
86
|
&__icon {
|
|
87
87
|
width: var(--rt-side-menu-mobile-item-additional-icon-size);
|
|
@@ -93,7 +93,7 @@ $side-menu: (
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.rtui-mobile-side-menu-item + .rtui-mobile-side-menu-item {
|
|
96
|
-
margin-top:
|
|
96
|
+
margin-top: var(--rt-spacing-8);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -104,37 +104,37 @@ $side-menu: (
|
|
|
104
104
|
|
|
105
105
|
&__list {
|
|
106
106
|
display: flex;
|
|
107
|
+
width: 100%;
|
|
107
108
|
flex-direction: column;
|
|
108
109
|
align-items: center;
|
|
109
|
-
width: 100%;
|
|
110
110
|
|
|
111
111
|
.rtui-side-menu-item {
|
|
112
112
|
display: flex;
|
|
113
|
+
width: 100%;
|
|
113
114
|
flex-direction: column;
|
|
114
|
-
justify-content: center;
|
|
115
115
|
align-items: center;
|
|
116
|
+
justify-content: center;
|
|
116
117
|
cursor: pointer;
|
|
117
|
-
width: 100%;
|
|
118
118
|
|
|
119
119
|
.rtui-side-menu-item-button {
|
|
120
|
-
padding: 0;
|
|
121
120
|
display: flex;
|
|
122
|
-
justify-content: center;
|
|
123
|
-
align-items: center;
|
|
124
|
-
height: var(--rt-side-menu-item-height);
|
|
125
121
|
width: var(--rt-side-menu-item-width);
|
|
122
|
+
height: var(--rt-side-menu-item-height);
|
|
123
|
+
align-items: center;
|
|
124
|
+
justify-content: center;
|
|
125
|
+
padding: 0;
|
|
126
126
|
|
|
127
127
|
&__icon {
|
|
128
128
|
display: flex;
|
|
129
|
-
justify-content: center;
|
|
130
129
|
align-items: center;
|
|
130
|
+
justify-content: center;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
&__title {
|
|
135
135
|
font-size: var(--rt-side-menu-item-font-size);
|
|
136
|
-
text-align: var(--rt-side-menu-item-text-align);
|
|
137
136
|
line-height: var(--rt-side-menu-item-line-height);
|
|
137
|
+
text-align: var(--rt-side-menu-item-text-align);
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
@@ -157,18 +157,18 @@ $side-menu: (
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.rtui-sub-side-menu-content {
|
|
160
|
+
// Component-local elevation token for the slide-out sub-menu drawer.
|
|
161
|
+
--rt-side-menu-sub-content-shadow: 14px 0 28px rgb(0 0 0 / 25%), 10px 0 10px rgb(0 0 0 / 22%);
|
|
162
|
+
|
|
160
163
|
width: var(--rt-side-menu-sub-menu-width);
|
|
161
164
|
height: 100%;
|
|
162
165
|
border-left: 1px solid var(--rt-border-neutral-default);
|
|
163
|
-
box-shadow:
|
|
164
|
-
14px 0 28px rgba(0, 0, 0, 0.25),
|
|
165
|
-
10px 0 10px rgba(0, 0, 0, 0.22);
|
|
166
|
+
box-shadow: var(--rt-side-menu-sub-content-shadow);
|
|
166
167
|
|
|
167
168
|
&__list {
|
|
168
169
|
width: 100%;
|
|
169
|
-
|
|
170
|
+
animation: fade-in-animation 0.15s ease-in-out 0.15s forwards;
|
|
170
171
|
opacity: 0;
|
|
171
|
-
animation: fadeInAnimation 0.15s ease-in-out 0.15s forwards;
|
|
172
172
|
|
|
173
173
|
&--scrollable {
|
|
174
174
|
min-width: fit-content;
|
|
@@ -178,7 +178,7 @@ $side-menu: (
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
@keyframes
|
|
181
|
+
@keyframes fade-in-animation {
|
|
182
182
|
to {
|
|
183
183
|
opacity: 1;
|
|
184
184
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
&::ng-deep {
|
|
3
3
|
// Set expansion panel header padding
|
|
4
4
|
.mat-expansion-indicator {
|
|
5
|
-
padding: 0
|
|
5
|
+
padding: 0 var(--rt-spacing-24);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
// Set expansion panel body padding
|
|
9
9
|
.mat-expansion-panel-body {
|
|
10
|
-
padding: 0 0 0
|
|
10
|
+
padding: 0 0 0 var(--rt-spacing-16);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
// Set expansion panel transparent container
|
|
@@ -26,30 +26,30 @@
|
|
|
26
26
|
|
|
27
27
|
.rtui-side-menu-sub-item-title {
|
|
28
28
|
display: flex;
|
|
29
|
-
justify-content: space-between;
|
|
30
29
|
align-items: center;
|
|
30
|
+
justify-content: space-between;
|
|
31
31
|
|
|
32
32
|
&__text {
|
|
33
|
+
overflow: hidden;
|
|
33
34
|
font-size: var(--rt-side-menu-sub-menu-item-title-font-size);
|
|
34
35
|
text-overflow: ellipsis;
|
|
35
36
|
white-space: nowrap;
|
|
36
|
-
overflow: hidden;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.rtui-side-menu-sub-item-title-button {
|
|
40
40
|
display: flex;
|
|
41
|
-
justify-content: center;
|
|
42
41
|
align-items: center;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
border-radius: 50%;
|
|
46
|
-
cursor: pointer;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
padding: var(--rt-spacing-2);
|
|
47
44
|
border: 1.5px solid transparent;
|
|
45
|
+
border-radius: var(--rt-radius-full);
|
|
46
|
+
margin-left: var(--rt-spacing-8);
|
|
47
|
+
cursor: pointer;
|
|
48
48
|
|
|
49
49
|
&__icon {
|
|
50
50
|
width: 1.25rem;
|
|
51
51
|
height: 1.25rem;
|
|
52
|
-
font-size:
|
|
52
|
+
font-size: var(--rt-font-size-lg);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&:hover {
|
|
@@ -61,9 +61,10 @@
|
|
|
61
61
|
|
|
62
62
|
.rtui-side-menu-expand-sub-item {
|
|
63
63
|
padding: 0;
|
|
64
|
-
|
|
64
|
+
|
|
65
65
|
// Set expand sub item header border like menu item border
|
|
66
|
-
border-radius:
|
|
66
|
+
border-radius: var(--rt-radius-xl);
|
|
67
|
+
box-shadow: none;
|
|
67
68
|
|
|
68
69
|
&--fixed {
|
|
69
70
|
min-width: var(--rt-side-menu-sub-menu-item-width);
|
|
@@ -78,9 +79,8 @@
|
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
&__icon {
|
|
81
|
-
margin-inline-start: var(--mat-list-list-item-leading-icon-start-space);
|
|
82
|
-
margin-inline-end: var(--mat-list-list-item-leading-icon-end-space);
|
|
83
82
|
color: var(--mdc-list-list-item-leading-icon-color);
|
|
83
|
+
margin-inline: var(--mat-list-list-item-leading-icon-start-space) var(--mat-list-list-item-leading-icon-end-space);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
&__title {
|
|
@@ -13,35 +13,35 @@
|
|
|
13
13
|
height: 100vh;
|
|
14
14
|
margin: -1rem;
|
|
15
15
|
box-shadow:
|
|
16
|
-
0 14px 28px
|
|
17
|
-
0 10px 10px
|
|
16
|
+
0 14px 28px rgb(0 0 0 / 25%),
|
|
17
|
+
0 10px 10px rgb(0 0 0 / 22%);
|
|
18
18
|
|
|
19
19
|
.side-menu-wrapper {
|
|
20
20
|
&__header {
|
|
21
21
|
display: flex;
|
|
22
|
+
width: 100%;
|
|
22
23
|
align-items: center;
|
|
23
24
|
justify-content: center;
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
padding: 0.5rem 0 1rem;
|
|
26
|
+
border-bottom: 1px solid var(--rt-color-neutral-25);
|
|
26
27
|
cursor: pointer;
|
|
27
|
-
border-bottom: 1px solid var(--clr-black-20);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.footer {
|
|
31
31
|
display: flex;
|
|
32
|
+
width: 100%;
|
|
32
33
|
flex-direction: column;
|
|
33
34
|
align-items: center;
|
|
34
35
|
justify-content: center;
|
|
35
|
-
width: 100%;
|
|
36
|
-
gap: 0.5rem;
|
|
37
36
|
padding-top: 0.5rem;
|
|
38
|
-
border-top: 1px solid var(--
|
|
37
|
+
border-top: 1px solid var(--rt-color-neutral-25);
|
|
38
|
+
gap: 0.5rem;
|
|
39
39
|
|
|
40
40
|
&__icon {
|
|
41
|
-
height: 2rem;
|
|
42
41
|
width: 2rem;
|
|
43
|
-
|
|
42
|
+
height: 2rem;
|
|
44
43
|
cursor: pointer;
|
|
44
|
+
font-size: 2rem;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -26,9 +26,9 @@ $snack-bar: (
|
|
|
26
26
|
);
|
|
27
27
|
|
|
28
28
|
:host {
|
|
29
|
-
height: 100%;
|
|
30
|
-
width: 100%;
|
|
31
29
|
display: flex;
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
32
|
align-items: center;
|
|
33
33
|
justify-content: space-between;
|
|
34
34
|
|
|
@@ -40,10 +40,10 @@ $snack-bar: (
|
|
|
40
40
|
|
|
41
41
|
.rt-snack-bar {
|
|
42
42
|
&__content {
|
|
43
|
-
height: 100%;
|
|
44
|
-
width: 100%;
|
|
45
43
|
position: relative;
|
|
46
44
|
display: flex;
|
|
45
|
+
width: 100%;
|
|
46
|
+
height: 100%;
|
|
47
47
|
align-items: center;
|
|
48
48
|
gap: var(--rt-snack-bar-content-gap);
|
|
49
49
|
|
|
@@ -56,16 +56,16 @@ $snack-bar: (
|
|
|
56
56
|
width: var(--rt-snack-bar-icon-size);
|
|
57
57
|
min-width: var(--rt-snack-bar-icon-size);
|
|
58
58
|
height: var(--rt-snack-bar-icon-size);
|
|
59
|
-
font-size: var(--rt-snack-bar-icon-size);
|
|
60
59
|
color: var(--rt-snack-bar-icon-color);
|
|
60
|
+
font-size: var(--rt-snack-bar-icon-size);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
&-message {
|
|
64
64
|
display: -webkit-box;
|
|
65
65
|
overflow: hidden;
|
|
66
|
-
text-overflow: ellipsis;
|
|
67
|
-
-webkit-line-clamp: var(--rt-snack-bar-message-line-clamp);
|
|
68
66
|
-webkit-box-orient: vertical;
|
|
67
|
+
-webkit-line-clamp: var(--rt-snack-bar-message-line-clamp);
|
|
68
|
+
text-overflow: ellipsis;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -87,11 +87,11 @@ $snack-bar: (
|
|
|
87
87
|
|
|
88
88
|
&__progress {
|
|
89
89
|
position: absolute;
|
|
90
|
+
right: 0;
|
|
90
91
|
bottom: 0;
|
|
91
92
|
left: 0;
|
|
92
|
-
right: 0;
|
|
93
|
-
height: var(--rt-snack-bar-progress-height);
|
|
94
93
|
width: 100%;
|
|
94
|
+
height: var(--rt-snack-bar-progress-height);
|
|
95
95
|
background-color: var(--mat-button-filled-container-color);
|
|
96
96
|
border-bottom-left-radius: var(--mat-snack-bar-container-shape);
|
|
97
97
|
border-bottom-right-radius: var(--mat-snack-bar-container-shape);
|