@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,353 @@
|
|
|
1
|
+
@use "../lib/variables";
|
|
2
|
+
|
|
3
|
+
//
|
|
4
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
.Vlt-switch {
|
|
8
|
+
height: 30px;
|
|
9
|
+
position: relative;
|
|
10
|
+
width: 50px;
|
|
11
|
+
|
|
12
|
+
&__slider {
|
|
13
|
+
background-color: variables.$grey-dark;
|
|
14
|
+
border-radius: 30px;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
height: 100%;
|
|
17
|
+
left: 0px;
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 0px;
|
|
20
|
+
transition: 0.4s;
|
|
21
|
+
width: 100%;
|
|
22
|
+
|
|
23
|
+
&:before {
|
|
24
|
+
background-color: transparent;
|
|
25
|
+
border: 0;
|
|
26
|
+
border-radius: 30px;
|
|
27
|
+
box-shadow: 0 0 0 0 rgba(variables.$deep-black, 0.1);
|
|
28
|
+
content: '';
|
|
29
|
+
height: 30px;
|
|
30
|
+
left: 0;
|
|
31
|
+
position: absolute;
|
|
32
|
+
top: 0;
|
|
33
|
+
transition: 0.4s;
|
|
34
|
+
width: 50px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:after {
|
|
38
|
+
background-color: variables.$white;
|
|
39
|
+
border-radius: 30px;
|
|
40
|
+
content: '';
|
|
41
|
+
height: 24px;
|
|
42
|
+
left: 3px;
|
|
43
|
+
position: absolute;
|
|
44
|
+
top: 3px;
|
|
45
|
+
transition: 0.4s;
|
|
46
|
+
width: 24px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
background-color: variables.$grey-darker;
|
|
51
|
+
|
|
52
|
+
&:after {
|
|
53
|
+
background-color: variables.$grey-lighter;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:active {
|
|
58
|
+
background-color: variables.$grey-light;
|
|
59
|
+
|
|
60
|
+
&:after {
|
|
61
|
+
background-color: variables.$grey-darker;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
input {
|
|
67
|
+
-webkit-tap-highlight-color: transparent;
|
|
68
|
+
appearance: none;
|
|
69
|
+
height: 0px;
|
|
70
|
+
left: 10px;
|
|
71
|
+
overflow: hidden;
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 10px;
|
|
74
|
+
width: 0px;
|
|
75
|
+
|
|
76
|
+
&:disabled {
|
|
77
|
+
~ .Vlt-switch__slider {
|
|
78
|
+
background-color: rgba(variables.$grey-dark, 0.5);
|
|
79
|
+
|
|
80
|
+
&:hover,
|
|
81
|
+
&:active {
|
|
82
|
+
background-color: rgba(variables.$grey-dark, 0.5);
|
|
83
|
+
cursor: auto;
|
|
84
|
+
|
|
85
|
+
&:after {
|
|
86
|
+
background-color: variables.$white;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:focus {
|
|
93
|
+
-webkit-tap-highlight-color: transparent;
|
|
94
|
+
outline: none;
|
|
95
|
+
|
|
96
|
+
~ .Vlt-switch__slider {
|
|
97
|
+
&:before {
|
|
98
|
+
box-shadow: 0 0 0 5px rgba(variables.$deep-black, 0.1);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&:checked ~ .Vlt-switch__slider {
|
|
103
|
+
&:before {
|
|
104
|
+
box-shadow: 0 0 0 5px rgba(variables.$green, 0.3);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&:checked ~ .Vlt-switch__slider {
|
|
110
|
+
background-color: variables.$green;
|
|
111
|
+
|
|
112
|
+
&:after {
|
|
113
|
+
left: 22px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&:hover {
|
|
117
|
+
background-color: variables.$green-dark;
|
|
118
|
+
|
|
119
|
+
&:after {
|
|
120
|
+
background-color: variables.$green-lighter;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:active {
|
|
125
|
+
background-color: variables.$green-lighter;
|
|
126
|
+
|
|
127
|
+
&:after {
|
|
128
|
+
background-color: variables.$green;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.Vlt-switch--red {
|
|
135
|
+
input {
|
|
136
|
+
&:focus {
|
|
137
|
+
&:checked ~ .Vlt-switch__slider {
|
|
138
|
+
&:before {
|
|
139
|
+
box-shadow: 0 0 0 5px rgba(variables.$red, 0.3);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&:checked ~ .Vlt-switch__slider {
|
|
145
|
+
background-color: variables.$red;
|
|
146
|
+
|
|
147
|
+
&:hover {
|
|
148
|
+
background-color: variables.$red-dark;
|
|
149
|
+
|
|
150
|
+
&:after {
|
|
151
|
+
background-color: variables.$red-lighter;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&:active {
|
|
156
|
+
background-color: variables.$red-light;
|
|
157
|
+
|
|
158
|
+
&:after {
|
|
159
|
+
background-color: variables.$red-dark;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&.Vlt-switch--primary {
|
|
167
|
+
input {
|
|
168
|
+
&:focus {
|
|
169
|
+
&:checked ~ .Vlt-switch__slider {
|
|
170
|
+
&:before {
|
|
171
|
+
box-shadow: 0 0 0 5px rgba(variables.$purple-dark, 0.3);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&:checked ~ .Vlt-switch__slider {
|
|
177
|
+
background-color: variables.$purple-dark;
|
|
178
|
+
|
|
179
|
+
&:hover {
|
|
180
|
+
background-color: variables.$purple-darker;
|
|
181
|
+
|
|
182
|
+
&:after {
|
|
183
|
+
background-color: variables.$purple-lighter;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&:active {
|
|
188
|
+
background-color: variables.$purple-light;
|
|
189
|
+
|
|
190
|
+
&:after {
|
|
191
|
+
background-color: variables.$purple-dark;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&.Vlt-switch--secondary {
|
|
199
|
+
input {
|
|
200
|
+
&:focus {
|
|
201
|
+
&:checked ~ .Vlt-switch__slider {
|
|
202
|
+
&:before {
|
|
203
|
+
box-shadow: 0 0 0 5px rgba(variables.$black, 0.3);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&:checked ~ .Vlt-switch__slider {
|
|
209
|
+
background-color: variables.$black;
|
|
210
|
+
|
|
211
|
+
&:hover {
|
|
212
|
+
background-color: variables.$grey-darker;
|
|
213
|
+
|
|
214
|
+
&:after {
|
|
215
|
+
background-color: variables.$grey-lighter;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&:active {
|
|
220
|
+
background-color: variables.$grey-light;
|
|
221
|
+
|
|
222
|
+
&:after {
|
|
223
|
+
background-color: variables.$grey-darker;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
&.Vlt-switch--orange {
|
|
231
|
+
input {
|
|
232
|
+
&:focus {
|
|
233
|
+
&:checked ~ .Vlt-switch__slider {
|
|
234
|
+
&:before {
|
|
235
|
+
box-shadow: 0 0 0 5px rgba(variables.$orange, 0.3);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&:checked ~ .Vlt-switch__slider {
|
|
241
|
+
background-color: variables.$orange;
|
|
242
|
+
|
|
243
|
+
&:hover {
|
|
244
|
+
background-color: variables.$orange-dark;
|
|
245
|
+
|
|
246
|
+
&:after {
|
|
247
|
+
background-color: variables.$orange-lighter;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
&:active {
|
|
252
|
+
background-color: variables.$orange-light;
|
|
253
|
+
|
|
254
|
+
&:after {
|
|
255
|
+
background-color: variables.$orange-dark;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
&.Vlt-switch--indigo {
|
|
263
|
+
input {
|
|
264
|
+
&:focus {
|
|
265
|
+
&:checked ~ .Vlt-switch__slider {
|
|
266
|
+
&:before {
|
|
267
|
+
box-shadow: 0 0 0 5px rgba(variables.$indigo, 0.3);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
&:checked ~ .Vlt-switch__slider {
|
|
273
|
+
background-color: variables.$indigo;
|
|
274
|
+
|
|
275
|
+
&:hover {
|
|
276
|
+
background-color: variables.$indigo-dark;
|
|
277
|
+
|
|
278
|
+
&:after {
|
|
279
|
+
background-color: variables.$indigo-lighter;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
&:active {
|
|
284
|
+
background-color: variables.$indigo-light;
|
|
285
|
+
|
|
286
|
+
&:after {
|
|
287
|
+
background-color: variables.$indigo-dark;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
&.Vlt-switch--blue {
|
|
295
|
+
input {
|
|
296
|
+
&:focus {
|
|
297
|
+
&:checked ~ .Vlt-switch__slider {
|
|
298
|
+
&:before {
|
|
299
|
+
box-shadow: 0 0 0 5px rgba(28, 143, 218, 0.3);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
&:checked ~ .Vlt-switch__slider {
|
|
305
|
+
background-color: #1c8fda;
|
|
306
|
+
|
|
307
|
+
&:hover {
|
|
308
|
+
background-color: #0070b9;
|
|
309
|
+
|
|
310
|
+
&:after {
|
|
311
|
+
background-color: #d9eefc;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
&:active {
|
|
316
|
+
background-color: #d9eefc;
|
|
317
|
+
|
|
318
|
+
&:after {
|
|
319
|
+
background-color: #0070b9;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
&--small {
|
|
327
|
+
height: 20px;
|
|
328
|
+
position: relative;
|
|
329
|
+
width: 32px;
|
|
330
|
+
|
|
331
|
+
.Vlt-switch__slider {
|
|
332
|
+
&:before {
|
|
333
|
+
height: 20px;
|
|
334
|
+
left: 0;
|
|
335
|
+
top: 0;
|
|
336
|
+
width: 32px;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
&:after {
|
|
340
|
+
height: 16px;
|
|
341
|
+
left: 2px;
|
|
342
|
+
top: 2px;
|
|
343
|
+
width: 16px;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
input:checked ~ .Vlt-switch__slider {
|
|
348
|
+
&:after {
|
|
349
|
+
left: 13px;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
}
|