@vgip/meta-ui 2.0.0 → 2.1.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/fesm2022/vgip-meta-ui.mjs +5614 -78
- package/fesm2022/vgip-meta-ui.mjs.map +1 -1
- package/index.d.ts +709 -5
- package/package.json +5 -8
- package/vendor/volta3/README.md +1 -0
- package/vendor/volta3/fonts/Spezia-Regular.eot +0 -0
- package/vendor/volta3/fonts/Spezia-Regular.ttf +0 -0
- package/vendor/volta3/fonts/Spezia-Regular.woff +0 -0
- package/vendor/volta3/fonts/Spezia-Regular.woff2 +0 -0
- package/vendor/volta3/fonts/Spezia-SemiBold.eot +0 -0
- package/vendor/volta3/fonts/Spezia-SemiBold.ttf +0 -0
- package/vendor/volta3/fonts/Spezia-SemiBold.woff +0 -0
- package/vendor/volta3/fonts/Spezia-SemiBold.woff2 +0 -0
- package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.eot +0 -0
- package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.ttf +0 -0
- package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.woff +0 -0
- package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.woff2 +0 -0
- package/vendor/volta3/fonts/Spezia-WideMedium.eot +0 -0
- package/vendor/volta3/fonts/Spezia-WideMedium.ttf +0 -0
- package/vendor/volta3/fonts/Spezia-WideMedium.woff +0 -0
- package/vendor/volta3/fonts/Spezia-WideMedium.woff2 +0 -0
- package/vendor/volta3/scss/components/_accordions.scss +165 -0
- package/vendor/volta3/scss/components/_badge.scss +325 -0
- package/vendor/volta3/scss/components/_blockquote.scss +35 -0
- package/vendor/volta3/scss/components/_boxes.scss +113 -0
- package/vendor/volta3/scss/components/_buttons.scss +794 -0
- package/vendor/volta3/scss/components/_callouts.scss +427 -0
- package/vendor/volta3/scss/components/_card.scss +421 -0
- package/vendor/volta3/scss/components/_color-classes.scss +186 -0
- package/vendor/volta3/scss/components/_dialpad.scss +224 -0
- package/vendor/volta3/scss/components/_dropdowns.scss +495 -0
- package/vendor/volta3/scss/components/_empties.scss +77 -0
- package/vendor/volta3/scss/components/_flash-messages.scss +39 -0
- package/vendor/volta3/scss/components/_form-elements.scss +879 -0
- package/vendor/volta3/scss/components/_lists.scss +427 -0
- package/vendor/volta3/scss/components/_modals.scss +227 -0
- package/vendor/volta3/scss/components/_popups.scss +173 -0
- package/vendor/volta3/scss/components/_progress.scss +28 -0
- package/vendor/volta3/scss/components/_spinner.scss +105 -0
- package/vendor/volta3/scss/components/_steps.scss +242 -0
- package/vendor/volta3/scss/components/_switch.scss +353 -0
- package/vendor/volta3/scss/components/_tables.scss +739 -0
- package/vendor/volta3/scss/components/_tabs.scss +296 -0
- package/vendor/volta3/scss/components/_text-separator.scss +61 -0
- package/vendor/volta3/scss/components/_tooltips.scss +152 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--aqua.scss +179 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--collapsible.scss +381 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--dark.scss +196 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--light.scss +174 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--structure.scss +631 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--tabs.scss +88 -0
- package/vendor/volta3/scss/flatpickr/_flatpickr-volta.scss +407 -0
- package/vendor/volta3/scss/flatpickr/_flatpickr.css +785 -0
- package/vendor/volta3/scss/layout/_article.scss +119 -0
- package/vendor/volta3/scss/layout/_utils.scss +174 -0
- package/vendor/volta3/scss/lib/_grid.scss +374 -0
- package/vendor/volta3/scss/lib/_mediaqueries.scss +52 -0
- package/vendor/volta3/scss/lib/_reset.scss +110 -0
- package/vendor/volta3/scss/lib/_type.scss +345 -0
- package/vendor/volta3/scss/lib/_utils.scss +26 -0
- package/vendor/volta3/scss/lib/_variables.scss +115 -0
- package/vendor/volta3/scss/prism/_prism-volta.scss +390 -0
- package/vendor/volta3/scss/prism/_prism.css +326 -0
- package/vendor/volta3/scss/templates/volta-error-page.scss +57 -0
- package/vendor/volta3/scss/templates/volta-templates.scss +114 -0
- package/vendor/volta3/scss/volta-flatpickr.scss +10 -0
- package/vendor/volta3/scss/volta-prism.scss +7 -0
- package/vendor/volta3/scss/volta.scss +39 -0
- package/vendor/volta3/symbol/volta-brand-icons.svg +1 -0
- package/vendor/volta3/symbol/volta-flag-icons.svg +1 -0
- package/vendor/volta3/symbol/volta-icons.svg +1 -0
- package/esm2022/lib/common/fieldNormalizer/boolean.mjs +0 -12
- package/esm2022/lib/common/fieldNormalizer/datetime.mjs +0 -9
- package/esm2022/lib/common/fieldNormalizer/index.mjs +0 -183
- package/esm2022/lib/common/fieldNormalizer/number.mjs +0 -14
- package/esm2022/lib/common/fieldNormalizer/options.mjs +0 -50
- package/esm2022/lib/common/fieldNormalizer/radio.mjs +0 -30
- package/esm2022/lib/common/fieldNormalizer/reference.mjs +0 -36
- package/esm2022/lib/common/fieldNormalizer/richtext.mjs +0 -15
- package/esm2022/lib/common/fieldNormalizer/string.mjs +0 -24
- package/esm2022/lib/common/fieldNormalizer/text.mjs +0 -18
- package/esm2022/lib/common/fieldNormalizer/uniqueNameFilter.mjs +0 -23
- package/esm2022/lib/common/metaAutofocus.directive.mjs +0 -35
- package/esm2022/lib/common/metaIcons.pipe.mjs +0 -29
- package/esm2022/lib/common/metaModel.pipe.mjs +0 -23
- package/esm2022/lib/common/metaNormalizer.mjs +0 -375
- package/esm2022/lib/common/metaStripHtml.pipe.mjs +0 -22
- package/esm2022/lib/common/utils/colorThemes.mjs +0 -77
- package/esm2022/lib/common/utils/indexedDbStore/index.mjs +0 -228
- package/esm2022/lib/common/utils/relativeTimeBuilder.mjs +0 -49
- package/esm2022/lib/common/utils/resourceCardLabel.mjs +0 -24
- package/esm2022/lib/common/utils/smartProp.mjs +0 -31
- package/esm2022/lib/common/utils/templateBuilder.mjs +0 -103
- package/esm2022/lib/fieldAbstract.mjs +0 -291
- package/esm2022/lib/fieldBoolean/index.mjs +0 -53
- package/esm2022/lib/fieldComposite/index.mjs +0 -82
- package/esm2022/lib/fieldDatetime/index.mjs +0 -365
- package/esm2022/lib/fieldHidden/index.mjs +0 -18
- package/esm2022/lib/fieldInput/index.mjs +0 -475
- package/esm2022/lib/fieldList/index.mjs +0 -74
- package/esm2022/lib/fieldRadio/index.mjs +0 -88
- package/esm2022/lib/fieldReference/index.mjs +0 -836
- package/esm2022/lib/fieldRichtext/index.mjs +0 -93
- package/esm2022/lib/fieldSelect/index.mjs +0 -569
- package/esm2022/lib/fieldText/index.mjs +0 -83
- package/esm2022/lib/fieldUnknown/index.mjs +0 -19
- package/esm2022/lib/index.mjs +0 -163
- package/esm2022/lib/layout/index.mjs +0 -214
- package/esm2022/lib/metaField/index.mjs +0 -151
- package/esm2022/lib/refDialog/index.mjs +0 -135
- package/esm2022/lib/resource/index.mjs +0 -525
- package/esm2022/lib/resourceCard/index.mjs +0 -40
- package/esm2022/lib/services/metaContext/index.mjs +0 -52
- package/esm2022/lib/services/metaMsg/index.mjs +0 -84
- package/esm2022/lib/services/metaReference/index.mjs +0 -94
- package/esm2022/lib/services/metaResource/index.mjs +0 -141
- package/esm2022/lib/services/metaResource/metaHttpClient.mjs +0 -64
- package/esm2022/lib/services/metaTracker/index.mjs +0 -31
- package/esm2022/lib/services/resourceDrafts/index.mjs +0 -69
- package/esm2022/public-api.mjs +0 -5
- package/esm2022/vgip-meta-ui.mjs +0 -5
- package/fesm2022/vgip-meta-ui-fieldAbstract-baeaf24d.mjs +0 -399
- package/fesm2022/vgip-meta-ui-fieldAbstract-baeaf24d.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-0184d5ec.mjs +0 -478
- package/fesm2022/vgip-meta-ui-index-0184d5ec.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-1ddfcce0.mjs +0 -86
- package/fesm2022/vgip-meta-ui-index-1ddfcce0.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-37358620.mjs +0 -158
- package/fesm2022/vgip-meta-ui-index-37358620.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-4e9c383f.mjs +0 -95
- package/fesm2022/vgip-meta-ui-index-4e9c383f.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-4fa919c0.mjs +0 -79
- package/fesm2022/vgip-meta-ui-index-4fa919c0.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-5f68724c.mjs +0 -576
- package/fesm2022/vgip-meta-ui-index-5f68724c.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-6d502a71.mjs +0 -869
- package/fesm2022/vgip-meta-ui-index-6d502a71.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-7741951a.mjs +0 -23
- package/fesm2022/vgip-meta-ui-index-7741951a.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-80ab405f.mjs +0 -93
- package/fesm2022/vgip-meta-ui-index-80ab405f.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-926ae006.mjs +0 -58
- package/fesm2022/vgip-meta-ui-index-926ae006.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-b979685f.mjs +0 -87
- package/fesm2022/vgip-meta-ui-index-b979685f.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-c943b7c0.mjs +0 -24
- package/fesm2022/vgip-meta-ui-index-c943b7c0.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-ce185ca2.mjs +0 -2062
- package/fesm2022/vgip-meta-ui-index-ce185ca2.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-f8b00f06.mjs +0 -370
- package/fesm2022/vgip-meta-ui-index-f8b00f06.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-fb7f54f5.mjs +0 -154
- package/fesm2022/vgip-meta-ui-index-fb7f54f5.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-metaModel.pipe-6b803e66.mjs +0 -26
- package/fesm2022/vgip-meta-ui-metaModel.pipe-6b803e66.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-relativeTimeBuilder-31791ce4.mjs +0 -51
- package/fesm2022/vgip-meta-ui-relativeTimeBuilder-31791ce4.mjs.map +0 -1
- package/lib/common/fieldNormalizer/boolean.d.ts +0 -1
- package/lib/common/fieldNormalizer/datetime.d.ts +0 -1
- package/lib/common/fieldNormalizer/index.d.ts +0 -1
- package/lib/common/fieldNormalizer/number.d.ts +0 -1
- package/lib/common/fieldNormalizer/options.d.ts +0 -1
- package/lib/common/fieldNormalizer/radio.d.ts +0 -1
- package/lib/common/fieldNormalizer/reference.d.ts +0 -1
- package/lib/common/fieldNormalizer/richtext.d.ts +0 -1
- package/lib/common/fieldNormalizer/string.d.ts +0 -1
- package/lib/common/fieldNormalizer/text.d.ts +0 -1
- package/lib/common/fieldNormalizer/uniqueNameFilter.d.ts +0 -1
- package/lib/common/metaAutofocus.directive.d.ts +0 -10
- package/lib/common/metaIcons.pipe.d.ts +0 -10
- package/lib/common/metaModel.pipe.d.ts +0 -7
- package/lib/common/metaNormalizer.d.ts +0 -1
- package/lib/common/metaStripHtml.pipe.d.ts +0 -7
- package/lib/common/utils/colorThemes.d.ts +0 -8
- package/lib/common/utils/indexedDbStore/index.d.ts +0 -25
- package/lib/common/utils/relativeTimeBuilder.d.ts +0 -1
- package/lib/common/utils/resourceCardLabel.d.ts +0 -1
- package/lib/common/utils/smartProp.d.ts +0 -2
- package/lib/common/utils/templateBuilder.d.ts +0 -1
- package/lib/fieldAbstract.d.ts +0 -61
- package/lib/fieldBoolean/index.d.ts +0 -10
- package/lib/fieldComposite/index.d.ts +0 -14
- package/lib/fieldDatetime/index.d.ts +0 -26
- package/lib/fieldHidden/index.d.ts +0 -6
- package/lib/fieldInput/index.d.ts +0 -35
- package/lib/fieldList/index.d.ts +0 -15
- package/lib/fieldRadio/index.d.ts +0 -14
- package/lib/fieldReference/index.d.ts +0 -73
- package/lib/fieldRichtext/index.d.ts +0 -27
- package/lib/fieldSelect/index.d.ts +0 -49
- package/lib/fieldText/index.d.ts +0 -15
- package/lib/fieldUnknown/index.d.ts +0 -6
- package/lib/index.d.ts +0 -65
- package/lib/layout/index.d.ts +0 -47
- package/lib/metaField/index.d.ts +0 -29
- package/lib/refDialog/index.d.ts +0 -33
- package/lib/resource/index.d.ts +0 -68
- package/lib/resourceCard/index.d.ts +0 -17
- package/lib/services/metaContext/index.d.ts +0 -32
- package/lib/services/metaMsg/index.d.ts +0 -14
- package/lib/services/metaReference/index.d.ts +0 -11
- package/lib/services/metaResource/index.d.ts +0 -31
- package/lib/services/metaResource/metaHttpClient.d.ts +0 -15
- package/lib/services/metaTracker/index.d.ts +0 -19
- package/lib/services/resourceDrafts/index.d.ts +0 -26
- package/public-api.d.ts +0 -1
|
@@ -0,0 +1,495 @@
|
|
|
1
|
+
@use "../lib/mediaqueries";
|
|
2
|
+
@use "../lib/utils";
|
|
3
|
+
@use "../lib/variables";
|
|
4
|
+
@use "buttons";
|
|
5
|
+
|
|
6
|
+
//
|
|
7
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
8
|
+
//
|
|
9
|
+
|
|
10
|
+
.Vlt-dropdown {
|
|
11
|
+
display: inline-block;
|
|
12
|
+
position: relative;
|
|
13
|
+
|
|
14
|
+
&__header,
|
|
15
|
+
&__title {
|
|
16
|
+
background: variables.$purple-dark;
|
|
17
|
+
border-top-left-radius: variables.$unit1;
|
|
18
|
+
border-top-right-radius: variables.$unit1;
|
|
19
|
+
color: variables.$white;
|
|
20
|
+
font-size: 1.5rem;
|
|
21
|
+
font-weight: 600;
|
|
22
|
+
margin-top: -8px;
|
|
23
|
+
padding: 5px variables.$unit2;
|
|
24
|
+
text-align: left;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__label {
|
|
28
|
+
flex: 1;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__link,
|
|
32
|
+
&__block {
|
|
33
|
+
color: variables.$black;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
padding: 5px 16px;
|
|
36
|
+
position: relative;
|
|
37
|
+
text-align: left;
|
|
38
|
+
|
|
39
|
+
&--border-top {
|
|
40
|
+
margin-top: 3px;
|
|
41
|
+
padding-bottom: 8px;
|
|
42
|
+
padding-top: 8px;
|
|
43
|
+
|
|
44
|
+
&:before {
|
|
45
|
+
background-color: variables.$grey-light;
|
|
46
|
+
content: '';
|
|
47
|
+
height: 1px;
|
|
48
|
+
left: 0;
|
|
49
|
+
position: absolute;
|
|
50
|
+
right: 0;
|
|
51
|
+
top: 0;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&--disabled,
|
|
56
|
+
&_disabled {
|
|
57
|
+
color: variables.$grey-dark;
|
|
58
|
+
cursor: default;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&--highlighted {
|
|
63
|
+
color: variables.$blue;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__icon {
|
|
67
|
+
flex: 0 0 20px;
|
|
68
|
+
height: 20px;
|
|
69
|
+
margin-bottom: -3px;
|
|
70
|
+
margin-right: 10px;
|
|
71
|
+
vertical-align: middle;
|
|
72
|
+
width: 20px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&__label {
|
|
76
|
+
align-self: center;
|
|
77
|
+
flex: 1;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&__link {
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
display: flex;
|
|
84
|
+
font-size: 1.4rem;
|
|
85
|
+
white-space: nowrap;
|
|
86
|
+
|
|
87
|
+
&:hover,
|
|
88
|
+
&:focus {
|
|
89
|
+
background: rgba(variables.$black, 0.05);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:focus {
|
|
93
|
+
outline: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&:active {
|
|
97
|
+
background: rgba(variables.$black, 0.1);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&--nohover {
|
|
101
|
+
&:hover {
|
|
102
|
+
background: transparent;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&--selected,
|
|
107
|
+
&_selected {
|
|
108
|
+
font-size: 1.5rem;
|
|
109
|
+
font-weight: 600;
|
|
110
|
+
padding-right: 40px;
|
|
111
|
+
|
|
112
|
+
&:after {
|
|
113
|
+
$fill-color: utils.encode-hex-code(variables.$black);
|
|
114
|
+
background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22#{$fill-color}%22%20fill-rule%3D%22nonzero%22%20d%3D%22M2.904%2012.11L1.5%2013.52%207.958%2020%2022.5%205.409%2021.096%204%207.958%2017.182z%22%2F%3E%3C%2Fsvg%3E') no-repeat right center;
|
|
115
|
+
background-size: contain;
|
|
116
|
+
content: '';
|
|
117
|
+
height: 16px;
|
|
118
|
+
position: absolute;
|
|
119
|
+
right: 16px;
|
|
120
|
+
top: 9px;
|
|
121
|
+
width: 16px;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&__block {
|
|
127
|
+
&--nowrap {
|
|
128
|
+
white-space: nowrap;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&--center {
|
|
132
|
+
text-align: center;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
& + .Vlt-btn,
|
|
137
|
+
.Vlt-btn + & {
|
|
138
|
+
margin-left: variables.$unit1;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&--full-width {
|
|
142
|
+
display: flex;
|
|
143
|
+
|
|
144
|
+
.Vlt-dropdown__trigger {
|
|
145
|
+
width: 100%;
|
|
146
|
+
|
|
147
|
+
.Vlt-btn {
|
|
148
|
+
text-align: left;
|
|
149
|
+
width: 100%;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.Vlt-dropdown__trigger {
|
|
156
|
+
// New wrapper for the dropdown button
|
|
157
|
+
display: inline-block;
|
|
158
|
+
|
|
159
|
+
&--btn {
|
|
160
|
+
.Vlt-btn {
|
|
161
|
+
&:hover {
|
|
162
|
+
transform: none;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&:after {
|
|
166
|
+
$fill-color: utils.encode-hex-code(variables.$white);
|
|
167
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
168
|
+
background-position: center center;
|
|
169
|
+
background-repeat: no-repeat;
|
|
170
|
+
background-size: contain;
|
|
171
|
+
content: '';
|
|
172
|
+
display: inline-block;
|
|
173
|
+
float: right;
|
|
174
|
+
height: 24px;
|
|
175
|
+
margin-left: 5px;
|
|
176
|
+
vertical-align: middle;
|
|
177
|
+
width: 20px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&.Vlt-btn--secondary.Vlt-btn--outline,
|
|
181
|
+
&.Vlt-btn--tertiary,
|
|
182
|
+
&.Vlt-btn--white {
|
|
183
|
+
&:after {
|
|
184
|
+
$fill-color: utils.encode-hex-code(variables.$black);
|
|
185
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&.Vlt-btn--outline {
|
|
190
|
+
&.Vlt-btn--primary {
|
|
191
|
+
&:after {
|
|
192
|
+
$fill-color: utils.encode-hex-code(variables.$purple);
|
|
193
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&.Vlt-btn--tertiary {
|
|
198
|
+
&:after {
|
|
199
|
+
$fill-color: utils.encode-hex-code(variables.$grey-light);
|
|
200
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
&.Vlt-btn--quaternary {
|
|
205
|
+
&:after {
|
|
206
|
+
$fill-color: utils.encode-hex-code(variables.$green);
|
|
207
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&.Vlt-btn--indigo {
|
|
212
|
+
&:after {
|
|
213
|
+
$fill-color: utils.encode-hex-code(variables.$indigo);
|
|
214
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
&.Vlt-btn--orange {
|
|
219
|
+
&:after {
|
|
220
|
+
$fill-color: utils.encode-hex-code(variables.$orange);
|
|
221
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
&.Vlt-btn--destructive {
|
|
226
|
+
&:after {
|
|
227
|
+
$fill-color: utils.encode-hex-code(variables.$red);
|
|
228
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&.Vlt-btn--white {
|
|
233
|
+
&:after {
|
|
234
|
+
$fill-color: utils.encode-hex-code(variables.$white);
|
|
235
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&.Vlt-btn--link {
|
|
241
|
+
&:after {
|
|
242
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A%23117bb8%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
& + .Vlt-dropdown__panel {
|
|
248
|
+
margin-top: -4px
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
&--block {
|
|
253
|
+
width: 100%;
|
|
254
|
+
|
|
255
|
+
.Vlt-btn {
|
|
256
|
+
text-align: left;
|
|
257
|
+
width: 100%;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.Vlt-dropdown__btn {
|
|
263
|
+
@extend %Vlt-btn;
|
|
264
|
+
margin-bottom: 0;
|
|
265
|
+
margin-top: 0;
|
|
266
|
+
|
|
267
|
+
&:after {
|
|
268
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A%23ffffff%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
269
|
+
background-position: center center;
|
|
270
|
+
background-repeat: no-repeat;
|
|
271
|
+
background-size: contain;
|
|
272
|
+
content: '';
|
|
273
|
+
display: inline-block;
|
|
274
|
+
height: 20px;
|
|
275
|
+
margin-bottom: -1px;
|
|
276
|
+
margin-left: 5px;
|
|
277
|
+
margin-top: -2px;
|
|
278
|
+
vertical-align: middle;
|
|
279
|
+
width: 20px;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
&:hover {
|
|
283
|
+
transform: none;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
&:active {
|
|
287
|
+
transform: none;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
&:not(&--primary):not(&--secondary):not(&--tertiary):not(&--quaternary):not(&--destructive):not(&--indigo):not(&--orange):not(&--white) {
|
|
291
|
+
@extend %Vlt-btn--tertiary;
|
|
292
|
+
|
|
293
|
+
&:after {
|
|
294
|
+
$fill-color: utils.encode-hex-code(variables.$black);
|
|
295
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
&--large {
|
|
300
|
+
@extend %Vlt-btn--large;
|
|
301
|
+
|
|
302
|
+
&:after {
|
|
303
|
+
height: 24px;
|
|
304
|
+
margin-left: 8px;
|
|
305
|
+
width: 24px;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
&--small {
|
|
310
|
+
@extend %Vlt-btn--small;
|
|
311
|
+
|
|
312
|
+
&:after {
|
|
313
|
+
margin: -4px -5px -3px 5px;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
&--app {
|
|
318
|
+
@include buttons.btn-app-radius;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
&--primary {
|
|
322
|
+
@extend %Vlt-btn--primary;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
&--secondary {
|
|
326
|
+
@extend %Vlt-btn--secondary;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
&--quaternary {
|
|
330
|
+
@extend %Vlt-btn--quaternary;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
&--destructive {
|
|
334
|
+
@extend %Vlt-btn--destructive;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.Vlt-form__element & {
|
|
338
|
+
margin-bottom: 0;
|
|
339
|
+
margin-top: 0;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.Vlt-native-dropdown {
|
|
344
|
+
display: inline-flex; // Needed for vertical alignment on Firefox
|
|
345
|
+
position: relative;
|
|
346
|
+
width: fit-content;
|
|
347
|
+
|
|
348
|
+
select {
|
|
349
|
+
@extend %Vlt-btn, .Vlt-btn--secondary;
|
|
350
|
+
margin-bottom: 0;
|
|
351
|
+
margin-top: 0;
|
|
352
|
+
padding-right: 38px;
|
|
353
|
+
|
|
354
|
+
&::-ms-expand {
|
|
355
|
+
display: none;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
&:hover {
|
|
359
|
+
transform: none;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
&:active {
|
|
363
|
+
transform: none;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
&:after {
|
|
368
|
+
$fill-color: utils.encode-hex-code(variables.$white);
|
|
369
|
+
background-image: url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2020%2020%22%20style%3D%22enable-background%3Anew%200%200%2020%2020%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M7%2C7.8C6.7%2C7.5%2C6.2%2C7.6%2C5.9%2C7.9S5.7%2C8.7%2C6%2C9l4%2C3.4l4-3.4c0.3-0.3%2C0.3-0.8%2C0-1.1%0D%0A%09c-0.3-0.3-0.7-0.3-1-0.1l-3%2C2.6L7%2C7.8L7%2C7.8z%22%2F%3E%0D%0A%3C%2Fsvg%3E');
|
|
370
|
+
background-position: center center;
|
|
371
|
+
background-repeat: no-repeat;
|
|
372
|
+
background-size: contain;
|
|
373
|
+
content: '';
|
|
374
|
+
display: inline-block;
|
|
375
|
+
height: 20px;
|
|
376
|
+
margin-left: 5px;
|
|
377
|
+
margin-top: -10px;
|
|
378
|
+
pointer-events: none;
|
|
379
|
+
position: absolute;
|
|
380
|
+
right: 12px;
|
|
381
|
+
top: 50%;
|
|
382
|
+
width: 20px;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
&--large {
|
|
386
|
+
select {
|
|
387
|
+
@extend %Vlt-btn--large;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.Vlt-form__element--big &,
|
|
392
|
+
&--large {
|
|
393
|
+
|
|
394
|
+
&:after {
|
|
395
|
+
right: 25px;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
select {
|
|
399
|
+
margin-bottom: 0;
|
|
400
|
+
margin-top: 0;
|
|
401
|
+
padding-right: 50px !important;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
& + .Vlt-btn,
|
|
406
|
+
.Vlt-btn + & {
|
|
407
|
+
margin-left: variables.$unit1;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
&--app {
|
|
411
|
+
select {
|
|
412
|
+
@include buttons.btn-app-radius;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
// .Vlt-dropdown__selection {
|
|
418
|
+
// }
|
|
419
|
+
|
|
420
|
+
.Vlt-dropdown__panel {
|
|
421
|
+
max-height: 0;
|
|
422
|
+
min-width: 100%;
|
|
423
|
+
overflow: hidden;
|
|
424
|
+
position: absolute;
|
|
425
|
+
top: 100%;
|
|
426
|
+
z-index: variables.$z-index-dropdowns;
|
|
427
|
+
|
|
428
|
+
&__content {
|
|
429
|
+
background: variables.$white;
|
|
430
|
+
border-radius: variables.$unit1;
|
|
431
|
+
box-shadow: inset 0 0 0 1px variables.$grey-light, 0 2px 5px rgba(variables.$black, 0.15);
|
|
432
|
+
font-size: 1.5rem;
|
|
433
|
+
margin-bottom: 4px;
|
|
434
|
+
padding: variables.$unit1 0;
|
|
435
|
+
|
|
436
|
+
@media #{mediaqueries.$M-less} {
|
|
437
|
+
-webkit-overflow-scrolling: touch;
|
|
438
|
+
overflow-y: scroll;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
li:not([class]) {
|
|
442
|
+
display: block; // Needed for IE if the __link or __block is in a nested div to avoid extra spacing
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
&--left {
|
|
447
|
+
right: 0;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
&--width2 {
|
|
451
|
+
min-width: 200px;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
&--width3 {
|
|
455
|
+
min-width: 300px;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
&--nomaxheight {
|
|
459
|
+
max-height: none;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.Vlt-btn {
|
|
463
|
+
margin-bottom: 0;
|
|
464
|
+
margin-top: 0;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.Vlt-dropdown__scroll {
|
|
469
|
+
flex: auto; // Has to be auto for IE
|
|
470
|
+
overflow-y: auto;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.Vlt-dropdown--expanded .Vlt-dropdown__panel,
|
|
474
|
+
.Vlt-dropdown_expanded .Vlt-dropdown__panel,
|
|
475
|
+
.Vlt-dropdown__panel_open {
|
|
476
|
+
max-height: 100vh;
|
|
477
|
+
overflow: visible;
|
|
478
|
+
transition: 0.3s;
|
|
479
|
+
|
|
480
|
+
.Vlt-dropdown__panel__content {
|
|
481
|
+
max-height: 400px;
|
|
482
|
+
overflow-y: auto;
|
|
483
|
+
|
|
484
|
+
&--scroll-area {
|
|
485
|
+
display: flex;
|
|
486
|
+
flex-flow: column;
|
|
487
|
+
overflow-y: hidden;
|
|
488
|
+
|
|
489
|
+
.Vlt-dropdown__link,
|
|
490
|
+
.Vlt-dropdown__block {
|
|
491
|
+
flex-shrink: 0;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
@use "../lib/variables";
|
|
2
|
+
|
|
3
|
+
//
|
|
4
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
.Vlt-empty {
|
|
8
|
+
align-items: center;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-flow: row wrap;
|
|
11
|
+
height: 100%;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
padding: variables.$unit2 0;
|
|
14
|
+
text-align: center;
|
|
15
|
+
width: 100%;
|
|
16
|
+
|
|
17
|
+
&:before {
|
|
18
|
+
background-image: url('data:image/svg+xml,%3Csvg%20width%3D%22120%22%20height%3D%22120%22%20viewBox%3D%220%200%20120%20120%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2260%22%20cy%3D%2260%22%20r%3D%2260%22%20fill%3D%22%23E1E2E6%22%2F%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M42.75%2038.4375C42.75%2037.6436%2043.3936%2037%2044.1875%2037H75.812C76.606%2037%2077.25%2037.6436%2077.25%2038.4375C77.25%2039.2314%2076.606%2039.875%2075.812%2039.875H44.1875C43.3936%2039.875%2042.75%2039.2314%2042.75%2038.4375ZM49.938%2054.25C50.731%2054.25%2051.375%2054.8936%2051.375%2055.6875V60H68.625V55.6875C68.625%2054.8936%2069.269%2054.25%2070.062%2054.25C70.856%2054.25%2071.5%2054.8936%2071.5%2055.6875V61.438C71.5%2062.231%2070.856%2062.875%2070.062%2062.875H49.938C49.144%2062.875%2048.5%2062.231%2048.5%2061.438V55.6875C48.5%2054.8936%2049.144%2054.25%2049.938%2054.25ZM38.4375%2045.625C37.6436%2045.625%2037%2046.2686%2037%2047.0625V78.688C37%2079.481%2037.6436%2080.125%2038.4375%2080.125H81.562C82.356%2080.125%2083%2079.481%2083%2078.688V47.0625C83%2046.2686%2082.356%2045.625%2081.562%2045.625H38.4375ZM39.875%2077.25V48.5H80.125V77.25H39.875Z%22%20fill%3D%22%23131415%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
19
|
+
background-position: center center;
|
|
20
|
+
background-repeat: no-repeat;
|
|
21
|
+
background-size: contain;
|
|
22
|
+
content: '';
|
|
23
|
+
flex: 0 0 100%;
|
|
24
|
+
height: 120px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__icon {
|
|
28
|
+
background-color: variables.$grey-light;
|
|
29
|
+
border-radius: 50%;
|
|
30
|
+
display: block;
|
|
31
|
+
height: 120px;
|
|
32
|
+
position: relative;
|
|
33
|
+
width: 120px;
|
|
34
|
+
|
|
35
|
+
svg {
|
|
36
|
+
height: 60px;
|
|
37
|
+
left: 30px;
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: 30px;
|
|
40
|
+
width: 60px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&__header {
|
|
45
|
+
flex: 0 0 100%;
|
|
46
|
+
font-size: 1.6rem;
|
|
47
|
+
font-weight: 600;
|
|
48
|
+
line-height: 2.3rem;
|
|
49
|
+
margin-bottom: -8px;
|
|
50
|
+
margin-top: variables.$unit3;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&__content {
|
|
54
|
+
color: variables.$black;
|
|
55
|
+
flex: 0 0 100%;
|
|
56
|
+
margin-top: variables.$unit2;
|
|
57
|
+
|
|
58
|
+
p {
|
|
59
|
+
color: variables.$black;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&--search {
|
|
64
|
+
&:before {
|
|
65
|
+
background-image: url('data:image/svg+xml,%3Csvg%20width%3D%22120%22%20height%3D%22120%22%20viewBox%3D%220%200%20120%20120%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2260%22%20cy%3D%2260%22%20r%3D%2260%22%20fill%3D%22%23E1E2E6%22%2F%3E%0A%3Cpath%20d%3D%22M39.875%2055.6875C39.875%2047.0625%2047.062%2039.875%2055.687%2039.875C64.312%2039.875%2071.5%2047.0625%2071.5%2055.6875C71.5%2064.312%2064.312%2071.5%2055.687%2071.5C47.062%2071.5%2039.875%2064.312%2039.875%2055.6875ZM55.687%2037C45.338%2037%2037%2045.3375%2037%2055.6875C37%2066.037%2045.338%2074.375%2055.687%2074.375C58.85%2074.375%2061.725%2073.512%2064.312%2072.075L74.663%2082.425C75.238%2083%2076.1%2083%2076.675%2082.425L82.425%2076.675C83%2076.1%2083%2075.238%2082.425%2074.663L72.075%2064.312C73.512%2061.725%2074.375%2058.85%2074.375%2055.6875C74.375%2045.3375%2066.037%2037%2055.687%2037Z%22%20fill%3D%22%23131415%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
66
|
+
background-position: center center;
|
|
67
|
+
background-repeat: no-repeat;
|
|
68
|
+
background-size: contain;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&--icon {
|
|
73
|
+
&:before {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@use "../lib/mediaqueries";
|
|
2
|
+
@use "../lib/variables";
|
|
3
|
+
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
.Vlt-flash {
|
|
9
|
+
box-shadow: inset 0 0 0 1px variables.$grey, 0 4px 10px rgba(variables.$deep-black, 0.2);
|
|
10
|
+
left: 50%;
|
|
11
|
+
margin-left: -45%;
|
|
12
|
+
position: fixed;
|
|
13
|
+
top: -100%;
|
|
14
|
+
transition: top 0.3s;
|
|
15
|
+
width: 90%;
|
|
16
|
+
z-index: variables.$z-index-flash;
|
|
17
|
+
|
|
18
|
+
&.Vlt-flash_visible {
|
|
19
|
+
top: 20px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&--bottom {
|
|
23
|
+
bottom: -100%;
|
|
24
|
+
top: auto;
|
|
25
|
+
transition: bottom 0.3s;
|
|
26
|
+
|
|
27
|
+
&.Vlt-flash_visible {
|
|
28
|
+
bottom: 20px;
|
|
29
|
+
top: auto;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--small {
|
|
34
|
+
@media #{mediaqueries.$L-plus} {
|
|
35
|
+
margin-left: -25%;
|
|
36
|
+
width: 50%;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|