@iamproperty/components 3.4.6 → 3.5.0
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/LICENSE +22 -0
- package/assets/bootstrap/README.md +246 -0
- package/assets/bootstrap/js/src/alert.js +87 -0
- package/assets/bootstrap/js/src/base-component.js +85 -0
- package/assets/bootstrap/js/src/button.js +72 -0
- package/assets/bootstrap/js/src/carousel.js +475 -0
- package/assets/bootstrap/js/src/collapse.js +302 -0
- package/assets/bootstrap/js/src/dom/data.js +55 -0
- package/assets/bootstrap/js/src/dom/event-handler.js +320 -0
- package/assets/bootstrap/js/src/dom/manipulator.js +71 -0
- package/assets/bootstrap/js/src/dom/selector-engine.js +83 -0
- package/assets/bootstrap/js/src/dropdown.js +454 -0
- package/assets/bootstrap/js/src/modal.js +377 -0
- package/assets/bootstrap/js/src/offcanvas.js +283 -0
- package/assets/bootstrap/js/src/popover.js +97 -0
- package/assets/bootstrap/js/src/scrollspy.js +294 -0
- package/assets/bootstrap/js/src/tab.js +305 -0
- package/assets/bootstrap/js/src/toast.js +225 -0
- package/assets/bootstrap/js/src/tooltip.js +633 -0
- package/assets/bootstrap/js/src/util/backdrop.js +149 -0
- package/assets/bootstrap/js/src/util/component-functions.js +34 -0
- package/assets/bootstrap/js/src/util/config.js +66 -0
- package/assets/bootstrap/js/src/util/focustrap.js +115 -0
- package/assets/bootstrap/js/src/util/index.js +336 -0
- package/assets/bootstrap/js/src/util/sanitizer.js +118 -0
- package/assets/bootstrap/js/src/util/scrollbar.js +114 -0
- package/assets/bootstrap/js/src/util/swipe.js +146 -0
- package/assets/bootstrap/js/src/util/template-factory.js +160 -0
- package/assets/bootstrap/package.json +181 -0
- package/assets/bootstrap/scss/_accordion.scss +149 -0
- package/assets/bootstrap/scss/_alert.scss +71 -0
- package/assets/bootstrap/scss/_badge.scss +38 -0
- package/assets/bootstrap/scss/_breadcrumb.scss +40 -0
- package/assets/bootstrap/scss/_button-group.scss +142 -0
- package/assets/bootstrap/scss/_buttons.scss +207 -0
- package/assets/bootstrap/scss/_card.scss +234 -0
- package/assets/bootstrap/scss/_carousel.scss +226 -0
- package/assets/bootstrap/scss/_close.scss +40 -0
- package/assets/bootstrap/scss/_containers.scss +41 -0
- package/assets/bootstrap/scss/_dropdown.scss +249 -0
- package/assets/bootstrap/scss/_forms.scss +9 -0
- package/assets/bootstrap/scss/_functions.scss +302 -0
- package/assets/bootstrap/scss/_grid.scss +33 -0
- package/assets/bootstrap/scss/_helpers.scss +10 -0
- package/assets/bootstrap/scss/_images.scss +42 -0
- package/assets/bootstrap/scss/_list-group.scss +192 -0
- package/assets/bootstrap/scss/_maps.scss +54 -0
- package/assets/bootstrap/scss/_mixins.scss +43 -0
- package/assets/bootstrap/scss/_modal.scss +237 -0
- package/assets/bootstrap/scss/_nav.scss +172 -0
- package/assets/bootstrap/scss/_navbar.scss +278 -0
- package/assets/bootstrap/scss/_offcanvas.scss +144 -0
- package/assets/bootstrap/scss/_pagination.scss +109 -0
- package/assets/bootstrap/scss/_placeholders.scss +51 -0
- package/assets/bootstrap/scss/_popover.scss +196 -0
- package/assets/bootstrap/scss/_progress.scss +59 -0
- package/assets/bootstrap/scss/_reboot.scss +610 -0
- package/assets/bootstrap/scss/_root.scss +73 -0
- package/assets/bootstrap/scss/_spinners.scss +85 -0
- package/assets/bootstrap/scss/_tables.scss +164 -0
- package/assets/bootstrap/scss/_toasts.scss +73 -0
- package/assets/bootstrap/scss/_tooltip.scss +120 -0
- package/assets/bootstrap/scss/_transitions.scss +27 -0
- package/assets/bootstrap/scss/_type.scss +106 -0
- package/assets/bootstrap/scss/_utilities.scss +647 -0
- package/assets/bootstrap/scss/_variables.scss +1634 -0
- package/assets/bootstrap/scss/bootstrap-grid.scss +64 -0
- package/assets/bootstrap/scss/bootstrap-reboot.scss +9 -0
- package/assets/bootstrap/scss/bootstrap-utilities.scss +18 -0
- package/assets/bootstrap/scss/bootstrap.scss +51 -0
- package/assets/bootstrap/scss/forms/_floating-labels.scss +75 -0
- package/assets/bootstrap/scss/forms/_form-check.scss +175 -0
- package/assets/bootstrap/scss/forms/_form-control.scss +194 -0
- package/assets/bootstrap/scss/forms/_form-range.scss +91 -0
- package/assets/bootstrap/scss/forms/_form-select.scss +71 -0
- package/assets/bootstrap/scss/forms/_form-text.scss +11 -0
- package/assets/bootstrap/scss/forms/_input-group.scss +132 -0
- package/assets/bootstrap/scss/forms/_labels.scss +36 -0
- package/assets/bootstrap/scss/forms/_validation.scss +12 -0
- package/assets/bootstrap/scss/helpers/_clearfix.scss +3 -0
- package/assets/bootstrap/scss/helpers/_color-bg.scss +10 -0
- package/assets/bootstrap/scss/helpers/_colored-links.scss +12 -0
- package/assets/bootstrap/scss/helpers/_position.scss +36 -0
- package/assets/bootstrap/scss/helpers/_ratio.scss +26 -0
- package/assets/bootstrap/scss/helpers/_stacks.scss +15 -0
- package/assets/bootstrap/scss/helpers/_stretched-link.scss +15 -0
- package/assets/bootstrap/scss/helpers/_text-truncation.scss +7 -0
- package/assets/bootstrap/scss/helpers/_visually-hidden.scss +8 -0
- package/assets/bootstrap/scss/helpers/_vr.scss +8 -0
- package/assets/bootstrap/scss/mixins/_alert.scss +15 -0
- package/assets/bootstrap/scss/mixins/_backdrop.scss +14 -0
- package/assets/bootstrap/scss/mixins/_banner.scss +9 -0
- package/assets/bootstrap/scss/mixins/_border-radius.scss +78 -0
- package/assets/bootstrap/scss/mixins/_box-shadow.scss +18 -0
- package/assets/bootstrap/scss/mixins/_breakpoints.scss +127 -0
- package/assets/bootstrap/scss/mixins/_buttons.scss +70 -0
- package/assets/bootstrap/scss/mixins/_caret.scss +64 -0
- package/assets/bootstrap/scss/mixins/_clearfix.scss +9 -0
- package/assets/bootstrap/scss/mixins/_color-scheme.scss +7 -0
- package/assets/bootstrap/scss/mixins/_container.scss +11 -0
- package/assets/bootstrap/scss/mixins/_deprecate.scss +10 -0
- package/assets/bootstrap/scss/mixins/_forms.scss +152 -0
- package/assets/bootstrap/scss/mixins/_gradients.scss +47 -0
- package/assets/bootstrap/scss/mixins/_grid.scss +151 -0
- package/assets/bootstrap/scss/mixins/_image.scss +16 -0
- package/assets/bootstrap/scss/mixins/_list-group.scss +24 -0
- package/assets/bootstrap/scss/mixins/_lists.scss +7 -0
- package/assets/bootstrap/scss/mixins/_pagination.scss +10 -0
- package/assets/bootstrap/scss/mixins/_reset-text.scss +17 -0
- package/assets/bootstrap/scss/mixins/_resize.scss +6 -0
- package/assets/bootstrap/scss/mixins/_table-variants.scss +24 -0
- package/assets/bootstrap/scss/mixins/_text-truncate.scss +8 -0
- package/assets/bootstrap/scss/mixins/_transition.scss +26 -0
- package/assets/bootstrap/scss/mixins/_utilities.scss +97 -0
- package/assets/bootstrap/scss/mixins/_visually-hidden.scss +29 -0
- package/assets/bootstrap/scss/utilities/_api.scss +47 -0
- package/assets/bootstrap/scss/vendor/_rfs.scss +354 -0
- package/assets/css/components/accordion.css +1 -1
- package/assets/css/components/accordion.css.map +1 -1
- package/assets/css/components/admin-panel.css +1 -0
- package/assets/css/components/admin-panel.css.map +1 -0
- package/assets/css/components/alert.css +1 -1
- package/assets/css/components/alert.css.map +1 -1
- package/assets/css/components/applied-filters.css +1 -0
- package/assets/css/components/applied-filters.css.map +1 -0
- package/assets/css/components/card.css +1 -1
- package/assets/css/components/card.css.map +1 -1
- package/assets/css/components/carousel.css +1 -1
- package/assets/css/components/carousel.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/container.css +1 -1
- package/assets/css/components/container.css.map +1 -1
- package/assets/css/components/dialog.css +1 -0
- package/assets/css/components/dialog.css.map +1 -0
- package/assets/css/components/forms.css +1 -1
- package/assets/css/components/forms.css.map +1 -1
- package/assets/css/components/header.css +1 -1
- package/assets/css/components/header.css.map +1 -1
- package/assets/css/components/lists.css +1 -1
- package/assets/css/components/lists.css.map +1 -1
- package/assets/css/components/nav.css +1 -1
- package/assets/css/components/nav.css.map +1 -1
- package/assets/css/components/pagination.css +1 -0
- package/assets/css/components/pagination.css.map +1 -0
- package/assets/css/components/property-searchbar.css +1 -1
- package/assets/css/components/property-searchbar.css.map +1 -1
- package/assets/css/components/stepper.css +1 -1
- package/assets/css/components/stepper.css.map +1 -1
- package/assets/css/components/table.css +1 -0
- package/assets/css/components/table.css.map +1 -0
- package/assets/css/components/tabs.css +1 -1
- package/assets/css/components/tabs.css.map +1 -1
- package/assets/css/components/tooltips.css +1 -1
- package/assets/css/components/tooltips.css.map +1 -1
- 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/bundle.js +18 -11
- package/assets/js/components/accordion/accordion.component.js +6 -0
- package/assets/js/components/accordion/accordion.component.min.js +3 -3
- package/assets/js/components/accordion/accordion.component.min.js.map +1 -1
- package/assets/js/components/applied-filters/applied-filters.component.js +26 -0
- package/assets/js/components/card/card.component.js +91 -0
- package/assets/js/components/card/card.component.min.js +21 -0
- package/assets/js/components/card/card.component.min.js.map +1 -0
- package/assets/js/components/filterlist/filterlist.component.js +49 -0
- package/assets/js/components/filterlist/filterlist.component.min.js +23 -0
- package/assets/js/components/filterlist/filterlist.component.min.js.map +1 -0
- package/assets/js/components/header/header.component.js +6 -0
- package/assets/js/components/header/header.component.min.js +5 -5
- package/assets/js/components/header/header.component.min.js.map +1 -1
- package/assets/js/components/pagination/pagination.component.js +34 -0
- package/assets/js/components/table/table.component.js +108 -0
- package/assets/js/components/table/table.component.min.js +24 -0
- package/assets/js/components/table/table.component.min.js.map +1 -0
- package/assets/js/components/tabs/tabs.component.js +6 -0
- package/assets/js/components/tabs/tabs.component.min.js +17 -0
- package/assets/js/components/tabs/tabs.component.min.js.map +1 -0
- package/assets/js/dynamic.js +7 -18
- package/assets/js/dynamic.min.js +2 -53
- package/assets/js/dynamic.min.js.map +1 -1
- package/assets/js/flat-components.js +27 -9
- package/assets/js/modules/applied-filters.js +100 -0
- package/assets/js/modules/data-layer.js +45 -0
- package/assets/js/modules/filterlist.js +32 -0
- package/assets/js/modules/helpers.js +102 -49
- package/assets/js/modules/pagination.js +33 -0
- package/assets/js/modules/table.js +506 -420
- package/assets/js/modules/tabs.js +6 -0
- package/assets/js/modules/youtubevideo.js +53 -61
- package/assets/js/scripts.bundle.js +77 -62
- 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/tests/filterlist.spec.js +22 -0
- package/assets/js/tests/pagination.spec.js +15 -0
- package/assets/js/tests/table.spec.js +149 -0
- package/assets/sass/_components.scss +1 -2
- package/assets/sass/_corefiles.scss +20 -19
- package/assets/sass/_forms.scss +7 -7
- package/assets/sass/_functions/functions.scss +1 -1
- package/assets/sass/_functions/mixins.scss +19 -21
- package/assets/sass/_functions/utilities.scss +67 -9
- package/assets/sass/_functions/variables.scss +109 -55
- package/assets/sass/_tests/colours.spec.scss +8 -22
- package/assets/sass/components/accordion.scss +13 -0
- package/assets/sass/components/admin-panel.scss +106 -0
- package/assets/sass/components/alert.scss +22 -0
- package/assets/sass/components/applied-filters.scss +65 -0
- package/assets/sass/components/card.scss +177 -233
- package/assets/sass/components/carousel.scss +72 -0
- package/assets/sass/components/charts.scss +41 -1
- package/assets/sass/components/container.scss +8 -3
- package/assets/sass/components/dialog.scss +208 -0
- package/assets/sass/components/forms.scss +37 -5
- package/assets/sass/components/lists.scss +29 -0
- package/assets/sass/components/nav.scss +6 -2
- package/assets/sass/components/pagination.scss +140 -0
- package/assets/sass/components/stepper.scss +3 -3
- package/assets/sass/components/table.scss +423 -0
- package/assets/sass/components/tabs.scss +20 -7
- package/assets/sass/components/tooltips.scss +1 -1
- package/assets/sass/foundations/buttons.scss +366 -0
- package/assets/sass/foundations/icons.scss +1 -1
- package/assets/sass/foundations/links.scss +125 -0
- package/assets/sass/foundations/media.scss +1 -1
- package/assets/sass/foundations/reboot.scss +21 -17
- package/assets/sass/foundations/root.scss +9 -29
- package/assets/sass/foundations/type.scss +1 -1
- package/assets/svg/illustrations/table.svg +165 -0
- package/assets/ts/bundle.ts +23 -12
- package/assets/ts/components/accordion/accordion.component.ts +7 -0
- package/assets/ts/components/applied-filters/README.md +5 -0
- package/assets/ts/components/applied-filters/applied-filters.component.ts +33 -0
- package/assets/ts/components/card/README.md +22 -0
- package/assets/ts/components/card/card.component.ts +117 -0
- package/assets/ts/components/filterlist/README.md +17 -0
- package/assets/ts/components/filterlist/filterlist.component.ts +60 -0
- package/assets/ts/components/header/header.component.ts +8 -0
- package/assets/ts/components/pagination/README.md +11 -0
- package/assets/ts/components/pagination/pagination.component.ts +45 -0
- package/assets/ts/components/table/README.md +23 -0
- package/assets/ts/components/table/table.component.ts +133 -0
- package/assets/ts/components/tabs/tabs.component.ts +7 -0
- package/assets/ts/dynamic.ts +12 -19
- package/assets/ts/flat-components.ts +37 -9
- package/assets/ts/modules/applied-filters.ts +146 -0
- package/assets/ts/modules/data-layer.ts +58 -0
- package/assets/ts/modules/filterlist.ts +46 -0
- package/assets/ts/modules/helpers.ts +129 -58
- package/assets/ts/modules/pagination.ts +44 -0
- package/assets/ts/modules/table.ts +598 -433
- package/assets/ts/modules/tabs.ts +8 -1
- package/assets/ts/modules/youtubevideo.ts +58 -63
- package/assets/ts/tests/filterlist.spec.ts +29 -0
- package/assets/ts/tests/pagination.spec.ts +21 -0
- package/assets/ts/tests/table.spec.ts +194 -0
- package/dist/components.es.js +1267 -1295
- package/dist/components.umd.js +70 -65
- package/dist/style.css +1 -1
- package/package.json +8 -5
- package/src/components/AppliedFilters/AppliedFilters.vue +20 -0
- package/src/components/AppliedFilters/README.md +5 -0
- package/src/components/Card/Card.vue +11 -112
- package/src/components/Card/README.md +16 -18
- package/src/components/Carousel/Carousel.vue +49 -10
- package/src/components/Chart/Chart.vue +46 -4
- package/src/components/Filterlist/Filterlist.vue +20 -0
- package/src/components/Filterlist/README.md +17 -0
- package/src/components/Pagination/Pagination.vue +30 -0
- package/src/components/Pagination/README.md +11 -0
- package/src/components/Table/README.md +29 -44
- package/src/components/Table/Table.spec.js +5 -37
- package/src/components/Table/Table.vue +16 -91
- package/src/foundations/YoutubeVideo/YoutubeVideo.vue +1 -1
- package/src/index.js +3 -2
- package/assets/css/components/buttons.css +0 -1
- package/assets/css/components/buttons.css.map +0 -1
- package/assets/css/components/cardDeck.css +0 -1
- package/assets/css/components/cardDeck.css.map +0 -1
- package/assets/css/components/links.css +0 -1
- package/assets/css/components/links.css.map +0 -1
- package/assets/css/components/modal.css +0 -1
- package/assets/css/components/modal.css.map +0 -1
- package/assets/css/components/panel.css +0 -1
- package/assets/css/components/panel.css.map +0 -1
- package/assets/css/components/tables.css +0 -1
- package/assets/css/components/tables.css.map +0 -1
- package/assets/js/modules/modal.js +0 -69
- package/assets/sass/components/buttons.scss +0 -252
- package/assets/sass/components/cardDeck.scss +0 -108
- package/assets/sass/components/links.scss +0 -99
- package/assets/sass/components/modal.scss +0 -136
- package/assets/sass/components/panel.scss +0 -161
- package/assets/sass/components/tables.scss +0 -291
- package/assets/ts/modules/modal.ts +0 -91
- package/src/components/CardDeck/CardDeck.spec.js +0 -99
- package/src/components/CardDeck/CardDeck.vue +0 -77
- package/src/components/CardDeck/README.md +0 -25
- package/src/components/Modal/Modal.spec.js +0 -22
- package/src/components/Modal/Modal.vue +0 -43
- package/src/components/Modal/README.md +0 -20
|
@@ -1,296 +1,240 @@
|
|
|
1
1
|
@use "../_func.scss" as *;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
// #region Defaul Card
|
|
6
|
-
// Reset the link
|
|
7
|
-
a.card {
|
|
8
|
-
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
|
|
11
|
-
&:before {
|
|
12
|
-
display: none;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.card:not(.card--simple) {
|
|
17
|
-
|
|
18
|
-
@include reset-colours();
|
|
19
|
-
}
|
|
3
|
+
// #region Default card
|
|
20
4
|
.card {
|
|
5
|
+
--top-padding: 2rem;
|
|
6
|
+
--right-padding: #{rem(16+16+24)};
|
|
7
|
+
--bottom-padding: 2rem;
|
|
8
|
+
--left-padding: 1rem;
|
|
9
|
+
--icon-right: 1rem;
|
|
21
10
|
|
|
22
|
-
|
|
23
|
-
box-shadow:
|
|
11
|
+
position: relative;
|
|
12
|
+
box-shadow: 2px 6px 12px rgba(0,0,0,0.2);
|
|
13
|
+
border-radius: rem(8);
|
|
14
|
+
font-weight: bold;
|
|
15
|
+
font-size: rem(18);
|
|
16
|
+
line-height: rem(24);
|
|
17
|
+
color: var(--colour-primary);
|
|
24
18
|
min-height: 100%;
|
|
19
|
+
width: 100%;
|
|
20
|
+
text-align: left;
|
|
21
|
+
display: block;
|
|
25
22
|
overflow: hidden;
|
|
26
|
-
|
|
23
|
+
z-index: 0;
|
|
24
|
+
background: #ffffff;
|
|
27
25
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
padding
|
|
26
|
+
&.border-0 {
|
|
27
|
+
box-shadow: none;
|
|
28
|
+
--left-padding: 0rem;
|
|
29
|
+
outline-offset: 1px!important;
|
|
31
30
|
}
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
color: var(--colour-hover)!important;
|
|
39
|
-
}
|
|
32
|
+
&__body {
|
|
33
|
+
|
|
34
|
+
position: relative;
|
|
35
|
+
padding: var(--top-padding) var(--right-padding) var(--bottom-padding) var(--left-padding);
|
|
36
|
+
z-index: -1;
|
|
40
37
|
}
|
|
41
38
|
|
|
42
|
-
&:
|
|
43
|
-
|
|
39
|
+
&:before,
|
|
40
|
+
&:after {
|
|
41
|
+
content: "";
|
|
42
|
+
position: absolute;
|
|
43
|
+
right: var(--icon-right);
|
|
44
|
+
bottom: var(--bottom-padding);
|
|
45
|
+
height: rem(24);
|
|
46
|
+
width: rem(24);
|
|
47
|
+
background: var(--colour-warning);
|
|
48
|
+
border-radius: 50%;
|
|
44
49
|
}
|
|
45
|
-
}
|
|
46
50
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
&:after {
|
|
52
|
+
background: var(--colour-primary);
|
|
53
|
+
mask-image: var(--icon-arrow);
|
|
54
|
+
mask-size: 50%;
|
|
55
|
+
mask-repeat: no-repeat;
|
|
56
|
+
mask-position: 50% 50%;
|
|
57
|
+
-webkit-mask-image: var(--icon-arrow);
|
|
58
|
+
-webkit-mask-size: 50%;
|
|
59
|
+
-webkit-mask-repeat: no-repeat;
|
|
60
|
+
-webkit-mask-position: 50% 50%;
|
|
61
|
+
z-index: 2;
|
|
62
|
+
}
|
|
53
63
|
|
|
54
|
-
|
|
64
|
+
&:is(:hover,:focus,.hover) {
|
|
65
|
+
--icon-right: 0.5rem;
|
|
66
|
+
outline: 2px solid var(--colour-primary);
|
|
67
|
+
outline-offset: -2px;
|
|
55
68
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
69
|
+
&:before {
|
|
70
|
+
background: var(--colour-primary);
|
|
71
|
+
}
|
|
72
|
+
&:after {
|
|
73
|
+
background: #ffffff;
|
|
74
|
+
}
|
|
61
75
|
}
|
|
62
76
|
|
|
63
|
-
.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-wrap: nowrap;
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
align-items: flex-start;
|
|
77
|
-
justify-content: space-between;
|
|
77
|
+
&:is(:active, .active){
|
|
78
|
+
--icon-right: 0.5rem;
|
|
79
|
+
outline: none;
|
|
80
|
+
|
|
81
|
+
&:before {
|
|
82
|
+
background: var(--colour-warning);
|
|
83
|
+
}
|
|
84
|
+
&:after {
|
|
85
|
+
background: var(--colour-primary);
|
|
86
|
+
}
|
|
78
87
|
}
|
|
79
88
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
top: 0;
|
|
83
|
-
right: 0;
|
|
84
|
-
left: auto;
|
|
85
|
-
height: 3.5rem;
|
|
86
|
-
width: 8rem;
|
|
87
|
-
object-fit: contain;
|
|
88
|
-
object-position: right;
|
|
89
|
+
&:is(:active){
|
|
90
|
+
background: #FCFCFC;
|
|
89
91
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
padding: 0.5rem;
|
|
94
|
-
|
|
95
|
-
&__tag {
|
|
96
|
-
|
|
97
|
-
position: absolute;
|
|
98
|
-
top: 0;
|
|
99
|
-
left: 0;
|
|
100
|
-
background-color: var(--colour-secondary);
|
|
101
|
-
font-size: rem(14);
|
|
92
|
+
|
|
93
|
+
span {
|
|
94
|
+
display: block;
|
|
102
95
|
font-weight: bold;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
border-radius: 50%;
|
|
106
|
-
transform: translate(-0.25rem,-1.25rem) rotate(-25deg);
|
|
107
|
-
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15)!important;
|
|
108
|
-
|
|
96
|
+
padding-top: rem(24);
|
|
97
|
+
font-size: rem(16);
|
|
109
98
|
}
|
|
110
|
-
}
|
|
111
99
|
|
|
112
|
-
.
|
|
100
|
+
&:has(.card__illustration) .card__body {
|
|
113
101
|
|
|
114
|
-
|
|
102
|
+
align-items: center;
|
|
103
|
+
display: flex;
|
|
115
104
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
105
|
+
.card__illustration {
|
|
106
|
+
height: rem(64);
|
|
107
|
+
width: rem(64);
|
|
108
|
+
margin-right: rem(24);
|
|
109
|
+
margin-top: rem(-20);
|
|
110
|
+
margin-bottom: rem(-20);
|
|
111
|
+
position: relative;
|
|
112
|
+
|
|
113
|
+
img {
|
|
114
|
+
position: absolute;
|
|
115
|
+
top: 0;
|
|
116
|
+
left: 0;
|
|
117
|
+
width: 100%;
|
|
118
|
+
height: 100%;
|
|
119
|
+
object-fit: contain;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
|
|
122
|
-
.card-footer {
|
|
123
|
-
padding-top: 0;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Add a default margin bottom
|
|
127
|
-
.row:not([class*="g-"]) .card {
|
|
128
125
|
|
|
129
|
-
|
|
126
|
+
::slotted(i){
|
|
127
|
+
|
|
128
|
+
font-size: rem(18)!important;
|
|
129
|
+
height: rem(18)!important;
|
|
130
|
+
margin: 0 0 0.5rem 0!important;
|
|
131
|
+
font-weight: 400!important;
|
|
132
|
+
display: block!important;
|
|
130
133
|
}
|
|
131
|
-
// #endregion
|
|
132
|
-
|
|
133
|
-
// #region Simple card variant
|
|
134
|
-
.card--simple {
|
|
135
134
|
|
|
136
|
-
|
|
137
|
-
min-height: 0;
|
|
138
|
-
background: none;
|
|
135
|
+
::slotted(span){
|
|
139
136
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.card-body {
|
|
147
|
-
padding-top: 0;
|
|
148
|
-
}
|
|
149
|
-
.card-body,
|
|
150
|
-
.card-footer {
|
|
151
|
-
padding-left: 0;
|
|
152
|
-
padding-right: 0;
|
|
153
|
-
}
|
|
137
|
+
display: block;
|
|
138
|
+
font-weight: normal;
|
|
139
|
+
padding-top: rem(24);
|
|
140
|
+
font-size: rem(16);
|
|
154
141
|
}
|
|
155
142
|
// #endregion
|
|
156
143
|
|
|
157
|
-
|
|
158
|
-
.card--
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
display: none;
|
|
164
|
-
}
|
|
144
|
+
//#region Filter card
|
|
145
|
+
.card--filter {
|
|
146
|
+
--top-padding: #{rem(24)};
|
|
147
|
+
--right-padding: 1rem;
|
|
148
|
+
--bottom-padding: #{rem(24)};
|
|
149
|
+
--left-padding: 1rem;
|
|
165
150
|
|
|
166
|
-
|
|
167
|
-
margin-bottom: 0;
|
|
168
|
-
padding-bottom: 0;
|
|
169
|
-
padding-left: 2em;
|
|
170
|
-
position: relative;
|
|
151
|
+
border-left: rem(12) solid var(--colour,var(--colour-primary));
|
|
171
152
|
|
|
172
|
-
|
|
173
|
-
&:after {
|
|
174
|
-
|
|
175
|
-
content: "";
|
|
176
|
-
position: absolute;
|
|
177
|
-
left: 0;
|
|
178
|
-
top: 0;
|
|
179
|
-
width: 1.2em;
|
|
180
|
-
height: 1.2em;
|
|
181
|
-
}
|
|
182
|
-
&:before {
|
|
183
|
-
|
|
184
|
-
left: 0.05em;
|
|
185
|
-
background: currentColor;
|
|
186
|
-
mask-image: escape-svg($accordion-button-icon);
|
|
187
|
-
mask-size: 50%;
|
|
188
|
-
mask-repeat: no-repeat;
|
|
189
|
-
mask-position: 50% 50%;
|
|
190
|
-
|
|
191
|
-
-webkit-mask-image: escape-svg($accordion-button-icon);
|
|
192
|
-
-webkit-mask-size: 50%;
|
|
193
|
-
-webkit-mask-repeat: no-repeat;
|
|
194
|
-
-webkit-mask-position: 50% 50%;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&:after {
|
|
198
|
-
border: 2px solid currentColor;
|
|
199
|
-
border-radius: 50%;
|
|
200
|
-
}
|
|
153
|
+
&:has(.card__total) .card__body{
|
|
201
154
|
|
|
155
|
+
align-items: center;
|
|
156
|
+
display: flex;
|
|
202
157
|
}
|
|
203
|
-
}
|
|
204
|
-
// #endregion
|
|
205
|
-
|
|
206
|
-
// #region Small cards
|
|
207
|
-
.card--small {
|
|
208
158
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
align-items: center;
|
|
212
|
-
padding-inline: 0.5rem;
|
|
213
|
-
|
|
214
|
-
.card-header__wrapper,
|
|
215
|
-
.card-body > *:not(.card-title) {
|
|
159
|
+
&:before,
|
|
160
|
+
&:after {
|
|
216
161
|
display: none;
|
|
217
162
|
}
|
|
218
163
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
164
|
+
&:is(:hover,:focus,.hover) {
|
|
165
|
+
outline: none;
|
|
166
|
+
background: #EEEEEE;
|
|
167
|
+
|
|
168
|
+
.card__body {
|
|
169
|
+
background: #EEEEEE;
|
|
170
|
+
}
|
|
226
171
|
}
|
|
227
172
|
|
|
228
|
-
.
|
|
229
|
-
|
|
230
|
-
|
|
173
|
+
&:is(:active, .active){
|
|
174
|
+
outline: 2px solid var(--colour,var(--colour-primary));
|
|
175
|
+
outline-offset: -2px;
|
|
231
176
|
|
|
232
|
-
|
|
233
|
-
|
|
177
|
+
.card__body {
|
|
178
|
+
background: #ffffff;
|
|
234
179
|
}
|
|
235
180
|
}
|
|
236
181
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
height: 1em;
|
|
241
|
-
width: 1em;
|
|
242
|
-
margin-left: 0.5em;
|
|
243
|
-
margin-right: -0.5em;
|
|
244
|
-
display: inline-block;
|
|
245
|
-
vertical-align: baseline;
|
|
246
|
-
margin-bottom: -0.15em;
|
|
247
|
-
|
|
248
|
-
mask-image: var(--icon-arrow);
|
|
249
|
-
mask-size: 100% 100%;
|
|
250
|
-
mask-repeat: no-repeat;
|
|
251
|
-
mask-position: 0 0;
|
|
252
|
-
|
|
253
|
-
-webkit-mask-image: var(--icon-arrow);
|
|
254
|
-
-webkit-mask-size: 100% 100%;
|
|
255
|
-
-webkit-mask-repeat: no-repeat;
|
|
256
|
-
-webkit-mask-position: 0 0;
|
|
257
|
-
background-color: currentColor;
|
|
182
|
+
&.card--has-icon {
|
|
183
|
+
--bottom-padding: #{rem(16)};
|
|
184
|
+
border: none;
|
|
258
185
|
}
|
|
259
186
|
|
|
187
|
+
.icon {
|
|
188
|
+
font-size: rem(18)!important;
|
|
189
|
+
height: rem(18)!important;
|
|
190
|
+
margin: 0 0 0.5rem 0!important;
|
|
191
|
+
font-weight: 400!important;
|
|
192
|
+
display: block!important;
|
|
193
|
+
}
|
|
260
194
|
|
|
261
|
-
|
|
195
|
+
.card__total {
|
|
196
|
+
font-size: rem(48);
|
|
197
|
+
line-height: rem(48);
|
|
198
|
+
padding-right: rem(16);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
// #endregion
|
|
262
202
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
203
|
+
// #region card with an image
|
|
204
|
+
.card:has(.card__head) {
|
|
205
|
+
.card__head {
|
|
206
|
+
padding-bottom: 0;
|
|
207
|
+
padding-top: 55%;
|
|
208
|
+
position: relative;
|
|
209
|
+
overflow: hidden;
|
|
210
|
+
background: rgba(0,0,0,0.1);
|
|
211
|
+
z-index: -1;
|
|
212
|
+
|
|
213
|
+
> img {
|
|
214
|
+
position: absolute;
|
|
215
|
+
top: 0;
|
|
216
|
+
left: 0;
|
|
217
|
+
width: 101%;
|
|
218
|
+
height: 101%;
|
|
219
|
+
object-fit: cover;
|
|
267
220
|
}
|
|
268
221
|
}
|
|
269
222
|
}
|
|
223
|
+
// #endregion
|
|
270
224
|
|
|
271
|
-
|
|
272
|
-
.card
|
|
273
|
-
.card--success {
|
|
274
|
-
position: relative;
|
|
275
|
-
padding-left: 1.5rem;
|
|
225
|
+
//#region card with a footer
|
|
226
|
+
.card:has(.card__footer){
|
|
276
227
|
|
|
277
228
|
&:after {
|
|
229
|
+
display: none;
|
|
230
|
+
}
|
|
278
231
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
232
|
+
.card__footer {
|
|
233
|
+
position: relative;
|
|
234
|
+
background: #ffffff;
|
|
235
|
+
padding: var(--top-padding) var(--right-padding) var(--bottom-padding) var(--left-padding);
|
|
236
|
+
z-index: -1;
|
|
283
237
|
display: block;
|
|
284
|
-
position: absolute;
|
|
285
|
-
top: 0;
|
|
286
|
-
left: 0;
|
|
287
238
|
}
|
|
288
239
|
}
|
|
289
|
-
|
|
290
|
-
.card--warning:after {
|
|
291
|
-
background: var(--colour-warning);
|
|
292
|
-
}
|
|
293
|
-
.card--success:after {
|
|
294
|
-
background: var(--colour-success);
|
|
295
|
-
}
|
|
296
|
-
// #endregion
|
|
240
|
+
//#endregion
|
|
@@ -51,6 +51,78 @@ body.js-enabled .carousel__inner::-webkit-scrollbar {
|
|
|
51
51
|
}
|
|
52
52
|
// #endregion
|
|
53
53
|
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
// #region Direction button
|
|
57
|
+
.btn-next,
|
|
58
|
+
.btn-prev {
|
|
59
|
+
--marker-bg: var(--colour-secondary);
|
|
60
|
+
text-indent: 100%;
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
background: var(--marker-bg);
|
|
64
|
+
border-radius: 100%;
|
|
65
|
+
width: rem(36);
|
|
66
|
+
height: rem(36);
|
|
67
|
+
|
|
68
|
+
@include media-breakpoint-up(md) {
|
|
69
|
+
|
|
70
|
+
width: rem(48);
|
|
71
|
+
height: rem(48);
|
|
72
|
+
}
|
|
73
|
+
text-indent: -300rem;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
border: none;
|
|
76
|
+
position: relative;
|
|
77
|
+
margin: 0 rem(8);
|
|
78
|
+
padding: 0;
|
|
79
|
+
|
|
80
|
+
&:disabled {
|
|
81
|
+
opacity: 0.8;
|
|
82
|
+
pointer-events: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:after {
|
|
86
|
+
content: "";
|
|
87
|
+
position: absolute;
|
|
88
|
+
right: 0;
|
|
89
|
+
top: 0;
|
|
90
|
+
height: 100%;
|
|
91
|
+
width: 100%;
|
|
92
|
+
background: currentColor;
|
|
93
|
+
mask-image: escape-svg($accordion-button-icon);
|
|
94
|
+
mask-size: 50%;
|
|
95
|
+
mask-repeat: no-repeat;
|
|
96
|
+
mask-position: 50% 60%;
|
|
97
|
+
-webkit-mask-image: escape-svg($accordion-button-icon);
|
|
98
|
+
-webkit-mask-size: 50%;
|
|
99
|
+
-webkit-mask-repeat: no-repeat;
|
|
100
|
+
-webkit-mask-position: 55% 50%;
|
|
101
|
+
transform: rotate(0deg);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&:hover,
|
|
105
|
+
&:focus {
|
|
106
|
+
|
|
107
|
+
background: var(--colour-warning);
|
|
108
|
+
color: var(--colour-hover);
|
|
109
|
+
border-radius: 100%;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&:active {
|
|
113
|
+
border-radius: 100%;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.btn-prev {
|
|
118
|
+
&:after {
|
|
119
|
+
|
|
120
|
+
transform: rotate(180deg);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
// #endregion
|
|
124
|
+
|
|
125
|
+
|
|
54
126
|
// #region carousel controls/pips
|
|
55
127
|
.carousel:not(.hide-controls) {
|
|
56
128
|
padding-bottom: 4.5rem!important;
|
|
@@ -23,6 +23,7 @@ $chart-colors: map-merge((
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
@media screen and (prefers-color-scheme: dark) {
|
|
26
|
+
|
|
26
27
|
:root {
|
|
27
28
|
--colour-chart-1: var(--colour-dark);
|
|
28
29
|
--colour-chart-5: var(--colour-light);
|
|
@@ -30,6 +31,28 @@ $chart-colors: map-merge((
|
|
|
30
31
|
--colour-chart-7: var(--colour-secondary);
|
|
31
32
|
}
|
|
32
33
|
}
|
|
34
|
+
|
|
35
|
+
//@media (forced-colors: active) {
|
|
36
|
+
.chart__wrapper:has(.chart:not(.chart--line)) {
|
|
37
|
+
|
|
38
|
+
--colour-chart-1: repeating-linear-gradient(
|
|
39
|
+
45deg,
|
|
40
|
+
CanvasText 0px,
|
|
41
|
+
CanvasText 5px,
|
|
42
|
+
Canvas 5px,
|
|
43
|
+
Canvas 10px
|
|
44
|
+
);
|
|
45
|
+
--colour-chart-2: transparent radial-gradient(circle, CanvasText 3px, transparent 3px) 6px 6px/12px 12px repeat;
|
|
46
|
+
--colour-chart-3: repeating-linear-gradient(
|
|
47
|
+
90deg,
|
|
48
|
+
CanvasText 0px,
|
|
49
|
+
CanvasText 5px,
|
|
50
|
+
Canvas 5px,
|
|
51
|
+
Canvas 10px
|
|
52
|
+
);
|
|
53
|
+
// TODO: Add more patterns
|
|
54
|
+
}
|
|
55
|
+
//}
|
|
33
56
|
// #endregion
|
|
34
57
|
|
|
35
58
|
// #region Apply colours
|
|
@@ -38,13 +61,26 @@ $chart-colors: map-merge((
|
|
|
38
61
|
.chart__key .key:not(:first-child):nth-child(#{$i+1}):before,
|
|
39
62
|
.chart:not(.chart--none):not(.chart--pie) table tbody tr td:not(:first-child):nth-child(#{$i+1}) {
|
|
40
63
|
background: var(#{'--colour-chart-'+$i});
|
|
64
|
+
|
|
65
|
+
@media (forced-colors: active) {
|
|
66
|
+
forced-color-adjust: none;
|
|
67
|
+
border: 1px solid CanvasText;
|
|
68
|
+
}
|
|
41
69
|
}
|
|
42
70
|
.chart.chart--line:not(.chart--none):not(.chart--pie) .line:nth-child(#{$i}) {
|
|
43
71
|
stroke: var(#{'--colour-chart-'+$i});
|
|
44
72
|
z-index: #{10 - $i};
|
|
73
|
+
|
|
74
|
+
@media (forced-colors: active) {
|
|
75
|
+
forced-color-adjust: none;
|
|
76
|
+
}
|
|
45
77
|
}
|
|
46
78
|
.chart.chart--pie .pie path:nth-child(#{$i}) {
|
|
47
79
|
fill: var(#{'--colour-chart-'+$i});
|
|
80
|
+
|
|
81
|
+
@media (forced-colors: active) {
|
|
82
|
+
forced-color-adjust: none;
|
|
83
|
+
}
|
|
48
84
|
}
|
|
49
85
|
}
|
|
50
86
|
// #endregion
|
|
@@ -264,6 +300,8 @@ $chart-colors: map-merge((
|
|
|
264
300
|
text-overflow: ellipsis;
|
|
265
301
|
font-size: var(--label-size);
|
|
266
302
|
display: none;
|
|
303
|
+
border: none;
|
|
304
|
+
min-width: auto;
|
|
267
305
|
|
|
268
306
|
@include media-breakpoint-up(md) {
|
|
269
307
|
display: block;
|
|
@@ -282,10 +320,12 @@ $chart-colors: map-merge((
|
|
|
282
320
|
height: var(--percent, 0%);
|
|
283
321
|
bottom: var(--bottom,0%);
|
|
284
322
|
width: 50%;
|
|
323
|
+
min-width: 0;
|
|
285
324
|
max-width: 10rem;
|
|
286
325
|
position: relative;
|
|
287
326
|
background: green;
|
|
288
327
|
padding: 0;
|
|
328
|
+
border: none;
|
|
289
329
|
|
|
290
330
|
&[data-label]:before {
|
|
291
331
|
display: none;
|
|
@@ -514,7 +554,7 @@ $chart-colors: map-merge((
|
|
|
514
554
|
}
|
|
515
555
|
|
|
516
556
|
.pie foreignObject {
|
|
517
|
-
background: var(--
|
|
557
|
+
background: var(--colour-canvas);
|
|
518
558
|
border-radius: 50%;
|
|
519
559
|
z-index: var(--index-focus);
|
|
520
560
|
pointer-events: none;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
@use "../_func.scss" as *;
|
|
3
3
|
|
|
4
|
-
@import "
|
|
4
|
+
@import "../../bootstrap/scss/_grid.scss";
|
|
5
5
|
|
|
6
6
|
// #region container
|
|
7
7
|
.container {
|
|
@@ -61,8 +61,13 @@
|
|
|
61
61
|
|
|
62
62
|
// #region Circles
|
|
63
63
|
.container {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
&:has(.circle){
|
|
67
|
+
|
|
68
|
+
position: relative;
|
|
69
|
+
z-index: 1;
|
|
70
|
+
}
|
|
66
71
|
|
|
67
72
|
> .circle {
|
|
68
73
|
|