@energie360/ui-library 0.1.1 → 0.1.2
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/base/_input-resets.scss +9 -3
- package/base/_resets.scss +5 -0
- package/components/accordion-item/accordion-item.scss +62 -0
- package/components/accordion-item/u-accordion-item.vue +44 -0
- package/components/card/card.scss +58 -0
- package/components/card/u-card.vue +26 -0
- package/components/card-header/card-header.scss +102 -0
- package/components/card-header/u-card-header.vue +51 -0
- package/components/card-hint/card-hint.scss +13 -0
- package/components/card-hint/u-card-hint.vue +23 -0
- package/components/card-price/card-price.scss +110 -0
- package/components/card-price/u-card-price.vue +47 -0
- package/components/card-table/card-table.scss +76 -0
- package/components/card-table/u-card-table.vue +77 -0
- package/components/card-toggle-switches/card-toggle-switches.scss +13 -0
- package/components/card-toggle-switches/u-card-toggle-switches.vue +30 -0
- package/components/collapsible/collapsible.scss +14 -0
- package/components/collapsible/u-collapsible.vue +81 -0
- package/components/collapsible-group/u-collapsible-group.vue +14 -0
- package/components/icon-teaser/icon-teaser.scss +58 -0
- package/components/icon-teaser/u-icon-teaser.vue +35 -0
- package/components/icon-teaser-group/icon-teaser-group.scss +10 -0
- package/components/icon-teaser-group/u-icon-teaser-group.vue +19 -0
- package/components/icon-text-block/u-icon-text-block.vue +3 -8
- package/components/language-nav/language-nav.scss +32 -0
- package/components/language-nav/u-language-nav.vue +27 -0
- package/components/panel/panel.scss +43 -6
- package/components/panel/u-panel.vue +22 -11
- package/components/progress-bar/u-progress-bar.vue +1 -1
- package/components/richtext/richtext.scss +208 -0
- package/components/richtext/u-richtext.vue +21 -0
- package/components/table/u-cell-ctas.vue +2 -7
- package/components/table/u-cell-icon-group.vue +1 -1
- package/components/table/u-cell-icon-text.vue +1 -1
- package/components/table/u-cell-progress-bar.vue +1 -1
- package/components/table/u-table-cell.vue +3 -13
- package/components/table/u-table-heading.vue +1 -4
- package/components/tooltip/{popover.js → popover.ts} +51 -43
- package/components/tooltip/u-tooltip.vue +40 -60
- package/dist/base-style.css +409 -2
- package/dist/base-style.css.map +1 -0
- package/dist/elements/text-link.css +40 -0
- package/dist/elements/text-link.css.map +1 -0
- package/dist/layout/split.css +124 -0
- package/dist/layout/split.css.map +1 -0
- package/elements/button/u-button.vue +2 -5
- package/elements/button-chip/button-chip.scss +83 -0
- package/elements/button-chip/u-button-chip.vue +45 -0
- package/elements/form-field/form-field-base.scss +2 -3
- package/elements/form-field/form-field.types.ts +8 -0
- package/elements/icon/u-icon.vue +1 -3
- package/elements/image/u-image.vue +2 -2
- package/elements/numeric-stepper/numeric-stepper.scss +110 -0
- package/elements/numeric-stepper/u-numeric-stepper.vue +135 -0
- package/elements/select/select.scss +32 -0
- package/elements/select/u-select.vue +130 -0
- package/elements/select-chip/select-chip.scss +18 -0
- package/elements/select-chip/u-select-chip.vue +50 -0
- package/elements/select-chips/select-chips.scss +5 -0
- package/elements/select-chips/u-select-chips.vue +23 -0
- package/elements/spectro/spectro.scss +1 -4
- package/elements/text-field/u-text-field.vue +43 -27
- package/elements/text-link/text-link.scss +57 -0
- package/elements/toggle-switch/toggle-switch-small.scss +40 -0
- package/elements/toggle-switch/toggle-switch.scss +149 -0
- package/elements/toggle-switch/u-toggle-switch.vue +68 -0
- package/elements/types.ts +7 -0
- package/globals.js +1 -2
- package/helpers/transition-height.vue +39 -0
- package/i18n/i18n.ts +40 -0
- package/layout/grid/grid.mixin.scss +4 -11
- package/layout/split/split.scss +96 -0
- package/modules/footer/footer.scss +161 -0
- package/modules/footer/u-footer.vue +59 -0
- package/package.json +23 -13
- package/utility/elements/text-link.scss +1 -0
- package/utility/layout/split.scss +1 -0
- package/utility/utility-text.js +1 -0
- package/utils/object/deep-get.js +1 -2
- package/utils/translations/translate.js +13 -0
- package/vite.config.ts +1 -0
- package/watch.js +27 -0
- package/wizard/wizard-intro/wizard-intro.scss +4 -0
- package/wizard/wizard-layout/u-wizard-layout-block.vue +1 -1
- package/wizard/wizard-layout/u-wizard-layout-element.vue +1 -1
- package/wizard/wizard-layout/u-wizard-layout.vue +1 -1
- package/wizard/wizard-layout/wizard-layout.scss +6 -6
- package/dist/base-style.js +0 -2
- package/dist/base-style.js.map +0 -1
- package/dist/custom-elements.css +0 -1
- package/dist/custom-elements.js +0 -5185
- package/dist/custom-elements.js.map +0 -1
package/dist/base-style.css
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
@charset "UTF-8"
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/*
|
|
3
|
+
Base styling and resets for all vue-components/custom-elements.
|
|
4
|
+
This must be loaded before all other styles.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
2
7
|
* @license
|
|
3
8
|
* MyFonts Webfont Build ID 3943012, 2020-09-02T07:30:46-0400
|
|
4
9
|
*
|
|
@@ -17,4 +22,406 @@
|
|
|
17
22
|
*
|
|
18
23
|
*
|
|
19
24
|
* © 2020 MyFonts Inc
|
|
20
|
-
*/
|
|
25
|
+
*/
|
|
26
|
+
/* @import must be at top of file, otherwise CSS will not work */
|
|
27
|
+
@import url("//hello.myfonts.net/count/3c2a64");
|
|
28
|
+
body {
|
|
29
|
+
margin: 0;
|
|
30
|
+
min-height: 100vh;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h1,
|
|
34
|
+
h2,
|
|
35
|
+
h3,
|
|
36
|
+
h4,
|
|
37
|
+
h5,
|
|
38
|
+
h6 {
|
|
39
|
+
margin: 0;
|
|
40
|
+
text-wrap: balance;
|
|
41
|
+
font-size: unset;
|
|
42
|
+
font-weight: unset;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
a {
|
|
46
|
+
color: inherit;
|
|
47
|
+
text-decoration: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
p,
|
|
51
|
+
figure,
|
|
52
|
+
blockquote {
|
|
53
|
+
margin: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
button {
|
|
57
|
+
padding: 0;
|
|
58
|
+
margin: 0;
|
|
59
|
+
appearance: none;
|
|
60
|
+
border: 0;
|
|
61
|
+
font-family: inherit;
|
|
62
|
+
font-size: inherit;
|
|
63
|
+
background: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
ul,
|
|
67
|
+
ol {
|
|
68
|
+
list-style: none;
|
|
69
|
+
padding: 0;
|
|
70
|
+
margin: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
dl,
|
|
74
|
+
dt,
|
|
75
|
+
dd {
|
|
76
|
+
margin: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
address {
|
|
80
|
+
font-style: normal;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
img,
|
|
84
|
+
picture {
|
|
85
|
+
max-width: 100%;
|
|
86
|
+
display: block;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
fieldset {
|
|
90
|
+
padding: 0;
|
|
91
|
+
margin: 0;
|
|
92
|
+
border: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* prettier-ignore */
|
|
96
|
+
input,
|
|
97
|
+
textarea,
|
|
98
|
+
select {
|
|
99
|
+
font-family: inherit;
|
|
100
|
+
font-size: inherit;
|
|
101
|
+
appearance: none;
|
|
102
|
+
border: 0;
|
|
103
|
+
background: none;
|
|
104
|
+
margin: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
input,
|
|
108
|
+
select,
|
|
109
|
+
textarea {
|
|
110
|
+
font-size: var(--e-type-size-200);
|
|
111
|
+
line-height: var(--e-type-line-height-200);
|
|
112
|
+
letter-spacing: 0.01875rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
input::placeholder {
|
|
116
|
+
color: var(--e-c-mono-700);
|
|
117
|
+
}
|
|
118
|
+
input:disabled::placeholder {
|
|
119
|
+
color: var(--e-c-mono-500);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
[type=search]::-webkit-search-cancel-button {
|
|
123
|
+
display: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
[type=date]::-webkit-calendar-picker-indicator {
|
|
127
|
+
opacity: 0;
|
|
128
|
+
cursor: pointer;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
select:invalid {
|
|
132
|
+
color: var(--e-c-mono-700);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
textarea {
|
|
136
|
+
resize: vertical;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
|
|
140
|
+
appearance: none;
|
|
141
|
+
margin: 0;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
html {
|
|
145
|
+
box-sizing: border-box;
|
|
146
|
+
scroll-behavior: smooth;
|
|
147
|
+
min-height: 100vh;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
*,
|
|
151
|
+
*::before,
|
|
152
|
+
*::after {
|
|
153
|
+
box-sizing: inherit;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
body {
|
|
157
|
+
font-family: var(--e-type-font-body), var(--e-type-font-fallback);
|
|
158
|
+
font-size: var(--e-type-size-300);
|
|
159
|
+
font-weight: var(--e-type-weight-weak);
|
|
160
|
+
line-height: var(--e-type-line-height-300);
|
|
161
|
+
color: var(--e-c-mono-900);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
* {
|
|
165
|
+
outline: none;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
*:focus-visible {
|
|
169
|
+
outline-style: solid;
|
|
170
|
+
outline-offset: 4px;
|
|
171
|
+
outline-color: rgba(179, 179, 179, 0.8);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
[data-whatintent=mouse] *:focus {
|
|
175
|
+
outline: none;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* TODO: Assets path is hardcoded here. Should be configurable */
|
|
179
|
+
/* Regular */
|
|
180
|
+
@font-face {
|
|
181
|
+
font-family: Glober;
|
|
182
|
+
font-weight: 400;
|
|
183
|
+
font-style: normal;
|
|
184
|
+
font-display: swap;
|
|
185
|
+
src: url("/static/ui-assets/fonts/Glober/Glober-Regular/font.woff2") format("woff2"), url("/static/ui-assets/fonts/Glober/Glober-Regular/font.woff") format("woff");
|
|
186
|
+
}
|
|
187
|
+
/* Bold */
|
|
188
|
+
@font-face {
|
|
189
|
+
font-family: Glober;
|
|
190
|
+
font-weight: 700;
|
|
191
|
+
font-style: normal;
|
|
192
|
+
font-display: swap;
|
|
193
|
+
src: url("/static/ui-assets/fonts/Glober/Glober-Bold/font.woff2") format("woff2"), url("/static/ui-assets/fonts/Glober/Glober-Bold/font.woff") format("woff");
|
|
194
|
+
}
|
|
195
|
+
:root {
|
|
196
|
+
--e-c-primary-01-50: #edf6e9;
|
|
197
|
+
--e-c-primary-01-50-rgb: 237, 246, 233;
|
|
198
|
+
--e-c-primary-01-100: #dbedd4;
|
|
199
|
+
--e-c-primary-01-100-rgb: 219, 237, 212;
|
|
200
|
+
--e-c-primary-01-200: #9cce89;
|
|
201
|
+
--e-c-primary-01-200-rgb: 156, 206, 137;
|
|
202
|
+
--e-c-primary-01-500: #4ba528;
|
|
203
|
+
--e-c-primary-01-500-rgb: 75, 165, 40;
|
|
204
|
+
--e-c-primary-01-700: #3c8420;
|
|
205
|
+
--e-c-primary-01-700-rgb: 60, 132, 32;
|
|
206
|
+
--e-c-primary-01-900: #316b1a;
|
|
207
|
+
--e-c-primary-01-900-rgb: 49, 107, 26;
|
|
208
|
+
--e-c-secondary-01-50: #e5f2eb;
|
|
209
|
+
--e-c-secondary-01-50-rgb: 229, 242, 235;
|
|
210
|
+
--e-c-secondary-01-100: #cce5d8;
|
|
211
|
+
--e-c-secondary-01-100-rgb: 204, 229, 216;
|
|
212
|
+
--e-c-secondary-01-200: #73b894;
|
|
213
|
+
--e-c-secondary-01-200-rgb: 115, 184, 148;
|
|
214
|
+
--e-c-secondary-01-500: #007d3c;
|
|
215
|
+
--e-c-secondary-01-500-rgb: 0, 125, 60;
|
|
216
|
+
--e-c-secondary-01-700: #006430;
|
|
217
|
+
--e-c-secondary-01-700-rgb: 0, 100, 48;
|
|
218
|
+
--e-c-secondary-01-900: #005127;
|
|
219
|
+
--e-c-secondary-01-900-rgb: 0, 81, 39;
|
|
220
|
+
--e-c-secondary-01-950: #003e1f;
|
|
221
|
+
--e-c-secondary-01-950-rgb: 0, 62, 31;
|
|
222
|
+
--e-c-secondary-01-1000: #002f18;
|
|
223
|
+
--e-c-secondary-01-1000-rgb: 0, 47, 24;
|
|
224
|
+
--e-c-secondary-02-50: #ede9ee;
|
|
225
|
+
--e-c-secondary-02-50-rgb: 237, 233, 238;
|
|
226
|
+
--e-c-secondary-02-100: #dcd3de;
|
|
227
|
+
--e-c-secondary-02-100-rgb: 220, 211, 222;
|
|
228
|
+
--e-c-secondary-02-200: #9f86a4;
|
|
229
|
+
--e-c-secondary-02-200-rgb: 159, 134, 164;
|
|
230
|
+
--e-c-secondary-02-500: #50235a;
|
|
231
|
+
--e-c-secondary-02-500-rgb: 80, 35, 90;
|
|
232
|
+
--e-c-secondary-02-700: #401c48;
|
|
233
|
+
--e-c-secondary-02-700-rgb: 64, 28, 72;
|
|
234
|
+
--e-c-secondary-02-900: #34173b;
|
|
235
|
+
--e-c-secondary-02-900-rgb: 52, 23, 59;
|
|
236
|
+
--e-c-secondary-03-50: #f8e7ed;
|
|
237
|
+
--e-c-secondary-03-50-rgb: 248, 231, 237;
|
|
238
|
+
--e-c-secondary-03-100: #f1cfdb;
|
|
239
|
+
--e-c-secondary-03-100-rgb: 241, 207, 219;
|
|
240
|
+
--e-c-secondary-03-200: #d97b9c;
|
|
241
|
+
--e-c-secondary-03-200-rgb: 217, 123, 156;
|
|
242
|
+
--e-c-secondary-03-500: #b90f4b;
|
|
243
|
+
--e-c-secondary-03-500-rgb: 185, 15, 75;
|
|
244
|
+
--e-c-secondary-03-700: #940c3c;
|
|
245
|
+
--e-c-secondary-03-700-rgb: 148, 12, 60;
|
|
246
|
+
--e-c-secondary-03-900: #780a31;
|
|
247
|
+
--e-c-secondary-03-900-rgb: 120, 10, 49;
|
|
248
|
+
--e-c-secondary-04-50: #fffbe5;
|
|
249
|
+
--e-c-secondary-04-50-rgb: 255, 251, 229;
|
|
250
|
+
--e-c-secondary-04-100: #fff7cc;
|
|
251
|
+
--e-c-secondary-04-100-rgb: 255, 247, 204;
|
|
252
|
+
--e-c-secondary-04-200: #ffe973;
|
|
253
|
+
--e-c-secondary-04-200-rgb: 255, 233, 115;
|
|
254
|
+
--e-c-secondary-04-500: #ffd700;
|
|
255
|
+
--e-c-secondary-04-500-rgb: 255, 215, 0;
|
|
256
|
+
--e-c-secondary-04-700: #ccac00;
|
|
257
|
+
--e-c-secondary-04-700-rgb: 204, 172, 0;
|
|
258
|
+
--e-c-secondary-04-900: #a68c00;
|
|
259
|
+
--e-c-secondary-04-900-rgb: 166, 140, 0;
|
|
260
|
+
--e-c-secondary-05-50: #e5f5fc;
|
|
261
|
+
--e-c-secondary-05-50-rgb: 229, 245, 252;
|
|
262
|
+
--e-c-secondary-05-100: #cceaf8;
|
|
263
|
+
--e-c-secondary-05-100-rgb: 204, 234, 248;
|
|
264
|
+
--e-c-secondary-05-200: #73c5ec;
|
|
265
|
+
--e-c-secondary-05-200-rgb: 115, 197, 236;
|
|
266
|
+
--e-c-secondary-05-500: #0096dc;
|
|
267
|
+
--e-c-secondary-05-500-rgb: 0, 150, 220;
|
|
268
|
+
--e-c-secondary-05-700: #0078b0;
|
|
269
|
+
--e-c-secondary-05-700-rgb: 0, 120, 176;
|
|
270
|
+
--e-c-secondary-05-900: #00618f;
|
|
271
|
+
--e-c-secondary-05-900-rgb: 0, 97, 143;
|
|
272
|
+
--e-c-secondary-06-50: #f4e6e5;
|
|
273
|
+
--e-c-secondary-06-50-rgb: 244, 230, 229;
|
|
274
|
+
--e-c-secondary-06-100: #e9cdcc;
|
|
275
|
+
--e-c-secondary-06-100-rgb: 233, 205, 204;
|
|
276
|
+
--e-c-secondary-06-200: #c27673;
|
|
277
|
+
--e-c-secondary-06-200-rgb: 194, 118, 115;
|
|
278
|
+
--e-c-secondary-06-500: #910500;
|
|
279
|
+
--e-c-secondary-06-500-rgb: 145, 5, 0;
|
|
280
|
+
--e-c-secondary-06-700: #740400;
|
|
281
|
+
--e-c-secondary-06-700-rgb: 116, 4, 0;
|
|
282
|
+
--e-c-secondary-06-900: #5e0300;
|
|
283
|
+
--e-c-secondary-06-900-rgb: 94, 3, 0;
|
|
284
|
+
--e-c-mono-50: #f5f5f5;
|
|
285
|
+
--e-c-mono-50-rgb: 245, 245, 245;
|
|
286
|
+
--e-c-mono-100: #ececec;
|
|
287
|
+
--e-c-mono-100-rgb: 236, 236, 236;
|
|
288
|
+
--e-c-mono-200: #dddddd;
|
|
289
|
+
--e-c-mono-200-rgb: 221, 221, 221;
|
|
290
|
+
--e-c-mono-500: #b3b3b3;
|
|
291
|
+
--e-c-mono-500-rgb: 179, 179, 179;
|
|
292
|
+
--e-c-mono-700: #6b6b6b;
|
|
293
|
+
--e-c-mono-700-rgb: 107, 107, 107;
|
|
294
|
+
--e-c-mono-900: #333333;
|
|
295
|
+
--e-c-mono-900-rgb: 51, 51, 51;
|
|
296
|
+
--e-c-mono-00: #ffffff;
|
|
297
|
+
--e-c-mono-00-rgb: 255, 255, 255;
|
|
298
|
+
--e-c-signal-01-100: #b6e6cf;
|
|
299
|
+
--e-c-signal-01-100-rgb: 182, 230, 207;
|
|
300
|
+
--e-c-signal-01-500: #1aa764;
|
|
301
|
+
--e-c-signal-01-500-rgb: 26, 167, 100;
|
|
302
|
+
--e-c-signal-01-700: #0e6f41;
|
|
303
|
+
--e-c-signal-01-700-rgb: 14, 111, 65;
|
|
304
|
+
--e-c-signal-01-900: #004926;
|
|
305
|
+
--e-c-signal-01-900-rgb: 0, 73, 38;
|
|
306
|
+
--e-c-signal-02-100: #ffe2b6;
|
|
307
|
+
--e-c-signal-02-100-rgb: 255, 226, 182;
|
|
308
|
+
--e-c-signal-02-500: #ff9800;
|
|
309
|
+
--e-c-signal-02-500-rgb: 255, 152, 0;
|
|
310
|
+
--e-c-signal-02-700: #cc7a00;
|
|
311
|
+
--e-c-signal-02-700-rgb: 204, 122, 0;
|
|
312
|
+
--e-c-signal-02-900: #703600;
|
|
313
|
+
--e-c-signal-02-900-rgb: 112, 54, 0;
|
|
314
|
+
--e-c-signal-03-100: #ffb5c4;
|
|
315
|
+
--e-c-signal-03-100-rgb: 255, 181, 196;
|
|
316
|
+
--e-c-signal-03-500: #ff0c3e;
|
|
317
|
+
--e-c-signal-03-500-rgb: 255, 12, 62;
|
|
318
|
+
--e-c-signal-03-700: #b90d31;
|
|
319
|
+
--e-c-signal-03-700-rgb: 185, 13, 49;
|
|
320
|
+
--e-c-signal-03-900: #790019;
|
|
321
|
+
--e-c-signal-03-900-rgb: 121, 0, 25;
|
|
322
|
+
--e-space-1: 4px;
|
|
323
|
+
--e-space-2: 8px;
|
|
324
|
+
--e-space-3: 12px;
|
|
325
|
+
--e-space-4: 16px;
|
|
326
|
+
--e-space-5: 20px;
|
|
327
|
+
--e-space-6: 24px;
|
|
328
|
+
--e-space-7: 28px;
|
|
329
|
+
--e-space-8: 32px;
|
|
330
|
+
--e-space-9: 36px;
|
|
331
|
+
--e-space-10: 40px;
|
|
332
|
+
--e-space-11: 44px;
|
|
333
|
+
--e-space-12: 48px;
|
|
334
|
+
--e-space-14: 56px;
|
|
335
|
+
--e-space-16: 64px;
|
|
336
|
+
--e-space-20: 80px;
|
|
337
|
+
--e-space-24: 96px;
|
|
338
|
+
--e-space-28: 112px;
|
|
339
|
+
--e-space-30: 120px;
|
|
340
|
+
--e-space-32: 128px;
|
|
341
|
+
--e-space-36: 144px;
|
|
342
|
+
--e-space-40: 160px;
|
|
343
|
+
--e-space-44: 176px;
|
|
344
|
+
--e-space-48: 192px;
|
|
345
|
+
--e-space-52: 208px;
|
|
346
|
+
--e-space-56: 224px;
|
|
347
|
+
--e-space-60: 240px;
|
|
348
|
+
--e-space-64: 256px;
|
|
349
|
+
--e-space-72: 288px;
|
|
350
|
+
--e-space-80: 320px;
|
|
351
|
+
--e-space-96: 384px;
|
|
352
|
+
--e-space-0_5: 2px;
|
|
353
|
+
--e-space-1_5: 6px;
|
|
354
|
+
--e-space-2_5: 10px;
|
|
355
|
+
--e-space-3_5: 14px;
|
|
356
|
+
--e-type-font-body: Glober;
|
|
357
|
+
--e-type-font-fallback: "Helvetica Neue", helvetica, arial, sans-serif;
|
|
358
|
+
--e-type-font-base-size: 16px;
|
|
359
|
+
--e-type-size-50: 12px;
|
|
360
|
+
--e-type-size-100: 14px;
|
|
361
|
+
--e-type-size-200: 16px;
|
|
362
|
+
--e-type-size-300: 18px;
|
|
363
|
+
--e-type-size-400: 20px;
|
|
364
|
+
--e-type-size-500: 22px;
|
|
365
|
+
--e-type-size-600: 26px;
|
|
366
|
+
--e-type-size-700: 26px;
|
|
367
|
+
--e-type-size-800: 32px;
|
|
368
|
+
--e-type-size-900: 48px;
|
|
369
|
+
--e-type-size-1000: 56px;
|
|
370
|
+
--e-type-line-height-50: calc(18 / 12);
|
|
371
|
+
--e-type-line-height-100: calc(22 / 14);
|
|
372
|
+
--e-type-line-height-200: calc(24 / 16);
|
|
373
|
+
--e-type-line-height-300: calc(28 / 18);
|
|
374
|
+
--e-type-line-height-400: calc(26 / 20);
|
|
375
|
+
--e-type-line-height-500: calc(30 / 22);
|
|
376
|
+
--e-type-line-height-600: calc(36 / 26);
|
|
377
|
+
--e-type-line-height-700: calc(34 / 26);
|
|
378
|
+
--e-type-line-height-800: calc(38 / 32);
|
|
379
|
+
--e-type-line-height-900: calc(54 / 48);
|
|
380
|
+
--e-type-line-height-1000: calc(62 / 56);
|
|
381
|
+
--e-type-weight-weak: 400;
|
|
382
|
+
--e-type-weight-strong: 700;
|
|
383
|
+
--e-type-decoration-enhance: underline;
|
|
384
|
+
--e-trs-duration-fastest: 100ms;
|
|
385
|
+
--e-trs-duration-faster: 200ms;
|
|
386
|
+
--e-trs-duration-fast: 400ms;
|
|
387
|
+
--e-trs-duration-slow: 600ms;
|
|
388
|
+
--e-trs-duration-slower: 800ms;
|
|
389
|
+
--e-trs-duration-slowest: 1000ms;
|
|
390
|
+
--e-trs-easing-default: ease-in-out;
|
|
391
|
+
--e-brd-radius-1: 4px;
|
|
392
|
+
--e-brd-radius-2: 8px;
|
|
393
|
+
--e-brd-radius-3: 12px;
|
|
394
|
+
--e-brd-radius-4: 16px;
|
|
395
|
+
--e-brd-radius-5: 20px;
|
|
396
|
+
--e-brd-radius-6: 24px;
|
|
397
|
+
--e-mq-breakpoint-xs: 480px;
|
|
398
|
+
--e-mq-breakpoint-s: 520px;
|
|
399
|
+
--e-mq-breakpoint-m: 740px;
|
|
400
|
+
--e-mq-breakpoint-lg: 1020px;
|
|
401
|
+
--e-mq-breakpoint-xl: 1240px;
|
|
402
|
+
--e-mq-breakpoint-2xl: 1520px;
|
|
403
|
+
--e-layout-site-width: 1680px;
|
|
404
|
+
--e-layout-site-width-lg: 1020px;
|
|
405
|
+
--e-layout-site-width-m: 740px;
|
|
406
|
+
--e-layout-site-width-s: 520px;
|
|
407
|
+
--e-layout-grid-columns: 12;
|
|
408
|
+
--e-elevation-xs: 0px 1px 2px rgba(0, 0, 0, 0.05);
|
|
409
|
+
--e-elevation-sm:
|
|
410
|
+
0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px -1px rgba(0, 0, 0, 0.1);
|
|
411
|
+
--e-elevation-md:
|
|
412
|
+
0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
|
|
413
|
+
--e-elevation-lg:
|
|
414
|
+
0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
415
|
+
--e-elevation-xl:
|
|
416
|
+
0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
|
|
417
|
+
--e-elevation-2xl: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
e-button:not(:defined),
|
|
421
|
+
e-icon-button:not(:defined),
|
|
422
|
+
e-icon:not(:defined),
|
|
423
|
+
e-loader:not(:defined) {
|
|
424
|
+
opacity: 0;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/*# sourceMappingURL=base-style.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../base/main-base.scss","../node_modules/@energie360/design-tokens/dist/fonts/fonts.css","../base/_resets.scss","../base/abstracts/_resets.scss","../base/abstracts/_functions.scss","../base/_input-resets.scss","../base/abstracts/_mixins.scss","../base/_html.scss","../base/_body.scss","../base/_focus-handling.scss","../node_modules/@energie360/design-tokens/dist/css/design-tokens.css"],"names":[],"mappings":";AAAA;AAAA;AAAA;AAAA;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBA;AACQ;ACpBR;EACE;EACA;;;AAGF;AAAA;AAAA;AAAA;AAAA;AAAA;EAME;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;AAAA;AAAA;EAGE;;;AC1BA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;ADwBJ;AAAA;EAEE;EACA;EACA;;;AAGF;AAAA;AAAA;EAGE;;;AAGF;EACE;;;AAGF;AAAA;EAEE;EACA;;;AAGF;EACE;EACA;EACA;;;AErDF;ACHA;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AAAA;AAAA;EC8BE;EACA;EAKE;;;AD7BF;EACE;;AAGF;EACE;;;AAIJ;EACE;;;AAGF;EACE;EACA;;;AAIA;EACE;;;AAIJ;EACE;;;AAIA;EAEE;EACA;;;AEpDJ;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;EAGE;;;ACTF;EACE;EACA;EACA;EACA;EACA;;;ACAF;EACE;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;;;ARQF;AACA;AACA;EACE;EACA;EACA;EACA;EACA,KACE;;AAIJ;AACA;EACE;EACA;EACA;EACA;EACA,KACE;;AS3CJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAAA;EAEA;AAAA;EAEA;AAAA;EAEA;AAAA;EAEA;;;AV7MA;AAAA;AAAA;AAAA;EACE","file":"base-style.css"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
.text-link {
|
|
3
|
+
font-size: var(--e-type-size-200);
|
|
4
|
+
line-height: var(--e-type-line-height-200);
|
|
5
|
+
letter-spacing: 0.00625rem;
|
|
6
|
+
font-weight: var(--e-type-weight-strong);
|
|
7
|
+
-webkit-font-smoothing: antialiased;
|
|
8
|
+
-moz-osx-font-smoothing: grayscale;
|
|
9
|
+
color: var(--e-c-primary-01-700);
|
|
10
|
+
text-decoration: underline;
|
|
11
|
+
text-underline-offset: 0.4em;
|
|
12
|
+
transition: text-decoration-color var(--e-trs-duration-faster) var(--e-trs-easing-default), color var(--e-trs-duration-faster) var(--e-trs-easing-default);
|
|
13
|
+
}
|
|
14
|
+
.text-link:hover {
|
|
15
|
+
text-decoration-color: var(--e-c-primary-01-50);
|
|
16
|
+
}
|
|
17
|
+
.text-link:active {
|
|
18
|
+
text-decoration-color: var(--e-c-primary-01-700);
|
|
19
|
+
}
|
|
20
|
+
.text-link.inverted {
|
|
21
|
+
color: var(--e-c-primary-01-50);
|
|
22
|
+
}
|
|
23
|
+
.text-link.inverted:hover {
|
|
24
|
+
text-decoration-color: var(--e-c-primary-01-200);
|
|
25
|
+
}
|
|
26
|
+
.text-link.inverted:active {
|
|
27
|
+
text-decoration-color: var(--e-c-primary-01-50);
|
|
28
|
+
}
|
|
29
|
+
.text-link.secondary {
|
|
30
|
+
text-decoration: none;
|
|
31
|
+
color: var(--e-c-mono-700);
|
|
32
|
+
}
|
|
33
|
+
.text-link.secondary:hover {
|
|
34
|
+
color: var(--e-c-mono-900);
|
|
35
|
+
}
|
|
36
|
+
.text-link.secondary:active {
|
|
37
|
+
color: var(--e-c-mono-700);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/*# sourceMappingURL=text-link.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../base/abstracts/_functions.scss","../../elements/text-link/text-link.scss","../../base/abstracts/_mixins.scss"],"names":[],"mappings":"AAKA;ACyCA;ECHE;EACA;EAGE;EAMA;EAKE;EACA;EDtDJ;EACA;EACA;EACA,YACE;;AAGF;EACE;;AAGF;EACE;;AAgCF;EA3BA;;AAEA;EACE;;AAGF;EACE;;AAwBF;EAnBA;EACA;;AAEA;EACE;;AAGF;EACE","file":"text-link.css"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
.container {
|
|
3
|
+
margin: 0 auto;
|
|
4
|
+
max-width: 105rem;
|
|
5
|
+
width: 100%;
|
|
6
|
+
padding-left: 5rem;
|
|
7
|
+
padding-right: 5rem;
|
|
8
|
+
}
|
|
9
|
+
@media (max-width: 1020px) {
|
|
10
|
+
.container {
|
|
11
|
+
padding-left: 2.5rem;
|
|
12
|
+
padding-right: 2.5rem;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media (max-width: 740px) {
|
|
16
|
+
.container {
|
|
17
|
+
padding-left: 2.5rem;
|
|
18
|
+
padding-right: 2.5rem;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
@media (max-width: 520px) {
|
|
22
|
+
.container {
|
|
23
|
+
padding-left: 1.25rem;
|
|
24
|
+
padding-right: 1.25rem;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.split {
|
|
29
|
+
position: relative;
|
|
30
|
+
padding-left: 50%;
|
|
31
|
+
}
|
|
32
|
+
@media (max-width: 1020px) {
|
|
33
|
+
.split {
|
|
34
|
+
display: grid;
|
|
35
|
+
padding-left: 0;
|
|
36
|
+
grid-template-columns: 1fr 1fr;
|
|
37
|
+
grid-template-rows: 1fr auto;
|
|
38
|
+
gap: 0;
|
|
39
|
+
grid-template-areas: "fixed content" "footer footer";
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
@media (max-width: 740px) {
|
|
43
|
+
.split {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.split__fixed {
|
|
50
|
+
position: fixed;
|
|
51
|
+
inset: 0 50% 0 0;
|
|
52
|
+
}
|
|
53
|
+
@media (max-width: 1020px) {
|
|
54
|
+
.split__fixed {
|
|
55
|
+
position: static;
|
|
56
|
+
grid-area: fixed;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
@media (max-width: 740px) {
|
|
60
|
+
.split__fixed {
|
|
61
|
+
width: 100%;
|
|
62
|
+
aspect-ratio: 4/5;
|
|
63
|
+
order: 3;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.split__top-bar {
|
|
68
|
+
height: 7.5rem;
|
|
69
|
+
}
|
|
70
|
+
@media (max-width: 1020px) {
|
|
71
|
+
.split__top-bar {
|
|
72
|
+
grid-area: content;
|
|
73
|
+
height: 4.5rem;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
@media (max-width: 740px) {
|
|
77
|
+
.split__top-bar {
|
|
78
|
+
order: 1;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.split__content {
|
|
83
|
+
padding-top: var(--e-space-20);
|
|
84
|
+
padding-bottom: var(--e-space-20);
|
|
85
|
+
margin: 0 auto;
|
|
86
|
+
width: 25rem;
|
|
87
|
+
}
|
|
88
|
+
@media (max-width: 1020px) {
|
|
89
|
+
.split__content {
|
|
90
|
+
margin-top: 4.5rem;
|
|
91
|
+
grid-area: content;
|
|
92
|
+
width: 21.125rem;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
@media (max-width: 740px) {
|
|
96
|
+
.split__content {
|
|
97
|
+
order: 2;
|
|
98
|
+
width: auto;
|
|
99
|
+
margin-top: 0;
|
|
100
|
+
max-width: calc(21.125rem + 2 * 2.5rem);
|
|
101
|
+
padding-left: 2.5rem;
|
|
102
|
+
padding-right: 2.5rem;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
@media (max-width: 520px) {
|
|
106
|
+
.split__content {
|
|
107
|
+
max-width: calc(21.125rem + 2 * 1.25rem);
|
|
108
|
+
padding-left: 1.25rem;
|
|
109
|
+
padding-right: 1.25rem;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@media (max-width: 1020px) {
|
|
114
|
+
.split__footer {
|
|
115
|
+
grid-area: footer;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
@media (max-width: 740px) {
|
|
119
|
+
.split__footer {
|
|
120
|
+
order: 4;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/*# sourceMappingURL=split.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../base/abstracts/_functions.scss","../../layout/container/container.scss","../../base/abstracts/_mixins.scss","../../layout/split/split.scss"],"names":[],"mappings":"AAKA;ACsBA;EAtBE;EACA;EACA;EACA;EACA;;ACYA;EDMF;IAfI;IACA;;;ACQF;EDMF;IAVI;IACA;;;ACGF;EDMF;IALI;IACA;;;;AEjBJ;EACE;EACA;;ADaA;ECfF;IAKI;IACA;IACA;IACA;IACA;IACA,qBACE;;;ADIJ;ECfF;IAgBI;IACA;;;;AAIJ;EACE;EACA;;ADRA;ECMF;IAKI;IACA;;;ADZF;ECMF;IAUI;IACA;IACA;;;;AAIJ;EACE;;ADvBA;ECsBF;IAII;IACA;;;AD3BF;ECsBF;IASI;;;;AAIJ;EACE;EACA;EACA;EACA;;ADvCA;ECmCF;IAOI;IAIA;IACA;;;AD/CF;ECmCF;IAgBI;IACA;IACA;IACA;IACA;IACA;;;ADxDF;ECmCF;IAyBI;IACA;IACA;;;;AD9DF;ECkEF;IAEI;;;ADpEF;ECkEF;IAMI","file":"split.css"}
|
|
@@ -25,14 +25,11 @@ defineProps<ButtonProps>()
|
|
|
25
25
|
</template>
|
|
26
26
|
|
|
27
27
|
<template v-else>
|
|
28
|
-
<button
|
|
29
|
-
:class="['button', variant, { loading: loading }]"
|
|
30
|
-
:disabled="disabled || null"
|
|
31
|
-
>
|
|
28
|
+
<button :class="['button', variant, { loading: loading }]" :disabled="disabled || null">
|
|
32
29
|
<UIcon v-if="icon" :name="icon" />
|
|
33
30
|
<slot>{{ label }}</slot>
|
|
34
31
|
|
|
35
|
-
<span
|
|
32
|
+
<span v-if="loading" class="button__loader">
|
|
36
33
|
<ULoader />
|
|
37
34
|
</span>
|
|
38
35
|
</button>
|