@iamproperty/components 6.0.0 → 6.1.0--beta
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/assets/bootstrap/README.md +8 -7
- package/assets/bootstrap/js/index.esm.js +19 -0
- package/assets/bootstrap/js/index.umd.js +34 -0
- package/assets/bootstrap/js/src/alert.js +1 -1
- package/assets/bootstrap/js/src/base-component.js +2 -2
- package/assets/bootstrap/js/src/button.js +1 -1
- package/assets/bootstrap/js/src/carousel.js +1 -1
- package/assets/bootstrap/js/src/collapse.js +1 -1
- package/assets/bootstrap/js/src/dom/data.js +1 -1
- package/assets/bootstrap/js/src/dom/event-handler.js +1 -1
- package/assets/bootstrap/js/src/dom/manipulator.js +1 -1
- package/assets/bootstrap/js/src/dom/selector-engine.js +1 -1
- package/assets/bootstrap/js/src/dropdown.js +3 -12
- package/assets/bootstrap/js/src/modal.js +13 -17
- package/assets/bootstrap/js/src/offcanvas.js +1 -1
- package/assets/bootstrap/js/src/popover.js +1 -1
- package/assets/bootstrap/js/src/scrollspy.js +10 -14
- package/assets/bootstrap/js/src/tab.js +4 -2
- package/assets/bootstrap/js/src/toast.js +4 -9
- package/assets/bootstrap/js/src/tooltip.js +50 -32
- package/assets/bootstrap/js/src/util/backdrop.js +1 -1
- package/assets/bootstrap/js/src/util/component-functions.js +1 -1
- package/assets/bootstrap/js/src/util/config.js +1 -1
- package/assets/bootstrap/js/src/util/focustrap.js +1 -1
- package/assets/bootstrap/js/src/util/index.js +1 -1
- package/assets/bootstrap/js/src/util/sanitizer.js +1 -1
- package/assets/bootstrap/js/src/util/scrollbar.js +1 -1
- package/assets/bootstrap/js/src/util/swipe.js +1 -1
- package/assets/bootstrap/js/src/util/template-factory.js +1 -1
- package/assets/bootstrap/package.json +27 -28
- package/assets/bootstrap/scss/_accordion.scss +4 -7
- package/assets/bootstrap/scss/_button-group.scss +1 -1
- package/assets/bootstrap/scss/_buttons.scss +7 -28
- package/assets/bootstrap/scss/_carousel.scss +3 -0
- package/assets/bootstrap/scss/_dropdown.scss +1 -2
- package/assets/bootstrap/scss/_functions.scss +2 -2
- package/assets/bootstrap/scss/_list-group.scss +5 -6
- package/assets/bootstrap/scss/_modal.scss +1 -1
- package/assets/bootstrap/scss/_nav.scss +2 -2
- package/assets/bootstrap/scss/_navbar.scss +0 -2
- package/assets/bootstrap/scss/_offcanvas.scss +4 -5
- package/assets/bootstrap/scss/_pagination.scss +1 -1
- package/assets/bootstrap/scss/_popover.scss +5 -5
- package/assets/bootstrap/scss/_toasts.scss +2 -5
- package/assets/bootstrap/scss/_variables-dark.scss +87 -0
- package/assets/bootstrap/scss/_variables.scss +17 -18
- package/assets/bootstrap/scss/bootstrap-utilities.scss +0 -3
- package/assets/bootstrap/scss/forms/_floating-labels.scss +0 -1
- package/assets/bootstrap/scss/forms/_input-group.scss +4 -7
- package/assets/bootstrap/scss/helpers/_focus-ring.scss +5 -0
- package/assets/bootstrap/scss/helpers/_icon-link.scss +25 -0
- package/assets/bootstrap/scss/mixins/_banner.scss +2 -2
- package/assets/bootstrap/scss/mixins/_color-mode.scss +21 -0
- package/assets/bootstrap/scss/mixins/_forms.scss +10 -10
- package/assets/bootstrap/scss/mixins/_table-variants.scss +2 -2
- package/assets/bootstrap/scss/mixins/_utilities.scss +1 -1
- package/assets/css/components/barchart.component.css +1 -1
- package/assets/css/components/barchart.component.css.map +1 -1
- package/assets/css/components/card.component.css +1 -0
- package/assets/css/components/card.component.css.map +1 -0
- package/assets/css/components/card.module.css +1 -0
- package/assets/css/components/card.module.css.map +1 -0
- package/assets/css/components/charts.config.css +1 -1
- package/assets/css/components/charts.config.css.map +1 -1
- package/assets/css/components/charts.css +1 -1
- package/assets/css/components/charts.css.map +1 -1
- package/assets/css/components/charts.module.css +1 -1
- package/assets/css/components/charts.module.css.map +1 -1
- package/assets/css/components/filter-card.component.css +1 -0
- package/assets/css/components/filter-card.component.css.map +1 -0
- package/assets/css/components/multiselect.preload.css +1 -1
- package/assets/css/components/multiselect.preload.css.map +1 -1
- package/assets/css/components/record-card.component.css +1 -0
- package/assets/css/components/record-card.component.css.map +1 -0
- package/assets/css/components/timeline.css +1 -1
- package/assets/css/components/timeline.css.map +1 -1
- package/assets/css/components/video-card.component.css +1 -0
- package/assets/css/components/video-card.component.css.map +1 -0
- package/assets/css/core.min.css +1 -1
- package/assets/css/core.min.css.map +1 -1
- package/assets/css/style.min.css +1 -1
- package/assets/css/style.min.css.map +1 -1
- package/assets/js/components/accordion/accordion.component.min.js +1 -1
- package/assets/js/components/actionbar/actionbar.component.min.js +5 -5
- package/assets/js/components/actionbar/actionbar.component.min.js.map +1 -1
- package/assets/js/components/address-lookup/address-lookup.component.min.js +1 -1
- package/assets/js/components/address-lookup/address-lookup.component.min.js.map +1 -1
- package/assets/js/components/applied-filters/applied-filters.component.min.js +1 -1
- package/assets/js/components/applied-filters/applied-filters.component.min.js.map +1 -1
- package/assets/js/components/barchart/barchart.component.js +2 -0
- package/assets/js/components/barchart/barchart.component.min.js +4 -2
- package/assets/js/components/barchart/barchart.component.min.js.map +1 -1
- package/assets/js/components/card/card.component.js +92 -154
- package/assets/js/components/card/card.component.min.js +26 -31
- package/assets/js/components/card/card.component.min.js.map +1 -1
- package/assets/js/components/carousel/carousel.component.min.js +1 -1
- package/assets/js/components/carousel/carousel.component.min.js.map +1 -1
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js +1 -1
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js.map +1 -1
- package/assets/js/components/fileupload/fileupload.component.min.js +1 -1
- package/assets/js/components/fileupload/fileupload.component.min.js.map +1 -1
- package/assets/js/components/filter-card/filter-card.component.js +71 -0
- package/assets/js/components/filter-card/filter-card.component.min.js +27 -0
- package/assets/js/components/filter-card/filter-card.component.min.js.map +1 -0
- package/assets/js/components/filterlist/filterlist.component.min.js +1 -1
- package/assets/js/components/header/header.component.min.js +1 -1
- package/assets/js/components/header/header.component.min.js.map +1 -1
- package/assets/js/components/inline-edit/inline-edit.component.min.js +1 -1
- package/assets/js/components/inline-edit/inline-edit.component.min.js.map +1 -1
- package/assets/js/components/marketing/marketing.component.min.js +1 -1
- package/assets/js/components/marketing/marketing.component.min.js.map +1 -1
- package/assets/js/components/multiselect/multiselect.component.min.js +1 -1
- package/assets/js/components/multiselect/multiselect.component.min.js.map +1 -1
- package/assets/js/components/nav/nav.component.min.js +1 -1
- package/assets/js/components/nav/nav.component.min.js.map +1 -1
- package/assets/js/components/notification/notification.component.min.js +1 -1
- package/assets/js/components/notification/notification.component.min.js.map +1 -1
- package/assets/js/components/pagination/pagination.component.min.js +1 -1
- package/assets/js/components/pagination/pagination.component.min.js.map +1 -1
- package/assets/js/components/record-card/record-card.component.js +69 -0
- package/assets/js/components/record-card/record-card.component.min.js +27 -0
- package/assets/js/components/record-card/record-card.component.min.js.map +1 -0
- package/assets/js/components/search/search.component.min.js +1 -1
- package/assets/js/components/slider/slider.component.min.js +1 -1
- package/assets/js/components/slider/slider.component.min.js.map +1 -1
- package/assets/js/components/table/table.component.min.js +2 -2
- package/assets/js/components/table/table.component.min.js.map +1 -1
- package/assets/js/components/tabs/tabs.component.min.js +1 -1
- package/assets/js/components/tabs/tabs.component.min.js.map +1 -1
- package/assets/js/components/video-card/video-card.component.js +176 -0
- package/assets/js/components/video-card/video-card.component.min.js +30 -0
- package/assets/js/components/video-card/video-card.component.min.js.map +1 -0
- package/assets/js/components.bundle.js +5 -0
- package/assets/js/components.bundle.js.map +1 -0
- package/assets/js/components.js +30 -0
- package/assets/js/modules/card.module.js +33 -0
- package/assets/js/modules/chart.js +2 -2
- package/assets/js/modules/dialogs.js +0 -6
- package/assets/js/modules/table.js +1 -1
- package/assets/js/scripts.bundle.js +3 -194
- package/assets/js/scripts.bundle.js.map +1 -1
- package/assets/js/scripts.bundle.min.js +2 -2
- package/assets/js/scripts.bundle.min.js.map +1 -1
- package/assets/js/scripts.js +17 -0
- package/assets/js/tests/filterlist.spec.js +1 -1
- package/assets/sass/_components.scss +81 -1
- package/assets/sass/_corefiles.scss +4 -10
- package/assets/sass/_elements.scss +2 -0
- package/assets/sass/components/card.component.scss +229 -0
- package/assets/sass/components/card.module.scss +154 -0
- package/assets/sass/components/charts.config.scss +3 -0
- package/assets/sass/components/charts.module.scss +5 -3
- package/assets/sass/components/filter-card.component.scss +106 -0
- package/assets/sass/components/multiselect.preload.scss +7 -0
- package/assets/sass/components/record-card.component.scss +204 -0
- package/assets/sass/components/video-card.component.scss +80 -0
- package/assets/sass/components.reset.scss +5 -43
- package/assets/sass/elements/badge-tag.scss +5 -1
- package/assets/sass/elements/buttons.scss +3 -0
- package/assets/sass/elements/dialog.scss +2 -744
- package/assets/sass/elements/forms.scss +5 -0
- package/assets/sass/elements/media.scss +0 -38
- package/assets/sass/elements/modal.scss +553 -0
- package/assets/sass/elements/popover.scss +207 -0
- package/assets/sass/foundations/reboot.scss +2 -2
- package/assets/sass/foundations/root.scss +0 -1
- package/assets/ts/components/barchart/barchart.component.ts +2 -0
- package/assets/ts/components/card/card.component.ts +94 -192
- package/assets/ts/components/filter-card/filter-card.component.ts +81 -0
- package/assets/ts/components/record-card/record-card.component.ts +82 -0
- package/assets/ts/components/video-card/video-card.component.ts +227 -0
- package/assets/ts/components.ts +38 -0
- package/assets/ts/modules/card.module.ts +43 -0
- package/assets/ts/modules/dialogs.ts +0 -8
- package/assets/ts/modules/table.ts +1 -1
- package/assets/ts/scripts.ts +22 -0
- package/assets/ts/tests/filterlist.spec.ts +1 -1
- package/dist/components.es.js +201 -201
- package/dist/components.umd.js +76 -81
- package/package.json +8 -7
- package/src/components/BarChart/BarChart.vue +2 -2
- package/src/components/FilterCard/FilterCard.vue +25 -0
- package/src/components/RecordCard/RecordCard.vue +25 -0
- package/src/components/VideoCard/VideoCard.vue +25 -0
- package/assets/css/components/card.css +0 -1
- package/assets/css/components/card.css.map +0 -1
- package/assets/css/components/card.global.css +0 -1
- package/assets/css/components/card.global.css.map +0 -1
- package/assets/css/components/card.preload.css +0 -1
- package/assets/css/components/card.preload.css.map +0 -1
- package/assets/js/bundle.js +0 -74
- package/assets/js/dynamic.js +0 -80
- package/assets/js/dynamic.min.js +0 -18
- package/assets/js/dynamic.min.js.map +0 -1
- package/assets/js/flat-components.js +0 -84
- package/assets/js/modules/youtubevideo.js +0 -106
- package/assets/sass/components/card.global.scss +0 -102
- package/assets/sass/components/card.preload.scss +0 -8
- package/assets/sass/components/card.scss +0 -606
- package/assets/ts/bundle.ts +0 -94
- package/assets/ts/components/barchart/README.md +0 -37
- package/assets/ts/components/card/README.md +0 -39
- package/assets/ts/dynamic.ts +0 -107
- package/assets/ts/flat-components.ts +0 -106
- package/assets/ts/modules/youtubevideo.ts +0 -141
- package/src/foundations/YoutubeVideo/README.md +0 -11
- package/src/foundations/YoutubeVideo/YoutubeVideo.vue +0 -24
|
@@ -7,6 +7,7 @@ body:not(.js-enabled) dialog:not([open]):target {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// #region Default styling of both modals and popovers
|
|
10
|
+
[popover],
|
|
10
11
|
dialog {
|
|
11
12
|
--dialog-padding: #{rem(24)};
|
|
12
13
|
|
|
@@ -23,7 +24,7 @@ dialog {
|
|
|
23
24
|
outline: var(--contrast-outline-width, 0px) solid var(--colour-primary);
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
[popover]:popover-open,
|
|
27
28
|
dialog[open] {
|
|
28
29
|
|
|
29
30
|
|
|
@@ -39,746 +40,3 @@ dialog[open] {
|
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
42
|
// #endregion
|
|
42
|
-
|
|
43
|
-
// #region modal styling
|
|
44
|
-
|
|
45
|
-
*:not(.dialog__wrapper) > dialog[open] {
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
*:not(.dialog__wrapper) > dialog[open] {
|
|
50
|
-
overflow-y: hidden;
|
|
51
|
-
width: 90vw;
|
|
52
|
-
max-width: rem(324); // col-width*4
|
|
53
|
-
|
|
54
|
-
//height: 90vh;
|
|
55
|
-
max-height: min(90vh, #{rem(752)});
|
|
56
|
-
overscroll-behavior: contain;
|
|
57
|
-
|
|
58
|
-
// Close button
|
|
59
|
-
> form:first-child {
|
|
60
|
-
position: static;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
> form:first-child button,
|
|
64
|
-
> button:first-child {
|
|
65
|
-
position: absolute;
|
|
66
|
-
top: var(--dialog-padding);
|
|
67
|
-
right: var(--dialog-padding);
|
|
68
|
-
z-index: var(--index-floating);
|
|
69
|
-
|
|
70
|
-
text-indent: 300%;
|
|
71
|
-
overflow: hidden;
|
|
72
|
-
border: none;
|
|
73
|
-
height: rem(20);
|
|
74
|
-
width: rem(20);
|
|
75
|
-
background: transparent;
|
|
76
|
-
|
|
77
|
-
&:after {
|
|
78
|
-
content: "";
|
|
79
|
-
top: 0;
|
|
80
|
-
left: 0;
|
|
81
|
-
position: absolute;
|
|
82
|
-
display: block;
|
|
83
|
-
height: rem(20);
|
|
84
|
-
width: rem(20);
|
|
85
|
-
z-index: var(--index-focus);
|
|
86
|
-
background: currentColor;
|
|
87
|
-
mask-image: var(--icon-close);
|
|
88
|
-
mask-size: 100%;
|
|
89
|
-
mask-repeat: no-repeat;
|
|
90
|
-
mask-position: 50% 50%;
|
|
91
|
-
-webkit-mask-image: var(--icon-close);
|
|
92
|
-
-webkit-mask-size: 100%;
|
|
93
|
-
-webkit-mask-repeat: no-repeat;
|
|
94
|
-
-webkit-mask-position: 50% 50%;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
& + * {
|
|
98
|
-
padding-right: var(--dialog-padding);
|
|
99
|
-
margin-right: rem(20);
|
|
100
|
-
display: block;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
& + span:not(.h1,.h2,.h3,.h4,.h5,.h6) {
|
|
104
|
-
padding-bottom: rem(8);
|
|
105
|
-
line-height: rem(19);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
& + span:not(.h1,.h2,.h3,.h4,.h5,.h6) + * {
|
|
109
|
-
padding-right: var(--dialog-padding);
|
|
110
|
-
margin-right: rem(20);
|
|
111
|
-
display: block;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@media (forced-colors: active) {
|
|
115
|
-
text-indent: 0;
|
|
116
|
-
width: fit-content;
|
|
117
|
-
|
|
118
|
-
&:after {
|
|
119
|
-
display: none;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
@include media-breakpoint-up(sm) {
|
|
125
|
-
|
|
126
|
-
--dialog-padding: #{rem(32)};
|
|
127
|
-
min-width: rem(335);
|
|
128
|
-
width: fit-content;
|
|
129
|
-
max-width: rem(686);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
@include media-breakpoint-up(md) {
|
|
133
|
-
|
|
134
|
-
min-width: rem(454);
|
|
135
|
-
width: fit-content;
|
|
136
|
-
max-width: rem(736);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&:has(.youtube-embed){
|
|
140
|
-
padding: 0!important;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&.dialog--fullwidth {
|
|
144
|
-
max-width: rem(1112);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@media screen and (max-width: 36em) {
|
|
148
|
-
|
|
149
|
-
:is(form, fieldset, .btn--wrapper):has(> .btn:first-child, > .btn:last-child) .btn:not(.dialog__close) {
|
|
150
|
-
width: 100%;
|
|
151
|
-
max-width: 100%;
|
|
152
|
-
margin: 0;
|
|
153
|
-
display: block;
|
|
154
|
-
text-align: center;
|
|
155
|
-
|
|
156
|
-
&:not(:last-child) {
|
|
157
|
-
margin-bottom: 1rem!important;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.mh-lg {
|
|
163
|
-
padding-left: 1rem;
|
|
164
|
-
margin-left: -1rem;
|
|
165
|
-
padding-right: calc(var(--dialog-padding) - 10px);
|
|
166
|
-
margin-right: calc((var(--dialog-padding) * -1) + 10px);
|
|
167
|
-
margin-bottom: calc(var(--dialog-padding) * -1);
|
|
168
|
-
|
|
169
|
-
> *:last-child {
|
|
170
|
-
margin-bottom: 2rem!important;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
> p:last-child {
|
|
174
|
-
padding-bottom: 0!important;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
dialog::backdrop {
|
|
180
|
-
background: rgba(0, 0, 0, 0.3);
|
|
181
|
-
backdrop-filter: blur(4px);
|
|
182
|
-
overscroll-behavior: contain;
|
|
183
|
-
}
|
|
184
|
-
// #endregion
|
|
185
|
-
|
|
186
|
-
// #region Transactional
|
|
187
|
-
*:not(.dialog__wrapper) > dialog[open]:is(.dialog--transactional, .dialog--acknowledgement) {
|
|
188
|
-
|
|
189
|
-
text-align: center;
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
&:before {
|
|
193
|
-
content: "\f05a";
|
|
194
|
-
font-weight: 300;
|
|
195
|
-
-moz-osx-font-smoothing: grayscale;
|
|
196
|
-
-webkit-font-smoothing: antialiased;
|
|
197
|
-
display: var(--fa-display,inline-block);
|
|
198
|
-
font-style: normal;
|
|
199
|
-
font-variant: normal;
|
|
200
|
-
line-height: 1;
|
|
201
|
-
text-rendering: auto;
|
|
202
|
-
font-family: "Font Awesome 6 Pro";
|
|
203
|
-
font-size: 3rem;
|
|
204
|
-
@include media-breakpoint-up(md) {
|
|
205
|
-
font-size: 4rem;
|
|
206
|
-
}
|
|
207
|
-
margin-top: 0;
|
|
208
|
-
margin-bottom: rem(24);
|
|
209
|
-
line-height: 1;
|
|
210
|
-
color: var(--colour-heading);
|
|
211
|
-
clear: both;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
&:has(> i):before{
|
|
215
|
-
|
|
216
|
-
display: none;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
&:has(> i) > i{
|
|
220
|
-
|
|
221
|
-
display: var(--fa-display,inline-block);
|
|
222
|
-
line-height: 1;
|
|
223
|
-
font-size: 3rem;
|
|
224
|
-
@include media-breakpoint-up(md) {
|
|
225
|
-
font-size: 4rem;
|
|
226
|
-
}
|
|
227
|
-
margin-top: 0;
|
|
228
|
-
margin-bottom: rem(24);
|
|
229
|
-
line-height: 1;
|
|
230
|
-
color: var(--colour-heading);
|
|
231
|
-
clear: both;
|
|
232
|
-
|
|
233
|
-
&:has(> i){
|
|
234
|
-
position: relative;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
> i:before {
|
|
238
|
-
content: "\f2ed";
|
|
239
|
-
position: absolute;
|
|
240
|
-
top: 0;
|
|
241
|
-
left: 50%;
|
|
242
|
-
transform: scale(0.5) translate(-100%,0);
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
> form:first-child button,
|
|
247
|
-
> button:first-child {
|
|
248
|
-
display: none;
|
|
249
|
-
|
|
250
|
-
& + * {
|
|
251
|
-
padding-right: 0;
|
|
252
|
-
margin-right: 0;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
& + span:not(.h1,.h2,.h3,.h4,.h5,.h6) + * {
|
|
256
|
-
padding-right: 0;
|
|
257
|
-
margin-right: 0;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
form > :is(button,a) {
|
|
262
|
-
margin-bottom: 0;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
@include media-breakpoint-up(sm) {
|
|
266
|
-
|
|
267
|
-
:is(button, .btn):has(~ :is(button, .btn):last-child),
|
|
268
|
-
:is(button, .btn):last-child {
|
|
269
|
-
min-width: calc(50% - 1rem);
|
|
270
|
-
text-align: center;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
// #endregion
|
|
275
|
-
|
|
276
|
-
// #region Multi
|
|
277
|
-
.js-enabled *:not(.dialog__wrapper) > dialog[open].dialog--multi {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
padding-top: calc(var(--dialog-padding) * 4);
|
|
281
|
-
|
|
282
|
-
& > form:first-child button, & > button:first-child {
|
|
283
|
-
top: calc(var(--dialog-padding) * 4);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
@supports selector(:has(*)) {
|
|
287
|
-
fieldset:not(.active) {
|
|
288
|
-
display: none;
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
&:not(:has(fieldset.active)) fieldset:first-of-type{
|
|
292
|
-
display: flex;
|
|
293
|
-
flex-direction: column;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
form > *:not(fieldset) {
|
|
297
|
-
display: none!important;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
form {
|
|
301
|
-
max-height: rem(370);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
:is(.h1,.h2,.h3,.h4,.h5,.h6){
|
|
305
|
-
padding-right: calc(var(--dialog-padding) * 3);
|
|
306
|
-
padding-bottom: var(--dialog-padding);
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.steps {
|
|
310
|
-
width: 100%;
|
|
311
|
-
position: absolute;
|
|
312
|
-
top:0;
|
|
313
|
-
left: 0;
|
|
314
|
-
padding: var(--dialog-padding);
|
|
315
|
-
counter-reset: section;
|
|
316
|
-
display: flex;
|
|
317
|
-
justify-content: space-between;
|
|
318
|
-
|
|
319
|
-
&:before {
|
|
320
|
-
|
|
321
|
-
content: "";
|
|
322
|
-
position: absolute;
|
|
323
|
-
top: calc(50% - 1px);
|
|
324
|
-
left: var(--dialog-padding);
|
|
325
|
-
z-index: 2;
|
|
326
|
-
width: calc(100% - var(--dialog-padding) - var(--dialog-padding));
|
|
327
|
-
height: 2px;
|
|
328
|
-
background: currentColor;
|
|
329
|
-
z-index: 1;
|
|
330
|
-
background: linear-gradient(90deg, var(--colour-success) 0%, var(--colour-success) var(--progress, 0%), rgba(255,255,255,0.5) var(--progress, 0%), rgba(255,255,255,0.5) 100%);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
button {
|
|
334
|
-
|
|
335
|
-
position: relative;
|
|
336
|
-
background: transparent;
|
|
337
|
-
border: none;
|
|
338
|
-
color: rgba($color: #ffffff, $alpha: 0.5);
|
|
339
|
-
height: rem(24);
|
|
340
|
-
line-height: rem(24);
|
|
341
|
-
width: rem(24);
|
|
342
|
-
text-indent: 300%;
|
|
343
|
-
overflow: hidden;
|
|
344
|
-
z-index: 2;
|
|
345
|
-
background-color: var(--colour-primary);
|
|
346
|
-
outline: 0.5rem solid var(--colour-primary);
|
|
347
|
-
|
|
348
|
-
&:before {
|
|
349
|
-
position: absolute;
|
|
350
|
-
top: 0;
|
|
351
|
-
left: 0;
|
|
352
|
-
counter-increment: section;
|
|
353
|
-
content: counter(section);
|
|
354
|
-
|
|
355
|
-
border: 1px solid currentColor;
|
|
356
|
-
height: rem(24);
|
|
357
|
-
line-height: rem(24);
|
|
358
|
-
width: rem(24);
|
|
359
|
-
text-align: center;
|
|
360
|
-
display: inline-block;
|
|
361
|
-
text-indent: 0;
|
|
362
|
-
border-radius: 50%;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
&:not(.active):not(.valid) {
|
|
366
|
-
|
|
367
|
-
pointer-events: none;
|
|
368
|
-
|
|
369
|
-
&:before {
|
|
370
|
-
opacity: 0.5;
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
&.active {
|
|
375
|
-
color: var(--colour-white);
|
|
376
|
-
}
|
|
377
|
-
&.valid {
|
|
378
|
-
color: var(--colour-success);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
@include dark-mode() {
|
|
383
|
-
|
|
384
|
-
button {
|
|
385
|
-
|
|
386
|
-
color: rgba($color: #000000, $alpha: 0.5);
|
|
387
|
-
|
|
388
|
-
&.active {
|
|
389
|
-
color: black;
|
|
390
|
-
}
|
|
391
|
-
&.valid {
|
|
392
|
-
color: var(--colour-complete);
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
@include media-breakpoint-up(sm) {
|
|
399
|
-
min-width: rem(452);
|
|
400
|
-
width: rem(452);
|
|
401
|
-
max-width: rem(452);
|
|
402
|
-
}
|
|
403
|
-
@include media-breakpoint-up(md) {
|
|
404
|
-
min-width: rem(924);
|
|
405
|
-
width: rem(924);
|
|
406
|
-
max-width: rem(924);
|
|
407
|
-
padding-top: var(--dialog-padding);
|
|
408
|
-
padding-left: calc(var(--dialog-padding) + #{rem(282)});
|
|
409
|
-
display: flex;
|
|
410
|
-
flex-direction: column;
|
|
411
|
-
//height: rem(478);
|
|
412
|
-
|
|
413
|
-
@media (min-height: #{rem(500)}) {
|
|
414
|
-
height: rem(478);
|
|
415
|
-
max-height: rem(478);
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
& > form:first-child button, & > button:first-child {
|
|
420
|
-
top: var(--dialog-padding);
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
.steps {
|
|
424
|
-
width: rem(282);
|
|
425
|
-
height: 100%;
|
|
426
|
-
flex-direction: column;
|
|
427
|
-
justify-content: center;
|
|
428
|
-
|
|
429
|
-
&:before {
|
|
430
|
-
display: none;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
button {
|
|
434
|
-
margin-block: 0.5rem;
|
|
435
|
-
width: 100%;
|
|
436
|
-
text-indent: 0;
|
|
437
|
-
text-align: left;
|
|
438
|
-
padding-left: 2rem;
|
|
439
|
-
font-size: rem(18);
|
|
440
|
-
outline-width: 1px;
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
.btn--wrapper {
|
|
445
|
-
margin-top: auto;
|
|
446
|
-
text-align: right;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
@supports not selector(:has(*)) {
|
|
451
|
-
> form {
|
|
452
|
-
overflow: auto;
|
|
453
|
-
|
|
454
|
-
button:not([type="submit"]){
|
|
455
|
-
display: none;
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
@supports selector(:has(*)) {
|
|
460
|
-
> form {
|
|
461
|
-
display: contents
|
|
462
|
-
}
|
|
463
|
-
fieldset {
|
|
464
|
-
display: flex;
|
|
465
|
-
flex-direction: column;
|
|
466
|
-
flex-grow: 1;
|
|
467
|
-
position: relative;
|
|
468
|
-
|
|
469
|
-
overflow: auto;
|
|
470
|
-
margin-bottom: calc(var(--dialog-padding) * -1);
|
|
471
|
-
padding-right: calc(var(--dialog-padding) - 10px);
|
|
472
|
-
margin-right: calc((var(--dialog-padding) * -1) + 10px);
|
|
473
|
-
|
|
474
|
-
> :last-child {
|
|
475
|
-
margin-bottom: var(--dialog-padding)!important;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
> p:last-child {
|
|
479
|
-
padding-bottom: 0!important;
|
|
480
|
-
margin-bottom: var(--dialog-padding)!important;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
&::before {
|
|
484
|
-
content: "";
|
|
485
|
-
top: 100%;
|
|
486
|
-
bottom: 0;
|
|
487
|
-
left: 0;
|
|
488
|
-
right: 0;
|
|
489
|
-
height: var(--dialog-padding);
|
|
490
|
-
min-height: var(--dialog-padding);
|
|
491
|
-
position: sticky;
|
|
492
|
-
display: block;
|
|
493
|
-
background: linear-gradient(180deg, transparent 0%, var(--colour-canvas-2) 100%);
|
|
494
|
-
z-index: 2;
|
|
495
|
-
margin-bottom: calc(var(--dialog-padding) * -1);;
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
// #endregion
|
|
502
|
-
|
|
503
|
-
// #region youTube video
|
|
504
|
-
*:not(.dialog__wrapper) > dialog[open]:has(.youtube-embed){
|
|
505
|
-
|
|
506
|
-
display: block;
|
|
507
|
-
|
|
508
|
-
.mh-lg, .mh-lg:before {
|
|
509
|
-
display: contents;
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
@include media-breakpoint-up(sm) {
|
|
513
|
-
|
|
514
|
-
min-width: rem(686);
|
|
515
|
-
max-width: rem(686);
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
@include media-breakpoint-up(md) {
|
|
519
|
-
|
|
520
|
-
min-width: rem(736);
|
|
521
|
-
max-width: rem(736);
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
// #endregion
|
|
525
|
-
|
|
526
|
-
// #region popover styling
|
|
527
|
-
.dialog__wrapper {
|
|
528
|
-
|
|
529
|
-
position: relative;
|
|
530
|
-
display: inline-block;
|
|
531
|
-
margin-bottom: calc(var(--btn-margin) - 0.25rem);
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
&:has(dialog[open]) > button {
|
|
535
|
-
background: var(--colour-btn-secondary-bg-hover);
|
|
536
|
-
color: var(--colour-btn-secondary-hover);
|
|
537
|
-
filter: brightness(85%);
|
|
538
|
-
transition: background 0.1s, color 0.1s;
|
|
539
|
-
//color: var(--colour-btn);
|
|
540
|
-
border-radius: 1.5rem;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
> .btn:first-child {
|
|
544
|
-
|
|
545
|
-
margin-bottom: 0.25rem;
|
|
546
|
-
|
|
547
|
-
&:not(.btn-compact):not([class*="fa-"]):after {
|
|
548
|
-
content: "";
|
|
549
|
-
|
|
550
|
-
display: inline-block;
|
|
551
|
-
margin-left: 1em;
|
|
552
|
-
margin-bottom: -0.15em;
|
|
553
|
-
height: 1em;
|
|
554
|
-
width: 1em;
|
|
555
|
-
z-index: var(--index-focus);
|
|
556
|
-
background: currentColor;
|
|
557
|
-
mask-image: var(--icon-arrow);
|
|
558
|
-
mask-size: 100%;
|
|
559
|
-
mask-repeat: no-repeat;
|
|
560
|
-
mask-position: 50% 50%;
|
|
561
|
-
-webkit-mask-image: var(--icon-arrow);
|
|
562
|
-
-webkit-mask-size: 100%;
|
|
563
|
-
-webkit-mask-repeat: no-repeat;
|
|
564
|
-
-webkit-mask-position: 50% 50%;
|
|
565
|
-
|
|
566
|
-
transform: rotate(90deg);
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
&[aria-expanded]:not([data-number]):after {
|
|
570
|
-
|
|
571
|
-
transform: rotate(270deg);
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
> dialog[open] {
|
|
576
|
-
|
|
577
|
-
left: 0;
|
|
578
|
-
top: 100%;
|
|
579
|
-
z-index: var(--index-floating);
|
|
580
|
-
min-width: rem(320);
|
|
581
|
-
border-radius: rem(16);
|
|
582
|
-
width: rem(320);
|
|
583
|
-
padding: rem(24);
|
|
584
|
-
|
|
585
|
-
@include media-breakpoint-up(sm) {
|
|
586
|
-
width: rem(335);
|
|
587
|
-
}
|
|
588
|
-
@include media-breakpoint-up(md) {
|
|
589
|
-
width: rem(360);
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
&.dialog--list {
|
|
593
|
-
|
|
594
|
-
width: fit-content!important;
|
|
595
|
-
|
|
596
|
-
@include media-breakpoint-up(sm) {
|
|
597
|
-
width: max-content!important;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
min-width: rem(140)!important;
|
|
601
|
-
max-width: rem(280)!important;
|
|
602
|
-
padding: rem(16);
|
|
603
|
-
margin: 0;
|
|
604
|
-
|
|
605
|
-
hr {
|
|
606
|
-
height: 2px;
|
|
607
|
-
background: var(--colour-border);
|
|
608
|
-
margin-left: -#{rem(16)};
|
|
609
|
-
margin-right: -#{rem(16)};
|
|
610
|
-
margin-block: 0.25rem;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
.radio--tick {
|
|
614
|
-
margin-right: 0;
|
|
615
|
-
padding-left: 1.5rem;
|
|
616
|
-
margin-bottom: 0;
|
|
617
|
-
|
|
618
|
-
&:before {
|
|
619
|
-
left: 0;
|
|
620
|
-
font-size: 1em;
|
|
621
|
-
top: 0.75rem;
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
a {
|
|
626
|
-
|
|
627
|
-
padding: #{rem(6)};
|
|
628
|
-
|
|
629
|
-
&:not(:hover,:focus,:active){
|
|
630
|
-
border-color: transparent;
|
|
631
|
-
}
|
|
632
|
-
margin: 0;
|
|
633
|
-
|
|
634
|
-
&:after {
|
|
635
|
-
display: none;
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
.btn-action {
|
|
640
|
-
&:not(:hover,:focus,:active){
|
|
641
|
-
border-color: transparent;
|
|
642
|
-
}
|
|
643
|
-
margin: 0;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
dialog[open] {
|
|
649
|
-
display: contents;
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
&.dialog__wrapper--right > dialog[open]{
|
|
654
|
-
|
|
655
|
-
right: 0;
|
|
656
|
-
left: auto;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
&.dialog__wrapper--sm > dialog[open] {
|
|
660
|
-
|
|
661
|
-
width: rem(239);
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
&.dialog__wrapper--lg > dialog[open] {
|
|
665
|
-
|
|
666
|
-
width: rem(319);
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
@include media-breakpoint-up(sm) {
|
|
670
|
-
|
|
671
|
-
&.dialog__wrapper--sm-left > dialog[open]{
|
|
672
|
-
|
|
673
|
-
left: 0;
|
|
674
|
-
right: auto;
|
|
675
|
-
}
|
|
676
|
-
&.dialog__wrapper--sm-right > dialog[open]{
|
|
677
|
-
|
|
678
|
-
right: 0;
|
|
679
|
-
left: auto;
|
|
680
|
-
}
|
|
681
|
-
&.dialog__wrapper--sm > dialog[open] {
|
|
682
|
-
width: rem(265);
|
|
683
|
-
}
|
|
684
|
-
&.dialog__wrapper--lg > dialog[open] {
|
|
685
|
-
width: rem(452);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
@include media-breakpoint-up(md) {
|
|
690
|
-
|
|
691
|
-
&.dialog__wrapper--md-left > dialog[open]{
|
|
692
|
-
|
|
693
|
-
left: 0;
|
|
694
|
-
right: auto;
|
|
695
|
-
}
|
|
696
|
-
&.dialog__wrapper--md-right > dialog[open]{
|
|
697
|
-
|
|
698
|
-
right: 0;
|
|
699
|
-
left: auto;
|
|
700
|
-
}
|
|
701
|
-
&.dialog__wrapper--sm > dialog[open] {
|
|
702
|
-
width: rem(266);
|
|
703
|
-
}
|
|
704
|
-
&.dialog__wrapper--lg > dialog[open] {
|
|
705
|
-
width: rem(454);
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
// Show hide the indidual or multiple label
|
|
711
|
-
.dialog__wrapper :is(.empty, .individual) {
|
|
712
|
-
display: none;
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
@supports selector(:has(*)) {
|
|
716
|
-
|
|
717
|
-
.dialog__wrapper :is(.empty, .individual) {
|
|
718
|
-
display: inline;
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
.dialog__wrapper:has(input:checked) .empty,
|
|
723
|
-
.dialog__wrapper:not(:has(input:checked)) .individual,
|
|
724
|
-
.dialog__wrapper:has(input:checked ~ input:checked) .individual,
|
|
725
|
-
.dialog__wrapper:not(:has(input:checked ~ input:checked)) .multiple {
|
|
726
|
-
|
|
727
|
-
display: none;
|
|
728
|
-
}
|
|
729
|
-
// #endregion
|
|
730
|
-
|
|
731
|
-
// #region mobile fullwidth view
|
|
732
|
-
@media screen and (max-width: 36em) {
|
|
733
|
-
|
|
734
|
-
dialog[open].dialog--sm-fullpage,
|
|
735
|
-
.js-enabled *:not(.dialog__wrapper) > dialog[open].dialog--multi {
|
|
736
|
-
|
|
737
|
-
min-width: 100%;
|
|
738
|
-
min-height: 100%;
|
|
739
|
-
border-radius: 0;
|
|
740
|
-
overflow-y: auto;
|
|
741
|
-
|
|
742
|
-
.btn--wrapper {
|
|
743
|
-
padding-top: rem(64);
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
dialog[open].dialog--sm-fullpage {
|
|
748
|
-
|
|
749
|
-
.mh-lg {
|
|
750
|
-
max-height: none!important;
|
|
751
|
-
overflow: visible;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
&:before,
|
|
755
|
-
*:first-child {
|
|
756
|
-
margin-top: auto!important;
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
*:last-child {
|
|
760
|
-
|
|
761
|
-
margin-bottom: auto!important;
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
// #endregion
|
|
766
|
-
|
|
767
|
-
// #region admin panel dialog
|
|
768
|
-
dialog:has(> .admin-panel) {
|
|
769
|
-
|
|
770
|
-
.dialog__close {
|
|
771
|
-
margin-top: -0.8rem;
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
dialog > .admin-panel {
|
|
775
|
-
margin: -1rem calc(var(--dialog-padding) * -1) calc(var(--dialog-padding) * -1) calc(var(--dialog-padding) * -1)!important;
|
|
776
|
-
padding-top: 0;
|
|
777
|
-
|
|
778
|
-
&:last-child {
|
|
779
|
-
|
|
780
|
-
margin-bottom: calc(var(--dialog-padding) * -1);
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
// #endregion
|