@iamproperty/components 6.1.0--beta → 6.1.0--beta3
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/css/components/actionbar.css.map +1 -1
- package/assets/css/components/actionbar.global.css.map +1 -1
- package/assets/css/components/card.component.css +1 -1
- package/assets/css/components/card.component.css.map +1 -1
- package/assets/css/components/card.module.css +1 -1
- package/assets/css/components/card.module.css.map +1 -1
- 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/collapsible-side.css.map +1 -1
- package/assets/css/components/fileupload.css.map +1 -1
- package/assets/css/components/filter-card.component.css +1 -1
- package/assets/css/components/filter-card.component.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/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.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 -1
- package/assets/css/components/record-card.component.css.map +1 -1
- 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.map +1 -1
- package/assets/css/components/video-card.component.css +1 -1
- package/assets/css/components/video-card.component.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/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/applied-filters/applied-filters.component.min.js +2 -2
- package/assets/js/components/barchart/barchart.component.min.js +2 -2
- package/assets/js/components/card/card.component.min.js +4 -4
- 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/fileupload/fileupload.component.min.js +2 -2
- package/assets/js/components/filter-card/filter-card.component.min.js +5 -5
- package/assets/js/components/filter-card/filter-card.component.min.js.map +1 -1
- 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/inline-edit/inline-edit.component.min.js +2 -2
- package/assets/js/components/marketing/marketing.component.min.js +2 -2
- 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/nav/nav.component.min.js +2 -2
- package/assets/js/components/notification/notification.component.min.js +2 -2
- package/assets/js/components/pagination/pagination.component.min.js +2 -2
- package/assets/js/components/record-card/record-card.component.min.js +6 -6
- package/assets/js/components/record-card/record-card.component.min.js.map +1 -1
- 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/table/table.component.js +1 -1
- package/assets/js/components/table/table.component.min.js +3 -3
- 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/video-card/video-card.component.min.js +6 -6
- package/assets/js/components/video-card/video-card.component.min.js.map +1 -1
- package/assets/js/components.bundle.js +3 -3
- package/assets/js/components.bundle.js.map +1 -1
- package/assets/js/components.js +1 -1
- package/assets/js/modules/card.module.js +4 -1
- package/assets/js/modules/carousel.js +110 -8
- package/assets/js/modules/dialogs.js +5 -123
- package/assets/js/scripts.bundle.js +4 -4
- 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/sass/_components.scss +3 -19
- package/assets/sass/_corefiles.scss +15 -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.module.scss +1 -1
- package/assets/sass/components/carousel.component.scss +605 -0
- package/assets/sass/components/carousel.config.scss +84 -0
- package/assets/sass/components/header.scss +1 -0
- package/assets/sass/components/multi-step.component.scss +148 -0
- package/assets/sass/components/nav.preload.scss +5 -0
- package/assets/sass/components/tabs.scss +1 -1
- package/assets/sass/elements/admin-panel.scss +2 -1
- package/assets/sass/elements/buttons.scss +33 -0
- package/assets/sass/elements/container.scss +16 -6
- package/assets/sass/elements/details.scss +2 -0
- package/assets/sass/elements/forms.scss +236 -24
- package/assets/sass/elements/links.scss +27 -4
- package/assets/sass/elements/lists.scss +46 -0
- package/assets/sass/elements/media.scss +11 -1
- package/assets/sass/elements/modal.scss +138 -238
- 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 -2
- package/assets/ts/components/carousel/carousel.component.ts +51 -44
- package/assets/ts/components/multi-step/multi-step.component.ts +262 -0
- package/assets/ts/components/table/table.component.ts +2 -1
- package/assets/ts/components.ts +1 -1
- package/assets/ts/modules/card.module.ts +4 -1
- package/assets/ts/modules/carousel.ts +161 -7
- package/assets/ts/modules/dialogs.ts +6 -174
- package/dist/components.es.js +177 -193
- package/dist/components.umd.js +73 -67
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/src/components/Carousel/Carousel.vue +1 -15
- package/src/components/FilterCard/FilterCard.vue +1 -1
- package/src/components/MultiStep/MultiStep.vue +25 -0
- package/src/components/RecordCard/RecordCard.vue +1 -1
- package/src/components/VideoCard/VideoCard.vue +1 -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/sass/components/carousel.preload.scss +0 -82
- package/assets/sass/components/carousel.scss +0 -258
- package/assets/ts/tests/dialogs.spec.js +0 -50
|
@@ -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
|
+
|
|
@@ -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);
|
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
@use "../_func.scss" as *;
|
|
2
2
|
|
|
3
|
+
// #region rset
|
|
4
|
+
button {
|
|
5
|
+
// stylelint-disable-next-line property-disallowed-list
|
|
6
|
+
border-radius: 0;
|
|
7
|
+
|
|
8
|
+
text-transform: none;
|
|
9
|
+
margin: 0; // 1
|
|
10
|
+
font-family: inherit;
|
|
11
|
+
@include font-size(inherit);
|
|
12
|
+
line-height: inherit;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[role="button"] {
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
}
|
|
18
|
+
button:focus:not(:focus-visible) {
|
|
19
|
+
outline: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
button,
|
|
23
|
+
[type="button"], // 1
|
|
24
|
+
[type="reset"],
|
|
25
|
+
[type="submit"] {
|
|
26
|
+
-webkit-appearance: button; // 2
|
|
27
|
+
|
|
28
|
+
@if $enable-button-pointers {
|
|
29
|
+
&:not(:disabled) {
|
|
30
|
+
cursor: pointer; // 3
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
// #endregion
|
|
35
|
+
|
|
3
36
|
// #region button primary
|
|
4
37
|
.btn {
|
|
5
38
|
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
@use "../_func.scss" as *;
|
|
3
3
|
|
|
4
|
-
@import "../../bootstrap/scss/_grid.scss";
|
|
5
|
-
|
|
6
4
|
// #region container
|
|
7
5
|
.container {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
display: block;
|
|
9
|
+
margin-left: auto;
|
|
10
|
+
margin-right: auto;
|
|
11
|
+
padding: var(--container-padding);
|
|
12
|
+
|
|
13
|
+
grid-column: container!important;
|
|
12
14
|
width: 100%;
|
|
13
15
|
|
|
14
16
|
&:not(.container-fluid) {
|
|
@@ -58,6 +60,14 @@
|
|
|
58
60
|
}
|
|
59
61
|
}
|
|
60
62
|
|
|
63
|
+
:host .container {
|
|
64
|
+
display: block;
|
|
65
|
+
margin-left: auto;
|
|
66
|
+
margin-right: auto;
|
|
67
|
+
padding: var(--container-padding);
|
|
68
|
+
width: 100%;
|
|
69
|
+
}
|
|
70
|
+
|
|
61
71
|
|
|
62
72
|
// replicate container padding-bottom
|
|
63
73
|
main > .row {
|
|
@@ -4,6 +4,204 @@ $icon-error: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' vie
|
|
|
4
4
|
|
|
5
5
|
$icon-tick: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d='M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z' fill='#0f9d58' /></svg>");
|
|
6
6
|
|
|
7
|
+
// #region RESETS
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
label {
|
|
11
|
+
display: inline-block; // 1
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// 1. Remove the margin in Firefox and Safari
|
|
15
|
+
|
|
16
|
+
input,
|
|
17
|
+
select,
|
|
18
|
+
optgroup,
|
|
19
|
+
textarea {
|
|
20
|
+
margin: 0; // 1
|
|
21
|
+
font-family: inherit;
|
|
22
|
+
@include font-size(inherit);
|
|
23
|
+
line-height: inherit;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Remove the inheritance of text transform in Firefox
|
|
27
|
+
select {
|
|
28
|
+
text-transform: none;
|
|
29
|
+
}
|
|
30
|
+
// Set the cursor for non-`<button>` buttons
|
|
31
|
+
//
|
|
32
|
+
// Details at https://github.com/twbs/bootstrap/pull/30562
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
select {
|
|
36
|
+
// Remove the inheritance of word-wrap in Safari.
|
|
37
|
+
// See https://github.com/twbs/bootstrap/issues/24990
|
|
38
|
+
word-wrap: normal;
|
|
39
|
+
|
|
40
|
+
// Undo the opacity change from Chrome
|
|
41
|
+
&:disabled {
|
|
42
|
+
opacity: 1;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Remove the dropdown arrow only from text type inputs built with datalists in Chrome.
|
|
47
|
+
// See https://stackoverflow.com/a/54997118
|
|
48
|
+
|
|
49
|
+
[list]:not([type="date"]):not([type="datetime-local"]):not([type="month"]):not([type="week"]):not([type="time"])::-webkit-calendar-picker-indicator {
|
|
50
|
+
display: none !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
|
54
|
+
// controls in Android 4.
|
|
55
|
+
// 2. Correct the inability to style clickable types in iOS and Safari.
|
|
56
|
+
// 3. Opinionated: add "hand" cursor to non-disabled button elements.
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
// Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
|
|
60
|
+
|
|
61
|
+
::-moz-focus-inner {
|
|
62
|
+
padding: 0;
|
|
63
|
+
border-style: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// 1. Textareas should really only resize vertically so they don't break their (horizontal) containers.
|
|
67
|
+
|
|
68
|
+
textarea {
|
|
69
|
+
resize: vertical; // 1
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// 1. Browsers set a default `min-width: min-content;` on fieldsets,
|
|
73
|
+
// unlike e.g. `<div>`s, which have `min-width: 0;` by default.
|
|
74
|
+
// So we reset that to ensure fieldsets behave more like a standard block element.
|
|
75
|
+
// See https://github.com/twbs/bootstrap/issues/12359
|
|
76
|
+
// and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
|
|
77
|
+
// 2. Reset the default outline behavior of fieldsets so they don't affect page layout.
|
|
78
|
+
|
|
79
|
+
fieldset {
|
|
80
|
+
min-width: 0; // 1
|
|
81
|
+
padding: 0; // 2
|
|
82
|
+
margin: 0; // 2
|
|
83
|
+
border: 0; // 2
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// 1. By using `float: left`, the legend will behave like a block element.
|
|
87
|
+
// This way the border of a fieldset wraps around the legend if present.
|
|
88
|
+
// 2. Fix wrapping bug.
|
|
89
|
+
// See https://github.com/twbs/bootstrap/issues/29712
|
|
90
|
+
|
|
91
|
+
legend {
|
|
92
|
+
float: left; // 1
|
|
93
|
+
width: 100%;
|
|
94
|
+
padding: 0;
|
|
95
|
+
margin-bottom: $legend-margin-bottom;
|
|
96
|
+
@include font-size($legend-font-size);
|
|
97
|
+
font-weight: $legend-font-weight;
|
|
98
|
+
line-height: inherit;
|
|
99
|
+
|
|
100
|
+
+ * {
|
|
101
|
+
clear: left; // 2
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Fix height of inputs with a type of datetime-local, date, month, week, or time
|
|
106
|
+
// See https://github.com/twbs/bootstrap/issues/18842
|
|
107
|
+
|
|
108
|
+
::-webkit-datetime-edit-fields-wrapper,
|
|
109
|
+
::-webkit-datetime-edit-text,
|
|
110
|
+
::-webkit-datetime-edit-minute,
|
|
111
|
+
::-webkit-datetime-edit-hour-field,
|
|
112
|
+
::-webkit-datetime-edit-day-field,
|
|
113
|
+
::-webkit-datetime-edit-month-field,
|
|
114
|
+
::-webkit-datetime-edit-year-field {
|
|
115
|
+
padding: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
::-webkit-inner-spin-button {
|
|
119
|
+
height: auto;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// 1. Correct the outline style in Safari.
|
|
123
|
+
// 2. This overrides the extra rounded corners on search inputs in iOS so that our
|
|
124
|
+
// `.form-control` class can properly style them. Note that this cannot simply
|
|
125
|
+
// be added to `.form-control` as it's not specific enough. For details, see
|
|
126
|
+
// https://github.com/twbs/bootstrap/issues/11586.
|
|
127
|
+
|
|
128
|
+
[type="search"] {
|
|
129
|
+
outline-offset: -2px; // 1
|
|
130
|
+
-webkit-appearance: textfield; // 2
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// 1. A few input types should stay LTR
|
|
134
|
+
// See https://rtlstyling.com/posts/rtl-styling#form-inputs
|
|
135
|
+
// 2. RTL only output
|
|
136
|
+
// See https://rtlcss.com/learn/usage-guide/control-directives/#raw
|
|
137
|
+
|
|
138
|
+
/* rtl:raw:
|
|
139
|
+
[type="tel"],
|
|
140
|
+
[type="url"],
|
|
141
|
+
[type="email"],
|
|
142
|
+
[type="number"] {
|
|
143
|
+
direction: ltr;
|
|
144
|
+
}
|
|
145
|
+
*/
|
|
146
|
+
|
|
147
|
+
// Remove the inner padding in Chrome and Safari on macOS.
|
|
148
|
+
|
|
149
|
+
::-webkit-search-decoration {
|
|
150
|
+
-webkit-appearance: none;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// Remove padding around color pickers in webkit browsers
|
|
154
|
+
|
|
155
|
+
::-webkit-color-swatch-wrapper {
|
|
156
|
+
padding: 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
// 1. Inherit font family and line height for file input buttons
|
|
161
|
+
// 2. Correct the inability to style clickable types in iOS and Safari.
|
|
162
|
+
|
|
163
|
+
::file-selector-button {
|
|
164
|
+
font: inherit; // 1
|
|
165
|
+
-webkit-appearance: button; // 2
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// Correct element displays
|
|
169
|
+
|
|
170
|
+
output {
|
|
171
|
+
display: inline-block;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// Remove border from iframe
|
|
175
|
+
|
|
176
|
+
iframe {
|
|
177
|
+
border: 0;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// Summary
|
|
181
|
+
//
|
|
182
|
+
// 1. Add the correct display in all browsers
|
|
183
|
+
|
|
184
|
+
summary {
|
|
185
|
+
display: list-item; // 1
|
|
186
|
+
cursor: pointer;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
// Progress
|
|
191
|
+
//
|
|
192
|
+
// Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
193
|
+
|
|
194
|
+
progress {
|
|
195
|
+
vertical-align: baseline;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
// Hidden attribute
|
|
200
|
+
//
|
|
201
|
+
// Always hide an element with the `hidden` HTML attribute.
|
|
202
|
+
|
|
203
|
+
// #endregion
|
|
204
|
+
|
|
7
205
|
// #region Form label
|
|
8
206
|
:is(label:not(.tag),.label) {
|
|
9
207
|
font-size: rem(18);
|
|
@@ -143,37 +341,51 @@ div:has(> label:first-child):has(> input) {
|
|
|
143
341
|
margin-top: rem(8);
|
|
144
342
|
}
|
|
145
343
|
|
|
146
|
-
|
|
147
|
-
width: 3rem!important;
|
|
148
|
-
flex-shrink: 0!important;
|
|
149
|
-
flex-grow: 0!important;
|
|
150
|
-
border-start-end-radius: 0;
|
|
151
|
-
border-end-end-radius: 0;
|
|
152
|
-
padding: 0;
|
|
153
|
-
overflow: hidden;
|
|
344
|
+
}
|
|
154
345
|
|
|
155
|
-
|
|
156
|
-
&::-moz-color-swatch {
|
|
157
|
-
|
|
158
|
-
border-radius: 0;
|
|
159
|
-
border: none;
|
|
160
|
-
}
|
|
346
|
+
// #region colors
|
|
161
347
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
348
|
+
input[type="color"]{
|
|
349
|
+
width: 3rem!important;
|
|
350
|
+
flex-shrink: 0!important;
|
|
351
|
+
flex-grow: 0!important;
|
|
352
|
+
border-start-end-radius: 0!important;
|
|
353
|
+
border-end-end-radius: 0!important;
|
|
354
|
+
padding: 0!important;
|
|
355
|
+
overflow: hidden;
|
|
356
|
+
cursor: pointer!important;
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
&::-moz-color-swatch {
|
|
360
|
+
|
|
361
|
+
border-radius: 0;
|
|
362
|
+
border: none;
|
|
167
363
|
}
|
|
168
364
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
border-
|
|
172
|
-
border
|
|
173
|
-
margin: 0!important;
|
|
365
|
+
&::-webkit-color-swatch {
|
|
366
|
+
|
|
367
|
+
border-radius: 0;
|
|
368
|
+
border: none;
|
|
174
369
|
}
|
|
175
370
|
}
|
|
176
371
|
|
|
372
|
+
label :is(div,span,fieldset):has(input[type="color"] + output){
|
|
373
|
+
display: flex;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
input[type="color"] + output {
|
|
377
|
+
border-left: none!important;
|
|
378
|
+
border-end-start-radius: 0!important;
|
|
379
|
+
border-start-start-radius: 0!important;
|
|
380
|
+
margin: 0!important;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
output {
|
|
384
|
+
margin-top: 0.5rem !important;
|
|
385
|
+
margin-bottom: 0 !important;
|
|
386
|
+
}
|
|
387
|
+
// #endregion
|
|
388
|
+
|
|
177
389
|
div:has(> :is(.form-control-sm, .input--sm)) {
|
|
178
390
|
|
|
179
391
|
--input-fs: #{rem(14)};
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
@use "../_func.scss" as *;
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
// #region reset
|
|
5
|
+
a {
|
|
6
|
+
color: var(--#{$prefix}link-color);
|
|
7
|
+
text-decoration: $link-decoration;
|
|
8
|
+
|
|
9
|
+
&:hover {
|
|
10
|
+
color: var(--#{$prefix}link-hover-color);
|
|
11
|
+
text-decoration: $link-hover-decoration;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// And undo these styles for placeholder links/named anchors (without href).
|
|
16
|
+
// It would be more straightforward to just use a[href] in previous block, but that
|
|
17
|
+
// causes specificity issues in many other styles that are too complex to fix.
|
|
18
|
+
// See https://github.com/twbs/bootstrap/issues/19402
|
|
19
|
+
|
|
20
|
+
a:not([href]):not([class]) {
|
|
21
|
+
&,
|
|
22
|
+
&:hover {
|
|
23
|
+
color: inherit;
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
// #endregion
|
|
28
|
+
|
|
3
29
|
// global
|
|
4
30
|
a {
|
|
5
31
|
color: var(--colour-link);
|
|
@@ -106,7 +132,7 @@ a:where(:not(.btn):not(.brand):not(:has(.card)):not(:has(iam-card))),
|
|
|
106
132
|
background: none;
|
|
107
133
|
padding:0;
|
|
108
134
|
display: flex;
|
|
109
|
-
|
|
135
|
+
margin-bottom: 1.5rem;
|
|
110
136
|
|
|
111
137
|
&:not([class*="col"]){
|
|
112
138
|
margin: 0 0 rem(24) 0;
|
|
@@ -125,7 +151,4 @@ a:where(:not(.btn):not(.brand):not(:has(.card)):not(:has(iam-card))),
|
|
|
125
151
|
}
|
|
126
152
|
}
|
|
127
153
|
|
|
128
|
-
:is(.col,[class*="col-"]) > :is(a,button):has(.card, iam-card):first-child:last-child{
|
|
129
|
-
min-height: calc(100% - rem(24));
|
|
130
|
-
}
|
|
131
154
|
// #endregion
|
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
@use "../_func.scss" as *;
|
|
2
2
|
|
|
3
|
+
ol,
|
|
4
|
+
ul {
|
|
5
|
+
padding-left: 2rem;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
ol,
|
|
9
|
+
ul,
|
|
10
|
+
dl {
|
|
11
|
+
margin-top: 0;
|
|
12
|
+
margin-bottom: 1rem;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
ol ol,
|
|
16
|
+
ul ul,
|
|
17
|
+
ol ul,
|
|
18
|
+
ul ol {
|
|
19
|
+
margin-bottom: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
dt {
|
|
23
|
+
font-weight: $dt-font-weight;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
dd {
|
|
27
|
+
margin-bottom: .5rem;
|
|
28
|
+
margin-left: 0; // 1
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
.list-unstyled {
|
|
34
|
+
@include list-unstyled();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Inline turns list items into inline-block
|
|
38
|
+
.list-inline {
|
|
39
|
+
@include list-unstyled();
|
|
40
|
+
}
|
|
41
|
+
.list-inline-item {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
|
|
44
|
+
&:not(:last-child) {
|
|
45
|
+
margin-right: $list-inline-padding;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
3
49
|
@include is('ol, ul','','li'){
|
|
4
50
|
max-width: $content-max-width;
|
|
5
51
|
}
|