@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
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
@use "../lib/mediaqueries";
|
|
2
|
+
@use "../lib/variables";
|
|
3
|
+
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
%tabs-panel {
|
|
9
|
+
// We use display and not visibility to prevent problems with nested tabs
|
|
10
|
+
display: none;
|
|
11
|
+
height: 100%;
|
|
12
|
+
left: 0;
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: 0;
|
|
15
|
+
width: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
%tabs-panel-active {
|
|
19
|
+
display: block;
|
|
20
|
+
position: static;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
%tabs-link {
|
|
24
|
+
background: none;
|
|
25
|
+
border: 0;
|
|
26
|
+
border-radius: 0;
|
|
27
|
+
color: variables.$grey-darker;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
display: inline-block;
|
|
30
|
+
font-size: 1.5rem;
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
margin: 0 20px 0 0; // iOS adds margin around buttons so the 0s need to be declared
|
|
33
|
+
outline: none;
|
|
34
|
+
padding: 14px 0px;
|
|
35
|
+
position: relative;
|
|
36
|
+
|
|
37
|
+
svg {
|
|
38
|
+
height: 20px;
|
|
39
|
+
margin-bottom: -(variables.$unit0);
|
|
40
|
+
vertical-align: baseline;
|
|
41
|
+
width: 20px;
|
|
42
|
+
|
|
43
|
+
& + span {
|
|
44
|
+
margin-left: variables.$unit1;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:after {
|
|
49
|
+
background: variables.$grey-light;
|
|
50
|
+
bottom: 0;
|
|
51
|
+
content: '';
|
|
52
|
+
height: 3px;
|
|
53
|
+
left: 50%;
|
|
54
|
+
position: absolute;
|
|
55
|
+
transition: none;
|
|
56
|
+
width: 0px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media #{mediaqueries.$L-plus} {
|
|
60
|
+
// On iOS, the browsers treat the first click as :hover if there's a style for it
|
|
61
|
+
// So we're keeping this only on desktop
|
|
62
|
+
|
|
63
|
+
&:hover:not(.Vlt-tabs__link_active) {
|
|
64
|
+
background: none;
|
|
65
|
+
color: variables.$black;
|
|
66
|
+
|
|
67
|
+
&:after {
|
|
68
|
+
left: 0;
|
|
69
|
+
transition: all 0.2s;
|
|
70
|
+
width: 100%;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
%tabs-link-bordered {
|
|
77
|
+
border-top-left-radius: variables.$unit1;
|
|
78
|
+
border-top-right-radius: variables.$unit1;
|
|
79
|
+
margin: 0;
|
|
80
|
+
padding-left: variables.$unit2;
|
|
81
|
+
padding-right: variables.$unit2;
|
|
82
|
+
transition: background 0.2s;
|
|
83
|
+
|
|
84
|
+
&:after {
|
|
85
|
+
background: variables.$grey-light;
|
|
86
|
+
content: '';
|
|
87
|
+
display: block;
|
|
88
|
+
height: 60%;
|
|
89
|
+
left: 0;
|
|
90
|
+
position: absolute;
|
|
91
|
+
top: 20%;
|
|
92
|
+
width: 1px !important;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&:first-child {
|
|
96
|
+
&:after {
|
|
97
|
+
display: none;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@media #{mediaqueries.$L-plus} {
|
|
102
|
+
&:hover:not(.Vlt-tabs__link_active) {
|
|
103
|
+
background: rgba(variables.$black, 0.05);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
%tabs-link-active {
|
|
109
|
+
background: none;
|
|
110
|
+
color: variables.$black;
|
|
111
|
+
font-weight: 600;
|
|
112
|
+
|
|
113
|
+
&:after {
|
|
114
|
+
background: variables.$black;
|
|
115
|
+
left: 0;
|
|
116
|
+
width: 100%;
|
|
117
|
+
|
|
118
|
+
@media #{mediaqueries.$M-less} {
|
|
119
|
+
transition: all 0.2s;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
%tabs-link-active-bordered {
|
|
125
|
+
border: 1px solid variables.$grey;
|
|
126
|
+
border-bottom: 0;
|
|
127
|
+
|
|
128
|
+
&:after {
|
|
129
|
+
display: none;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&:before {
|
|
133
|
+
background: variables.$white;
|
|
134
|
+
bottom: 0;
|
|
135
|
+
content: '';
|
|
136
|
+
height: 1px;
|
|
137
|
+
left: 0;
|
|
138
|
+
position: absolute;
|
|
139
|
+
width: 100%;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
%tabs-header {
|
|
144
|
+
border-bottom: 1px solid variables.$grey;
|
|
145
|
+
display: flex;
|
|
146
|
+
margin: 0;
|
|
147
|
+
overflow-x: auto;
|
|
148
|
+
white-space: nowrap;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
%tabs-header-bordered {
|
|
152
|
+
border-bottom: 0;
|
|
153
|
+
box-shadow: inset 0 -1px 0 variables.$grey;
|
|
154
|
+
margin-top: variables.$unit1;
|
|
155
|
+
|
|
156
|
+
.Vlt-tabs__link {
|
|
157
|
+
margin-top: variables.$unit0;
|
|
158
|
+
|
|
159
|
+
&:first-child {
|
|
160
|
+
margin-left: variables.$unit1;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.Vlt-tabs {
|
|
166
|
+
&__header {
|
|
167
|
+
@extend %tabs-header;
|
|
168
|
+
|
|
169
|
+
&--shadow:not(.Vlt-tabs__header--icons) {
|
|
170
|
+
background: linear-gradient(90deg, rgba(variables.$black, 0.1) 0, transparent 10px), linear-gradient(90deg, transparent calc(100% - 10px), rgba(variables.$black, 0.1) 100%) 100% 0;
|
|
171
|
+
background-color: variables.$white;
|
|
172
|
+
background-repeat: no-repeat;
|
|
173
|
+
background-size: 20px 100%, 20px 100%, 14px 100%, 14px 100%;
|
|
174
|
+
|
|
175
|
+
.Vlt-tabs__header__wrapper {
|
|
176
|
+
background: linear-gradient(90deg, variables.$white 20px, transparent 20px), linear-gradient(90deg, transparent calc(100% - 20px), variables.$white calc(100% - 20px)) 100% 0;
|
|
177
|
+
display: flex;
|
|
178
|
+
min-width: min-content;
|
|
179
|
+
width: 100%;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&--spaced {
|
|
184
|
+
display: flex;
|
|
185
|
+
justify-content: space-evenly;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&--bordered {
|
|
189
|
+
@extend %tabs-header-bordered;
|
|
190
|
+
|
|
191
|
+
.Vlt-tabs__link {
|
|
192
|
+
@extend %tabs-link-bordered;
|
|
193
|
+
|
|
194
|
+
&_active {
|
|
195
|
+
@extend %tabs-link-active-bordered;
|
|
196
|
+
|
|
197
|
+
& + .Vlt-tabs__link {
|
|
198
|
+
&:after {
|
|
199
|
+
display: none;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
&_disabled {
|
|
205
|
+
&:hover {
|
|
206
|
+
background: none !important;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&--icons {
|
|
213
|
+
flex-flow: row wrap;
|
|
214
|
+
overflow-x: visible;
|
|
215
|
+
white-space: normal;
|
|
216
|
+
|
|
217
|
+
.Vlt-tabs__link {
|
|
218
|
+
display: inline-block;
|
|
219
|
+
|
|
220
|
+
&_disabled {
|
|
221
|
+
pointer-events: inherit;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.Vlt-tooltip--js[x-placement^='bottom'] {
|
|
225
|
+
margin-top: 15px;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&:not(.Vlt-tabs__header--bordered) {
|
|
230
|
+
.Vlt-tabs__link {
|
|
231
|
+
padding: variables.$unit1 variables.$unit0;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&__link {
|
|
238
|
+
@extend %tabs-link;
|
|
239
|
+
|
|
240
|
+
svg {
|
|
241
|
+
fill: variables.$black;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&_active {
|
|
245
|
+
@extend %tabs-link-active
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&:focus {
|
|
249
|
+
background: none;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
&_disabled {
|
|
253
|
+
background: none;
|
|
254
|
+
color: variables.$grey;
|
|
255
|
+
cursor: default;
|
|
256
|
+
pointer-events: none;
|
|
257
|
+
|
|
258
|
+
&:after {
|
|
259
|
+
display: none;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
// svg {
|
|
263
|
+
// fill: $grey;
|
|
264
|
+
// }
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
&__content {
|
|
269
|
+
margin-top: variables.$unit2;
|
|
270
|
+
position: relative;
|
|
271
|
+
|
|
272
|
+
&--flush {
|
|
273
|
+
margin-top: 0;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&__panel {
|
|
278
|
+
@extend %tabs-panel;
|
|
279
|
+
|
|
280
|
+
&_active {
|
|
281
|
+
@extend %tabs-panel-active;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.Vlt-js-tabs__link {
|
|
287
|
+
cursor: pointer;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.Vlt-js-tabs__panel {
|
|
291
|
+
@extend %tabs-panel;
|
|
292
|
+
|
|
293
|
+
&_active {
|
|
294
|
+
@extend %tabs-panel-active;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@use "../lib/variables";
|
|
2
|
+
|
|
3
|
+
//
|
|
4
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
.Vlt-text-separator {
|
|
8
|
+
display: block;
|
|
9
|
+
line-height: 1.6rem;
|
|
10
|
+
margin: variables.$unit2 0;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
text-align: center;
|
|
13
|
+
|
|
14
|
+
span {
|
|
15
|
+
color: variables.$black;
|
|
16
|
+
font-size: 1.2rem;
|
|
17
|
+
font-weight: 600;
|
|
18
|
+
padding: 0 variables.$unit1;
|
|
19
|
+
position: relative;
|
|
20
|
+
|
|
21
|
+
&:before,
|
|
22
|
+
&:after {
|
|
23
|
+
background: variables.$grey-light;
|
|
24
|
+
content: '';
|
|
25
|
+
display: block;
|
|
26
|
+
height: 1px;
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 50%;
|
|
29
|
+
width: 100vw;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:before {
|
|
33
|
+
right: 100%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:after {
|
|
37
|
+
left: 100%;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&--red {
|
|
42
|
+
span {
|
|
43
|
+
color: variables.$red;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
|
|
46
|
+
&:before,
|
|
47
|
+
&:after {
|
|
48
|
+
background: variables.$red-light;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&--big {
|
|
54
|
+
line-height: 2.1rem;
|
|
55
|
+
|
|
56
|
+
span {
|
|
57
|
+
font-size: 1.4rem;
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
@use "../lib/variables";
|
|
2
|
+
|
|
3
|
+
//
|
|
4
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
.Vlt-tooltip {
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
position: relative;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
span.Vlt-tooltip {
|
|
13
|
+
margin-left: variables.$unit0;
|
|
14
|
+
vertical-align: bottom;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.Vlt-tooltip__content {
|
|
18
|
+
@extend %tooltip-content;
|
|
19
|
+
|
|
20
|
+
//temporary, until proper dark mode...
|
|
21
|
+
a,
|
|
22
|
+
a.Vlt-text-link,
|
|
23
|
+
a:visited,
|
|
24
|
+
a.Vlt-text-link:visited {
|
|
25
|
+
color: variables.$purple-light;
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
color: variables.$purple;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.Vlt-tooltip--js {
|
|
35
|
+
z-index: variables.$z-index-tooltips;
|
|
36
|
+
|
|
37
|
+
&[x-placement^='bottom'] {
|
|
38
|
+
.Vlt-tooltip__content {
|
|
39
|
+
@extend .tooltip-bottom-mixin;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.Vlt-tooltip__arrow {
|
|
43
|
+
@extend .tooltip-arrow, .arrow-bottom-mixin;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&[x-placement^='top'] {
|
|
48
|
+
.Vlt-tooltip__content {
|
|
49
|
+
@extend .tooltip-top-mixin;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.Vlt-tooltip__arrow {
|
|
53
|
+
@extend .tooltip-arrow, .arrow-top-mixin;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&[x-placement^='right'] {
|
|
58
|
+
.Vlt-tooltip__content {
|
|
59
|
+
@extend .tooltip-right-mixin;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.Vlt-tooltip__arrow {
|
|
63
|
+
@extend .tooltip-arrow, .arrow-right-mixin;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&[x-placement^='left'] {
|
|
68
|
+
.Vlt-tooltip__content {
|
|
69
|
+
@extend .tooltip-left-mixin;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.Vlt-tooltip__arrow {
|
|
73
|
+
@extend .tooltip-arrow, .arrow-left-mixin;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.Vlt-tooltip--large {
|
|
78
|
+
.Vlt-tooltip__content {
|
|
79
|
+
padding: 16px 24px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// Mixins
|
|
85
|
+
.tooltip-arrow {
|
|
86
|
+
border-style: solid;
|
|
87
|
+
position: absolute;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.arrow-bottom-mixin {
|
|
91
|
+
border-color: transparent transparent variables.$black;
|
|
92
|
+
border-width: 0 6px 6px;
|
|
93
|
+
top: 3px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.arrow-top-mixin {
|
|
97
|
+
border-color: variables.$black transparent transparent;
|
|
98
|
+
border-width: 6px 6px 0px;
|
|
99
|
+
bottom: 3px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.arrow-right-mixin {
|
|
103
|
+
border-color: transparent variables.$black transparent transparent;
|
|
104
|
+
border-width: 6px 6px 6px 0;
|
|
105
|
+
left: 3px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.arrow-left-mixin {
|
|
109
|
+
border-color: transparent transparent transparent variables.$black;
|
|
110
|
+
border-width: 6px 0px 6px 6px;
|
|
111
|
+
right: 3px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.tooltip-bottom-mixin {
|
|
115
|
+
margin-top: 9px;
|
|
116
|
+
text-align: center;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.tooltip-top-mixin {
|
|
120
|
+
margin-bottom: 9px;
|
|
121
|
+
text-align: center;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.tooltip-right-mixin {
|
|
125
|
+
margin-left: 9px;
|
|
126
|
+
text-align: left;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.tooltip-left-mixin {
|
|
130
|
+
margin-right: 9px;
|
|
131
|
+
text-align: left;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@mixin tooltip-content {
|
|
135
|
+
background: variables.$black;
|
|
136
|
+
border-radius: 6px;
|
|
137
|
+
color: variables.$white;
|
|
138
|
+
cursor: default;
|
|
139
|
+
font-size: 1.4rem;
|
|
140
|
+
font-weight: 600;
|
|
141
|
+
line-height: 2.1rem;
|
|
142
|
+
max-width: 300px;
|
|
143
|
+
padding: 6px 12px;
|
|
144
|
+
transition: display 0.2s;
|
|
145
|
+
white-space: normal;
|
|
146
|
+
width: max-content;
|
|
147
|
+
z-index: variables.$z-index-tooltips;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
%tooltip-content {
|
|
151
|
+
@include tooltip-content;
|
|
152
|
+
}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
@use "../../lib/mediaqueries";
|
|
3
|
+
@use "../../lib/variables";
|
|
4
|
+
|
|
5
|
+
//
|
|
6
|
+
// Copyright (c) 2018-present, Vonage. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
$sidenav-selected-background: rgba(variables.$white, 0.1);
|
|
10
|
+
$sidenav-icons-default-color: #00fff4;
|
|
11
|
+
$sidenav-text-color: variables.$white;
|
|
12
|
+
$sidenav-titles-color: rgba(variables.$aqua-lighter, 0.8);
|
|
13
|
+
|
|
14
|
+
.Vlt-sidenav {
|
|
15
|
+
&__mobile--aqua {
|
|
16
|
+
background: variables.$aqua-dark;
|
|
17
|
+
|
|
18
|
+
button {
|
|
19
|
+
svg {
|
|
20
|
+
fill: variables.$white;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&--aqua {
|
|
26
|
+
background: linear-gradient(to bottom, #035879, #0085a8);
|
|
27
|
+
|
|
28
|
+
hr {
|
|
29
|
+
border-top: 1px solid rgba($sidenav-text-color, 0.1);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.Vlt-sidenav {
|
|
33
|
+
&__link {
|
|
34
|
+
&:hover {
|
|
35
|
+
background: rgba($sidenav-text-color, 0.05);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.Vlt-sidenav__scroll {
|
|
41
|
+
.Vlt-sidemenu {
|
|
42
|
+
background: linear-gradient(to bottom, color.adjust(#035879, $lightness: 1%) 10px, transparent 10px), linear-gradient(0deg, transparent calc(100% - 10px), #0085a8 calc(100% - 10px), #0085a8 100%);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.Vlt-sidemenu {
|
|
47
|
+
|
|
48
|
+
&__link,
|
|
49
|
+
&__trigger {
|
|
50
|
+
color: $sidenav-text-color;
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
background: rgba(variables.$white, 0.05);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
svg {
|
|
57
|
+
fill: $sidenav-icons-default-color;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&__link {
|
|
62
|
+
&_active {
|
|
63
|
+
background: $sidenav-selected-background;
|
|
64
|
+
|
|
65
|
+
svg {
|
|
66
|
+
fill: variables.$white !important;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:hover {
|
|
70
|
+
background: variables.$aqua-dark;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&__trigger {
|
|
76
|
+
&:after {
|
|
77
|
+
background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23FFF%22%20fill-rule%3D%22evenodd%22%20d%3D%22M10%2013.524L4.692%208.136a.667.667%200%201%201%20.951-.937L10%2011.62l4.357-4.422a.668.668%200%200%201%20.95.937L10%2013.524z%22%20opacity%3D%22.4%22%2F%3E%0A%3C%2Fsvg%3E%0A');
|
|
78
|
+
background-position: center center;
|
|
79
|
+
background-repeat: no-repeat;
|
|
80
|
+
background-size: contain;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&_current {
|
|
84
|
+
&:not(.Vlt-sidemenu__trigger_active) {
|
|
85
|
+
background: rgba(variables.$white, 0.05);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&__title {
|
|
91
|
+
color: $sidenav-titles-color;
|
|
92
|
+
|
|
93
|
+
&--border {
|
|
94
|
+
border-top: 1px solid rgba(variables.$aqua-light, 0.2);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.Vlt-sidetabs {
|
|
100
|
+
|
|
101
|
+
&--bottom {
|
|
102
|
+
border-top: 1px solid rgba(variables.$white, 0.1);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&--top {
|
|
106
|
+
border-bottom: 1px solid rgba(variables.$white, 0.1);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.Vlt-js-tabs__link {
|
|
110
|
+
|
|
111
|
+
svg {
|
|
112
|
+
fill: rgba($sidenav-icons-default-color, 0.8) !important;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:hover {
|
|
116
|
+
&:after {
|
|
117
|
+
background: rgba($sidenav-icons-default-color, 0.4);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
svg {
|
|
121
|
+
fill: variables.$white !important;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&_active,
|
|
126
|
+
&:active {
|
|
127
|
+
&:after {
|
|
128
|
+
background: rgba($sidenav-icons-default-color, 0.8);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
svg {
|
|
132
|
+
fill: variables.$white !important;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.Vlt-sidenav__block {
|
|
139
|
+
&:before,
|
|
140
|
+
&:after {
|
|
141
|
+
background: rgba(variables.$white, 0.1);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&--logo {
|
|
145
|
+
&:after {
|
|
146
|
+
display: block;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.Vlt-sidenav__collapse {
|
|
150
|
+
svg {
|
|
151
|
+
fill: $sidenav-icons-default-color;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&.Vlt-sidenav--collapsed {
|
|
158
|
+
@media #{mediaqueries.$M-plus} {
|
|
159
|
+
.Vlt-sidemenu__title {
|
|
160
|
+
border-bottom: 1px solid rgba(variables.$white, 0.1);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
li {
|
|
164
|
+
li {
|
|
165
|
+
.Vlt-sidemenu__link_active {
|
|
166
|
+
svg {
|
|
167
|
+
fill: variables.$grey-dark !important;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.Vlt-sidemenu__trigger_active {
|
|
174
|
+
background: variables.$aqua-dark;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|