@energycap/components 0.44.2-github-actions.20250919-1816 → 0.44.2-github-actions.20250919-1421
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/README.md +188 -188
- package/esm2022/lib/components.module.mjs +1 -1
- package/esm2022/lib/controls/banner/banner.component.mjs +3 -3
- package/esm2022/lib/controls/button/button.component.mjs +3 -3
- package/esm2022/lib/controls/button/copy-button-base.directive.mjs +1 -1
- package/esm2022/lib/controls/button/copy-button.directive.mjs +1 -1
- package/esm2022/lib/controls/button/copy-table-button.directive.mjs +1 -1
- package/esm2022/lib/controls/calendar/calendar-item.component.mjs +1 -1
- package/esm2022/lib/controls/calendar/calendar.component.mjs +3 -3
- package/esm2022/lib/controls/calendar/calendar.types.mjs +1 -1
- package/esm2022/lib/controls/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/controls/collapsible-toggle/collapsible-toggle.component.mjs +1 -1
- package/esm2022/lib/controls/combobox/combobox.component.mjs +3 -3
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/date-input-selection-strategy-base.mjs +1 -1
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/day-selection-strategy.mjs +1 -1
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/last-28-days-selection-strategy.mjs +1 -1
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/last-7-days-selection-strategy.mjs +1 -1
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/month-selection-strategy.mjs +1 -1
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/quarter-selection-strategy.mjs +1 -1
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/range-selection-strategy.mjs +1 -1
- package/esm2022/lib/controls/date-input/date-input-selection-strategies/year-selection-strategy.mjs +1 -1
- package/esm2022/lib/controls/date-input/date-input.component.mjs +3 -3
- package/esm2022/lib/controls/date-input/date-input.types.mjs +1 -1
- package/esm2022/lib/controls/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/lib/controls/file-upload/file-upload.component.mjs +3 -3
- package/esm2022/lib/controls/form-control/form-control.component.mjs +3 -3
- package/esm2022/lib/controls/form-control-base.mjs +1 -1
- package/esm2022/lib/controls/form-control-label/form-control-label.component.mjs +3 -3
- package/esm2022/lib/controls/form-group/form-group.component.mjs +3 -3
- package/esm2022/lib/controls/help-popover/help-popover.component.mjs +3 -3
- package/esm2022/lib/controls/item-picker/item-picker.component.mjs +3 -3
- package/esm2022/lib/controls/link-button/link-button.component.mjs +1 -1
- package/esm2022/lib/controls/menu/menu.component.mjs +3 -3
- package/esm2022/lib/controls/navigation/link-item.mjs +1 -1
- package/esm2022/lib/controls/navigation/nav-group.mjs +1 -1
- package/esm2022/lib/controls/navigation/nav-item-active.directive.mjs +1 -1
- package/esm2022/lib/controls/navigation/nav-item.mjs +1 -1
- package/esm2022/lib/controls/numericbox/numericbox.component.mjs +3 -3
- package/esm2022/lib/controls/popover/popover.component.mjs +3 -3
- package/esm2022/lib/controls/radio-button/radio-button-option.mjs +1 -1
- package/esm2022/lib/controls/radio-button/radio-button.component.mjs +3 -3
- package/esm2022/lib/controls/select/select.component.mjs +3 -3
- package/esm2022/lib/controls/tabs/tabs.component.mjs +3 -3
- package/esm2022/lib/controls/textbox/textbox.component.mjs +3 -3
- package/esm2022/lib/core/cache.service.mjs +1 -1
- package/esm2022/lib/core/custom-validators.mjs +1 -1
- package/esm2022/lib/core/date-time-helper.mjs +1 -1
- package/esm2022/lib/core/error.service.mjs +1 -1
- package/esm2022/lib/core/router-helper.service.mjs +1 -1
- package/esm2022/lib/core/scroll.service.mjs +1 -1
- package/esm2022/lib/core/telemetry-tracker.service.mjs +1 -1
- package/esm2022/lib/core/telemetry.service.mjs +1 -1
- package/esm2022/lib/core/validation-message.service.mjs +1 -1
- package/esm2022/lib/core/validation-patterns.mjs +1 -1
- package/esm2022/lib/core/window.service.mjs +1 -1
- package/esm2022/lib/display/app-bar/app-bar.component.mjs +3 -3
- package/esm2022/lib/display/avatar/avatar.component.mjs +1 -1
- package/esm2022/lib/display/avatar/avatar.service.mjs +1 -1
- package/esm2022/lib/display/confirm/confirm.component.mjs +3 -3
- package/esm2022/lib/display/dialog/dialog-content.mjs +1 -1
- package/esm2022/lib/display/dialog/dialog-group/dialog-group.component.mjs +3 -3
- package/esm2022/lib/display/dialog/dialog-types.mjs +1 -1
- package/esm2022/lib/display/dialog/dialog.component.mjs +1 -1
- package/esm2022/lib/display/dialog/dialog.service.mjs +1 -1
- package/esm2022/lib/display/help/help-types.mjs +1 -1
- package/esm2022/lib/display/hierarchy/hierarchy-base.mjs +1 -1
- package/esm2022/lib/display/hierarchy/hierarchy-mocks.spec.mjs +1 -1
- package/esm2022/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.mjs +3 -3
- package/esm2022/lib/display/item-display/item-display.component.mjs +3 -3
- package/esm2022/lib/display/json-display/json-display.component.mjs +3 -3
- package/esm2022/lib/display/resizable/resizable-base.mjs +1 -1
- package/esm2022/lib/display/resizable/resizable.component.mjs +7 -7
- package/esm2022/lib/display/spinner/spinner.component.mjs +3 -3
- package/esm2022/lib/display/splash/splash.component.mjs +3 -3
- package/esm2022/lib/display/splash/splash.service.mjs +1 -1
- package/esm2022/lib/display/table/resizable-column.component.mjs +3 -3
- package/esm2022/lib/display/table/resizable-table.directive.mjs +1 -1
- package/esm2022/lib/display/table/searchable-table.component.mjs +3 -3
- package/esm2022/lib/display/table/table-detail-row.component.mjs +11 -11
- package/esm2022/lib/display/table/table-locked-column.component.mjs +1 -1
- package/esm2022/lib/display/table/table-master-header-row.component.mjs +1 -1
- package/esm2022/lib/display/table/table-master-row.component.mjs +3 -3
- package/esm2022/lib/display/table/table-pagination.component.mjs +3 -3
- package/esm2022/lib/display/table/table-selectable-row.component.mjs +3 -3
- package/esm2022/lib/display/table/table.component.mjs +3 -3
- package/esm2022/lib/display/tags/tag.mjs +1 -1
- package/esm2022/lib/display/tags/tags.component.mjs +3 -3
- package/esm2022/lib/display/toast/toast/toast.component.mjs +3 -3
- package/esm2022/lib/display/toast/toast-types.mjs +1 -1
- package/esm2022/lib/display/toast/toast.service.mjs +1 -1
- package/esm2022/lib/display/toast/toaster/toaster.component.mjs +3 -3
- package/esm2022/lib/display/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/lib/display/tooltip/tooltip.service.mjs +1 -1
- package/esm2022/lib/display/tooltip-directive/tooltip.directive.mjs +1 -1
- package/esm2022/lib/display/tree/tree.component.mjs +3 -3
- package/esm2022/lib/display/view-overlay/view-overlay.component.mjs +3 -3
- package/esm2022/lib/shared/directives/click-area-for/click-area-for.directive.mjs +1 -1
- package/esm2022/lib/shared/directives/if-viewport-width/if-viewport-width.directive.mjs +1 -1
- package/esm2022/lib/shared/directives/keyboard-nav-container/keyboard-nav-container.directive.mjs +1 -1
- package/esm2022/lib/shared/directives/popup/popup-container.directive.mjs +1 -1
- package/esm2022/lib/shared/display/pipes/date-display-2.pipe.mjs +1 -1
- package/esm2022/lib/shared/display/pipes/date-display.pipe.mjs +1 -1
- package/esm2022/lib/shared/display/pipes/highlight-text.pipe.mjs +1 -1
- package/esm2022/lib/shared/display/pipes/relative-date.pipe.mjs +1 -1
- package/esm2022/lib/shared/display/pipes/row-count.pipe.mjs +1 -1
- package/esm2022/lib/shared/display/pipes/time-display.pipe.mjs +1 -1
- package/esm2022/lib/shared/display.mjs +1 -1
- package/esm2022/lib/shared/form-group.helper.mjs +1 -1
- package/esm2022/lib/shared/json-helper.mjs +1 -1
- package/esm2022/lib/shared/lodash-helper.mjs +1 -1
- package/esm2022/lib/shared/page/page-base/page-base.component.mjs +1 -1
- package/esm2022/lib/shared/page/page-statuses.mjs +1 -1
- package/esm2022/lib/shared/page/page-title/page-title.component.mjs +3 -3
- package/esm2022/lib/shared/page/page-view/page-view.component.mjs +3 -3
- package/esm2022/lib/shared/testing/copy-button-base-test-injector-factory.spec.mjs +1 -1
- package/esm2022/lib/shared/testing/hierarchy-base-test-injector-factory.spec.mjs +1 -1
- package/esm2022/lib/shared/testing/page-base-component-test-helper.spec.mjs +1 -1
- package/esm2022/lib/shared/testing/page-base-component-test-injector-factory.spec.mjs +1 -1
- package/esm2022/lib/shared/testing/public-mocks.spec.mjs +1 -1
- package/esm2022/lib/shared/testing/spy-factory.spec.mjs +1 -1
- package/esm2022/lib/shared/testing/translation-mocks.spec.mjs +1 -1
- package/esm2022/lib/shared/user-preference.service.mjs +1 -1
- package/esm2022/lib/shared/wizard/wizard-base/wizard-base.component.mjs +1 -1
- package/esm2022/lib/shared/wizard/wizard-buttons/wizard-buttons.component.mjs +3 -3
- package/esm2022/lib/shared/wizard/wizard-progress/wizard-progress.component.mjs +3 -3
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/energycap-components.mjs +104 -104
- package/fesm2022/energycap-components.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/collection.json +4 -4
- package/src/assets/images/favicon-ech.svg +14 -14
- package/src/assets/images/favicon-esa.svg +6 -6
- package/src/assets/images/favicon-eum.svg +13 -13
- package/src/assets/images/favicon-whitelabel.svg +4 -4
- package/src/assets/images/favicon.svg +12 -12
- package/src/assets/images/icon-carbonhub.svg +10 -10
- package/src/assets/images/icon-eum.svg +5 -5
- package/src/assets/images/icon-ucp.svg +12 -12
- package/src/assets/images/icon-wattics.svg +5 -5
- package/src/assets/images/icon.svg +11 -11
- package/src/assets/images/logo.svg +10 -10
- package/src/assets/images/splash-electric.svg +3 -3
- package/src/assets/images/splash-interval.svg +3 -3
- package/src/assets/images/splash-seedling.svg +11 -11
- package/src/assets/images/splash-water.svg +3 -3
- package/src/assets/locales/en_US.json +58 -58
- package/src/assets/scripts/unsupported-browser.js +17 -17
- package/src/styles/_base.scss +38 -38
- package/src/styles/_colors.scss +96 -96
- package/src/styles/_core.scss +3 -3
- package/src/styles/_functions.scss +114 -114
- package/src/styles/_global-variables.scss +229 -229
- package/src/styles/_icons.scss +23 -23
- package/src/styles/bootstrap/_grid.scss +33 -33
- package/src/styles/bootstrap/_reboot.scss +322 -322
- package/src/styles/components/_card.scss +21 -21
- package/src/styles/components/_link-icons.scss +37 -37
- package/src/styles/components/_splash.scss +150 -150
- package/src/styles/components/_tag.scss +18 -18
- package/src/styles/components/_unsupported-browsers.scss +23 -23
- package/src/styles/email/_email-base.scss +227 -227
- package/src/styles/email/email.scss +42 -42
- package/src/styles/index.scss +28 -28
- package/src/styles/mixins/_animations.scss +17 -17
- package/src/styles/mixins/_button-base.scss +185 -185
- package/src/styles/mixins/_card-base.scss +40 -40
- package/src/styles/mixins/_common.scss +51 -51
- package/src/styles/mixins/_dialog-base.scss +95 -95
- package/src/styles/mixins/_form-control-base.scss +640 -640
- package/src/styles/mixins/_login.scss +74 -74
- package/src/styles/mixins/_menu-base.scss +153 -153
- package/src/styles/mixins/_overlay-base.scss +32 -32
- package/src/styles/mixins/_resizable-base.scss +57 -57
- package/src/styles/mixins/_spinner-base.scss +34 -34
- package/src/styles/mixins/_table-base.scss +297 -297
- package/src/styles/mixins/_tabs-base.scss +146 -146
- package/src/styles/mixins/_tags-base.scss +121 -121
- package/src/styles/mixins/_text.scss +89 -89
- package/src/styles/mixins.scss +14 -14
- package/src/styles/utilities/_borders.scss +29 -29
- package/src/styles/utilities/_common.scss +49 -49
- package/src/styles/utilities/_layout.scss +115 -115
- package/src/styles/utilities/_spacing.scss +64 -64
- package/src/styles/utilities/_text.scss +139 -139
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
$fa-font-path: '/assets/webfonts';
|
|
2
|
-
@import '@fortawesome/fontawesome-pro/scss/solid';
|
|
3
|
-
@import '../../../../icons/styles/core';
|
|
4
|
-
|
|
5
|
-
a[target="_blank"] {
|
|
6
|
-
&::after {
|
|
7
|
-
font: var(--fa-font-solid);
|
|
8
|
-
@extend .fa-solid;
|
|
9
|
-
content: fa-content('\\' + get-icon-unicode($icons, 'icon-external-link'));
|
|
10
|
-
margin-left: .125rem;
|
|
11
|
-
opacity: .5;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&.is-map-link {
|
|
15
|
-
&::after {
|
|
16
|
-
content: fa-content('\\' + get-icon-unicode($icons, 'icon-map-marker-alt'));
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&.is-file-link {
|
|
21
|
-
&::after {
|
|
22
|
-
content: fa-content('\\' + get-icon-unicode($icons, 'icon-file-download'));
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.is-image-link {
|
|
27
|
-
&::after {
|
|
28
|
-
content: fa-content('\\' + get-icon-unicode($icons, 'icon-file-image'));
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.hide-external-link-icon {
|
|
34
|
-
&[target="_blank"]::after,
|
|
35
|
-
[target="_blank"]::after {
|
|
36
|
-
content: '' !important;
|
|
37
|
-
}
|
|
1
|
+
$fa-font-path: '/assets/webfonts';
|
|
2
|
+
@import '@fortawesome/fontawesome-pro/scss/solid';
|
|
3
|
+
@import '../../../../icons/styles/core';
|
|
4
|
+
|
|
5
|
+
a[target="_blank"] {
|
|
6
|
+
&::after {
|
|
7
|
+
font: var(--fa-font-solid);
|
|
8
|
+
@extend .fa-solid;
|
|
9
|
+
content: fa-content('\\' + get-icon-unicode($icons, 'icon-external-link'));
|
|
10
|
+
margin-left: .125rem;
|
|
11
|
+
opacity: .5;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.is-map-link {
|
|
15
|
+
&::after {
|
|
16
|
+
content: fa-content('\\' + get-icon-unicode($icons, 'icon-map-marker-alt'));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.is-file-link {
|
|
21
|
+
&::after {
|
|
22
|
+
content: fa-content('\\' + get-icon-unicode($icons, 'icon-file-download'));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.is-image-link {
|
|
27
|
+
&::after {
|
|
28
|
+
content: fa-content('\\' + get-icon-unicode($icons, 'icon-file-image'));
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.hide-external-link-icon {
|
|
34
|
+
&[target="_blank"]::after,
|
|
35
|
+
[target="_blank"]::after {
|
|
36
|
+
content: '' !important;
|
|
37
|
+
}
|
|
38
38
|
}
|
|
@@ -1,151 +1,151 @@
|
|
|
1
|
-
@import "../mixins/animations";
|
|
2
|
-
|
|
3
|
-
@keyframes splash {
|
|
4
|
-
0% {
|
|
5
|
-
background-position: left bottom;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
20% {
|
|
9
|
-
background-position: left top;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
40% {
|
|
13
|
-
background-position: right top;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
60% {
|
|
17
|
-
background-position: right bottom;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
100% {
|
|
21
|
-
background-position: left bottom;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
.app-splash {
|
|
27
|
-
position: fixed;
|
|
28
|
-
z-index: 100;
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: center;
|
|
33
|
-
background: var(--ec-background-splash);
|
|
34
|
-
background-size: 110% 110%;
|
|
35
|
-
transition-property: opacity;
|
|
36
|
-
transition-duration: .3s;
|
|
37
|
-
transition-timing-function: ease-out;
|
|
38
|
-
opacity: 1;
|
|
39
|
-
top: 0;
|
|
40
|
-
left: 0;
|
|
41
|
-
right: 0;
|
|
42
|
-
bottom: 0;
|
|
43
|
-
|
|
44
|
-
animation-name: splash;
|
|
45
|
-
animation-duration: 6s;
|
|
46
|
-
animation-iteration-count: infinite;
|
|
47
|
-
|
|
48
|
-
.splash-loader {
|
|
49
|
-
width: 120px;
|
|
50
|
-
height: 120px;
|
|
51
|
-
border: 10px solid #FFF;
|
|
52
|
-
border-radius: 50%;
|
|
53
|
-
box-sizing: border-box;
|
|
54
|
-
position: relative;
|
|
55
|
-
animation: splash-pulse 1s linear infinite, splash-fade 1s ease-in-out infinite;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.splash-icon-wrapper {
|
|
59
|
-
position: absolute;
|
|
60
|
-
top: 0;
|
|
61
|
-
left: 0;
|
|
62
|
-
width: 100%;
|
|
63
|
-
height: 100%;
|
|
64
|
-
z-index: 2;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.splash-icon-wrapper img {
|
|
68
|
-
position: absolute;
|
|
69
|
-
filter: brightness(0) invert(1);
|
|
70
|
-
top: 50%;
|
|
71
|
-
left: 50%;
|
|
72
|
-
transform: translate(-50%, -50%);
|
|
73
|
-
opacity: 0;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/* Electricity, Water, Interval icons */
|
|
77
|
-
.splash-icon-wrapper img:nth-child(1),
|
|
78
|
-
.splash-icon-wrapper img:nth-child(2),
|
|
79
|
-
.splash-icon-wrapper img:nth-child(3) {
|
|
80
|
-
width: 70px;
|
|
81
|
-
height: 70px;
|
|
82
|
-
animation: splash-showIcon 4s linear infinite;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.splash-icon-wrapper img:nth-child(1) {
|
|
86
|
-
animation-delay: 0s;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.splash-icon-wrapper img:nth-child(2) {
|
|
90
|
-
animation-delay: 1s;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.splash-icon-wrapper img:nth-child(3) {
|
|
94
|
-
animation-delay: 2s;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/* Seedling icon at 56×56px */
|
|
98
|
-
.splash-icon-wrapper img:nth-child(4) {
|
|
99
|
-
width: 56px;
|
|
100
|
-
height: 56px;
|
|
101
|
-
animation: splash-showIcon 4s linear infinite;
|
|
102
|
-
animation-delay: 3s;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@keyframes splash-showIcon {
|
|
106
|
-
0% {
|
|
107
|
-
opacity: 1;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
24.9% {
|
|
111
|
-
opacity: 1;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
25% {
|
|
115
|
-
opacity: 0;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
100% {
|
|
119
|
-
opacity: 0;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@keyframes splash-pulse {
|
|
124
|
-
|
|
125
|
-
0%,
|
|
126
|
-
100% {
|
|
127
|
-
transform: scale(1);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
50% {
|
|
131
|
-
transform: scale(1.2);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
@keyframes splash-fade {
|
|
136
|
-
|
|
137
|
-
0%,
|
|
138
|
-
100% {
|
|
139
|
-
opacity: 1;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
50% {
|
|
143
|
-
opacity: 0.6;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&.app-loaded {
|
|
148
|
-
opacity: 0;
|
|
149
|
-
pointer-events: none;
|
|
150
|
-
}
|
|
1
|
+
@import "../mixins/animations";
|
|
2
|
+
|
|
3
|
+
@keyframes splash {
|
|
4
|
+
0% {
|
|
5
|
+
background-position: left bottom;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
20% {
|
|
9
|
+
background-position: left top;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
40% {
|
|
13
|
+
background-position: right top;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
60% {
|
|
17
|
+
background-position: right bottom;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
100% {
|
|
21
|
+
background-position: left bottom;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
.app-splash {
|
|
27
|
+
position: fixed;
|
|
28
|
+
z-index: 100;
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
background: var(--ec-background-splash);
|
|
34
|
+
background-size: 110% 110%;
|
|
35
|
+
transition-property: opacity;
|
|
36
|
+
transition-duration: .3s;
|
|
37
|
+
transition-timing-function: ease-out;
|
|
38
|
+
opacity: 1;
|
|
39
|
+
top: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
right: 0;
|
|
42
|
+
bottom: 0;
|
|
43
|
+
|
|
44
|
+
animation-name: splash;
|
|
45
|
+
animation-duration: 6s;
|
|
46
|
+
animation-iteration-count: infinite;
|
|
47
|
+
|
|
48
|
+
.splash-loader {
|
|
49
|
+
width: 120px;
|
|
50
|
+
height: 120px;
|
|
51
|
+
border: 10px solid #FFF;
|
|
52
|
+
border-radius: 50%;
|
|
53
|
+
box-sizing: border-box;
|
|
54
|
+
position: relative;
|
|
55
|
+
animation: splash-pulse 1s linear infinite, splash-fade 1s ease-in-out infinite;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.splash-icon-wrapper {
|
|
59
|
+
position: absolute;
|
|
60
|
+
top: 0;
|
|
61
|
+
left: 0;
|
|
62
|
+
width: 100%;
|
|
63
|
+
height: 100%;
|
|
64
|
+
z-index: 2;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.splash-icon-wrapper img {
|
|
68
|
+
position: absolute;
|
|
69
|
+
filter: brightness(0) invert(1);
|
|
70
|
+
top: 50%;
|
|
71
|
+
left: 50%;
|
|
72
|
+
transform: translate(-50%, -50%);
|
|
73
|
+
opacity: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* Electricity, Water, Interval icons */
|
|
77
|
+
.splash-icon-wrapper img:nth-child(1),
|
|
78
|
+
.splash-icon-wrapper img:nth-child(2),
|
|
79
|
+
.splash-icon-wrapper img:nth-child(3) {
|
|
80
|
+
width: 70px;
|
|
81
|
+
height: 70px;
|
|
82
|
+
animation: splash-showIcon 4s linear infinite;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.splash-icon-wrapper img:nth-child(1) {
|
|
86
|
+
animation-delay: 0s;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.splash-icon-wrapper img:nth-child(2) {
|
|
90
|
+
animation-delay: 1s;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.splash-icon-wrapper img:nth-child(3) {
|
|
94
|
+
animation-delay: 2s;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* Seedling icon at 56×56px */
|
|
98
|
+
.splash-icon-wrapper img:nth-child(4) {
|
|
99
|
+
width: 56px;
|
|
100
|
+
height: 56px;
|
|
101
|
+
animation: splash-showIcon 4s linear infinite;
|
|
102
|
+
animation-delay: 3s;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@keyframes splash-showIcon {
|
|
106
|
+
0% {
|
|
107
|
+
opacity: 1;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
24.9% {
|
|
111
|
+
opacity: 1;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
25% {
|
|
115
|
+
opacity: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
100% {
|
|
119
|
+
opacity: 0;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@keyframes splash-pulse {
|
|
124
|
+
|
|
125
|
+
0%,
|
|
126
|
+
100% {
|
|
127
|
+
transform: scale(1);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
50% {
|
|
131
|
+
transform: scale(1.2);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@keyframes splash-fade {
|
|
136
|
+
|
|
137
|
+
0%,
|
|
138
|
+
100% {
|
|
139
|
+
opacity: 1;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
50% {
|
|
143
|
+
opacity: 0.6;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&.app-loaded {
|
|
148
|
+
opacity: 0;
|
|
149
|
+
pointer-events: none;
|
|
150
|
+
}
|
|
151
151
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
@import '../mixins/tags-base';
|
|
2
|
-
|
|
3
|
-
.tag {
|
|
4
|
-
@include tag;
|
|
5
|
-
|
|
6
|
-
&.is-condensed {
|
|
7
|
-
@include tag-condensed;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
a::after {
|
|
11
|
-
opacity: 1;
|
|
12
|
-
margin-left: .1875rem;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.tag-close-btn {
|
|
17
|
-
@include tag-close-btn;
|
|
18
|
-
}
|
|
1
|
+
@import '../mixins/tags-base';
|
|
2
|
+
|
|
3
|
+
.tag {
|
|
4
|
+
@include tag;
|
|
5
|
+
|
|
6
|
+
&.is-condensed {
|
|
7
|
+
@include tag-condensed;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
a::after {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
margin-left: .1875rem;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.tag-close-btn {
|
|
17
|
+
@include tag-close-btn;
|
|
18
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
@import '../colors';
|
|
2
|
-
|
|
3
|
-
.unsupported-browser-container {
|
|
4
|
-
display: flex;
|
|
5
|
-
position: fixed;
|
|
6
|
-
z-index: 10000;
|
|
7
|
-
top: 0;
|
|
8
|
-
right: 0;
|
|
9
|
-
left: 0;
|
|
10
|
-
bottom: 0;
|
|
11
|
-
align-items: center;
|
|
12
|
-
background: var(--ec-background-color-splash);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.unsupported-browser {
|
|
16
|
-
max-width: 25rem;
|
|
17
|
-
margin: 0 auto;
|
|
18
|
-
font-size: var(--ec-font-size-title);
|
|
19
|
-
color: var(--ec-color-primary-light);
|
|
20
|
-
|
|
21
|
-
a {
|
|
22
|
-
color: $blue-1;
|
|
23
|
-
}
|
|
1
|
+
@import '../colors';
|
|
2
|
+
|
|
3
|
+
.unsupported-browser-container {
|
|
4
|
+
display: flex;
|
|
5
|
+
position: fixed;
|
|
6
|
+
z-index: 10000;
|
|
7
|
+
top: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
bottom: 0;
|
|
11
|
+
align-items: center;
|
|
12
|
+
background: var(--ec-background-color-splash);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.unsupported-browser {
|
|
16
|
+
max-width: 25rem;
|
|
17
|
+
margin: 0 auto;
|
|
18
|
+
font-size: var(--ec-font-size-title);
|
|
19
|
+
color: var(--ec-color-primary-light);
|
|
20
|
+
|
|
21
|
+
a {
|
|
22
|
+
color: $blue-1;
|
|
23
|
+
}
|
|
24
24
|
}
|