@iamproperty/components 6.0.0 → 6.1.0--beta2
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/actionbar.css.map +1 -1
- package/assets/css/components/actionbar.global.css.map +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/carousel.component.css +1 -0
- package/assets/css/components/carousel.component.css.map +1 -0
- package/assets/css/components/carousel.config.css +1 -0
- package/assets/css/components/carousel.config.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/collapsible-side.css.map +1 -1
- package/assets/css/components/fileupload.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/header.css +1 -1
- package/assets/css/components/header.css.map +1 -1
- package/assets/css/components/marketing.css.map +1 -1
- package/assets/css/components/multi-step.component.css +1 -0
- package/assets/css/components/multi-step.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/nav.css.map +1 -1
- package/assets/css/components/nav.docs.css.map +1 -1
- package/assets/css/components/nav.global.css.map +1 -1
- package/assets/css/components/nav.old.css.map +1 -1
- package/assets/css/components/nav.preload.css +1 -1
- package/assets/css/components/nav.preload.css.map +1 -1
- package/assets/css/components/notification.css.map +1 -1
- package/assets/css/components/pagination.css.map +1 -1
- package/assets/css/components/property-searchbar.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/slider.css.map +1 -1
- package/assets/css/components/snapshot.css.map +1 -1
- package/assets/css/components/stepper.css.map +1 -1
- package/assets/css/components/table.global.css.map +1 -1
- package/assets/css/components/tabs.css +1 -1
- package/assets/css/components/tabs.css.map +1 -1
- package/assets/css/components/testimonial.css.map +1 -1
- 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/img/illustrations/not-found.png +0 -0
- package/assets/js/components/accordion/accordion.component.min.js +2 -2
- package/assets/js/components/actionbar/actionbar.component.min.js +6 -6
- package/assets/js/components/actionbar/actionbar.component.min.js.map +1 -1
- package/assets/js/components/address-lookup/address-lookup.component.min.js +2 -2
- 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 +2 -2
- 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 +5 -3
- 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 +27 -32
- package/assets/js/components/card/card.component.min.js.map +1 -1
- package/assets/js/components/carousel/carousel.component.js +36 -41
- package/assets/js/components/carousel/carousel.component.min.js +18 -12
- package/assets/js/components/carousel/carousel.component.min.js.map +1 -1
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js +2 -2
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js.map +1 -1
- package/assets/js/components/fileupload/fileupload.component.min.js +2 -2
- 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 +2 -2
- package/assets/js/components/header/header.component.min.js +3 -3
- package/assets/js/components/header/header.component.min.js.map +1 -1
- package/assets/js/components/inline-edit/inline-edit.component.min.js +2 -2
- package/assets/js/components/inline-edit/inline-edit.component.min.js.map +1 -1
- package/assets/js/components/marketing/marketing.component.min.js +2 -2
- package/assets/js/components/marketing/marketing.component.min.js.map +1 -1
- package/assets/js/components/multi-step/multi-step.component.js +162 -0
- package/assets/js/components/multiselect/multiselect.component.min.js +2 -2
- package/assets/js/components/multiselect/multiselect.component.min.js.map +1 -1
- package/assets/js/components/nav/nav.component.min.js +2 -2
- package/assets/js/components/nav/nav.component.min.js.map +1 -1
- package/assets/js/components/notification/notification.component.min.js +2 -2
- package/assets/js/components/notification/notification.component.min.js.map +1 -1
- package/assets/js/components/pagination/pagination.component.min.js +2 -2
- 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 +2 -2
- package/assets/js/components/slider/slider.component.min.js +2 -2
- package/assets/js/components/slider/slider.component.min.js.map +1 -1
- package/assets/js/components/table/table.component.js +1 -1
- package/assets/js/components/table/table.component.min.js +4 -4
- package/assets/js/components/table/table.component.min.js.map +1 -1
- package/assets/js/components/tabs/tabs.component.min.js +3 -3
- 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/carousel.js +110 -8
- package/assets/js/modules/chart.js +2 -2
- package/assets/js/modules/dialogs.js +5 -129
- package/assets/js/modules/table.js +1 -1
- package/assets/js/scripts.bundle.js +4 -195
- package/assets/js/scripts.bundle.js.map +1 -1
- package/assets/js/scripts.bundle.min.js +3 -3
- 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 +76 -12
- package/assets/sass/_corefiles.scss +19 -10
- package/assets/sass/_elements.scss +2 -0
- package/assets/sass/_func.scss +3 -0
- package/assets/sass/_functions/functions.scss +304 -1
- package/assets/sass/_functions/mixins.scss +458 -2
- package/assets/sass/_functions/utilities.scss +647 -2
- package/assets/sass/_functions/variables.scss +1724 -2
- package/assets/sass/_utilities.scss +126 -7
- package/assets/sass/components/card.component.scss +229 -0
- package/assets/sass/components/card.module.scss +154 -0
- package/assets/sass/components/carousel.component.scss +605 -0
- package/assets/sass/components/carousel.config.scss +84 -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/header.scss +1 -0
- package/assets/sass/components/multi-step.component.scss +148 -0
- package/assets/sass/components/multiselect.preload.scss +7 -0
- package/assets/sass/components/nav.preload.scss +5 -0
- package/assets/sass/components/record-card.component.scss +204 -0
- package/assets/sass/components/tabs.scss +1 -1
- package/assets/sass/components/video-card.component.scss +80 -0
- package/assets/sass/components.reset.scss +5 -43
- package/assets/sass/elements/admin-panel.scss +2 -1
- package/assets/sass/elements/badge-tag.scss +5 -1
- package/assets/sass/elements/buttons.scss +36 -0
- package/assets/sass/elements/container.scss +16 -6
- package/assets/sass/elements/details.scss +2 -0
- package/assets/sass/elements/dialog.scss +2 -744
- package/assets/sass/elements/forms.scss +241 -24
- package/assets/sass/elements/links.scss +27 -4
- package/assets/sass/elements/lists.scss +46 -0
- package/assets/sass/elements/media.scss +10 -38
- package/assets/sass/elements/modal.scss +453 -0
- package/assets/sass/elements/popover.scss +207 -0
- package/assets/sass/elements/table.element.scss +35 -0
- package/assets/sass/elements/type.scss +38 -2
- package/assets/sass/error.scss +32 -1
- package/assets/sass/foundations/bs_grid.scss +33 -0
- package/assets/sass/foundations/grid.scss +270 -0
- package/assets/sass/foundations/reboot.scss +71 -49
- package/assets/sass/foundations/root.scss +16 -3
- package/assets/ts/components/barchart/barchart.component.ts +2 -0
- package/assets/ts/components/card/card.component.ts +94 -192
- package/assets/ts/components/carousel/carousel.component.ts +51 -44
- package/assets/ts/components/filter-card/filter-card.component.ts +81 -0
- package/assets/ts/components/multi-step/multi-step.component.ts +262 -0
- package/assets/ts/components/record-card/record-card.component.ts +82 -0
- package/assets/ts/components/table/table.component.ts +2 -1
- 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/carousel.ts +161 -7
- package/assets/ts/modules/dialogs.ts +6 -182
- 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 +227 -243
- package/dist/components.umd.js +105 -104
- package/dist/style.css +1 -1
- package/package.json +9 -7
- package/src/components/BarChart/BarChart.vue +2 -2
- package/src/components/Carousel/Carousel.vue +1 -15
- package/src/components/FilterCard/FilterCard.vue +25 -0
- package/src/components/MultiStep/MultiStep.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/css/components/carousel.css +0 -1
- package/assets/css/components/carousel.css.map +0 -1
- package/assets/css/components/carousel.preload.css +0 -1
- package/assets/css/components/carousel.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/sass/components/carousel.preload.scss +0 -82
- package/assets/sass/components/carousel.scss +0 -258
- 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/assets/ts/tests/dialogs.spec.js +0 -50
- package/src/foundations/YoutubeVideo/README.md +0 -11
- package/src/foundations/YoutubeVideo/YoutubeVideo.vue +0 -24
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
@use "../_func.scss" as *;
|
|
2
|
+
@use "card.module.scss" as *;
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
|
|
6
|
+
--top-padding: #{rem(24)};
|
|
7
|
+
--right-padding: 1rem;
|
|
8
|
+
--bottom-padding: #{rem(24)};
|
|
9
|
+
--left-padding: 1rem;
|
|
10
|
+
|
|
11
|
+
&:has(.card__total) .card__body{
|
|
12
|
+
|
|
13
|
+
align-items: center;
|
|
14
|
+
display: flex;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&:before,
|
|
18
|
+
&:after {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.card--has-icon {
|
|
23
|
+
--bottom-padding: #{rem(16)};
|
|
24
|
+
border: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.icon {
|
|
28
|
+
font-size: rem(18)!important;
|
|
29
|
+
height: rem(18)!important;
|
|
30
|
+
margin: 0 0 0.5rem 0!important;
|
|
31
|
+
font-weight: 400!important;
|
|
32
|
+
display: block!important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.card__total {
|
|
36
|
+
margin-top: 0;
|
|
37
|
+
order: -1;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
:host(:is(:hover,:focus,.hover)) {
|
|
43
|
+
|
|
44
|
+
outline: none;
|
|
45
|
+
|
|
46
|
+
:is(.card__body,.card__footer) {
|
|
47
|
+
background: #EEEEEE;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:host-context(:is(:checked, .checked)),
|
|
52
|
+
:host(:is(:active, .active)) {
|
|
53
|
+
|
|
54
|
+
outline: 2px solid var(--colour,var(--colour-primary));
|
|
55
|
+
outline-offset: -2px;
|
|
56
|
+
|
|
57
|
+
.card__body {
|
|
58
|
+
background: none;
|
|
59
|
+
}
|
|
60
|
+
.card__footer {
|
|
61
|
+
background: none;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
::slotted(i) {
|
|
67
|
+
display: block !important;
|
|
68
|
+
font-size: rem(18)!important;
|
|
69
|
+
margin: 0 0 0.5rem 0!important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
// #region card with a flag
|
|
74
|
+
:host(.card--flag) {
|
|
75
|
+
position: relative;
|
|
76
|
+
|
|
77
|
+
&:after {
|
|
78
|
+
content: var(--card-flag-icon, "\f024");
|
|
79
|
+
font-family: "Font Awesome 6 Pro";
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: 1rem;
|
|
82
|
+
right: 1rem;
|
|
83
|
+
font-size: rem(16);
|
|
84
|
+
line-height: 1;
|
|
85
|
+
height: rem(16);
|
|
86
|
+
width: rem(16);
|
|
87
|
+
display: inline-block;
|
|
88
|
+
font-weight: normal;
|
|
89
|
+
color: var(--colour, var(--colour-primary));
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
// #endregion
|
|
93
|
+
|
|
94
|
+
// #region Show total number
|
|
95
|
+
.card__body:has(.card__total) {
|
|
96
|
+
--card-head-top-padding: 2rem;
|
|
97
|
+
--card-head-bottom-padding: 2rem;
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.card__total {
|
|
103
|
+
order: -1;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// #endregion
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
@use "../_func.scss" as *;
|
|
2
|
+
|
|
3
|
+
*, *:before, *:after {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
// #region Multi
|
|
8
|
+
|
|
9
|
+
:host {
|
|
10
|
+
|
|
11
|
+
--dialog-padding: 1.5rem;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
padding-top: calc(var(--dialog-padding) * 4);
|
|
14
|
+
display: block;
|
|
15
|
+
position: relative;
|
|
16
|
+
margin-right: 0!important;
|
|
17
|
+
min-height: 100%;
|
|
18
|
+
padding-left: var(--dialog-padding);
|
|
19
|
+
|
|
20
|
+
@include media-breakpoint-up(md) {
|
|
21
|
+
padding-top: var(--dialog-padding);
|
|
22
|
+
padding-left: calc(var(--dialog-padding) + #{rem(282)})!important;
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
// #region steps
|
|
30
|
+
.steps {
|
|
31
|
+
width: 100%;
|
|
32
|
+
position: absolute;
|
|
33
|
+
top:0;
|
|
34
|
+
left: 0;
|
|
35
|
+
padding: var(--dialog-padding);
|
|
36
|
+
counter-reset: section;
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: space-between;
|
|
39
|
+
background-color: var(--colour-primary);
|
|
40
|
+
|
|
41
|
+
&:before {
|
|
42
|
+
|
|
43
|
+
content: "";
|
|
44
|
+
position: absolute;
|
|
45
|
+
top: calc(50% - 1px);
|
|
46
|
+
left: var(--dialog-padding);
|
|
47
|
+
z-index: 2;
|
|
48
|
+
width: calc(100% - var(--dialog-padding) - var(--dialog-padding));
|
|
49
|
+
height: 2px;
|
|
50
|
+
background: currentColor;
|
|
51
|
+
z-index: 1;
|
|
52
|
+
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%);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
button {
|
|
56
|
+
|
|
57
|
+
position: relative;
|
|
58
|
+
background: transparent;
|
|
59
|
+
border: none;
|
|
60
|
+
color: rgba($color: #ffffff, $alpha: 0.5);
|
|
61
|
+
height: rem(24);
|
|
62
|
+
line-height: rem(24);
|
|
63
|
+
width: rem(24);
|
|
64
|
+
text-indent: 300%;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
z-index: 2;
|
|
67
|
+
background-color: var(--colour-primary);
|
|
68
|
+
outline: 0.5rem solid var(--colour-primary);
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
|
|
71
|
+
&:before {
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: 0;
|
|
74
|
+
left: 0;
|
|
75
|
+
counter-increment: section;
|
|
76
|
+
content: counter(section);
|
|
77
|
+
|
|
78
|
+
border: 1px solid currentColor;
|
|
79
|
+
height: rem(24);
|
|
80
|
+
line-height: rem(24);
|
|
81
|
+
width: rem(24);
|
|
82
|
+
text-align: center;
|
|
83
|
+
display: inline-block;
|
|
84
|
+
text-indent: 0;
|
|
85
|
+
border-radius: 50%;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:not(.active):not(.valid) {
|
|
89
|
+
|
|
90
|
+
pointer-events: none;
|
|
91
|
+
|
|
92
|
+
&:before {
|
|
93
|
+
opacity: 0.5;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.active {
|
|
98
|
+
color: var(--colour-white);
|
|
99
|
+
}
|
|
100
|
+
&.valid {
|
|
101
|
+
color: var(--colour-success);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@include dark-mode() {
|
|
106
|
+
|
|
107
|
+
button {
|
|
108
|
+
|
|
109
|
+
color: rgba($color: #000000, $alpha: 0.5);
|
|
110
|
+
|
|
111
|
+
&.active {
|
|
112
|
+
color: black;
|
|
113
|
+
}
|
|
114
|
+
&.valid {
|
|
115
|
+
color: var(--colour-complete);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
@include media-breakpoint-up(md) {
|
|
122
|
+
|
|
123
|
+
width: rem(282);
|
|
124
|
+
height: 100%;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
|
|
128
|
+
&:before {
|
|
129
|
+
display: none;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
button {
|
|
133
|
+
margin-block: 0.5rem;
|
|
134
|
+
width: 100%;
|
|
135
|
+
text-indent: 0;
|
|
136
|
+
text-align: left;
|
|
137
|
+
padding-left: 2rem;
|
|
138
|
+
font-size: rem(18);
|
|
139
|
+
outline-width: 1px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
// #endregion
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
@@ -34,4 +34,11 @@ iam-multiselect:has(label:not([slot="checked"]):not([slot="notmatched"])) {
|
|
|
34
34
|
iam-multiselect:has(label[slot="checked"]) {
|
|
35
35
|
|
|
36
36
|
--display-button: block;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@include dark-mode() {
|
|
40
|
+
iam-multiselect :is(.tag,.badge):not([slot="checked"]){
|
|
41
|
+
|
|
42
|
+
color: var(--colour-heading);
|
|
43
|
+
}
|
|
37
44
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
@use "../_func" as *;
|
|
3
3
|
|
|
4
|
+
nav:has(iam-nav) {
|
|
5
|
+
|
|
6
|
+
grid-column: container;
|
|
7
|
+
}
|
|
4
8
|
iam-nav {
|
|
5
9
|
|
|
6
10
|
display: block;
|
|
@@ -9,6 +13,7 @@ iam-nav {
|
|
|
9
13
|
padding-bottom: 1.5rem;
|
|
10
14
|
max-width: 100%;
|
|
11
15
|
margin-inline: auto;
|
|
16
|
+
column-grid: container;
|
|
12
17
|
|
|
13
18
|
.brand {
|
|
14
19
|
font-size: rem(48);
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
@use "../_func.scss" as *;
|
|
2
|
+
@use "card.module.scss" as *;
|
|
3
|
+
|
|
4
|
+
:host {
|
|
5
|
+
--card-head-height: 9rem;
|
|
6
|
+
--card-right-padding: 1rem;
|
|
7
|
+
|
|
8
|
+
background: transparent!important;
|
|
9
|
+
position: relative;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:host(:is(:hover,:focus,.hover)) {
|
|
13
|
+
|
|
14
|
+
--hover-outline-colour-default: var(--colour, var(--colour-primary));
|
|
15
|
+
outline: 2px solid var(--hover-outline-colour, var(--hover-outline-colour-default));
|
|
16
|
+
outline-offset: -2px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host([data-record]) {
|
|
20
|
+
|
|
21
|
+
.card__head {
|
|
22
|
+
|
|
23
|
+
&:before {
|
|
24
|
+
font-family: var(--record-icon-font,"Font Awesome 6 Pro");
|
|
25
|
+
font-weight: normal;
|
|
26
|
+
font-size: rem(24);
|
|
27
|
+
content: var(--record-icon);
|
|
28
|
+
display: block;
|
|
29
|
+
position: absolute;
|
|
30
|
+
top: auto;
|
|
31
|
+
left: 50%;
|
|
32
|
+
bottom: 0;
|
|
33
|
+
background-color: var(--record-colour);
|
|
34
|
+
border-radius: 50%;
|
|
35
|
+
height: rem(64);
|
|
36
|
+
line-height: rem(64);
|
|
37
|
+
width: rem(64);
|
|
38
|
+
text-align: center;
|
|
39
|
+
transform: translate(-50%,0);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host([data-initials]:before) {
|
|
45
|
+
|
|
46
|
+
content: (data-initials);
|
|
47
|
+
display: block;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
:host([data-initials]) {
|
|
53
|
+
|
|
54
|
+
.card__head {
|
|
55
|
+
|
|
56
|
+
&:before {
|
|
57
|
+
display: none!important;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:before {
|
|
62
|
+
font-family: var(--font-body);
|
|
63
|
+
font-weight: normal;
|
|
64
|
+
font-size: rem(32);
|
|
65
|
+
content: attr(data-initials);
|
|
66
|
+
display: block;
|
|
67
|
+
position: absolute;
|
|
68
|
+
top: var(--card-head-height);
|
|
69
|
+
left: 50%;
|
|
70
|
+
bottom: 0;
|
|
71
|
+
background-color: var(--record-colour);
|
|
72
|
+
border-radius: 50%;
|
|
73
|
+
height: rem(64);
|
|
74
|
+
margin-top: rem(-64);
|
|
75
|
+
line-height: rem(64);
|
|
76
|
+
width: rem(64);
|
|
77
|
+
text-align: center;
|
|
78
|
+
transform: translate(-50%,0);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.card__head {
|
|
84
|
+
background: transparent!important;
|
|
85
|
+
position: relative;
|
|
86
|
+
min-height: var(--card-head-height);
|
|
87
|
+
|
|
88
|
+
.card__avatar {
|
|
89
|
+
|
|
90
|
+
display: block;
|
|
91
|
+
position: absolute;
|
|
92
|
+
top: auto;
|
|
93
|
+
left: 50%;
|
|
94
|
+
bottom: 0;
|
|
95
|
+
border-radius: 50%;
|
|
96
|
+
height: rem(64);
|
|
97
|
+
line-height: rem(64);
|
|
98
|
+
width: rem(64);
|
|
99
|
+
text-align: center;
|
|
100
|
+
transform: translate(-50%,0);
|
|
101
|
+
margin: 0;
|
|
102
|
+
object-fit: cover;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.card__badges {
|
|
107
|
+
|
|
108
|
+
position: absolute;
|
|
109
|
+
top: 0;
|
|
110
|
+
text-align: left;
|
|
111
|
+
left: 0;
|
|
112
|
+
z-index: 9;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.card__body {
|
|
116
|
+
overflow: hidden;
|
|
117
|
+
text-overflow: ellipsis;
|
|
118
|
+
display: -webkit-box;
|
|
119
|
+
-webkit-line-clamp: 2;
|
|
120
|
+
-webkit-box-orient: vertical; overflow: hidden;
|
|
121
|
+
overflow: hidden;
|
|
122
|
+
padding-bottom: 0;
|
|
123
|
+
margin-bottom: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.card__details {
|
|
127
|
+
padding: 0 var(--card-right-padding) 1.5rem var(--card-left-padding);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
::slotted(span:not(.badge)){
|
|
132
|
+
display: block!important;
|
|
133
|
+
font-weight: normal!important;
|
|
134
|
+
font-size: rem(14)!important;
|
|
135
|
+
line-height: rem(24)!important;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
::slotted(span:not(.badge):not([class*=pt-])) {
|
|
139
|
+
padding-top: 1rem !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
::slotted(*:not(.badge)){
|
|
143
|
+
display: block!important;
|
|
144
|
+
font-weight: normal!important;
|
|
145
|
+
font-size: rem(14)!important;
|
|
146
|
+
line-height: rem(24)!important;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
:host([data-initials]) {
|
|
151
|
+
--record-content: attr(data-initials);
|
|
152
|
+
--record-colour: var(--wider-colour-2);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
:host([data-record="business"]) {
|
|
157
|
+
--record-icon: '\f54f';
|
|
158
|
+
--record-colour: var(--wider-colour-2);
|
|
159
|
+
}
|
|
160
|
+
:host([data-record="page"]) {
|
|
161
|
+
--record-icon: '\f15c';
|
|
162
|
+
--record-colour: var(--wider-colour-3);
|
|
163
|
+
}
|
|
164
|
+
:host([data-record="contact"]) {
|
|
165
|
+
--record-icon: "\f2b9";
|
|
166
|
+
--record-colour: var(--wider-colour-4);
|
|
167
|
+
}
|
|
168
|
+
:host([data-record="lettings"]) {
|
|
169
|
+
--record-icon: "\E003";
|
|
170
|
+
--record-icon-font: Font Awesome Kit;
|
|
171
|
+
--record-colour: var(--wider-colour-5);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
:host([data-record="sales"]) {
|
|
175
|
+
--record-icon: "\E004";
|
|
176
|
+
--record-icon-font: Font Awesome Kit;
|
|
177
|
+
--record-colour: var(--wider-colour-7);
|
|
178
|
+
}
|
|
179
|
+
:host([data-record="landlord"]) {
|
|
180
|
+
--record-icon: "\E001";
|
|
181
|
+
--record-icon-font: Font Awesome Kit;
|
|
182
|
+
--record-colour: var(--wider-colour-8);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
:host([data-record="contractor"]) {
|
|
186
|
+
--record-icon: "\f82c";
|
|
187
|
+
--record-colour: var(--wider-colour-9);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
:host([data-record="vendor"]) {
|
|
191
|
+
--record-icon: "\E002";
|
|
192
|
+
--record-icon-font: Font Awesome Kit;
|
|
193
|
+
--record-colour: var(--wider-colour-13);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
:host([data-record="tenant"]) {
|
|
197
|
+
--record-icon: "\e1b0";
|
|
198
|
+
--record-colour: var(--wider-colour-6);
|
|
199
|
+
}
|
|
200
|
+
:host([data-record="sales-applicant"]) {
|
|
201
|
+
--record-icon: "\E006";
|
|
202
|
+
--record-icon-font: Font Awesome Kit;
|
|
203
|
+
--record-colour: var(--wider-colour-10);
|
|
204
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
@use "../_func.scss" as *;
|
|
2
|
+
@use "card.module.scss" as *;
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
:host {
|
|
6
|
+
--card-right-padding: 1rem;
|
|
7
|
+
|
|
8
|
+
--card-head-height: 10rem;
|
|
9
|
+
|
|
10
|
+
font-size: 1.5rem;
|
|
11
|
+
--line-height: 2rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
//video-card--top
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
:host(:is([data-youtube],[data-vimeo]):not(.video-card--top)) .card__head {
|
|
19
|
+
order: 2;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:host(:is([data-youtube],[data-vimeo])) .card__head {
|
|
23
|
+
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
position: relative;
|
|
26
|
+
|
|
27
|
+
> *:not(img){
|
|
28
|
+
z-index: -1;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:before {
|
|
32
|
+
content: "";
|
|
33
|
+
display: block;
|
|
34
|
+
background-color: var(--video-btn-colour, var(--colour-success));
|
|
35
|
+
height: 5rem;
|
|
36
|
+
width: 5rem;
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: calc(50% - 2.5rem);
|
|
39
|
+
left: calc(50% - 2.5rem);
|
|
40
|
+
z-index: 2;
|
|
41
|
+
border-radius: 2.5rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:after {
|
|
45
|
+
|
|
46
|
+
$icon-play: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path d='M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z'/></svg>");
|
|
47
|
+
--icon: #{$icon-play};
|
|
48
|
+
|
|
49
|
+
content: "";
|
|
50
|
+
display: block;
|
|
51
|
+
height: 2rem;
|
|
52
|
+
width: 2rem;
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: calc(50% - 1rem);
|
|
55
|
+
left: calc(50% - 0.8rem);
|
|
56
|
+
z-index: 5;
|
|
57
|
+
background: var(--colour-primary-theme);
|
|
58
|
+
mask-image: var(--icon);
|
|
59
|
+
mask-size: 80%;
|
|
60
|
+
mask-repeat: no-repeat;
|
|
61
|
+
mask-position: 50% 50%;
|
|
62
|
+
-webkit-mask-image: var(--icon);
|
|
63
|
+
-webkit-mask-size: 80%;
|
|
64
|
+
-webkit-mask-repeat: no-repeat;
|
|
65
|
+
-webkit-mask-position: 50% 50%;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:is(:hover,:focus) {
|
|
69
|
+
--video-btn-colour: var(--colour-canvas);
|
|
70
|
+
}
|
|
71
|
+
&:is(:active) {
|
|
72
|
+
--video-btn-colour: color-mix(in oklab, var(--colour-success), #000000 20%) !important;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.embed {
|
|
77
|
+
aspect-ratio: 1 / 1;
|
|
78
|
+
display: block;
|
|
79
|
+
width: 10rem;
|
|
80
|
+
}
|
|
@@ -1,46 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
@charset "UTF-8";
|
|
2
2
|
|
|
3
|
-
@use "
|
|
4
|
-
|
|
3
|
+
@use "_fonts";
|
|
4
|
+
@use "_corefiles.scss" with (
|
|
5
|
+
$root: ":host", // copied directory from iamkey repo
|
|
6
|
+
$layers: "false"
|
|
5
7
|
);
|
|
6
8
|
|
|
7
|
-
@use "foundations/root.scss" with (
|
|
8
|
-
$root: ":is(iam-card,iam-nav,iam-table,.iamkey)" // copied directory from iamkey repo
|
|
9
|
-
);
|
|
10
|
-
|
|
11
|
-
a:has(iam-card) {
|
|
12
|
-
all: unset;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
:is(iam-card,iam-nav, iam-table, .iamkey) {
|
|
17
|
-
|
|
18
|
-
@import "foundations/reboot.scss";
|
|
19
|
-
|
|
20
|
-
@include var(font-family,--font-body);
|
|
21
|
-
@include var(color,--colour-body);
|
|
22
|
-
width: 100%;
|
|
23
|
-
line-height: 1.2;
|
|
24
|
-
min-height: 100%;
|
|
25
|
-
|
|
26
|
-
@import "_elements.scss";
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:is(iam-table) {
|
|
30
|
-
width: auto;
|
|
31
|
-
max-width: rem(1112);
|
|
32
|
-
display: block;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
:is(iam-card,iam-nav, iam-table, .iamkey) {
|
|
37
|
-
@import "_utilities.scss";
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
body.js-enabled .js-hide {
|
|
41
|
-
display: none!important;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
body:not(.js-enabled) .js-show {
|
|
45
|
-
display: none!important;
|
|
46
|
-
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
text-align: center;
|
|
13
13
|
white-space: nowrap;
|
|
14
14
|
max-width: fit-content;
|
|
15
|
-
color: #262626
|
|
15
|
+
color: #262626;
|
|
16
16
|
position: relative;
|
|
17
17
|
background: var(--wider-colour, var(--wider-colour-1));
|
|
18
18
|
margin-bottom: 1rem;
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
&:empty {
|
|
25
25
|
display: none;
|
|
26
26
|
}
|
|
27
|
+
|
|
28
|
+
&:is(.bg-primary,.bg-dark,.bg-danger){
|
|
29
|
+
color: #{$colour-inverted}!important;
|
|
30
|
+
}
|
|
27
31
|
}
|
|
28
32
|
|
|
29
33
|
.badge {
|