@vgip/meta-ui 2.0.0 → 2.1.1
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 +329 -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
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vgip/meta-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "VGIP Meta UI",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/common": "
|
|
7
|
-
"@angular/core": "^
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"quill": "^1.3.7"
|
|
6
|
+
"@angular/common": "^^20.3.5",
|
|
7
|
+
"@angular/core": "^20.3.5",
|
|
8
|
+
"ngx-quill": "^28.0.1",
|
|
9
|
+
"quill": "^2.0.3"
|
|
11
10
|
},
|
|
12
11
|
"dependencies": {
|
|
13
12
|
"tslib": "^2.0.0"
|
|
@@ -20,8 +19,6 @@
|
|
|
20
19
|
},
|
|
21
20
|
".": {
|
|
22
21
|
"types": "./index.d.ts",
|
|
23
|
-
"esm2022": "./esm2022/vgip-meta-ui.mjs",
|
|
24
|
-
"esm": "./esm2022/vgip-meta-ui.mjs",
|
|
25
22
|
"default": "./fesm2022/vgip-meta-ui.mjs"
|
|
26
23
|
}
|
|
27
24
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Dart Sass 3.0.0 compatible version of https://www.npmjs.com/package/@vonagevolta/volta2 (strip sass and fonts only)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
@use "../lib/utils";
|
|
2
|
+
@use "../lib/variables";
|
|
3
|
+
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
.Vlt-accordion__content,
|
|
9
|
+
.Vlt-js-accordion__content {
|
|
10
|
+
height: 0;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
transition: height 0.3s;
|
|
13
|
+
|
|
14
|
+
&_open {
|
|
15
|
+
height: auto;
|
|
16
|
+
overflow: visible;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.Vlt-js-accordion__trigger {
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.Vlt-accordion {
|
|
25
|
+
border-bottom: 1px solid variables.$grey-dark;
|
|
26
|
+
|
|
27
|
+
&__trigger {
|
|
28
|
+
@extend .reset-button !optional;
|
|
29
|
+
border-top: 1px solid variables.$grey-dark;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
display: flex;
|
|
32
|
+
font-size: 1.8rem;
|
|
33
|
+
font-weight: 800;
|
|
34
|
+
line-height: 2.4rem;
|
|
35
|
+
padding: 15px 24px 15px 0;
|
|
36
|
+
position: relative;
|
|
37
|
+
text-align: left;
|
|
38
|
+
transition: margin 0.2s;
|
|
39
|
+
width: 100%;
|
|
40
|
+
|
|
41
|
+
&:first-child {
|
|
42
|
+
border-top: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
span {
|
|
46
|
+
flex: 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
svg {
|
|
50
|
+
flex: 0 0 24px;
|
|
51
|
+
height: 24px;
|
|
52
|
+
margin-right: 24px;
|
|
53
|
+
width: 24px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&:before,
|
|
57
|
+
&:after {
|
|
58
|
+
$fill-color: utils.encode-hex-code(variables.$black);
|
|
59
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2020%2020%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M3.38326%207.96544C3.58628%207.68629%203.97717%207.62457%204.25632%207.82759L9.99983%2012.0047L15.7433%207.82759C16.0225%207.62457%2016.4134%207.68629%2016.6164%207.96544C16.8194%208.2446%2016.7577%208.63549%2016.4785%208.83851L10.3674%2013.283C10.1483%2013.4423%209.85138%2013.4423%209.63222%2013.283L3.52111%208.83851C3.24195%208.63549%203.18023%208.2446%203.38326%207.96544Z%22%2F%3E%0A%3C%2Fsvg%3E');
|
|
60
|
+
background-position: center center;
|
|
61
|
+
background-repeat: no-repeat;
|
|
62
|
+
background-size: 22px;
|
|
63
|
+
content: '';
|
|
64
|
+
display: block;
|
|
65
|
+
flex: 0 0 24px;
|
|
66
|
+
height: 24px;
|
|
67
|
+
width: 24px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&:after {
|
|
71
|
+
position: absolute;
|
|
72
|
+
right: 0;
|
|
73
|
+
transition: transform 0.2s;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:before {
|
|
77
|
+
display: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&_active {
|
|
81
|
+
+ .Vlt-accordion__content + .Vlt-accordion__trigger {
|
|
82
|
+
margin-top: 23px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:before,
|
|
86
|
+
&:after {
|
|
87
|
+
transform: rotate(180deg);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&--noborder {
|
|
92
|
+
& + .Vlt-accordion__content {
|
|
93
|
+
border-bottom: 0; // Supporting legacy
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&--icons,
|
|
99
|
+
&--chevron-left,
|
|
100
|
+
&--plus-minus {
|
|
101
|
+
.Vlt-accordion__content {
|
|
102
|
+
padding-left: 48px;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&--chevron-left,
|
|
107
|
+
&--plus-minus {
|
|
108
|
+
.Vlt-accordion__trigger {
|
|
109
|
+
&:before {
|
|
110
|
+
display: block;
|
|
111
|
+
margin-right: 24px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:after {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&--plus-minus {
|
|
121
|
+
.Vlt-accordion__trigger {
|
|
122
|
+
justify-content: left;
|
|
123
|
+
|
|
124
|
+
&:before {
|
|
125
|
+
$fill-color: utils.encode-hex-code(variables.$black);
|
|
126
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M12.75%203.5C12.75%203.08579%2012.4142%202.75%2012%202.75C11.5858%202.75%2011.25%203.08579%2011.25%203.5V11.25H3.5C3.08579%2011.25%202.75%2011.5858%202.75%2012C2.75%2012.4142%203.08579%2012.75%203.5%2012.75H11.25V20.5C11.25%2020.9141%2011.5858%2021.25%2012%2021.25C12.4142%2021.25%2012.75%2020.9141%2012.75%2020.5V12.75H20.5C20.9141%2012.75%2021.25%2012.4142%2021.25%2012C21.25%2011.5858%2020.9141%2011.25%2020.5%2011.25H12.75V3.5Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&_active {
|
|
130
|
+
&:before {
|
|
131
|
+
$fill-color: utils.encode-hex-code(variables.$black);
|
|
132
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M3.5%2011C3.08579%2011%202.75%2011.3358%202.75%2011.75C2.75%2012.1642%203.08579%2012.5%203.5%2012.5H20.5C20.9141%2012.5%2021.25%2012.1642%2021.25%2011.75C21.25%2011.3358%2020.9141%2011%2020.5%2011H3.5Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
133
|
+
transform: none;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&__content {
|
|
140
|
+
|
|
141
|
+
&:last-of-type {
|
|
142
|
+
&.Vlt-accordion__content_open {
|
|
143
|
+
padding-bottom: 28px;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&--noborder {
|
|
148
|
+
border: 0;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&--large {
|
|
153
|
+
.Vlt-accordion__trigger {
|
|
154
|
+
font-size: 2rem;
|
|
155
|
+
line-height: 2.5rem;
|
|
156
|
+
padding: 19px 24px 20px 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.Vlt-accordion__trigger_active {
|
|
160
|
+
+ .Vlt-accordion__content + .Vlt-accordion__trigger {
|
|
161
|
+
margin-top: 28px;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
@use "../lib/utils";
|
|
2
|
+
@use "../lib/variables";
|
|
3
|
+
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
.Vlt-badge {
|
|
9
|
+
background: rgba(variables.$purple-dark, 0.2);
|
|
10
|
+
border-radius: 13px;
|
|
11
|
+
color: variables.$purple-dark;
|
|
12
|
+
display: inline-block;
|
|
13
|
+
flex-shrink: 0;
|
|
14
|
+
font-size: 1.2rem;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
line-height: 1.6rem;
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 5px 12px;
|
|
19
|
+
vertical-align: bottom;
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
|
|
22
|
+
&--black {
|
|
23
|
+
background: variables.$black;
|
|
24
|
+
color: variables.$white;
|
|
25
|
+
|
|
26
|
+
&.Vlt-badge--outline,
|
|
27
|
+
&.Vlt-badge--transparent {
|
|
28
|
+
background: rgba(variables.$black, 0.2);
|
|
29
|
+
color: variables.$black;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--grey {
|
|
34
|
+
background: variables.$grey;
|
|
35
|
+
color: variables.$black;
|
|
36
|
+
|
|
37
|
+
&.Vlt-badge--outline,
|
|
38
|
+
&.Vlt-badge--transparent {
|
|
39
|
+
background: rgba(variables.$grey, 0.2);
|
|
40
|
+
color: variables.$grey-darker;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&--white {
|
|
45
|
+
background: variables.$white;
|
|
46
|
+
color: variables.$black;
|
|
47
|
+
|
|
48
|
+
&.Vlt-badge--outline,
|
|
49
|
+
&.Vlt-badge--transparent {
|
|
50
|
+
background: rgba(variables.$white, 0.2);
|
|
51
|
+
color: variables.$white;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&--purple {
|
|
56
|
+
background: variables.$purple-dark;
|
|
57
|
+
color: variables.$white;
|
|
58
|
+
|
|
59
|
+
&.Vlt-badge--outline,
|
|
60
|
+
&.Vlt-badge--transparent {
|
|
61
|
+
background: rgba(variables.$purple-dark, 0.2);
|
|
62
|
+
color: variables.$purple-dark;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&--indigo {
|
|
67
|
+
background: variables.$indigo;
|
|
68
|
+
color: variables.$white;
|
|
69
|
+
|
|
70
|
+
&.Vlt-badge--outline,
|
|
71
|
+
&.Vlt-badge--transparent {
|
|
72
|
+
background: rgba(variables.$indigo, 0.2);
|
|
73
|
+
color: variables.$indigo;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&--red {
|
|
78
|
+
background: variables.$red;
|
|
79
|
+
color: variables.$white;
|
|
80
|
+
|
|
81
|
+
&.Vlt-badge--outline,
|
|
82
|
+
&.Vlt-badge--transparent {
|
|
83
|
+
background: rgba(variables.$red, 0.2);
|
|
84
|
+
color: variables.$red;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&--yellow {
|
|
89
|
+
background: variables.$yellow;
|
|
90
|
+
color: variables.$white;
|
|
91
|
+
|
|
92
|
+
&.Vlt-badge--outline,
|
|
93
|
+
&.Vlt-badge--transparent {
|
|
94
|
+
background: rgba(variables.$yellow, 0.2);
|
|
95
|
+
color: variables.$yellow;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&--orange {
|
|
100
|
+
background: variables.$orange;
|
|
101
|
+
color: variables.$white;
|
|
102
|
+
|
|
103
|
+
&.Vlt-badge--outline,
|
|
104
|
+
&.Vlt-badge--transparent {
|
|
105
|
+
background: rgba(variables.$orange, 0.2);
|
|
106
|
+
color: variables.$orange;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&--green {
|
|
111
|
+
background: variables.$green;
|
|
112
|
+
color: variables.$white;
|
|
113
|
+
|
|
114
|
+
&.Vlt-badge--outline,
|
|
115
|
+
&.Vlt-badge--transparent {
|
|
116
|
+
background: rgba(variables.$green, 0.2);
|
|
117
|
+
color: variables.$green;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&--blue {
|
|
122
|
+
background: variables.$blue;
|
|
123
|
+
color: variables.$white;
|
|
124
|
+
|
|
125
|
+
&.Vlt-badge--outline,
|
|
126
|
+
&.Vlt-badge--transparent {
|
|
127
|
+
background: rgba(variables.$blue, 0.2);
|
|
128
|
+
color: variables.$blue;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&--outline {
|
|
133
|
+
background: none !important;
|
|
134
|
+
box-shadow: inset 0 0 0 1px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&--large {
|
|
138
|
+
border-radius: 15px;
|
|
139
|
+
font-size: 1.3rem;
|
|
140
|
+
line-height: 1.6rem;
|
|
141
|
+
padding: 7px 14px;
|
|
142
|
+
|
|
143
|
+
.Vlt-badge__dismiss {
|
|
144
|
+
margin-left: 8px;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&--small {
|
|
149
|
+
border-radius: 10px;
|
|
150
|
+
font-size: 1.1rem;
|
|
151
|
+
line-height: 1.4rem;
|
|
152
|
+
padding: 2px 8px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
p & {
|
|
156
|
+
margin: 0 5px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&__dismiss {
|
|
160
|
+
appearance: none;
|
|
161
|
+
background: none;
|
|
162
|
+
border: 0;
|
|
163
|
+
outline: none;
|
|
164
|
+
padding: 0;
|
|
165
|
+
$fill-color: utils.encode-hex-code(variables.$purple-dark);
|
|
166
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
167
|
+
background-position: center;
|
|
168
|
+
background-repeat: no-repeat;
|
|
169
|
+
background-size: contain;
|
|
170
|
+
cursor: pointer;
|
|
171
|
+
height: 16px;
|
|
172
|
+
margin-left: 6px;
|
|
173
|
+
margin-right: -4px;
|
|
174
|
+
margin-top: -1px;
|
|
175
|
+
transition: opacity 0.2s;
|
|
176
|
+
vertical-align: middle;
|
|
177
|
+
width: 16px;
|
|
178
|
+
|
|
179
|
+
.Vlt-badge:not(.Vlt-badge--outline):not(.Vlt-badge--transparent) & {
|
|
180
|
+
$fill-color: utils.encode-hex-code(variables.$white);
|
|
181
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.Vlt-badge--white:not(.Vlt-badge--outline):not(.Vlt-badge--transparent) &,
|
|
185
|
+
.Vlt-badge--grey:not(.Vlt-badge--outline):not(.Vlt-badge--transparent) & {
|
|
186
|
+
$fill-color: utils.encode-hex-code(variables.$black);
|
|
187
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.Vlt-badge--white.Vlt-badge--outline &,
|
|
191
|
+
.Vlt-badge--white.Vlt-badge--transparent & {
|
|
192
|
+
$fill-color: utils.encode-hex-code(variables.$white);
|
|
193
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.Vlt-badge--black.Vlt-badge--outline &,
|
|
197
|
+
.Vlt-badge--black.Vlt-badge--transparent & {
|
|
198
|
+
$fill-color: utils.encode-hex-code(variables.$black);
|
|
199
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.Vlt-badge--grey.Vlt-badge--outline &,
|
|
203
|
+
.Vlt-badge--grey.Vlt-badge--transparent & {
|
|
204
|
+
$fill-color: utils.encode-hex-code(variables.$grey);
|
|
205
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.Vlt-badge--purple.Vlt-badge--outline &,
|
|
209
|
+
.Vlt-badge--purple.Vlt-badge--transparent & {
|
|
210
|
+
$fill-color: utils.encode-hex-code(variables.$purple-dark);
|
|
211
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.Vlt-badge--indigo.Vlt-badge--outline &,
|
|
215
|
+
.Vlt-badge--indigo.Vlt-badge--transparent & {
|
|
216
|
+
$fill-color: utils.encode-hex-code(variables.$indigo);
|
|
217
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.Vlt-badge--red.Vlt-badge--outline &,
|
|
221
|
+
.Vlt-badge--red.Vlt-badge--transparent & {
|
|
222
|
+
$fill-color: utils.encode-hex-code(variables.$red);
|
|
223
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.Vlt-badge--yellow.Vlt-badge--outline &,
|
|
227
|
+
.Vlt-badge--yellow.Vlt-badge--transparent & {
|
|
228
|
+
$fill-color: utils.encode-hex-code(variables.$yellow);
|
|
229
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.Vlt-badge--orange.Vlt-badge--outline &,
|
|
233
|
+
.Vlt-badge--orange.Vlt-badge--transparent & {
|
|
234
|
+
$fill-color: utils.encode-hex-code(variables.$orange);
|
|
235
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.Vlt-badge--green.Vlt-badge--outline &,
|
|
239
|
+
.Vlt-badge--green.Vlt-badge--transparent & {
|
|
240
|
+
$fill-color: utils.encode-hex-code(variables.$green);
|
|
241
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.Vlt-badge--blue.Vlt-badge--outline &,
|
|
245
|
+
.Vlt-badge--blue.Vlt-badge--transparent & {
|
|
246
|
+
$fill-color: utils.encode-hex-code(variables.$blue);
|
|
247
|
+
background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20style%3D%22fill%3A#{$fill-color}%3B%22%20d%3D%22M17.7429%206.25714C17.4%205.91429%2016.8857%205.91429%2016.5429%206.25714L12%2010.8L7.45714%206.25714C7.11429%205.91429%206.6%205.91429%206.25714%206.25714C5.91429%206.6%205.91429%207.11429%206.25714%207.45714L10.8%2012L6.25714%2016.5429C5.91429%2016.8857%205.91429%2017.4%206.25714%2017.7429C6.42857%2017.9143%206.6%2018%206.85714%2018C7.11429%2018%207.28571%2017.9143%207.45714%2017.7429L12%2013.2L16.5429%2017.7429C16.7143%2017.9143%2016.9714%2018%2017.1429%2018C17.3143%2018%2017.5714%2017.9143%2017.7429%2017.7429C18.0857%2017.4%2018.0857%2016.8857%2017.7429%2016.5429L13.2%2012L17.7429%207.45714C18.0857%207.11429%2018.0857%206.6%2017.7429%206.25714Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&:hover {
|
|
251
|
+
opacity: 0.6;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
&--dismissed {
|
|
256
|
+
border: 0 !important;
|
|
257
|
+
height: 0;
|
|
258
|
+
opacity: 0;
|
|
259
|
+
overflow: hidden;
|
|
260
|
+
padding: 0;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
&-combined {
|
|
264
|
+
display: flex;
|
|
265
|
+
|
|
266
|
+
.Vlt-badge {
|
|
267
|
+
&:first-child {
|
|
268
|
+
border-bottom-right-radius: 0;
|
|
269
|
+
border-top-right-radius: 0;
|
|
270
|
+
margin-right: 0;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&:last-child {
|
|
274
|
+
border-bottom-left-radius: 0;
|
|
275
|
+
border-top-left-radius: 0;
|
|
276
|
+
margin-left: 0;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
&--app {
|
|
281
|
+
.Vlt-badge {
|
|
282
|
+
border-radius: variables.$unit0;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
& + .Vlt-badge {
|
|
288
|
+
margin-left: variables.$unit1;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
&--margin {
|
|
292
|
+
margin-bottom: variables.$unit1;
|
|
293
|
+
margin-top: variables.$unit1;
|
|
294
|
+
|
|
295
|
+
&-left {
|
|
296
|
+
margin-left: variables.$unit1;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&--middle {
|
|
301
|
+
vertical-align: middle;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
&--app {
|
|
305
|
+
border-radius: 4px;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
&-group {
|
|
309
|
+
.Vlt-badge {
|
|
310
|
+
margin-bottom: variables.$unit0;
|
|
311
|
+
margin-right: variables.$unit1;
|
|
312
|
+
margin-top: variables.$unit0;
|
|
313
|
+
|
|
314
|
+
&.Vlt-badge--large {
|
|
315
|
+
margin: 7px 14px;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
& + .Vlt-badge {
|
|
319
|
+
margin-left: 0;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
&--app {
|
|
324
|
+
.Vlt-badge {
|
|
325
|
+
border-radius: variables.$unit0;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
.Vlt-blockquote {
|
|
6
|
+
display: block;
|
|
7
|
+
padding-left: 14px;
|
|
8
|
+
position: relative;
|
|
9
|
+
|
|
10
|
+
&:after {
|
|
11
|
+
background-color: currentColor;
|
|
12
|
+
border-radius: 1px;
|
|
13
|
+
content: '';
|
|
14
|
+
height: 100%;
|
|
15
|
+
left: 0;
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 0;
|
|
18
|
+
width: 2px;
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
strong {
|
|
23
|
+
&:first-child {
|
|
24
|
+
color: currentColor;
|
|
25
|
+
display: block;
|
|
26
|
+
line-height: 21px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
p {
|
|
31
|
+
&:last-child {
|
|
32
|
+
margin-bottom: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|