matcha-theme 18.0.27 → 18.0.28
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/README.md +304 -0
- package/abstracts/_breakpoints.scss +33 -0
- package/abstracts/_colors.scss +833 -0
- package/abstracts/_elevation.scss +102 -0
- package/abstracts/_functions.scss +424 -0
- package/abstracts/_grid.scss +163 -0
- package/abstracts/_order.scss +46 -0
- package/abstracts/_position.scss +51 -0
- package/abstracts/_sizes.scss +95 -0
- package/abstracts/_spacings.scss +216 -0
- package/abstracts/_typography.scss +124 -0
- package/base/_helpers.scss +2181 -0
- package/base/_reset.scss +9 -0
- package/base/_typography.scss +244 -0
- package/components/matcha-audio-player.scss +37 -0
- package/components/matcha-buttons.scss +165 -0
- package/components/matcha-cards.scss +93 -0
- package/components/matcha-color-pick.scss +32 -0
- package/components/matcha-draggable.scss +25 -0
- package/components/matcha-header.scss +327 -0
- package/components/matcha-horizontal-tree.scss +277 -0
- package/components/matcha-menu.scss +71 -0
- package/components/matcha-progress-bar.scss +107 -0
- package/components/matcha-scrollbar.scss +36 -0
- package/components/matcha-scrollbox-shadow.scss +127 -0
- package/components/matcha-table.scss +279 -0
- package/css/matcha-style.css +76772 -0
- package/fonts/CircularStd-Black.eot +0 -0
- package/fonts/CircularStd-Black.svg +3426 -0
- package/fonts/CircularStd-Black.ttf +0 -0
- package/fonts/CircularStd-Black.woff +0 -0
- package/fonts/CircularStd-Black.woff2 +0 -0
- package/fonts/CircularStd-Bold.eot +0 -0
- package/fonts/CircularStd-Bold.otf +0 -0
- package/fonts/CircularStd-Bold.svg +13532 -0
- package/fonts/CircularStd-Bold.ttf +0 -0
- package/fonts/CircularStd-Bold.woff +0 -0
- package/fonts/CircularStd-Bold.woff2 +0 -0
- package/fonts/CircularStd-Medium.eot +0 -0
- package/fonts/CircularStd-Medium.otf +0 -0
- package/fonts/CircularStd-Medium.svg +13511 -0
- package/fonts/CircularStd-Medium.ttf +0 -0
- package/fonts/CircularStd-Medium.woff +0 -0
- package/fonts/CircularStd-Medium.woff2 +0 -0
- package/fonts/CircularStd-Regular.eot +0 -0
- package/fonts/CircularStd-Regular.otf +0 -0
- package/fonts/CircularStd-Regular.svg +2378 -0
- package/fonts/CircularStd-Regular.ttf +0 -0
- package/fonts/CircularStd-Regular.woff +0 -0
- package/fonts/CircularStd-Regular.woff2 +0 -0
- package/main.scss +135 -0
- package/package.json +2 -2
- package/tokens/_animations.scss +37 -0
- package/tokens/_breakpoints.scss +38 -0
- package/tokens/_color-tokens.scss +1216 -0
- package/tokens/_elevation-tokens.scss +14 -0
- package/tokens/_spacing-tokens.scss +96 -0
- package/tokens/_typography-tokens.scss +25 -0
- package/vendors/angular-editor.scss +56 -0
- package/vendors/angular-material-fixes.scss +261 -0
- package/vendors/calendar.scss +2880 -0
- package/vendors/charts.scss +92 -0
- package/vendors/ng5-slider.scss +56 -0
- package/vendors/ngx-material-timepicker.scss +50 -0
- package/core.scss +0 -1210
- package/matcha-core.css +0 -62385
- package/matcha-core.min.css +0 -1
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
/*
|
|
2
|
+
How to use
|
|
3
|
+
@import '~matcha-ds/assets/scss/components/matcha-header.scss';
|
|
4
|
+
@include matcha-headers-theme($theme);
|
|
5
|
+
*/
|
|
6
|
+
// -----------------------------------------------------------------------------------------------------
|
|
7
|
+
// Headers [Theme]
|
|
8
|
+
// -----------------------------------------------------------------------------------------------------
|
|
9
|
+
@mixin matcha-header-theme($theme) {
|
|
10
|
+
$accent: map-get($theme, accent);
|
|
11
|
+
$warn: map-get($theme, warn);
|
|
12
|
+
$primary: map-get($theme, primary);
|
|
13
|
+
$background: map-get($theme, background);
|
|
14
|
+
$foreground: map-get($theme, foreground);
|
|
15
|
+
|
|
16
|
+
.matcha-header {
|
|
17
|
+
|
|
18
|
+
// matcha-header__content
|
|
19
|
+
&__content {
|
|
20
|
+
|
|
21
|
+
// matcha-header__content__title
|
|
22
|
+
&__title {
|
|
23
|
+
|
|
24
|
+
// matcha-header__content__title__icon
|
|
25
|
+
&__icon {
|
|
26
|
+
color: map-get($foreground, label);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__options {
|
|
31
|
+
background: map-get($background, card);
|
|
32
|
+
@include elevation(1);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@media (min-width: 1024px) {
|
|
38
|
+
.matcha-header {
|
|
39
|
+
|
|
40
|
+
// matcha-header__content
|
|
41
|
+
&__content {
|
|
42
|
+
background: map-get($background, card);
|
|
43
|
+
@include elevation(1);
|
|
44
|
+
|
|
45
|
+
// matcha-header__content__title
|
|
46
|
+
&__title {
|
|
47
|
+
|
|
48
|
+
// matcha-header__content__title__icon
|
|
49
|
+
&__icon {
|
|
50
|
+
color: map-get($foreground, label);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__options {
|
|
55
|
+
background: transparent;
|
|
56
|
+
@include elevation(0);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// X-Large devices (big desktops, 1440px and up < 1920)
|
|
64
|
+
@media (min-width: 1440px) {}
|
|
65
|
+
|
|
66
|
+
// XX-Large devices (larger desktops, 1920px and up)
|
|
67
|
+
@media (min-width: 1920px) {}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// -----------------------------------------------------------------------------------------------------
|
|
71
|
+
// Headers [Style]
|
|
72
|
+
// -----------------------------------------------------------------------------------------------------
|
|
73
|
+
.matcha-header {
|
|
74
|
+
|
|
75
|
+
// matcha-header__content
|
|
76
|
+
&__content {
|
|
77
|
+
// align-content: center;
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-wrap: wrap;
|
|
80
|
+
align-items: center;
|
|
81
|
+
flex-direction: row;
|
|
82
|
+
justify-content: space-between;
|
|
83
|
+
width: 100%;
|
|
84
|
+
height: auto;
|
|
85
|
+
|
|
86
|
+
>div:nth-child(n + 2) {
|
|
87
|
+
margin-top: 8px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
// matcha-header__content--few-options
|
|
92
|
+
&--few-options {
|
|
93
|
+
.matcha-header__content__options__buttons {
|
|
94
|
+
display: flex;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// matcha-header__content--full-options
|
|
99
|
+
&--full-options {
|
|
100
|
+
.matcha-header__content__options__buttons {
|
|
101
|
+
display: flex;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.main-btn-new {
|
|
105
|
+
display: none;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.float-btn-new {
|
|
109
|
+
display: inline-block;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// matcha-header__content__title
|
|
114
|
+
&__title {
|
|
115
|
+
font-size: 20px;
|
|
116
|
+
font-family: "CircularStd", "Helvetica Neue", "Arial", sans-serif;
|
|
117
|
+
font-weight: 700;
|
|
118
|
+
margin: 0 16px 0 0;
|
|
119
|
+
line-height: 48px;
|
|
120
|
+
min-height: 48px;
|
|
121
|
+
white-space: nowrap;
|
|
122
|
+
overflow: hidden;
|
|
123
|
+
text-overflow: ellipsis;
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
|
|
127
|
+
// matcha-header__content__title__icon
|
|
128
|
+
&__icon {
|
|
129
|
+
font-size: 32px;
|
|
130
|
+
line-height: 32px;
|
|
131
|
+
width: 32px;
|
|
132
|
+
height: 32px;
|
|
133
|
+
margin: 0px 16px 0 0px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
// matcha-header__content__title__label
|
|
137
|
+
&__label {
|
|
138
|
+
line-height: 24px;
|
|
139
|
+
display: -webkit-box;
|
|
140
|
+
-webkit-line-clamp: 2;
|
|
141
|
+
overflow: hidden;
|
|
142
|
+
text-overflow: ellipsis;
|
|
143
|
+
word-break: break-word;
|
|
144
|
+
white-space: initial;
|
|
145
|
+
|
|
146
|
+
-webkit-box-orient: vertical;
|
|
147
|
+
|
|
148
|
+
text-transform: capitalize;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// matcha-header__content__options
|
|
154
|
+
&__options {
|
|
155
|
+
display: flex;
|
|
156
|
+
margin: 0;
|
|
157
|
+
flex-direction: column-reverse;
|
|
158
|
+
justify-content: flex-end;
|
|
159
|
+
width: 100%;
|
|
160
|
+
padding: 16px;
|
|
161
|
+
border-radius: 8px;
|
|
162
|
+
|
|
163
|
+
>div:nth-child(n + 2) {
|
|
164
|
+
margin-bottom: 8px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
// matcha-header__content__options__form
|
|
168
|
+
&__form {
|
|
169
|
+
display: flex;
|
|
170
|
+
width: 100%;
|
|
171
|
+
height: 48px;
|
|
172
|
+
margin-top: 0px;
|
|
173
|
+
|
|
174
|
+
form {
|
|
175
|
+
display: flex;
|
|
176
|
+
width: 100%;
|
|
177
|
+
height: 48px;
|
|
178
|
+
margin-top: 0px !important;
|
|
179
|
+
|
|
180
|
+
// Deprecated warning
|
|
181
|
+
// All angular material classes shuld become agnostics
|
|
182
|
+
.mat-form-field {
|
|
183
|
+
width: 100%;
|
|
184
|
+
margin: 0 0 0 0 !important;
|
|
185
|
+
|
|
186
|
+
.mat-form-field-wrapper {
|
|
187
|
+
margin: 0
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.mat-form-field-outline-end {
|
|
191
|
+
border-radius: 0 0 0 0 !important;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.btn-search-filter {
|
|
197
|
+
margin: 0 0 0 -2px !important;
|
|
198
|
+
border-radius: 0 8px 8px 0 !important;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
// matcha-header__content__options__field
|
|
203
|
+
&__field {
|
|
204
|
+
display: flex;
|
|
205
|
+
width: 100%;
|
|
206
|
+
height: 48px;
|
|
207
|
+
margin-top: 0px;
|
|
208
|
+
|
|
209
|
+
form {
|
|
210
|
+
display: flex;
|
|
211
|
+
width: 100%;
|
|
212
|
+
height: 48px;
|
|
213
|
+
margin-top: 0px !important;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// Deprecated warning
|
|
217
|
+
// All angular material classes shuld become agnostics
|
|
218
|
+
.mat-form-field {
|
|
219
|
+
width: 100%;
|
|
220
|
+
margin: 0 0 0 0 !important;
|
|
221
|
+
|
|
222
|
+
.mat-form-field-wrapper {
|
|
223
|
+
margin: 0
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// matcha-header__content__options__buttons
|
|
230
|
+
&__buttons {
|
|
231
|
+
|
|
232
|
+
button {
|
|
233
|
+
&:nth-child(n):not(.float-btn-new):not(.btn-search-filter) {
|
|
234
|
+
margin: 0 8px 0 0;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&:first-child {
|
|
238
|
+
margin: 0 8px 0 0;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.float-btn-new {
|
|
245
|
+
position: fixed;
|
|
246
|
+
z-index: 9999;
|
|
247
|
+
top: calc(100vh - 72px);
|
|
248
|
+
left: calc(100vw - 72px);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
// Medium devices (landscapes and tablets, 600px and up < 1024px )
|
|
254
|
+
@media (min-width: 600px) {}
|
|
255
|
+
|
|
256
|
+
// Large devices (tablets and small monitors, 1024px and up < 1440px)
|
|
257
|
+
@media (min-width: 1024px) {
|
|
258
|
+
.matcha-header {
|
|
259
|
+
&__content {
|
|
260
|
+
padding: 16px;
|
|
261
|
+
border-radius: 8px;
|
|
262
|
+
flex-wrap: nowrap;
|
|
263
|
+
|
|
264
|
+
>div:nth-child(n + 2) {
|
|
265
|
+
margin-top: 0px;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
&--few-options {
|
|
269
|
+
.matcha-header__content__options__buttons {
|
|
270
|
+
display: flex;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
&--full-options {
|
|
275
|
+
.matcha-header__content__options__buttons {
|
|
276
|
+
display: flex;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.main-btn-new {
|
|
280
|
+
display: inline-block;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.float-btn-new {
|
|
284
|
+
display: none;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
&__options {
|
|
289
|
+
flex-direction: row;
|
|
290
|
+
max-width: fit-content;
|
|
291
|
+
padding: 0px;
|
|
292
|
+
border-radius: 0px;
|
|
293
|
+
|
|
294
|
+
>div:nth-child(n + 2) {
|
|
295
|
+
margin-bottom: 0px;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
&__form,
|
|
299
|
+
&__field {
|
|
300
|
+
min-width: 272px;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
&__buttons {
|
|
304
|
+
margin-bottom: 0px;
|
|
305
|
+
display: flex;
|
|
306
|
+
|
|
307
|
+
button {
|
|
308
|
+
&:nth-child(n):not(.float-btn-new):not(.btn-search-filter) {
|
|
309
|
+
margin: 0 0 0 16px;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
&:first-child {
|
|
313
|
+
margin: 0;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
// X-Large devices (big desktops, 1440px and up < 1920)
|
|
324
|
+
@media (min-width: 1440px) {}
|
|
325
|
+
|
|
326
|
+
// XX-Large devices (larger desktops, 1920px and up)
|
|
327
|
+
@media (min-width: 1920px) {}
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
@mixin matcha-horizontal-tree($theme) {
|
|
2
|
+
$primary: map-get($theme, primary);
|
|
3
|
+
$accent: map-get($theme, accent);
|
|
4
|
+
$warn: map-get($theme, warn);
|
|
5
|
+
$background: map-get($theme, background);
|
|
6
|
+
$foreground: map-get($theme, foreground);
|
|
7
|
+
|
|
8
|
+
.svg-line {
|
|
9
|
+
position: absolute;
|
|
10
|
+
top: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
z-index: -1;
|
|
15
|
+
|
|
16
|
+
line {
|
|
17
|
+
stroke-width: 4px;
|
|
18
|
+
stroke: map-get($foreground, placeholder);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.child {
|
|
23
|
+
display: flex;
|
|
24
|
+
position: relative;
|
|
25
|
+
|
|
26
|
+
.the-line-connect-first,
|
|
27
|
+
.the-line-connect,
|
|
28
|
+
.the-line-connect-last,
|
|
29
|
+
.the-line-connect-first-modal,
|
|
30
|
+
.the-line-connect-second-modal,
|
|
31
|
+
.the-line-connect-last-modal {}
|
|
32
|
+
|
|
33
|
+
.the-line-connect-first {
|
|
34
|
+
width: 56px;
|
|
35
|
+
height: 4px;
|
|
36
|
+
margin: 56px -16px 56px -40px;
|
|
37
|
+
display: flex;
|
|
38
|
+
position: absolute;
|
|
39
|
+
z-index: -1;
|
|
40
|
+
background: transparent;
|
|
41
|
+
box-shadow: inset 2px -2px 0px 2px map-get($foreground, placeholder);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.the-line-connect {
|
|
45
|
+
width: 56px;
|
|
46
|
+
margin: -90px -16px 56px -40px;
|
|
47
|
+
height: 150px;
|
|
48
|
+
display: flex;
|
|
49
|
+
position: absolute;
|
|
50
|
+
z-index: -1;
|
|
51
|
+
background: transparent;
|
|
52
|
+
border-radius: 0 0 0 40px;
|
|
53
|
+
box-shadow: inset 2px -2px 0px 2px map-get($foreground, placeholder);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.the-line-connect-last {
|
|
57
|
+
width: 56px;
|
|
58
|
+
height: 136px;
|
|
59
|
+
margin: -80px -16px 56px -40px;
|
|
60
|
+
display: flex;
|
|
61
|
+
position: absolute;
|
|
62
|
+
z-index: -1;
|
|
63
|
+
border-radius: 0 0 0 40px;
|
|
64
|
+
background: transparent;
|
|
65
|
+
box-shadow: inset 2px -2px 0px 2px map-get($foreground, placeholder);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.the-line-connect-first-modal {
|
|
69
|
+
width: 56px;
|
|
70
|
+
height: 4px;
|
|
71
|
+
margin: 56px -16px 56px -40px;
|
|
72
|
+
display: flex;
|
|
73
|
+
position: absolute;
|
|
74
|
+
z-index: -1;
|
|
75
|
+
background: transparent;
|
|
76
|
+
box-shadow: inset 2px -2px 0px 2px map-get($background, lime-alpha);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.the-line-connect-second-modal {
|
|
80
|
+
width: 56px;
|
|
81
|
+
border-radius: 0 0 0 40px;
|
|
82
|
+
z-index: 1;
|
|
83
|
+
margin: -16px -16px 56px -40px;
|
|
84
|
+
height: 72px;
|
|
85
|
+
display: flex;
|
|
86
|
+
position: absolute;
|
|
87
|
+
background: transparent;
|
|
88
|
+
box-shadow: inset 2px -2px 0px 2px map-get($background, lime-alpha);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.the-line-connect-last-modal {
|
|
92
|
+
width: 56px;
|
|
93
|
+
height: 150px;
|
|
94
|
+
margin: -90px -16px 56px -40px;
|
|
95
|
+
display: flex;
|
|
96
|
+
position: absolute;
|
|
97
|
+
border-radius: 0 0 0 40px;
|
|
98
|
+
z-index: 1;
|
|
99
|
+
background: transparent;
|
|
100
|
+
box-shadow: inset 2px -2px 0px 2px map-get($background, lime-alpha);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.the-line-connect-start-modal {
|
|
104
|
+
height: 92px;
|
|
105
|
+
margin: -34px -16px 56px -40px;
|
|
106
|
+
width: 56px;
|
|
107
|
+
border-radius: 0 0 0 40px;
|
|
108
|
+
z-index: 1;
|
|
109
|
+
display: flex;
|
|
110
|
+
position: absolute;
|
|
111
|
+
background: transparent;
|
|
112
|
+
box-shadow: inset 2px -2px 0px 2px map-get($background, lime-alpha);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.the-line-connect {
|
|
116
|
+
height: 92px !important;
|
|
117
|
+
margin: -34px -16px 56px -40px !important;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.the-line-connect-middle {
|
|
121
|
+
height: 92px;
|
|
122
|
+
margin: -34px -16px 56px -40px;
|
|
123
|
+
width: 56px;
|
|
124
|
+
border-radius: 0 0 0 40px;
|
|
125
|
+
z-index: 0;
|
|
126
|
+
display: flex;
|
|
127
|
+
position: absolute;
|
|
128
|
+
background: transparent;
|
|
129
|
+
box-shadow: inset 2px -2px 0px 2px #223744;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.tree-node {
|
|
134
|
+
min-width: 264px;
|
|
135
|
+
max-width: 264px;
|
|
136
|
+
width: 264px;
|
|
137
|
+
height: 80px;
|
|
138
|
+
|
|
139
|
+
&-header {
|
|
140
|
+
display: flex;
|
|
141
|
+
justify-content: space-between;
|
|
142
|
+
margin-bottom: 4px;
|
|
143
|
+
|
|
144
|
+
&-title {
|
|
145
|
+
font-size: 12px;
|
|
146
|
+
line-height: 12px;
|
|
147
|
+
display: flex;
|
|
148
|
+
margin: 0 0 4px 0;
|
|
149
|
+
align-items: center;
|
|
150
|
+
letter-spacing: 0.08em;
|
|
151
|
+
text-transform: uppercase;
|
|
152
|
+
font-family: "CircularStd";
|
|
153
|
+
font-weight: 700;
|
|
154
|
+
|
|
155
|
+
&-bullet {
|
|
156
|
+
height: 16px;
|
|
157
|
+
width: 8px;
|
|
158
|
+
margin: 0px 8px 0 0;
|
|
159
|
+
display: inline-block;
|
|
160
|
+
position: relative;
|
|
161
|
+
border-radius: 10px;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&-content {
|
|
167
|
+
display: flex;
|
|
168
|
+
justify-content: space-between;
|
|
169
|
+
|
|
170
|
+
&-profile {
|
|
171
|
+
display: flex;
|
|
172
|
+
align-items: center;
|
|
173
|
+
width: 100%;
|
|
174
|
+
|
|
175
|
+
&-avatar {
|
|
176
|
+
border-radius: 50px;
|
|
177
|
+
min-width: 24px;
|
|
178
|
+
min-height: 24px;
|
|
179
|
+
width: 24px;
|
|
180
|
+
height: 24px;
|
|
181
|
+
max-width: 24px;
|
|
182
|
+
max-height: 24px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&-name {
|
|
186
|
+
width: calc(100% - 48px);
|
|
187
|
+
display: flex;
|
|
188
|
+
line-height: 20px;
|
|
189
|
+
font-size: 16px;
|
|
190
|
+
margin: 0 0 0 8px;
|
|
191
|
+
-webkit-line-clamp: 2;
|
|
192
|
+
overflow: hidden;
|
|
193
|
+
text-overflow: ellipsis;
|
|
194
|
+
word-break: break-word;
|
|
195
|
+
white-space: nowrap;
|
|
196
|
+
-webkit-box-orient: vertical;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&-btn-add-node {
|
|
201
|
+
position: absolute;
|
|
202
|
+
margin: 24px 0px 0 236px;
|
|
203
|
+
width: 24px;
|
|
204
|
+
height: 24px;
|
|
205
|
+
background: map-get($background, card);
|
|
206
|
+
box-shadow: inset 0px 0px 0px 3px map-get($accent, default);
|
|
207
|
+
|
|
208
|
+
&-i {
|
|
209
|
+
line-height: 12px;
|
|
210
|
+
color: map-get($accent, default);
|
|
211
|
+
border-radius: 50px;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.tree-first-node {
|
|
218
|
+
display: flex;
|
|
219
|
+
justify-content: center;
|
|
220
|
+
align-items: center;
|
|
221
|
+
min-width: 264px;
|
|
222
|
+
max-width: 264px;
|
|
223
|
+
width: 264px;
|
|
224
|
+
height: 80px;
|
|
225
|
+
margin: 16px 16px -10px 16px;
|
|
226
|
+
border-radius: 8px;
|
|
227
|
+
|
|
228
|
+
&-begin {
|
|
229
|
+
font-size: 16px;
|
|
230
|
+
font-family: "CircularStd";
|
|
231
|
+
font-weight: 700;
|
|
232
|
+
line-height: 16px;
|
|
233
|
+
display: -webkit-box;
|
|
234
|
+
-webkit-line-clamp: 2;
|
|
235
|
+
overflow: hidden;
|
|
236
|
+
text-overflow: ellipsis;
|
|
237
|
+
word-break: break-word;
|
|
238
|
+
white-space: initial;
|
|
239
|
+
-webkit-box-orient: vertical;
|
|
240
|
+
text-transform: capitalize;
|
|
241
|
+
text-overflow: ellipsis;
|
|
242
|
+
|
|
243
|
+
&-btn-add-node {
|
|
244
|
+
width: 24px;
|
|
245
|
+
height: 24px;
|
|
246
|
+
display: block;
|
|
247
|
+
margin: 0 auto;
|
|
248
|
+
position: relative;
|
|
249
|
+
background: map-get($background, card);
|
|
250
|
+
box-shadow: inset 0px 0px 0px 3px map-get($accent, default);
|
|
251
|
+
|
|
252
|
+
&-i {
|
|
253
|
+
line-height: 12px;
|
|
254
|
+
color: map-get($accent, default);
|
|
255
|
+
border-radius: 50px;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.matcha-horizontal-tree {
|
|
262
|
+
overflow: auto;
|
|
263
|
+
// cursor: grab;
|
|
264
|
+
-webkit-touch-callout: none;
|
|
265
|
+
/* iOS Safari */
|
|
266
|
+
-webkit-user-select: none;
|
|
267
|
+
/* Safari */
|
|
268
|
+
-khtml-user-select: none;
|
|
269
|
+
/* Konqueror HTML */
|
|
270
|
+
-moz-user-select: none;
|
|
271
|
+
/* Old versions of Firefox */
|
|
272
|
+
-ms-user-select: none;
|
|
273
|
+
/* Internet Explorer/Edge */
|
|
274
|
+
user-select: none;
|
|
275
|
+
/* Non-prefixed version, currently */
|
|
276
|
+
}
|
|
277
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
@mixin matcha-menu-theme($theme) {
|
|
2
|
+
$primary: map-get($theme, primary);
|
|
3
|
+
$accent: map-get($theme, accent);
|
|
4
|
+
$warn: map-get($theme, warn);
|
|
5
|
+
$background: map-get($theme, background);
|
|
6
|
+
$foreground: map-get($theme, foreground);
|
|
7
|
+
|
|
8
|
+
.matcha-menu{
|
|
9
|
+
position: relative;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.matcha-menu-trigger{
|
|
13
|
+
line-height: 48px;
|
|
14
|
+
}
|
|
15
|
+
.menu {
|
|
16
|
+
position: absolute;
|
|
17
|
+
background: white;
|
|
18
|
+
display: none;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
z-index: 1000;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.menu.show {
|
|
24
|
+
display: flex;
|
|
25
|
+
left: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.menu-item {
|
|
29
|
+
position: relative;
|
|
30
|
+
button{
|
|
31
|
+
background: white;
|
|
32
|
+
border: none;
|
|
33
|
+
padding: 0;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
font-size: 16px;
|
|
36
|
+
font-weight: 700;
|
|
37
|
+
height: 48px;
|
|
38
|
+
appearance: auto;
|
|
39
|
+
text-rendering: auto;
|
|
40
|
+
letter-spacing: normal;
|
|
41
|
+
word-spacing: normal;
|
|
42
|
+
line-height: normal;
|
|
43
|
+
text-transform: none;
|
|
44
|
+
text-indent: 0px;
|
|
45
|
+
text-shadow: none;
|
|
46
|
+
display: inline-block;
|
|
47
|
+
text-align: center;
|
|
48
|
+
align-items: flex-start;
|
|
49
|
+
cursor: default;
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
*{
|
|
52
|
+
pointer-events: none;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.submenu {
|
|
58
|
+
position: absolute;
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.menu-item:hover > .submenu {
|
|
63
|
+
display: block;
|
|
64
|
+
z-index: 1001; /* Ensure submenus appear above other content */
|
|
65
|
+
position:relative;
|
|
66
|
+
top: -48px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
}
|