@trilogy-ds/styles 0.0.1-beta.9 → 0.0.1-calendar
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/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 +125 -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 -39
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_divider.scss +25 -14
- package/framework/src/components/_fab.scss +25 -38
- package/framework/src/components/_flex-box.scss +457 -0
- package/framework/src/{elements → components}/_icon.scss +4 -4
- package/framework/src/components/_image.scss +69 -0
- package/framework/src/components/_index.scss +48 -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/_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 +101 -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 +293 -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 +84 -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 +3 -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/_dropdown.scss +0 -128
- 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,146 +0,0 @@
|
|
|
1
|
-
.options {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-wrap: wrap;
|
|
4
|
-
align-items: center;
|
|
5
|
-
|
|
6
|
-
@include desktop {
|
|
7
|
-
flex-wrap: nowrap;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.field {
|
|
11
|
-
margin: 15px 20px 15px 0;
|
|
12
|
-
min-width: 70px;
|
|
13
|
-
|
|
14
|
-
&:last-child {
|
|
15
|
-
margin: 15px 0 15px 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
input[type=radio] {
|
|
19
|
-
@include checkradio;
|
|
20
|
-
|
|
21
|
-
+ label {
|
|
22
|
-
border: 1px solid currentColor;
|
|
23
|
-
border-radius: $radius-small;
|
|
24
|
-
color: getColor('font');
|
|
25
|
-
font-weight: $weight-medium;
|
|
26
|
-
padding: 6px 15px;
|
|
27
|
-
|
|
28
|
-
&::before {
|
|
29
|
-
border-radius: 100%;
|
|
30
|
-
border-width: 2px;
|
|
31
|
-
border-color: currentColor;
|
|
32
|
-
min-width: 12px;
|
|
33
|
-
min-height: 12px;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:checked + label {
|
|
38
|
-
color: getColor('alternate');
|
|
39
|
-
border-color: currentColor;
|
|
40
|
-
border-width: 2px;
|
|
41
|
-
|
|
42
|
-
&::before {
|
|
43
|
-
content: "";
|
|
44
|
-
mask-image: url('./assets/icons/all/check.svg');
|
|
45
|
-
background-color: getColor('alternate');
|
|
46
|
-
border-width: 0;
|
|
47
|
-
width: 20px;
|
|
48
|
-
height: 20px;
|
|
49
|
-
margin: 0 6px 0 -4px;
|
|
50
|
-
mask-size: 20px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&[disabled] + label {
|
|
55
|
-
cursor: not-allowed;
|
|
56
|
-
color: getColor('grey');
|
|
57
|
-
border-color: currentColor;
|
|
58
|
-
|
|
59
|
-
&::before {
|
|
60
|
-
border-color: currentColor;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&.has-icon {
|
|
66
|
-
input[type=radio] {
|
|
67
|
-
+ label {
|
|
68
|
-
padding-right: 45px;
|
|
69
|
-
|
|
70
|
-
.icon {
|
|
71
|
-
position: absolute;
|
|
72
|
-
right: 15px;
|
|
73
|
-
top: 50%;
|
|
74
|
-
transform: translateY(-50%);
|
|
75
|
-
height: 20px;
|
|
76
|
-
width: 20px;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&:checked + label {
|
|
81
|
-
.icon {
|
|
82
|
-
color: getColor('alternate');
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&[disabled] + label {
|
|
87
|
-
.icon {
|
|
88
|
-
color: getColor('grey');
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&.is-multiline {
|
|
95
|
-
min-width: 120px;
|
|
96
|
-
|
|
97
|
-
input[type=radio] {
|
|
98
|
-
+ label {
|
|
99
|
-
padding-top: 55px;
|
|
100
|
-
justify-content: center;
|
|
101
|
-
flex-direction: column;
|
|
102
|
-
|
|
103
|
-
&::before {
|
|
104
|
-
position: absolute;
|
|
105
|
-
top: 15px;
|
|
106
|
-
left: 15px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&.is-descriptive > span:not(.icon) {
|
|
110
|
-
font-size: $text-12;
|
|
111
|
-
font-weight: $weight-medium;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.icon {
|
|
115
|
-
position: absolute;
|
|
116
|
-
top: 0;
|
|
117
|
-
font-size:30px;
|
|
118
|
-
width:100%;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&:checked + label {
|
|
123
|
-
color: getColor('alternate');
|
|
124
|
-
|
|
125
|
-
&::before {
|
|
126
|
-
margin-top: -5px;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&[disabled] + label {
|
|
132
|
-
color: getColor('grey');
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&.is-inverted {
|
|
139
|
-
input[type=radio]:checked {
|
|
140
|
-
+ label {
|
|
141
|
-
border-color: getColor('font');
|
|
142
|
-
color: getColor('font');
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
$text-levels: (
|
|
2
|
-
($text-16, $text-20, $text-16),
|
|
3
|
-
($text-14, $text-18, $text-16),
|
|
4
|
-
($text-12, $text-15, $text-16),
|
|
5
|
-
($text-10, $text-12, $text-16)
|
|
6
|
-
);
|
|
7
|
-
$text-levels-mobile: (
|
|
8
|
-
($text-16, $text-20, $text-8),
|
|
9
|
-
($text-14, $text-18, $text-8),
|
|
10
|
-
($text-12, $text-15, $text-8),
|
|
11
|
-
($text-10, $text-12, $text-8)
|
|
12
|
-
);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.paragraph {
|
|
16
|
-
&.text {
|
|
17
|
-
@each $text-level in $text-levels {
|
|
18
|
-
$i: index($text-levels, $text-level);
|
|
19
|
-
$font-size: nth($text-level, 1);
|
|
20
|
-
$line-height: nth($text-level, 2);
|
|
21
|
-
$margin-bottom: nth($text-level, 3);
|
|
22
|
-
|
|
23
|
-
&.is-level-#{$i} {
|
|
24
|
-
font-size: $font-size;
|
|
25
|
-
line-height: $line-height;
|
|
26
|
-
font-family: $family-primary;
|
|
27
|
-
margin-bottom: $margin-bottom;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&.is-inverted {
|
|
31
|
-
color: getColor('background');
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@include mobile {
|
|
36
|
-
@each $text-level-mobile in $text-levels-mobile {
|
|
37
|
-
$i: index($text-levels-mobile, $text-level-mobile);
|
|
38
|
-
$margin-bottom: nth($text-level-mobile, 3);
|
|
39
|
-
|
|
40
|
-
&.is-level-#{$i} {
|
|
41
|
-
margin-bottom: $margin-bottom;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&.is-wrapped {
|
|
47
|
-
word-break: break-word;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.bold {
|
|
51
|
-
font-weight: $weight-bold;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
.paragraph,
|
|
58
|
-
.text {
|
|
59
|
-
& a.link:not([disabled]),
|
|
60
|
-
a {
|
|
61
|
-
padding: $spacing-1;
|
|
62
|
-
margin: -4px;
|
|
63
|
-
text-decoration: underline;
|
|
64
|
-
font-size: unset;
|
|
65
|
-
font-weight: $weight-medium;
|
|
66
|
-
|
|
67
|
-
&::after {
|
|
68
|
-
content: none;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.is-static::after {
|
|
72
|
-
margin-bottom: 0;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.paragraph:not(:last-child) {
|
|
78
|
-
margin-bottom: 10px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.span {
|
|
82
|
-
font-style: inherit;
|
|
83
|
-
font-weight: inherit;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.strong {
|
|
87
|
-
color: inherit;
|
|
88
|
-
font-weight: $weight-bold;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.sup {
|
|
92
|
-
line-height: 0;
|
|
93
|
-
position: relative;
|
|
94
|
-
vertical-align: baseline;
|
|
95
|
-
top: -0.4em;
|
|
96
|
-
font-size: 0.7em;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.small {
|
|
100
|
-
font-size: 0.875em;
|
|
101
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
@include checkbox-and-radio('radio');
|
|
2
|
-
|
|
3
|
-
.radios {
|
|
4
|
-
width: 100%;
|
|
5
|
-
column-gap: 16px;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-wrap: wrap;
|
|
8
|
-
|
|
9
|
-
&.is-vertical {
|
|
10
|
-
row-gap: 16px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@include mobile {
|
|
14
|
-
&:not(.is-mobile){
|
|
15
|
-
display: block;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&.is-centered,
|
|
20
|
-
&.has-text-centered,
|
|
21
|
-
.has-text-centered & {
|
|
22
|
-
justify-content: center;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.radio,
|
|
27
|
-
.radio-tile {
|
|
28
|
-
input:checked ~ label.radio-label {
|
|
29
|
-
&:after {
|
|
30
|
-
content: '';
|
|
31
|
-
width: 12px;
|
|
32
|
-
height: 12px;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
label.radio-label {
|
|
37
|
-
&:before,
|
|
38
|
-
&:after {
|
|
39
|
-
border-radius: 50%;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.radio {
|
|
45
|
-
input:checked ~ label.radio-label {
|
|
46
|
-
&:after {
|
|
47
|
-
left: 3px;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.radio-tile {
|
|
53
|
-
input:checked ~ label.radio-label {
|
|
54
|
-
&:after {
|
|
55
|
-
top: 18px;
|
|
56
|
-
right: 18px;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
input:checked:disabled ~ label.radio-label {
|
|
61
|
-
&:after {
|
|
62
|
-
background-color: getColor('grey');
|
|
63
|
-
top: 19px;
|
|
64
|
-
right: 19px;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
@@ -1,315 +0,0 @@
|
|
|
1
|
-
[data-blur-select] {
|
|
2
|
-
position: absolute;
|
|
3
|
-
z-index: zindex('large');
|
|
4
|
-
min-width: 100%;
|
|
5
|
-
min-height: 100%;
|
|
6
|
-
left:0;
|
|
7
|
-
top: 0;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@mixin arrow-style($isDisabled:false, $direction:"up") {
|
|
12
|
-
$color: getColor('font');
|
|
13
|
-
@if($isDisabled) { $color: getColor('grey') }
|
|
14
|
-
|
|
15
|
-
@include arrow($color,$direction);
|
|
16
|
-
right: 16px;
|
|
17
|
-
margin-left: 16px;
|
|
18
|
-
top: calc(50% - 7px);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.select {
|
|
22
|
-
border: 1px solid getColor('grey');
|
|
23
|
-
display: inline-block;
|
|
24
|
-
max-width: 100%;
|
|
25
|
-
position: relative;
|
|
26
|
-
font-family: $body-family;
|
|
27
|
-
border-radius: 4px;
|
|
28
|
-
background-color: getColor('background');
|
|
29
|
-
display: block;
|
|
30
|
-
font-size: 1em;
|
|
31
|
-
max-width: 100%;
|
|
32
|
-
outline: none;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
height: 56px;
|
|
35
|
-
|
|
36
|
-
select {
|
|
37
|
-
height: 100%;
|
|
38
|
-
border: 1px solid transparent;
|
|
39
|
-
border-radius: 3px;
|
|
40
|
-
max-width: 100%;
|
|
41
|
-
width: 100%;
|
|
42
|
-
font-size: 1em;
|
|
43
|
-
font-family: $body-family;
|
|
44
|
-
color: getColor('font');
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
-webkit-appearance: none;
|
|
47
|
-
-moz-appearance: none;
|
|
48
|
-
appearance: none;
|
|
49
|
-
z-index: 10;
|
|
50
|
-
background-color: transparent;
|
|
51
|
-
opacity: 100;
|
|
52
|
-
outline: none;
|
|
53
|
-
padding-left: $spacing-4;
|
|
54
|
-
&::-ms-expand {
|
|
55
|
-
display: none !important;
|
|
56
|
-
}
|
|
57
|
-
&:focus, &:hover {
|
|
58
|
-
outline: 1px auto getColor('alternate');
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
label {
|
|
64
|
-
position: absolute;
|
|
65
|
-
top: 50%;
|
|
66
|
-
transform: translate(0, -50%);
|
|
67
|
-
left: 16px !important;
|
|
68
|
-
color: getColor('grey') !important
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.select-native {
|
|
72
|
-
.icon {
|
|
73
|
-
position: absolute;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&.has-icon {
|
|
77
|
-
select {
|
|
78
|
-
padding-left: 50px;
|
|
79
|
-
&:not(.no-label) {
|
|
80
|
-
padding-bottom: 5px;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.has-dynamic-placeholder {
|
|
87
|
-
label {
|
|
88
|
-
top: 18px;
|
|
89
|
-
color: getColor('grey') !important
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
&-value {
|
|
95
|
-
position: absolute ;
|
|
96
|
-
left: 16px;
|
|
97
|
-
top: 50%;
|
|
98
|
-
transform: translateY(-20%);
|
|
99
|
-
|
|
100
|
-
&.no-label {
|
|
101
|
-
transform: translateY(-50%);
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
&-disabled {
|
|
109
|
-
background-color: getColor('grey-disabled');
|
|
110
|
-
border: 1px solid getColor('grey-disabled');
|
|
111
|
-
cursor:default ;
|
|
112
|
-
label {
|
|
113
|
-
color: #565656 !important;
|
|
114
|
-
}
|
|
115
|
-
.icon {
|
|
116
|
-
color: #565656;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
.icon {
|
|
123
|
-
height: 100%;
|
|
124
|
-
width: 50px;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&.has-icon {
|
|
128
|
-
label {
|
|
129
|
-
left: 50px !important;
|
|
130
|
-
}
|
|
131
|
-
.select-value {
|
|
132
|
-
left: 50px !important;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
&:not(.is-loading) {
|
|
138
|
-
&:not(.select-disabled) {
|
|
139
|
-
&::after {
|
|
140
|
-
@include arrow-style(false,"down")
|
|
141
|
-
}
|
|
142
|
-
&:not(.select-native):hover, &:not(.select-native):focus {
|
|
143
|
-
outline: 1px auto getColor('alternate');
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
&.select-disabled {
|
|
147
|
-
&::after {
|
|
148
|
-
@include arrow-style(true,"down")
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
&.select-show-options:not(.is-loading) {
|
|
155
|
-
outline: 1px auto getColor('alternate');
|
|
156
|
-
&::after {
|
|
157
|
-
@include arrow-style()
|
|
158
|
-
}
|
|
159
|
-
&:hover {
|
|
160
|
-
&::after {
|
|
161
|
-
border-color: getColor('font');
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
// Colors
|
|
167
|
-
@each $name in $colors-brand {
|
|
168
|
-
$brandName: getColorBrandName($name);
|
|
169
|
-
$color: getColor($name);
|
|
170
|
-
|
|
171
|
-
&.is-#{$brandName} {
|
|
172
|
-
&:not(:hover) {
|
|
173
|
-
outline: 1px auto $color;
|
|
174
|
-
}
|
|
175
|
-
&:hover,
|
|
176
|
-
&.is-hovered {
|
|
177
|
-
outline: 1px auto getVariantColor($name, 1);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
// Sizes
|
|
183
|
-
&.is-small {
|
|
184
|
-
@include control-small;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
&.is-large {
|
|
188
|
-
@include control-large;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
&.is-loading {
|
|
193
|
-
&::after {
|
|
194
|
-
@include spinner;
|
|
195
|
-
margin-top: 0;
|
|
196
|
-
position: absolute;
|
|
197
|
-
right: 0.625em;
|
|
198
|
-
top: 0.625em;
|
|
199
|
-
transform: none;
|
|
200
|
-
}
|
|
201
|
-
&.is-small::after {
|
|
202
|
-
font-size: $size-small;
|
|
203
|
-
}
|
|
204
|
-
&.is-large::after {
|
|
205
|
-
font-size: $size-large;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.select-options {
|
|
211
|
-
position: absolute;
|
|
212
|
-
margin-top: 8px;
|
|
213
|
-
display: flex;
|
|
214
|
-
flex-direction: column;
|
|
215
|
-
align-items: flex-start;
|
|
216
|
-
background: getColor('background');
|
|
217
|
-
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
|
|
218
|
-
border-radius: 4px;
|
|
219
|
-
overflow: auto;
|
|
220
|
-
width: 100%;
|
|
221
|
-
max-height: 260px;
|
|
222
|
-
z-index: zindex('large') ;
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
&-option {
|
|
226
|
-
display: flex;
|
|
227
|
-
flex-direction: row;
|
|
228
|
-
align-items: center;
|
|
229
|
-
justify-content: space-between;
|
|
230
|
-
padding: 14px $spacing-4;
|
|
231
|
-
width: 100%;
|
|
232
|
-
.has-icon {
|
|
233
|
-
display: flex;
|
|
234
|
-
align-items: center;
|
|
235
|
-
.icon {
|
|
236
|
-
margin-right: 16px;
|
|
237
|
-
width: 20px;
|
|
238
|
-
height: 20px;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
&-activated {
|
|
242
|
-
color: getColor('alternate');
|
|
243
|
-
font-weight: $weight-bold;
|
|
244
|
-
&::after {
|
|
245
|
-
content: "";
|
|
246
|
-
mask-image: url('./assets/icons/all/check.svg');
|
|
247
|
-
background-color: getColor('alternate');
|
|
248
|
-
min-width: 15px;
|
|
249
|
-
min-height: 15px;
|
|
250
|
-
display:inline-block;
|
|
251
|
-
margin-left: 16px;
|
|
252
|
-
mask-size: 20px;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
&-disabled {
|
|
256
|
-
background-color: getColor('grey-disabled');
|
|
257
|
-
color: #565656
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.option-container, &-option {
|
|
262
|
-
outline:none;
|
|
263
|
-
&:focus {
|
|
264
|
-
background-color: #E4EAED;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
&:not([data-is-disabled='true']){
|
|
268
|
-
cursor: pointer;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
[data-is-open-options="false"] {
|
|
274
|
-
display: none;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
[data-is-open-options="true"] {
|
|
278
|
-
display:block
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
//AutoComplete
|
|
282
|
-
.is-autocomplete {
|
|
283
|
-
.autocomplete-menu {
|
|
284
|
-
display: none;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
&.is-active {
|
|
288
|
-
.autocomplete-menu {
|
|
289
|
-
display: block;
|
|
290
|
-
border: 1px solid rgba(0,38,60,.4);
|
|
291
|
-
padding: 5px 10px;
|
|
292
|
-
border-radius: 4px;
|
|
293
|
-
max-height: 220px;
|
|
294
|
-
overflow-y: auto;
|
|
295
|
-
background-color: getColor('background');
|
|
296
|
-
z-index: 10000;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.autocomplete-item {
|
|
300
|
-
cursor: pointer;
|
|
301
|
-
padding: 3.75px calc(15px - 10px);
|
|
302
|
-
|
|
303
|
-
&.is-active, &[data-autocomplete-item-hover] {
|
|
304
|
-
background-color: rgba(16,157,185,.08);
|
|
305
|
-
border-top: 1px solid getColor('alternate');
|
|
306
|
-
border-bottom: 1px solid getColor('alternate');
|
|
307
|
-
margin-left: -10px;
|
|
308
|
-
margin-right: -10px;
|
|
309
|
-
padding: 2.75px 15px;
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
|