@iamproperty/components 7.2.2--beta2 → 7.3.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/css/components/actionbar.component.css +1 -1
- package/assets/css/components/actionbar.component.css.map +1 -1
- package/assets/css/components/barchart.component.css.map +1 -1
- package/assets/css/components/bento-grid.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/charts.module.css.map +1 -1
- package/assets/css/components/doughnutchart.component.css.map +1 -1
- package/assets/css/components/fileupload.css +1 -1
- package/assets/css/components/fileupload.css.map +1 -1
- package/assets/css/components/menu.component.css +1 -1
- package/assets/css/components/menu.component.css.map +1 -1
- package/assets/css/components/menu.css +1 -1
- package/assets/css/components/menu.css.map +1 -1
- package/assets/css/components/nav.component.css +1 -1
- package/assets/css/components/nav.component.css.map +1 -1
- package/assets/css/components/rank.component.css +1 -1
- package/assets/css/components/rank.component.css.map +1 -1
- package/assets/css/components/rankings.component.css +1 -1
- package/assets/css/components/rankings.component.css.map +1 -1
- package/assets/css/components/rankings.global.css +1 -1
- package/assets/css/components/rankings.global.css.map +1 -1
- package/assets/css/components/slider.css.map +1 -1
- package/assets/css/components/table-basic.global.css.map +1 -1
- package/assets/css/components/table.global.css.map +1 -1
- package/assets/css/core.min.css +1 -1
- package/assets/css/core.min.css.map +1 -1
- package/assets/css/mobile-core.min.css +1 -1
- package/assets/css/mobile-core.min.css.map +1 -1
- package/assets/css/mobile.min.css +1 -1
- package/assets/css/mobile.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/thumbnail.png +0 -0
- package/assets/js/components/accordion/accordion.component.min.js +1 -1
- package/assets/js/components/actionbar/actionbar.component.min.js +2 -2
- package/assets/js/components/address-lookup/address-lookup.component.min.js +1 -1
- package/assets/js/components/applied-filters/applied-filters.component.min.js +1 -1
- package/assets/js/components/barchart/barchart.component.min.js +1 -1
- package/assets/js/components/bento-grid/bento-grid.component.min.js +1 -1
- package/assets/js/components/card/card.component.min.js +2 -2
- package/assets/js/components/carousel/carousel.component.min.js +1 -1
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js +1 -1
- package/assets/js/components/doughnutchart/doughnutchart.component.min.js +1 -1
- package/assets/js/components/fileupload/fileupload.component.min.js +4 -4
- package/assets/js/components/filter-card/filter-card.component.min.js +1 -1
- package/assets/js/components/filterlist/filterlist.component.min.js +1 -1
- package/assets/js/components/header/header.component.min.js +1 -1
- package/assets/js/components/inline-edit/inline-edit.component.min.js +1 -1
- package/assets/js/components/marketing/marketing.component.min.js +1 -1
- package/assets/js/components/menu/menu.component.js +138 -159
- package/assets/js/components/menu/menu.component.min.js +4 -69
- package/assets/js/components/menu/menu.component.min.js.map +1 -1
- package/assets/js/components/multi-step/multi-step.component.min.js +1 -1
- package/assets/js/components/multiselect/multiselect.component.min.js +1 -1
- package/assets/js/components/nav/nav.component.min.js +2 -2
- package/assets/js/components/notification/notification.component.min.js +1 -1
- package/assets/js/components/pagination/pagination.component.min.js +1 -1
- package/assets/js/components/rank/rank.component.min.js +4 -4
- package/assets/js/components/rankings/rankings.component.min.js +5 -5
- package/assets/js/components/record-card/record-card.component.min.js +1 -1
- package/assets/js/components/search/search.component.min.js +1 -1
- package/assets/js/components/slider/slider.component.min.js +1 -1
- package/assets/js/components/table/table.component.min.js +1 -1
- package/assets/js/components/table-ajax/table-ajax.component.min.js +1 -1
- package/assets/js/components/table-basic/table-basic.component.min.js +1 -1
- package/assets/js/components/table-no-submit/table-no-submit.component.min.js +1 -1
- package/assets/js/components/table-submit/table-submit.component.min.js +1 -1
- package/assets/js/components/tabs/tabs.component.min.js +1 -1
- package/assets/js/components/video-card/video-card.component.js +3 -66
- package/assets/js/components/video-card/video-card.component.min.js +5 -5
- package/assets/js/components/video-card/video-card.component.min.js.map +1 -1
- package/assets/js/modules/videos.js +147 -0
- package/assets/js/scripts.bundle.js +3 -3
- package/assets/js/scripts.bundle.js.map +1 -1
- package/assets/js/scripts.bundle.min.js +2 -2
- package/assets/js/scripts.bundle.min.js.map +1 -1
- package/assets/js/scripts.js +13 -2
- package/assets/sass/_elements.scss +6 -0
- package/assets/sass/_functions/functions.scss +6 -6
- package/assets/sass/_functions/variables.scss +24 -33
- package/assets/sass/_utility-mixins.scss +1 -0
- package/assets/sass/components/actionbar.component.scss +2 -3
- package/assets/sass/components/bento-grid.global.scss +0 -1
- package/assets/sass/components/charts.module.scss +0 -2
- package/assets/sass/components/fileupload.scss +3 -3
- package/assets/sass/components/menu.component.scss +123 -31
- package/assets/sass/components/menu.scss +68 -7
- package/assets/sass/components/nav.component.scss +2 -4
- package/assets/sass/components/rank.component.scss +14 -23
- package/assets/sass/components/rankings.component.scss +1 -7
- package/assets/sass/components/rankings.global.scss +6 -12
- package/assets/sass/components/table-basic.global.scss +2 -4
- package/assets/sass/components/table.global.scss +4 -4
- package/assets/sass/elements/buttons--global.scss +1 -1
- package/assets/sass/elements/details.scss +2 -4
- package/assets/sass/elements/dialog.scss +1 -3
- package/assets/sass/elements/forms.scss +28 -18
- package/assets/sass/elements/links.scss +49 -1
- package/assets/sass/elements/toggle-button.scss +55 -0
- package/assets/sass/elements/type.scss +15 -46
- package/assets/sass/error.scss +3 -9
- package/assets/sass/foundations/reboot.scss +3 -3
- package/assets/sass/templates/form.scss +4 -8
- package/assets/ts/components/menu/menu.component.ts +152 -171
- package/assets/ts/components/rank/rank.component.ts +1 -6
- package/assets/ts/components/rankings/rankings.component.ts +1 -7
- package/assets/ts/components/video-card/video-card.component.ts +4 -77
- package/assets/ts/modules/videos.ts +194 -0
- package/assets/ts/scripts.ts +7 -1
- package/dist/components.es.js +19 -19
- package/dist/components.umd.js +78 -143
- package/package.json +1 -1
- package/src/components/Rank/Rank.vue +1 -2
- package/src/components/Rankings/Rankings.vue +9 -10
|
@@ -1,17 +1,36 @@
|
|
|
1
|
+
@use '../_func.scss' as *;
|
|
2
|
+
|
|
1
3
|
:host {
|
|
4
|
+
//all: unset;
|
|
2
5
|
inset: auto;
|
|
3
|
-
top: anchor(
|
|
4
|
-
left:
|
|
6
|
+
top: anchor(bottom);
|
|
7
|
+
left: anchor(left);
|
|
5
8
|
position: fixed;
|
|
6
9
|
position-try-fallbacks: flip-block, flip-inline;
|
|
7
10
|
width: max-content;
|
|
8
|
-
min-width: calc(anchor-size(width) + 2rem);
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
height: min-content;
|
|
13
|
+
max-height: var(--menu-max-height, min(100vh - 6rem));
|
|
11
14
|
background: var(--menu-bg, canvas);
|
|
12
15
|
margin: var(--menu-margin, 0);
|
|
13
|
-
padding: var(--menu-padding, 0.
|
|
16
|
+
padding: var(--menu-padding, 0.5rem);
|
|
14
17
|
border: var(--menu-border, 2px solid grey);
|
|
18
|
+
overflow: auto;
|
|
19
|
+
|
|
20
|
+
border: none !important;
|
|
21
|
+
border-radius: 0.5rem;
|
|
22
|
+
box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.1);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host(.menu--fill) {
|
|
26
|
+
width: anchor-size(width);
|
|
27
|
+
min-width: anchor-size(width);
|
|
28
|
+
max-width: anchor-size(width);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:host(:popover-open),
|
|
32
|
+
:host([popover-open]) {
|
|
33
|
+
display: block;
|
|
15
34
|
}
|
|
16
35
|
|
|
17
36
|
:host(:not([popover])) {
|
|
@@ -19,61 +38,133 @@
|
|
|
19
38
|
display: block;
|
|
20
39
|
}
|
|
21
40
|
|
|
22
|
-
.menu--
|
|
23
|
-
|
|
41
|
+
:host(.menu--sm) {
|
|
42
|
+
width: rem(160);
|
|
43
|
+
}
|
|
44
|
+
:host(.menu--md) {
|
|
45
|
+
width: rem(240);
|
|
46
|
+
}
|
|
47
|
+
:host(.menu--lg) {
|
|
48
|
+
width: rem(320);
|
|
24
49
|
}
|
|
25
50
|
|
|
26
|
-
|
|
51
|
+
:host(.menu--height-sm) {
|
|
52
|
+
max-height: rem(200);
|
|
53
|
+
}
|
|
54
|
+
:host(.menu--height-lg) {
|
|
55
|
+
max-height: rem(400);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
::slotted(*:is(button, a, label, span)) {
|
|
27
59
|
//all: unset !important;
|
|
28
60
|
background: unset !important;
|
|
29
61
|
border: unset !important;
|
|
30
|
-
color:
|
|
62
|
+
color: var(--colour-primary) !important;
|
|
31
63
|
font-weight: inherit !important;
|
|
32
64
|
font-family: inherit !important;
|
|
33
65
|
font-size: 1rem !important;
|
|
66
|
+
line-height: rem(19) !important;
|
|
34
67
|
display: block !important;
|
|
35
68
|
margin: var(--menu-item-margin, 0 0 0.25rem 0) !important;
|
|
36
|
-
padding: var(--menu-item-padding, 0) !important;
|
|
69
|
+
padding-block: var(--menu-item-padding, 0.5rem) !important;
|
|
37
70
|
width: var(--menu-item-width, 100%) !important;
|
|
71
|
+
max-width: var(--menu-item-width, 100%) !important;
|
|
38
72
|
text-align: var(--menu-item-text-align, left) !important;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
::slotted(*:is(button, a, label)) {
|
|
76
|
+
padding-inline: var(--menu-item-padding, 0.5rem);
|
|
39
77
|
cursor: var(--menu-item-cursor, pointer) !important;
|
|
40
78
|
}
|
|
41
79
|
|
|
42
|
-
::slotted(
|
|
43
|
-
|
|
44
|
-
|
|
80
|
+
::slotted(*:is(span):first-child) {
|
|
81
|
+
padding-top: 0 !important;
|
|
82
|
+
font-weight: 700 !important;
|
|
45
83
|
}
|
|
46
|
-
|
|
47
|
-
|
|
84
|
+
|
|
85
|
+
::slotted(*:is(button, a, label, span):last-child) {
|
|
86
|
+
margin-bottom: 0 !important;
|
|
48
87
|
}
|
|
49
|
-
|
|
50
|
-
|
|
88
|
+
|
|
89
|
+
// Radio buttons
|
|
90
|
+
|
|
91
|
+
::slotted(*:is(label)) {
|
|
92
|
+
--radio-size: #{rem(20)};
|
|
93
|
+
--radio-inner-size: #{rem(12)};
|
|
94
|
+
--radio-inner-top: #{rem(12)};
|
|
95
|
+
--radio-inner-left: #{rem(12)};
|
|
96
|
+
|
|
97
|
+
--checkbox-tick-size: #{rem(12)};
|
|
98
|
+
--checkbox-inner-size: #{rem(10)};
|
|
99
|
+
--checkbox-inner-top: #{rem(6)};
|
|
100
|
+
--checkbox-inner-left: #{rem(8)};
|
|
101
|
+
padding-left: rem(36) !important;
|
|
51
102
|
}
|
|
52
|
-
|
|
53
|
-
|
|
103
|
+
|
|
104
|
+
// States
|
|
105
|
+
|
|
106
|
+
::slotted(*:is(button, a, label):is(.selected)) {
|
|
107
|
+
background: #e9f8fc !important;
|
|
108
|
+
border-left: 4px solid var(--colour-info) !important;
|
|
109
|
+
border-radius: 0.25rem !important;
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
padding-left: calc(var(--menu-item-padding, 0.5rem) - 4px)!important;
|
|
54
113
|
}
|
|
55
114
|
|
|
56
|
-
|
|
57
|
-
|
|
115
|
+
@media (prefers-color-scheme: dark) {
|
|
116
|
+
|
|
117
|
+
::slotted(*:is(button, a, label):is(.selected):not(:hover, .hover)) {
|
|
118
|
+
|
|
119
|
+
color: black!important;
|
|
120
|
+
}
|
|
58
121
|
}
|
|
59
|
-
|
|
60
|
-
|
|
122
|
+
|
|
123
|
+
::slotted(*:is(button, a, label):is(:hover, .hover, :focus, .focus)) {
|
|
124
|
+
//all: unset !important;
|
|
125
|
+
background: var(--colour-light) !important;
|
|
126
|
+
border-radius: 0.25rem !important;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
::slotted(*:is(button, a, label):is(:active, .active)) {
|
|
130
|
+
background: rgba(224, 224, 224, 1) !important;
|
|
131
|
+
border-radius: 0.25rem !important;
|
|
61
132
|
}
|
|
62
|
-
|
|
63
|
-
|
|
133
|
+
|
|
134
|
+
@media (prefers-color-scheme: dark) {
|
|
135
|
+
|
|
136
|
+
::slotted(*:is(button, a, label):is(:active, .active)) {
|
|
137
|
+
|
|
138
|
+
color: black!important;
|
|
139
|
+
}
|
|
64
140
|
}
|
|
65
141
|
|
|
66
142
|
::slotted(hr) {
|
|
67
|
-
height:
|
|
143
|
+
height: 1px !important;
|
|
68
144
|
background-color: var(--menu-hr-border-color, var(--border-color, grey)) !important;
|
|
69
|
-
|
|
70
|
-
margin
|
|
71
|
-
width: calc(100% + var(--menu-padding, 0.25rem) * 2) !important;
|
|
72
|
-
margin-top: var(--menu-hr-margin, 0.75rem) !important;
|
|
73
|
-
margin-bottom: var(--menu-hr-margin, 1rem) !important;
|
|
145
|
+
width: 100%;
|
|
146
|
+
margin: var(--menu-item-margin, 0 0 0.25rem 0) !important;
|
|
74
147
|
padding: 0 !important;
|
|
75
148
|
}
|
|
76
149
|
|
|
150
|
+
// #region sub menu
|
|
151
|
+
::slotted(iam-menu:not([popover])) {
|
|
152
|
+
border: none !important;
|
|
153
|
+
border-radius: 0 !important;
|
|
154
|
+
box-shadow: none !important;
|
|
155
|
+
padding: 0;
|
|
156
|
+
margin: 0;
|
|
157
|
+
width: auto;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
::slotted(iam-menu[popover]) {
|
|
161
|
+
top: anchor(top);
|
|
162
|
+
left: calc(anchor(right) + 1rem);
|
|
163
|
+
}
|
|
164
|
+
// #endregion
|
|
165
|
+
|
|
166
|
+
/*
|
|
167
|
+
|
|
77
168
|
::slotted([popovertarget]):before {
|
|
78
169
|
text-align: center;
|
|
79
170
|
display: inline-block !important;
|
|
@@ -99,3 +190,4 @@
|
|
|
99
190
|
-webkit-mask-position: 50% 50%;
|
|
100
191
|
z-index: 2;
|
|
101
192
|
}
|
|
193
|
+
*/
|
|
@@ -5,17 +5,78 @@ $mobileOnly: 'false' !default;
|
|
|
5
5
|
$darkMode: 'true' !default;
|
|
6
6
|
|
|
7
7
|
@include layer('components', $layers) {
|
|
8
|
-
$menuPadding:
|
|
9
|
-
$menuBorder: none !default;
|
|
10
|
-
$menuBorderRadius: 1rem !default;
|
|
11
|
-
$menuBoxShadow: 0px 2px 9px rgba(0, 0, 0, 0.1) !default;
|
|
8
|
+
$menuPadding: 0.5rem !default;
|
|
12
9
|
|
|
13
10
|
iam-menu:defined {
|
|
14
11
|
--menu-padding: #{$menuPadding};
|
|
15
12
|
--border-color: var(--colour-border);
|
|
16
13
|
--menu-item-margin: 0 0 0.5rem 0;
|
|
17
|
-
border: #{$menuBorder};
|
|
18
|
-
border-radius: #{$menuBorderRadius};
|
|
19
|
-
box-shadow: #{$menuBoxShadow};
|
|
20
14
|
}
|
|
15
|
+
|
|
16
|
+
iam-menu i {
|
|
17
|
+
width: 1.25rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// #region sub menu
|
|
21
|
+
|
|
22
|
+
iam-menu > button:has(+ iam-menu) {
|
|
23
|
+
position: relative;
|
|
24
|
+
|
|
25
|
+
&:after {
|
|
26
|
+
content: '';
|
|
27
|
+
height: var(--btn-line-height);
|
|
28
|
+
width: rem(16);
|
|
29
|
+
height: rem(16);
|
|
30
|
+
display: inline-block;
|
|
31
|
+
background: currentColor;
|
|
32
|
+
mask-image: var(--icon-arrow);
|
|
33
|
+
mask-size: 100%;
|
|
34
|
+
mask-repeat: no-repeat;
|
|
35
|
+
mask-position: 50% 50%;
|
|
36
|
+
-webkit-mask-image: var(--icon-arrow);
|
|
37
|
+
-webkit-mask-size: 100%;
|
|
38
|
+
-webkit-mask-repeat: no-repeat;
|
|
39
|
+
-webkit-mask-position: 50% 50%;
|
|
40
|
+
vertical-align: bottom;
|
|
41
|
+
|
|
42
|
+
position: absolute;
|
|
43
|
+
top: calc(50% - 0.5rem);
|
|
44
|
+
right: 0.5rem;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
iam-menu > button:has(+ iam-menu:not([popover])) {
|
|
49
|
+
&:after {
|
|
50
|
+
rotate: 90deg;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
iam-menu > button.open:has(+ iam-menu:not([popover])) {
|
|
55
|
+
position: relative;
|
|
56
|
+
|
|
57
|
+
&:after {
|
|
58
|
+
top: calc(50% - 0.5rem);
|
|
59
|
+
right: 0.5rem;
|
|
60
|
+
rotate: 270deg;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
iam-menu > button:has(+ iam-menu:popover-open) {
|
|
65
|
+
position: relative;
|
|
66
|
+
|
|
67
|
+
&:after {
|
|
68
|
+
top: calc(50% - 0.5rem);
|
|
69
|
+
right: 0.5rem;
|
|
70
|
+
rotate: 180deg;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
iam-menu > button:not(.open) + iam-menu:not([popover]) {
|
|
75
|
+
display: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
iam-menu > button + iam-menu:not([popover]) > *:is(button, a, label) {
|
|
79
|
+
padding-left: 2rem;
|
|
80
|
+
}
|
|
81
|
+
// #endregion
|
|
21
82
|
}
|
|
@@ -579,13 +579,11 @@ $darkMode: 'true' !default;
|
|
|
579
579
|
font-weight: $headings-font-weight;
|
|
580
580
|
color: $headings-color;
|
|
581
581
|
clear: both;
|
|
582
|
-
font-size:
|
|
583
|
-
line-height:
|
|
582
|
+
font-size: map.get($heading-sizes, 'h3_fs');
|
|
583
|
+
line-height: map.get($heading-sizes, 'h3_lh');
|
|
584
584
|
max-width: var(--content-max-width);
|
|
585
585
|
|
|
586
586
|
@include media-breakpoint-up(sm, $mobileOnly) {
|
|
587
|
-
font-size: rem(map.get($heading-sizes, 'h3_fs_sm'));
|
|
588
|
-
line-height: rem(map.get($heading-sizes, 'h3_lh_sm'));
|
|
589
587
|
margin-right: -2.5rem;
|
|
590
588
|
padding-right: 2.5rem;
|
|
591
589
|
width: calc(100% + 4rem);
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
|
|
14
13
|
:host {
|
|
15
|
-
|
|
16
14
|
display: block;
|
|
17
15
|
text-align: center;
|
|
18
16
|
margin-bottom: 2rem;
|
|
@@ -21,7 +19,6 @@
|
|
|
21
19
|
}
|
|
22
20
|
|
|
23
21
|
.rank {
|
|
24
|
-
|
|
25
22
|
position: relative;
|
|
26
23
|
display: flex;
|
|
27
24
|
|
|
@@ -39,11 +36,11 @@
|
|
|
39
36
|
.position {
|
|
40
37
|
margin: 0;
|
|
41
38
|
padding: 0;
|
|
42
|
-
line-height: 1!important;
|
|
39
|
+
line-height: 1 !important;
|
|
43
40
|
}
|
|
44
|
-
|
|
41
|
+
|
|
45
42
|
.position:after {
|
|
46
|
-
content: var(--rank-sub-text,
|
|
43
|
+
content: var(--rank-sub-text, 'Your rank');
|
|
47
44
|
display: block;
|
|
48
45
|
font-size: rem(map.get($heading-sizes, 'lead_fs'));
|
|
49
46
|
line-height: 1;
|
|
@@ -61,11 +58,9 @@
|
|
|
61
58
|
}
|
|
62
59
|
}
|
|
63
60
|
|
|
64
|
-
|
|
65
|
-
:host([data-position=
|
|
66
|
-
:host([data-position=
|
|
67
|
-
:host([data-position="3rd"]) {
|
|
68
|
-
|
|
61
|
+
:host([data-position='1st']),
|
|
62
|
+
:host([data-position='2nd']),
|
|
63
|
+
:host([data-position='3rd']) {
|
|
69
64
|
.rank {
|
|
70
65
|
border-width: 0;
|
|
71
66
|
overflow: hidden;
|
|
@@ -76,22 +71,19 @@
|
|
|
76
71
|
}
|
|
77
72
|
}
|
|
78
73
|
|
|
79
|
-
:host([data-position=
|
|
80
|
-
|
|
74
|
+
:host([data-position='1st']) {
|
|
81
75
|
.rank {
|
|
82
|
-
|
|
83
|
-
background: #FFEE56;
|
|
76
|
+
background: #ffee56;
|
|
84
77
|
}
|
|
85
|
-
|
|
78
|
+
|
|
86
79
|
.rank svg:nth-child(1) {
|
|
87
80
|
display: block;
|
|
88
81
|
}
|
|
89
82
|
}
|
|
90
83
|
|
|
91
|
-
:host([data-position=
|
|
92
|
-
|
|
84
|
+
:host([data-position='2nd']) {
|
|
93
85
|
.rank {
|
|
94
|
-
background: #
|
|
86
|
+
background: #ededed;
|
|
95
87
|
}
|
|
96
88
|
|
|
97
89
|
.rank svg:nth-child(2) {
|
|
@@ -99,13 +91,12 @@
|
|
|
99
91
|
}
|
|
100
92
|
}
|
|
101
93
|
|
|
102
|
-
:host([data-position=
|
|
103
|
-
|
|
94
|
+
:host([data-position='3rd']) {
|
|
104
95
|
.rank {
|
|
105
|
-
background: #
|
|
96
|
+
background: #ffe798;
|
|
106
97
|
}
|
|
107
98
|
|
|
108
99
|
.rank svg:nth-child(3) {
|
|
109
100
|
display: block;
|
|
110
101
|
}
|
|
111
|
-
}
|
|
102
|
+
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '../_func.scss' as *;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
4
|
@use '../elements/type.scss' as *;
|
|
7
5
|
|
|
8
6
|
@include max-height();
|
|
@@ -14,7 +12,6 @@
|
|
|
14
12
|
}
|
|
15
13
|
|
|
16
14
|
.podium {
|
|
17
|
-
|
|
18
15
|
display: flex;
|
|
19
16
|
flex-direction: row;
|
|
20
17
|
flex-wrap: nowrap;
|
|
@@ -29,7 +26,6 @@
|
|
|
29
26
|
order: 1;
|
|
30
27
|
|
|
31
28
|
iam-rank {
|
|
32
|
-
|
|
33
29
|
margin: 0;
|
|
34
30
|
width: 100%;
|
|
35
31
|
}
|
|
@@ -48,14 +44,12 @@
|
|
|
48
44
|
}
|
|
49
45
|
}
|
|
50
46
|
|
|
51
|
-
|
|
52
47
|
> div:nth-child(1) {
|
|
53
48
|
order: 2;
|
|
54
49
|
padding: 0;
|
|
55
50
|
}
|
|
56
51
|
|
|
57
52
|
> div:nth-child(2) {
|
|
58
|
-
|
|
59
53
|
padding: 1rem 1rem 0 0;
|
|
60
54
|
}
|
|
61
55
|
|
|
@@ -63,4 +57,4 @@
|
|
|
63
57
|
order: 3;
|
|
64
58
|
padding: 1rem 0 0 1rem;
|
|
65
59
|
}
|
|
66
|
-
}
|
|
60
|
+
}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
iam-rankings {
|
|
14
|
-
|
|
15
14
|
table {
|
|
16
15
|
display: block;
|
|
17
16
|
width: 100%;
|
|
@@ -25,14 +24,14 @@ iam-rankings {
|
|
|
25
24
|
display: contents;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
:is(td,th) {
|
|
27
|
+
:is(td, th) {
|
|
29
28
|
font-weight: normal;
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
tr.current {
|
|
33
32
|
background-color: var(--colour-light);
|
|
34
33
|
}
|
|
35
|
-
tr.current :is(td,th) {
|
|
34
|
+
tr.current :is(td, th) {
|
|
36
35
|
font-weight: bolder;
|
|
37
36
|
}
|
|
38
37
|
|
|
@@ -40,11 +39,10 @@ iam-rankings {
|
|
|
40
39
|
display: flex;
|
|
41
40
|
width: 100%;
|
|
42
41
|
position: relative;
|
|
43
|
-
|
|
44
42
|
|
|
45
43
|
&:before {
|
|
46
44
|
counter-increment: countItem; /* Increment the value of section counter by 1 */
|
|
47
|
-
content: counter(countItem)
|
|
45
|
+
content: counter(countItem) '.';
|
|
48
46
|
font-size: rem(32);
|
|
49
47
|
line-height: rem(40);
|
|
50
48
|
font-weight: bolder;
|
|
@@ -68,17 +66,13 @@ iam-rankings {
|
|
|
68
66
|
|
|
69
67
|
progress {
|
|
70
68
|
width: 100%;
|
|
71
|
-
height: 1rem
|
|
69
|
+
height: 1rem;
|
|
72
70
|
}
|
|
73
71
|
}
|
|
74
72
|
|
|
75
|
-
|
|
76
73
|
@each $index, $value in $chart-colors {
|
|
77
|
-
tr:nth-child(#{$index}) progress{
|
|
74
|
+
tr:nth-child(#{$index}) progress {
|
|
78
75
|
--colour: var(--chart-colour-#{$index}, #{$value});
|
|
79
76
|
}
|
|
80
|
-
|
|
81
77
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
78
|
+
}
|
|
@@ -6,8 +6,6 @@ $selector: 'iam-table, iam-table-basic, iam-table-no-submit, iam-table-submit';
|
|
|
6
6
|
|
|
7
7
|
// #region Basic table stuff
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
9
|
:is(#{$selector}) {
|
|
12
10
|
--hover-background: var(--colour-light);
|
|
13
11
|
--row-bg: var(--colour-canvas-2);
|
|
@@ -207,11 +205,11 @@ $selector: 'iam-table, iam-table-basic, iam-table-no-submit, iam-table-submit';
|
|
|
207
205
|
|
|
208
206
|
:is(#{$selector}).table--cta {
|
|
209
207
|
@container (width > 23.4375em) {
|
|
210
|
-
padding-right: calc(var(--wrapper-padding) + 1.5rem)!important;
|
|
208
|
+
padding-right: calc(var(--wrapper-padding) + 1.5rem) !important;
|
|
211
209
|
|
|
212
210
|
tr > th:nth-last-child(2),
|
|
213
211
|
tr > td:nth-last-child(2) {
|
|
214
|
-
padding-right: var(--cta-width)!important;
|
|
212
|
+
padding-right: var(--cta-width) !important;
|
|
215
213
|
}
|
|
216
214
|
|
|
217
215
|
tr > *:not(:first-child):last-child {
|
|
@@ -285,7 +285,7 @@ $selector: 'iam-table, iam-table-basic, iam-table-no-submit, iam-table-submit';
|
|
|
285
285
|
|
|
286
286
|
.th--fixed + th:not(.th--fixed),
|
|
287
287
|
.td--fixed + td:not(.td--fixed) {
|
|
288
|
-
padding-left: calc(rem(48 + 6))!important;
|
|
288
|
+
padding-left: calc(rem(48 + 6)) !important;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
.th--fixed + .th--fixed,
|
|
@@ -295,7 +295,7 @@ $selector: 'iam-table, iam-table-basic, iam-table-no-submit, iam-table-submit';
|
|
|
295
295
|
|
|
296
296
|
.th--fixed + .th--fixed + th:not(.th--fixed),
|
|
297
297
|
.td--fixed + .td--fixed + td:not(.td--fixed) {
|
|
298
|
-
padding-left: calc(rem(48 + 48 + 6))!important;
|
|
298
|
+
padding-left: calc(rem(48 + 48 + 6)) !important;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
.th--fixed + .th--fixed + .th--fixed,
|
|
@@ -305,7 +305,7 @@ $selector: 'iam-table, iam-table-basic, iam-table-no-submit, iam-table-submit';
|
|
|
305
305
|
|
|
306
306
|
.th--fixed + .th--fixed + .th--fixed + th:not(.th--fixed),
|
|
307
307
|
.td--fixed + .td--fixed + .td--fixed + td:not(.td--fixed) {
|
|
308
|
-
padding-left: calc(rem(48 + 48 + 48 + 6))!important;
|
|
308
|
+
padding-left: calc(rem(48 + 48 + 48 + 6)) !important;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
.dialog__wrapper {
|
|
@@ -348,7 +348,7 @@ $icon-sort-desc: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'
|
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
&:has(th[data-sort]) :is(th, td) {
|
|
351
|
-
padding-left: 0.25rem!important;
|
|
351
|
+
padding-left: 0.25rem !important;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
th[data-sort][data-order-by='asc'] {
|
|
@@ -119,7 +119,7 @@ $darkMode: 'true' !default;
|
|
|
119
119
|
|
|
120
120
|
font-size: rem(18);
|
|
121
121
|
line-height: var(--line-height);
|
|
122
|
-
padding-bottom:
|
|
122
|
+
padding-bottom: map.get($heading-sizes, 'h3_pb');
|
|
123
123
|
font-weight: 700;
|
|
124
124
|
max-width: 100%;
|
|
125
125
|
|
|
@@ -139,9 +139,7 @@ $darkMode: 'true' !default;
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
@include media-breakpoint-up(sm, $mobileOnly) {
|
|
142
|
-
|
|
143
|
-
--line-height: #{rem(map.get($heading-sizes, 'h3_lh_sm'))};
|
|
144
|
-
padding-bottom: rem(map.get($heading-sizes, 'h3_pb_sm'));
|
|
142
|
+
|
|
145
143
|
font-weight: 900;
|
|
146
144
|
}
|
|
147
145
|
}
|
|
@@ -11,8 +11,7 @@ $darkMode: 'true' !default;
|
|
|
11
11
|
display: block;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
// #region Default styling of both modals
|
|
15
|
-
[popover],
|
|
14
|
+
// #region Default styling of both modals
|
|
16
15
|
dialog {
|
|
17
16
|
--dialog-padding: #{rem(24)};
|
|
18
17
|
|
|
@@ -29,7 +28,6 @@ $darkMode: 'true' !default;
|
|
|
29
28
|
outline: var(--contrast-outline-width, 0px) solid var(--colour-primary);
|
|
30
29
|
}
|
|
31
30
|
|
|
32
|
-
[popover]:popover-open,
|
|
33
31
|
dialog[open] {
|
|
34
32
|
display: flex;
|
|
35
33
|
flex-direction: column;
|