@trilogy-ds/styles 0.0.1-beta.9 → 0.0.2-alpha-prompt
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/dist/default/assets/icons/all/calendar.svg +1 -0
- package/dist/default/assets/icons/all/file-attached.svg +1 -0
- package/dist/default/assets/icons/all/micro.svg +1 -0
- package/dist/default/assets/icons/all/paperclip.svg +1 -0
- package/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/_all.scss +2 -2
- package/framework/src/base/_all.scss +1 -1
- package/framework/src/base/_color.scss +1 -52
- package/framework/src/base/_elements.scss +1 -1
- package/framework/src/base/_generic.scss +9 -1
- package/framework/src/base/_helpers.scss +34 -44
- package/framework/src/base/_loading.scss +9 -2
- package/framework/src/base/_reset.scss +11 -1
- package/framework/src/components/_accordion.scss +55 -89
- package/framework/src/components/_autocomplete.scss +38 -0
- package/framework/src/components/_autolayout.scss +332 -0
- package/framework/src/components/_badge.scss +87 -0
- package/framework/src/components/_box.scss +168 -0
- package/framework/src/components/_breadcrumb.scss +29 -38
- package/framework/src/components/_button.scss +79 -0
- package/framework/src/components/_calendar.scss +129 -0
- package/framework/src/components/_card.scss +33 -87
- package/framework/src/components/_checkbox.scss +71 -0
- package/framework/src/components/_chips.scss +84 -0
- package/framework/src/{elements → components}/_container.scss +7 -46
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_date-picker.scss +58 -0
- package/framework/src/components/_divider.scss +48 -14
- package/framework/src/components/_dropdown.scss +166 -99
- package/framework/src/components/_fab.scss +25 -38
- package/framework/src/components/_flex-box.scss +994 -0
- package/framework/src/{elements → components}/_icon.scss +4 -4
- package/framework/src/components/_image.scss +69 -0
- package/framework/src/components/_index.scss +51 -0
- package/framework/src/components/_link.scss +58 -0
- package/framework/src/components/_list.scss +66 -0
- package/framework/src/{elements → components}/_loader.scss +2 -2
- package/framework/src/components/_modal.scss +182 -158
- package/framework/src/components/_otp.scss +11 -30
- package/framework/src/components/_pagination.scss +60 -159
- package/framework/src/components/_popover.scss +260 -260
- package/framework/src/components/_price.scss +140 -165
- package/framework/src/components/_product-tour.scss +2 -4
- package/framework/src/components/_prompt.scss +125 -0
- package/framework/src/components/_radio.scss +82 -0
- package/framework/src/components/_range.scss +73 -72
- package/framework/src/components/_segmented-control.scss +55 -53
- package/framework/src/components/_select.scss +131 -0
- package/framework/src/components/_stepper.scss +42 -222
- package/framework/src/{elements → components}/_sticker.scss +25 -28
- package/framework/src/components/_switch.scss +97 -191
- package/framework/src/components/_table.scss +244 -0
- package/framework/src/components/_tabs.scss +114 -98
- package/framework/src/components/_tag.scss +114 -0
- package/framework/src/components/_text.scss +55 -0
- package/framework/src/components/_textarea.scss +46 -0
- package/framework/src/components/_timeline.scss +28 -113
- package/framework/src/components/_title.scss +151 -0
- package/framework/src/{elements → components/alert}/_alert.scss +13 -10
- package/framework/src/components/alert/_index.scss +2 -0
- package/framework/src/{elements → components/alert}/_toaster.scss +4 -8
- package/framework/src/components/input/_entry.scss +135 -0
- package/framework/src/{elements → components/input}/_form.scss +42 -33
- package/framework/src/components/input/_index.scss +4 -0
- package/framework/src/components/input/_input-gauge.scss +44 -0
- package/framework/src/components/input/_input-icons.scss +55 -0
- package/framework/src/components/progress/_index.scss +2 -0
- package/framework/src/components/progress/_progress-radial.scss +28 -0
- package/framework/src/{elements → components/progress}/_progress.scss +34 -23
- package/framework/src/elements/_index.scss +5 -0
- package/framework/src/elements/_other.scss +0 -41
- package/framework/src/{components → elements}/_plus-symbol.scss +1 -1
- package/framework/src/grid/_columns.scss +278 -763
- package/framework/src/grid/_rows.scss +45 -38
- package/framework/src/layout/_all.scss +0 -1
- package/framework/src/layout/_hero.scss +92 -214
- package/framework/src/layout/_section.scss +10 -29
- package/framework/src/theming/_all.scss +3 -0
- package/framework/src/theming/buttons_partial.scss +32 -0
- package/framework/src/theming/common_partials.scss +10 -0
- package/framework/src/theming/links_partial.scss +20 -0
- package/framework/src/trilogy-mangled.scss +3 -3
- package/framework/src/trilogy.scss +2 -2
- package/framework/src/utilities/_a11y.scss +13 -0
- package/framework/src/utilities/_all.scss +4 -0
- package/framework/src/utilities/_background.scss +21 -0
- package/framework/src/utilities/_controls.scss +38 -49
- package/framework/src/utilities/_derived-variables.scss +0 -103
- package/framework/src/utilities/_initial-variables.scss +4 -144
- package/framework/src/utilities/_pre.scss +4 -1
- package/framework/src/utilities/mixins/_arrow.scss +21 -0
- package/framework/src/utilities/mixins/_delete.scss +86 -0
- package/framework/src/utilities/mixins/_index.scss +11 -0
- package/framework/src/utilities/mixins/_markup-group.scss +27 -0
- package/framework/src/utilities/mixins/_mixins.scss +294 -0
- package/framework/src/utilities/mixins/_overlay.scss +7 -0
- package/framework/src/utilities/mixins/_pattern.scss +10 -0
- package/framework/src/utilities/mixins/_responsiveness.scss +174 -0
- package/framework/src/utilities/mixins/_spinner.scss +12 -0
- package/framework/src/utilities/mixins/_state.scss +25 -0
- package/framework/src/utilities/mixins/_unselectable.scss +10 -0
- package/framework/src/utilities/mixins/_utils.scss +24 -0
- package/framework/src/utilities/variables/_animation.scss +2 -0
- package/framework/src/utilities/variables/_color.scss +85 -0
- package/framework/src/utilities/variables/_font.scss +97 -0
- package/framework/src/utilities/variables/_index.scss +6 -0
- package/framework/src/utilities/variables/_responsiveness.scss +7 -0
- package/framework/src/utilities/variables/_shadow.scss +3 -0
- package/framework/src/utilities/variables/_zindex.scss +14 -0
- package/package.json +8 -3
- package/framework/src/components/_all.scss +0 -30
- package/framework/src/components/_autolayout2.scss +0 -38
- package/framework/src/components/_disclaimer.scss +0 -84
- package/framework/src/components/_level.scss +0 -120
- package/framework/src/components/_media.scss +0 -64
- package/framework/src/components/_menu.scss +0 -213
- package/framework/src/components/_progress-radial.scss +0 -23
- package/framework/src/components/_search-modal.scss +0 -197
- package/framework/src/components/_slices.scss +0 -316
- package/framework/src/components/_slider.scss +0 -92
- package/framework/src/elements/_all.scss +0 -35
- package/framework/src/elements/_badge.scss +0 -81
- package/framework/src/elements/_box.scss +0 -267
- package/framework/src/elements/_button.scss +0 -192
- package/framework/src/elements/_checkbox.scss +0 -39
- package/framework/src/elements/_checkradio.scss +0 -173
- package/framework/src/elements/_chips.scss +0 -100
- package/framework/src/elements/_dot.scss +0 -6
- package/framework/src/elements/_entry.scss +0 -109
- package/framework/src/elements/_image.scss +0 -59
- package/framework/src/elements/_input-gauge.scss +0 -37
- package/framework/src/elements/_input-icons.scss +0 -41
- package/framework/src/elements/_link.scss +0 -79
- package/framework/src/elements/_list.scss +0 -61
- package/framework/src/elements/_notification.scss +0 -151
- package/framework/src/elements/_options.scss +0 -146
- package/framework/src/elements/_paragraph.scss +0 -101
- package/framework/src/elements/_radio.scss +0 -67
- package/framework/src/elements/_select.scss +0 -315
- package/framework/src/elements/_switch.scss +0 -108
- package/framework/src/elements/_table.scss +0 -298
- package/framework/src/elements/_tag.scss +0 -131
- package/framework/src/elements/_textarea.scss +0 -125
- package/framework/src/elements/_timeline.scss +0 -283
- package/framework/src/elements/_title.scss +0 -139
- package/framework/src/layout/_toolbar.scss +0 -100
- package/framework/src/utilities/_mixins.scss +0 -744
|
@@ -1,55 +1,57 @@
|
|
|
1
1
|
.countdown {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
border: 1px solid currentcolor;
|
|
3
|
+
border-radius: var(--radius);
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
padding: $spacing-2;
|
|
6
|
+
color: getColor('font');
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.value {
|
|
28
|
-
font-size: $text-24;
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
}
|
|
8
|
+
.count {
|
|
9
|
+
font-family: $family-primary;
|
|
10
|
+
font-size: $text-14;
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
list-style-type: none;
|
|
13
|
+
text-align: center;
|
|
14
|
+
padding: 0 $spacing-2;
|
|
15
|
+
position: relative;
|
|
16
|
+
|
|
17
|
+
&:not(:last-child)::before {
|
|
18
|
+
content: ' ';
|
|
19
|
+
border-left: 1px solid currentcolor;
|
|
20
|
+
height: 100%;
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0;
|
|
23
|
+
bottom: 0;
|
|
24
|
+
right: 0;
|
|
31
25
|
}
|
|
32
26
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
.count {
|
|
37
|
-
font-size: $text-12;
|
|
38
|
-
padding: 0 $spacing-2;
|
|
39
|
-
font-weight: 500;
|
|
40
|
-
|
|
41
|
-
.value {
|
|
42
|
-
font-size: $text-16;
|
|
43
|
-
font-weight: 600;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
27
|
+
.value {
|
|
28
|
+
font-size: $text-24;
|
|
29
|
+
font-weight: 600;
|
|
46
30
|
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.is-small {
|
|
34
|
+
padding: $spacing-2 0;
|
|
35
|
+
border-radius: var(--radius-small);
|
|
36
|
+
|
|
37
|
+
.count {
|
|
38
|
+
font-size: $text-12;
|
|
39
|
+
padding: 0 $spacing-2;
|
|
40
|
+
font-weight: 500;
|
|
47
41
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
42
|
+
.value {
|
|
43
|
+
font-size: $text-16;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.is-inverted {
|
|
50
|
+
color: invertColor('font');
|
|
51
|
+
|
|
52
|
+
.count {
|
|
53
|
+
&:not(:last-child)::before {
|
|
54
|
+
}
|
|
54
55
|
}
|
|
56
|
+
}
|
|
55
57
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.date-picker {
|
|
2
|
+
span {
|
|
3
|
+
outline: none;
|
|
4
|
+
text-align: center;
|
|
5
|
+
caret-color: transparent;
|
|
6
|
+
&:focus-visible {
|
|
7
|
+
background-color: getColor('main-fade')
|
|
8
|
+
}
|
|
9
|
+
&::selection {
|
|
10
|
+
background-color: getColor('main-fade')
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.input {
|
|
15
|
+
&.is-focused {
|
|
16
|
+
border: 2px solid currentColor;
|
|
17
|
+
padding-left: 15px !important;
|
|
18
|
+
background-color: getColor('background') !important;
|
|
19
|
+
}
|
|
20
|
+
&:active {
|
|
21
|
+
padding-left: 15px !important;
|
|
22
|
+
}
|
|
23
|
+
&[aria-disabled="true"] {
|
|
24
|
+
&:active {
|
|
25
|
+
padding-left: 16px !important;
|
|
26
|
+
}
|
|
27
|
+
& span::selection {
|
|
28
|
+
background-color: transparent !important
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
&-hidden {
|
|
32
|
+
border: 0;
|
|
33
|
+
clip: rect(0 0 0 0);
|
|
34
|
+
height: 1px;
|
|
35
|
+
margin: -1px;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
padding: 0;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
width: 1px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.modal {
|
|
44
|
+
flex-direction: inherit;
|
|
45
|
+
.modal-content, .modal-header {
|
|
46
|
+
background-color: transparent !important;
|
|
47
|
+
}
|
|
48
|
+
.modal-body {
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
.calendar {
|
|
53
|
+
height: 440px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
}
|
|
@@ -1,18 +1,52 @@
|
|
|
1
|
+
@mixin divider {
|
|
2
|
+
content:'';
|
|
3
|
+
flex: 1;
|
|
4
|
+
height: 1px;
|
|
5
|
+
background-color: getColor('neutral');
|
|
6
|
+
}
|
|
7
|
+
|
|
1
8
|
.divider {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
9
|
+
height: 1px;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
align-items: center;
|
|
13
|
+
|
|
14
|
+
p.divider-content {
|
|
15
|
+
flex-wrap: nowrap;
|
|
6
16
|
width: 100%;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
|
|
20
|
+
&::before {
|
|
21
|
+
@include divider
|
|
22
|
+
}
|
|
23
|
+
&::after {
|
|
24
|
+
@include divider
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:not(:empty) {
|
|
28
|
+
&::before {
|
|
29
|
+
margin-right: $spacing-4;
|
|
30
|
+
}
|
|
31
|
+
&::after {
|
|
32
|
+
margin-left: $spacing-4;
|
|
33
|
+
}
|
|
17
34
|
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:not(.is-marginless) {
|
|
38
|
+
margin: $spacing-5 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@include mobile {
|
|
42
|
+
&:not(.is-marginless) {
|
|
43
|
+
margin: $spacing-4 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
18
46
|
}
|
|
47
|
+
|
|
48
|
+
*:has(+ .divider) {
|
|
49
|
+
margin-top: 0 !important;
|
|
50
|
+
margin-bottom: 0 !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -1,128 +1,195 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@import "../utilities/spacing";
|
|
3
|
+
|
|
4
|
+
$dropdown-border-radius: var(--radius-small);
|
|
5
|
+
$dropdown-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
|
|
6
|
+
$dropdown-item-padding-vertical: 12px;
|
|
7
|
+
$dropdown-item-padding-horizontal: 16px;
|
|
8
|
+
|
|
1
9
|
.dropdown {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
.dropdown-menu {
|
|
9
|
-
display: block;
|
|
10
|
-
}
|
|
10
|
+
position: relative;
|
|
11
|
+
display: block;
|
|
12
|
+
|
|
13
|
+
&.is-active {
|
|
14
|
+
.dropdown-menu {
|
|
15
|
+
display: block;
|
|
11
16
|
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
12
19
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
.dropdown-trigger {
|
|
21
|
+
display: inline-block;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.dropdown-manual {
|
|
25
|
+
.dropdown-menu {
|
|
26
|
+
top: 100%;
|
|
27
|
+
margin-top: 0px;
|
|
28
|
+
&[data-position="upward"] {
|
|
29
|
+
top: auto;
|
|
30
|
+
bottom: 100%;
|
|
31
|
+
margin-top: 0;
|
|
32
|
+
margin-bottom: 85px;
|
|
21
33
|
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.dropdown-menu {
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: 100%;
|
|
40
|
+
left: 0;
|
|
41
|
+
z-index: 1000;
|
|
42
|
+
display: none;
|
|
43
|
+
margin-top: 15px;
|
|
44
|
+
background-color: getColor('background');
|
|
45
|
+
border-radius: $dropdown-border-radius;
|
|
46
|
+
box-shadow: $dropdown-shadow;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
max-height: 300px;
|
|
49
|
+
overflow-y: auto;
|
|
50
|
+
padding-top: 12px;
|
|
51
|
+
padding-bottom: 12px;
|
|
52
|
+
padding-left: 16px;
|
|
53
|
+
padding-right: 16px;
|
|
54
|
+
width: max-content;
|
|
55
|
+
min-width: 200px;
|
|
56
|
+
opacity: 0;
|
|
57
|
+
transform: translateY(-10px);
|
|
58
|
+
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
59
|
+
|
|
60
|
+
&[data-position="upward"] {
|
|
61
|
+
top: auto;
|
|
62
|
+
bottom: 100%;
|
|
63
|
+
margin-top: 0;
|
|
64
|
+
margin-bottom: 15px;
|
|
65
|
+
transform: translateY(10px);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&::-webkit-scrollbar {
|
|
69
|
+
width: 6px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&::-webkit-scrollbar-track {
|
|
73
|
+
background: transparent;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&::-webkit-scrollbar-thumb {
|
|
77
|
+
background: getColor('main-fade');
|
|
78
|
+
border-radius: 3px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
22
81
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
82
|
+
.dropdown-content {
|
|
83
|
+
padding: 0;
|
|
84
|
+
}
|
|
26
85
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
86
|
+
.dropdown-item {
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
padding: $dropdown-item-padding-vertical $dropdown-item-padding-horizontal;
|
|
90
|
+
color: getColor('font');
|
|
91
|
+
text-decoration: none;
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
transition: background-color 0.2s ease;
|
|
94
|
+
border: none;
|
|
95
|
+
border-radius: $dropdown-border-radius;
|
|
96
|
+
background: none;
|
|
97
|
+
width: 100%;
|
|
98
|
+
text-align: left;
|
|
99
|
+
font-size: inherit;
|
|
100
|
+
font-family: inherit;
|
|
101
|
+
line-height: 1.4;
|
|
102
|
+
|
|
103
|
+
.icon {
|
|
104
|
+
margin-right: 12px;
|
|
105
|
+
flex-shrink: 0;
|
|
106
|
+
|
|
107
|
+
&.is-smaller {
|
|
108
|
+
width: 16px;
|
|
109
|
+
height: 16px;
|
|
31
110
|
}
|
|
111
|
+
}
|
|
32
112
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
113
|
+
&:not(:disabled):not([aria-disabled="true"]) {
|
|
114
|
+
#{$hoverSelector},
|
|
115
|
+
&:focus {
|
|
116
|
+
background-color: getColor('main-fade');
|
|
117
|
+
outline: none;
|
|
38
118
|
}
|
|
39
119
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
bottom: 100%;
|
|
43
|
-
padding-bottom: $spacing-1;
|
|
44
|
-
padding-top: initial;
|
|
45
|
-
top: auto;
|
|
46
|
-
}
|
|
120
|
+
&:active {
|
|
121
|
+
background-color: getColor('main-fade');
|
|
47
122
|
}
|
|
123
|
+
}
|
|
48
124
|
|
|
49
|
-
|
|
50
|
-
|
|
125
|
+
&.is-active {
|
|
126
|
+
background-color: getColor('main-fade');
|
|
127
|
+
font-weight: $weight-semibold;
|
|
128
|
+
}
|
|
51
129
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
130
|
+
&:disabled,
|
|
131
|
+
&[aria-disabled="true"] {
|
|
132
|
+
color: getColor('disabled');
|
|
133
|
+
cursor: not-allowed;
|
|
134
|
+
background-color: transparent;
|
|
55
135
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
}
|
|
136
|
+
.icon {
|
|
137
|
+
opacity: 0.5;
|
|
60
138
|
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
61
141
|
|
|
62
|
-
|
|
63
|
-
|
|
142
|
+
.dropdown-item:disabled, .dropdown-item[aria-disabled=true] {
|
|
143
|
+
background-color: transparent !important;
|
|
144
|
+
}
|
|
64
145
|
|
|
65
|
-
|
|
66
|
-
|
|
146
|
+
.dropdown-group {
|
|
147
|
+
&:not(:first-child) {
|
|
148
|
+
border-top: 2px solid getColor('neutral-fade');
|
|
149
|
+
}
|
|
67
150
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
}
|
|
151
|
+
&:not(:last-child) {
|
|
152
|
+
margin-bottom: 0;
|
|
153
|
+
}
|
|
73
154
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
min-width: 120px;
|
|
78
|
-
padding-top: $spacing-1;
|
|
79
|
-
position: absolute;
|
|
80
|
-
top: 100%;
|
|
81
|
-
width: 100%;
|
|
82
|
-
z-index: 20;
|
|
83
|
-
|
|
84
|
-
.dropdown-content {
|
|
85
|
-
border-radius: 8px;
|
|
86
|
-
box-shadow: 0 2px 3px rgba(#000, 0.1),
|
|
87
|
-
0 0 0 1px rgba(#000, 0.1);
|
|
88
|
-
font-size: inherit;
|
|
89
|
-
padding: 5px 10px;
|
|
90
|
-
|
|
91
|
-
.dropdown-item {
|
|
92
|
-
display: block;
|
|
93
|
-
font-size: inherit;
|
|
94
|
-
line-height: 1.5;
|
|
95
|
-
padding: 3.75px 10px;
|
|
96
|
-
position: relative;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
155
|
+
.dropdown-item {
|
|
156
|
+
&:first-child {
|
|
157
|
+
border-top: none;
|
|
99
158
|
}
|
|
159
|
+
}
|
|
100
160
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
161
|
+
&.is-no-separator {
|
|
162
|
+
border-top: none;
|
|
163
|
+
}
|
|
105
164
|
}
|
|
106
165
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
166
|
+
@include mobile {
|
|
167
|
+
.dropdown-menu {
|
|
168
|
+
left: 0;
|
|
169
|
+
max-height: 250px;
|
|
170
|
+
width: max-content;
|
|
171
|
+
min-width: 200px;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
110
174
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
175
|
+
.dropdown.is-active .dropdown-menu {
|
|
176
|
+
opacity: 1;
|
|
177
|
+
transform: translateY(0);
|
|
115
178
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
179
|
+
&[data-position="upward"] {
|
|
180
|
+
opacity: 1;
|
|
181
|
+
transform: translateY(0);
|
|
182
|
+
}
|
|
120
183
|
}
|
|
121
184
|
|
|
122
|
-
.dropdown-
|
|
123
|
-
|
|
124
|
-
|
|
185
|
+
.dropdown-menu.is-visible {
|
|
186
|
+
display: block;
|
|
187
|
+
opacity: 1;
|
|
188
|
+
transform: translateY(0);
|
|
189
|
+
|
|
190
|
+
&[data-position="upward"] {
|
|
125
191
|
display: block;
|
|
126
|
-
|
|
127
|
-
|
|
192
|
+
opacity: 1;
|
|
193
|
+
transform: translateY(0);
|
|
194
|
+
}
|
|
128
195
|
}
|
|
@@ -1,60 +1,47 @@
|
|
|
1
1
|
.fab {
|
|
2
|
-
background-color: getColor('
|
|
3
|
-
border: 1px getColor('alternate');
|
|
2
|
+
background-color: getColor('font');
|
|
4
3
|
border-radius: 16px;
|
|
5
4
|
cursor: pointer;
|
|
6
5
|
height: 56px;
|
|
7
|
-
color: white;
|
|
8
6
|
padding: $spacing-4;
|
|
9
7
|
display: inline-flex;
|
|
10
8
|
align-items: center;
|
|
11
9
|
box-sizing: border-box;
|
|
12
|
-
transition:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
font-
|
|
10
|
+
transition: max-width 500ms ease-out;
|
|
11
|
+
color: white;
|
|
12
|
+
border: 0;
|
|
13
|
+
box-shadow: 0px 3px 6px 0px #00000033;
|
|
14
|
+
font-size: 16px;
|
|
17
15
|
font-weight: 600;
|
|
18
|
-
font-size: 0;
|
|
19
16
|
line-height: 20px;
|
|
20
|
-
|
|
21
17
|
z-index: 9;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
margin-right: 16px;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:focus, &:focus-visible, &:focus-within {
|
|
38
|
-
background-color:getVariantColor('alternate', 4);
|
|
39
|
-
border-color: getVariantColor('alternate', 4);
|
|
40
|
-
outline: 1px auto getVariantColor('alternate', 4);
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
max-width: 54px;
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
|
|
22
|
+
#{$hoverSelector}, &.is-extended, &:focus, &:focus-visible, &:focus-within {
|
|
23
|
+
background: linear-gradient(
|
|
24
|
+
to top,
|
|
25
|
+
rgba(0, 0, 0, 0.25),
|
|
26
|
+
rgba(0, 0, 0, 0.25)
|
|
27
|
+
) getColor('font');
|
|
28
|
+
max-width: 300px;
|
|
41
29
|
}
|
|
42
30
|
|
|
43
31
|
&:active {
|
|
44
|
-
background
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
background-color: getColor('bg-disabled');
|
|
50
|
-
color: getColor('grey-disabled');
|
|
32
|
+
background: linear-gradient(
|
|
33
|
+
to top,
|
|
34
|
+
rgba(0, 0, 0, 0.25),
|
|
35
|
+
rgba(0, 0, 0, 0.25)
|
|
36
|
+
) getColor('font');
|
|
51
37
|
}
|
|
52
38
|
|
|
53
39
|
.icon {
|
|
40
|
+
flex: none;
|
|
54
41
|
font-size: 24px !important;
|
|
55
42
|
margin-left: -6px;
|
|
56
|
-
margin-right:
|
|
43
|
+
margin-right: 8px;
|
|
57
44
|
color: white;
|
|
58
|
-
}
|
|
59
45
|
|
|
46
|
+
}
|
|
60
47
|
}
|