@smwb/ui-styles 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +60 -0
- package/less/_prelude.less +6 -0
- package/less/components/accordion/accordion.entry.less +2 -0
- package/less/components/accordion/accordion.less +36 -0
- package/less/components/appBar/appBar.entry.less +2 -0
- package/less/components/appBar/appBar.less +95 -0
- package/less/components/appLayout/appLayout.entry.less +2 -0
- package/less/components/appLayout/appLayout.less +112 -0
- package/less/components/avatar/avatar.entry.less +2 -0
- package/less/components/avatar/avatar.less +74 -0
- package/less/components/badge/badge.entry.less +2 -0
- package/less/components/badge/badge.less +66 -0
- package/less/components/bottomBar/bottomBar.entry.less +2 -0
- package/less/components/bottomBar/bottomBar.less +84 -0
- package/less/components/breadcrumbs/breadcrumbs.entry.less +2 -0
- package/less/components/breadcrumbs/breadcrumbs.less +57 -0
- package/less/components/button/button.entry.less +2 -0
- package/less/components/button/button.less +164 -0
- package/less/components/buttonGroup/buttonGroup.entry.less +2 -0
- package/less/components/buttonGroup/buttonGroup.less +95 -0
- package/less/components/card/card.entry.less +2 -0
- package/less/components/card/card.less +56 -0
- package/less/components/carousel/carousel.entry.less +2 -0
- package/less/components/carousel/carousel.less +75 -0
- package/less/components/chat/chat.entry.less +2 -0
- package/less/components/chat/chat.less +623 -0
- package/less/components/chat/chat.variables.less +9 -0
- package/less/components/checkbox/checkbox.entry.less +2 -0
- package/less/components/checkbox/checkbox.less +109 -0
- package/less/components/chip/chip.entry.less +2 -0
- package/less/components/chip/chip.less +121 -0
- package/less/components/datePicker/dataPicker.entry.less +2 -0
- package/less/components/datePicker/dataPicker.less +235 -0
- package/less/components/divider/divider.entry.less +2 -0
- package/less/components/divider/divider.less +69 -0
- package/less/components/expansionPanel/expansionPanel.entry.less +2 -0
- package/less/components/expansionPanel/expansionPanel.less +136 -0
- package/less/components/fileDrop/fileDrop.entry.less +2 -0
- package/less/components/fileDrop/fileDrop.less +67 -0
- package/less/components/fileInput/fileInput.entry.less +2 -0
- package/less/components/fileInput/fileInput.less +4 -0
- package/less/components/floatingButton/floatingButton.entry.less +2 -0
- package/less/components/floatingButton/floatingButton.less +94 -0
- package/less/components/grid/grid.entry.less +2 -0
- package/less/components/grid/grid.less +174 -0
- package/less/components/icon/icon.entry.less +2 -0
- package/less/components/icon/icon.less +27 -0
- package/less/components/imagesList/imagesList.entry.less +2 -0
- package/less/components/imagesList/imagesList.less +35 -0
- package/less/components/imagesList/imagesListItem/imagesListItem.entry.less +2 -0
- package/less/components/imagesList/imagesListItem/imagesListItem.less +117 -0
- package/less/components/list/list.entry.less +2 -0
- package/less/components/list/list.less +87 -0
- package/less/components/menu/menu.entry.less +2 -0
- package/less/components/menu/menu.less +121 -0
- package/less/components/message/message.entry.less +2 -0
- package/less/components/message/message.less +103 -0
- package/less/components/modal/modal.entry.less +2 -0
- package/less/components/modal/modal.less +215 -0
- package/less/components/page/page.entry.less +2 -0
- package/less/components/page/page.less +39 -0
- package/less/components/pageHeader/pageHeader.entry.less +2 -0
- package/less/components/pageHeader/pageHeader.less +49 -0
- package/less/components/pagination/pagination.entry.less +2 -0
- package/less/components/pagination/pagination.less +103 -0
- package/less/components/progressIndicator/progressIndicator.entry.less +2 -0
- package/less/components/progressIndicator/progressIndicator.less +107 -0
- package/less/components/radioButton/radioButton.entry.less +2 -0
- package/less/components/radioButton/radioButton.less +138 -0
- package/less/components/rating/rating.entry.less +2 -0
- package/less/components/rating/rating.less +65 -0
- package/less/components/ripple/ripple.entry.less +2 -0
- package/less/components/ripple/ripple.less +24 -0
- package/less/components/screenDivider/screenDivider.entry.less +2 -0
- package/less/components/screenDivider/screenDivider.less +56 -0
- package/less/components/selectField/selectField.entry.less +2 -0
- package/less/components/selectField/selectField.less +182 -0
- package/less/components/sheet/sheet.entry.less +2 -0
- package/less/components/sheet/sheet.less +243 -0
- package/less/components/sidebar/sidebar.entry.less +2 -0
- package/less/components/sidebar/sidebar.less +137 -0
- package/less/components/skeleton/skeleton.entry.less +2 -0
- package/less/components/skeleton/skeleton.less +67 -0
- package/less/components/slider/slider.entry.less +2 -0
- package/less/components/slider/slider.less +294 -0
- package/less/components/snackbar/snackbar.entry.less +2 -0
- package/less/components/snackbar/snackbar.less +157 -0
- package/less/components/stack/stack.entry.less +2 -0
- package/less/components/stack/stack.less +10 -0
- package/less/components/stepper/stepper.entry.less +2 -0
- package/less/components/stepper/stepper.less +142 -0
- package/less/components/table/table.entry.less +2 -0
- package/less/components/table/table.less +192 -0
- package/less/components/table/tablePagination/tablePagination.entry.less +2 -0
- package/less/components/table/tablePagination/tablePagination.less +62 -0
- package/less/components/tabs/tab/tab.entry.less +2 -0
- package/less/components/tabs/tab/tab.less +114 -0
- package/less/components/tabs/tabs.entry.less +2 -0
- package/less/components/tabs/tabs.less +44 -0
- package/less/components/textField/textField.entry.less +2 -0
- package/less/components/textField/textField.less +373 -0
- package/less/components/timePicker/timePicker.entry.less +2 -0
- package/less/components/timePicker/timePicker.less +95 -0
- package/less/components/toggle/toggle.entry.less +2 -0
- package/less/components/toggle/toggle.less +110 -0
- package/less/components/tooltip/tooltip.entry.less +2 -0
- package/less/components/tooltip/tooltip.less +36 -0
- package/less/components/treeView/treeView.entry.less +2 -0
- package/less/components/treeView/treeView.less +71 -0
- package/less/components/typography/typography.entry.less +2 -0
- package/less/components/typography/typography.less +86 -0
- package/less/components.less +59 -0
- package/less/connects/rt/table.less +26 -0
- package/less/connects.less +1 -0
- package/less/default/globals/default.variables.less +584 -0
- package/less/foundation/breakpoints.less +80 -0
- package/less/foundation/elevation.less +61 -0
- package/less/foundation/palette.less +310 -0
- package/less/foundation/radius.less +21 -0
- package/less/foundation/sizing.less +35 -0
- package/less/foundation/spacing.less +164 -0
- package/less/foundation/typography.less +25 -0
- package/less/foundation.less +18 -0
- package/less/headless-base.less +2 -0
- package/less/responsive.less +41 -0
- package/less/site/globals/site.variables.less +25 -0
- package/less/templates/adminDashboard/adminDashboard.less +27 -0
- package/less/templates/summer-ui/auth.less +30 -0
- package/less/templates/summer-ui/authCard.less +33 -0
- package/less/templates/summer-ui/authLayout.less +11 -0
- package/less/templates.less +4 -0
- package/less/theme.less +30 -0
- package/less/themes/material/variables.less +370 -0
- package/less/themes/summer/variables.less +380 -0
- package/less/variables.less +260 -0
- package/normalize.css +484 -0
- package/package.json +21 -0
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
.smwb-table {
|
|
2
|
+
// table-layout: fixed;
|
|
3
|
+
width: 100%;
|
|
4
|
+
white-space: nowrap;
|
|
5
|
+
border-collapse: collapse;
|
|
6
|
+
overflow: scroll;
|
|
7
|
+
|
|
8
|
+
&.smwb-hovered {
|
|
9
|
+
tbody {
|
|
10
|
+
tr:hover {
|
|
11
|
+
background: var(--smui-onSurfaceHover);
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__error {
|
|
18
|
+
margin-bottom: @tableToolbarMarginBottom;
|
|
19
|
+
}
|
|
20
|
+
&__container {
|
|
21
|
+
display: flex;
|
|
22
|
+
overflow-x: auto;
|
|
23
|
+
border: 1px solid var(--smui-tableBorderColor);
|
|
24
|
+
border-radius: 4px;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
&.smwb-withPagination {
|
|
27
|
+
border-radius: 4px 4px 0 0;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
&__wrapper {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
background-color: var(--smui-surfaceBackground);
|
|
34
|
+
&_loading {
|
|
35
|
+
pointer-events: none;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__cell {
|
|
40
|
+
position: relative;
|
|
41
|
+
.lineClamp(1);
|
|
42
|
+
padding: 0 @tableCellPaddingX;
|
|
43
|
+
height: 52px;
|
|
44
|
+
vertical-align: middle;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
word-wrap: break-word;
|
|
47
|
+
&.smwb-head-cell {
|
|
48
|
+
height: 56px;
|
|
49
|
+
text-align: left;
|
|
50
|
+
font-weight: 500;
|
|
51
|
+
&.smwb-sortable {
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
}
|
|
54
|
+
.smwb-head-cell__content {
|
|
55
|
+
align-items: center;
|
|
56
|
+
display: inline-flex;
|
|
57
|
+
vertical-align: middle;
|
|
58
|
+
gap: @tableActionsGap;
|
|
59
|
+
user-select: none;
|
|
60
|
+
input {
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
&.smwb-align_left {
|
|
65
|
+
text-align: left;
|
|
66
|
+
}
|
|
67
|
+
&.smwb-align_center {
|
|
68
|
+
text-align: center;
|
|
69
|
+
}
|
|
70
|
+
&.smwb-align_right {
|
|
71
|
+
text-align: right;
|
|
72
|
+
}
|
|
73
|
+
.smwb-head-cell__icon {
|
|
74
|
+
flex-shrink: 0;
|
|
75
|
+
display: none;
|
|
76
|
+
transition: all 0.15s ease-in-out;
|
|
77
|
+
fill: var(--smui-primaryTextColor);
|
|
78
|
+
}
|
|
79
|
+
&.smwb-sorted_asc {
|
|
80
|
+
.smwb-head-cell__icon {
|
|
81
|
+
display: inline-flex;
|
|
82
|
+
transform: rotate(0);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
&.smwb-sorted_desc {
|
|
86
|
+
.smwb-head-cell__icon {
|
|
87
|
+
display: inline-flex;
|
|
88
|
+
transform: rotate(180deg);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&__head {
|
|
95
|
+
.smwb-table__row {
|
|
96
|
+
border-top: none;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&__row {
|
|
101
|
+
border-top: 1px solid var(--smui-tableBorderColor);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.smwb-dense {
|
|
105
|
+
.smwb-table__cell {
|
|
106
|
+
padding: 0 @tableCellPaddingX;
|
|
107
|
+
height: 36px;
|
|
108
|
+
vertical-align: middle;
|
|
109
|
+
&.smwb-head-cell {
|
|
110
|
+
height: 40px;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.smwb-table__row {
|
|
115
|
+
border-top: 1px solid var(--smui-tableBorderColor);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&__loader {
|
|
120
|
+
width: 100%;
|
|
121
|
+
display: flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
justify-content: center;
|
|
124
|
+
position: absolute;
|
|
125
|
+
height: 100%;
|
|
126
|
+
top: 50%;
|
|
127
|
+
left: 50%;
|
|
128
|
+
transform: translate(-50%, -50%);
|
|
129
|
+
&__row {
|
|
130
|
+
height: 100px;
|
|
131
|
+
position: relative;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.smwb-scrollbar {
|
|
137
|
+
&::-webkit-scrollbar-thumb {
|
|
138
|
+
background-color: var(--smui-scrollThumbColor);
|
|
139
|
+
border-radius: 999px;
|
|
140
|
+
}
|
|
141
|
+
&::-webkit-scrollbar {
|
|
142
|
+
width: 6px;
|
|
143
|
+
height: 6px;
|
|
144
|
+
}
|
|
145
|
+
&::-webkit-scrollbar-track {
|
|
146
|
+
background-color: transparent;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.lineClamp(@val) {
|
|
151
|
+
-webkit-line-clamp: @val;
|
|
152
|
+
-webkit-box-orient: vertical;
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
white-space: nowrap;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.smwb-head-cell_sortable .smwb-head-cell__content {
|
|
159
|
+
cursor: pointer;
|
|
160
|
+
user-select: none;
|
|
161
|
+
outline: none;
|
|
162
|
+
}
|
|
163
|
+
.smwb-head-cell_sortable .smwb-head-cell__content:focus-visible {
|
|
164
|
+
outline: 2px solid var(--smui-primaryColor);
|
|
165
|
+
outline-offset: 2px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.smwb-table__row_selected {
|
|
169
|
+
background-color: var(--smui-onSurfaceHover);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.smwb-table__caption {
|
|
173
|
+
caption-side: top;
|
|
174
|
+
text-align: left;
|
|
175
|
+
padding: 8px 12px;
|
|
176
|
+
color: var(--smui-onSurfaceVariant);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.smwb-table_sticky-header {
|
|
180
|
+
overflow: visible;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.smwb-table__container:has(.smwb-table_sticky-header) {
|
|
184
|
+
overflow: visible;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.smwb-table_sticky-header .smwb-table__head .smwb-table__cell {
|
|
188
|
+
position: sticky;
|
|
189
|
+
top: 0;
|
|
190
|
+
z-index: 2;
|
|
191
|
+
background-color: var(--smui-surfaceBackground);
|
|
192
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
.smwb-table__pagination {
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 52px;
|
|
5
|
+
border: 1px solid var(--smui-tableBorderColor);
|
|
6
|
+
border-top: 0;
|
|
7
|
+
border-radius: 0 0 4px 4px;
|
|
8
|
+
justify-content: flex-end;
|
|
9
|
+
padding: 0 @tablePaginationPaddingX;
|
|
10
|
+
box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14),
|
|
11
|
+
0px 2px 3px 0px rgba(0, 0, 0, 0.12);
|
|
12
|
+
&__controls {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
gap: @tablePaginationOuterGap;
|
|
16
|
+
}
|
|
17
|
+
&__buttons {
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
gap: @tablePaginationControlsGap;
|
|
21
|
+
}
|
|
22
|
+
&__control {
|
|
23
|
+
display: inline-flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
background: none;
|
|
27
|
+
&:disabled {
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
opacity: 0.38;
|
|
30
|
+
}
|
|
31
|
+
.smwb-icon__wrapper {
|
|
32
|
+
color: var(--smui-primaryTextColor);
|
|
33
|
+
transition: all 0.15s ease-in-out;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
&__rows {
|
|
37
|
+
display: flex;
|
|
38
|
+
gap: @tablePaginationRowsGap;
|
|
39
|
+
align-items: center;
|
|
40
|
+
}
|
|
41
|
+
&__select {
|
|
42
|
+
width: 100px;
|
|
43
|
+
border: 1px solid var(--smui-tableBorderColor);
|
|
44
|
+
border-radius: 4px;
|
|
45
|
+
padding: @tablePaginationSelectPaddingY 0;
|
|
46
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
|
|
47
|
+
background-color: var(--smui-surfaceBackground);
|
|
48
|
+
color: var(--smui-primaryTextColor);
|
|
49
|
+
&:focus {
|
|
50
|
+
border: 1px solid var(--smui-primaryColor);
|
|
51
|
+
}
|
|
52
|
+
.smwb-select-option {
|
|
53
|
+
background-color: var(--smui-surfaceBackground);
|
|
54
|
+
&.smwb-selected {
|
|
55
|
+
display: none;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
&__current-count {
|
|
60
|
+
word-spacing: 3px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
.smwb-tab {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
flex: 1 0 auto;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
margin: 0;
|
|
9
|
+
padding: 0 @tabPaddingX;
|
|
10
|
+
min-height: 48px;
|
|
11
|
+
border: none;
|
|
12
|
+
outline: none;
|
|
13
|
+
background: none;
|
|
14
|
+
text-align: center;
|
|
15
|
+
white-space: nowrap;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
font-size: 0.875rem;
|
|
18
|
+
line-height: 2.25rem;
|
|
19
|
+
font-weight: 600;
|
|
20
|
+
letter-spacing: 0.0892857143em;
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
text-transform: uppercase;
|
|
23
|
+
-webkit-appearance: none;
|
|
24
|
+
z-index: 1;
|
|
25
|
+
|
|
26
|
+
&:before {
|
|
27
|
+
position: absolute;
|
|
28
|
+
inset: 0;
|
|
29
|
+
top: 0;
|
|
30
|
+
right: 0;
|
|
31
|
+
bottom: 0;
|
|
32
|
+
left: 0;
|
|
33
|
+
opacity: 0;
|
|
34
|
+
content: "";
|
|
35
|
+
transition: opacity 15ms linear, background-color 15ms linear;
|
|
36
|
+
z-index: 1;
|
|
37
|
+
background-color: @tabBgColor;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:hover {
|
|
41
|
+
&:before {
|
|
42
|
+
opacity: @tabOpacityHover;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:focus {
|
|
47
|
+
&:before {
|
|
48
|
+
opacity: @tabOpacityFocus;
|
|
49
|
+
transition-duration: 75ms;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&__content {
|
|
54
|
+
position: relative;
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
height: inherit;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&__text-label {
|
|
62
|
+
display: inline-block;
|
|
63
|
+
line-height: 1;
|
|
64
|
+
color: var(--smui-tabColorDefault);
|
|
65
|
+
transition: color 0.15s linear;
|
|
66
|
+
z-index: 2;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&__icon {
|
|
70
|
+
color: var(--smui-tabIconColor);
|
|
71
|
+
fill: currentColor;
|
|
72
|
+
width: 24px;
|
|
73
|
+
height: 24px;
|
|
74
|
+
font-size: 24px;
|
|
75
|
+
transition: color 0.15s linear;
|
|
76
|
+
z-index: 2;
|
|
77
|
+
display: inline-flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&--active &__text-label,
|
|
83
|
+
&--active &__icon {
|
|
84
|
+
transition-delay: 0.1s;
|
|
85
|
+
color: var(--smui-primaryColor);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&--stacked {
|
|
89
|
+
height: 72px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&--stacked &__text-label {
|
|
93
|
+
padding-top: @tabIconPaddingTop;
|
|
94
|
+
padding-bottom: @tabIconPaddingBottom;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&--stacked &__content {
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&:not(&--stacked) &__icon + &__text-label {
|
|
102
|
+
padding-left: @tabLabelPaddingLeft;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&__ripple-child {
|
|
106
|
+
color: @tabBgColor;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.smwb-tab--disabled {
|
|
111
|
+
opacity: 0.5;
|
|
112
|
+
pointer-events: none;
|
|
113
|
+
cursor: default;
|
|
114
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.smwb-tabs {
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
|
|
6
|
+
&__scroller {
|
|
7
|
+
position: relative;
|
|
8
|
+
display: inline-block;
|
|
9
|
+
flex: 1 1 auto;
|
|
10
|
+
white-space: nowrap;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
|
|
13
|
+
&--scrollable {
|
|
14
|
+
overflow: auto hidden;
|
|
15
|
+
// Hide dimensionless scrollbar on macOS
|
|
16
|
+
scrollbar-width: none; // Firefox
|
|
17
|
+
|
|
18
|
+
&::-webkit-scrollbar {
|
|
19
|
+
display: none; // Safari + Chrome
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__scroll-area {
|
|
25
|
+
display: flex;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__indicator {
|
|
29
|
+
display: flex;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
position: absolute;
|
|
32
|
+
bottom: 0;
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 2px;
|
|
35
|
+
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__indicator-content {
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: inherit;
|
|
41
|
+
background-color: var(--smui-primaryColor);
|
|
42
|
+
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
43
|
+
}
|
|
44
|
+
}
|