@iamproperty/components 5.6.0 → 5.6.1-beta10
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/card.css +1 -1
- package/assets/css/components/card.css.map +1 -1
- package/assets/css/components/collapsible-side.css +1 -1
- package/assets/css/components/collapsible-side.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/inline-edit.preload.css +1 -1
- package/assets/css/components/inline-edit.preload.css.map +1 -1
- package/assets/css/components/multiselect.css +1 -1
- package/assets/css/components/multiselect.css.map +1 -1
- package/assets/css/components/table.global.css +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/core.min.css +1 -1
- package/assets/css/core.min.css.map +1 -1
- package/assets/css/style.min.css +1 -1
- package/assets/css/style.min.css.map +1 -1
- package/assets/js/components/accordion/accordion.component.min.js +1 -1
- package/assets/js/components/actionbar/actionbar.component.js +7 -7
- package/assets/js/components/actionbar/actionbar.component.min.js +10 -10
- package/assets/js/components/actionbar/actionbar.component.min.js.map +1 -1
- package/assets/js/components/address-lookup/address-lookup.component.js +3 -3
- package/assets/js/components/address-lookup/address-lookup.component.min.js +6 -6
- package/assets/js/components/address-lookup/address-lookup.component.min.js.map +1 -1
- package/assets/js/components/applied-filters/applied-filters.component.min.js +1 -1
- package/assets/js/components/card/card.component.js +5 -4
- package/assets/js/components/card/card.component.min.js +9 -9
- package/assets/js/components/card/card.component.min.js.map +1 -1
- package/assets/js/components/carousel/carousel.component.js +3 -3
- package/assets/js/components/carousel/carousel.component.min.js +5 -5
- package/assets/js/components/carousel/carousel.component.min.js.map +1 -1
- package/assets/js/components/collapsible-side/collapsible-side.component.js +14 -10
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js +14 -14
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js.map +1 -1
- package/assets/js/components/fileupload/fileupload.component.js +3 -3
- package/assets/js/components/fileupload/fileupload.component.min.js +8 -8
- package/assets/js/components/fileupload/fileupload.component.min.js.map +1 -1
- package/assets/js/components/filterlist/filterlist.component.js +2 -2
- package/assets/js/components/filterlist/filterlist.component.min.js +5 -5
- package/assets/js/components/filterlist/filterlist.component.min.js.map +1 -1
- package/assets/js/components/header/header.component.min.js +1 -1
- package/assets/js/components/inline-edit/inline-edit.component.js +11 -3
- package/assets/js/components/inline-edit/inline-edit.component.min.js +7 -7
- package/assets/js/components/inline-edit/inline-edit.component.min.js.map +1 -1
- package/assets/js/components/marketing/marketing.component.min.js +1 -1
- package/assets/js/components/multiselect/multiselect.component.js +4 -3
- package/assets/js/components/multiselect/multiselect.component.min.js +6 -6
- package/assets/js/components/multiselect/multiselect.component.min.js.map +1 -1
- package/assets/js/components/nav/nav.component.min.js +1 -1
- package/assets/js/components/notification/notification.component.js +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 +1 -1
- package/assets/js/components/search/search.component.min.js +1 -1
- package/assets/js/components/search/search.component.min.js.map +1 -1
- package/assets/js/components/slider/slider.component.min.js +1 -1
- package/assets/js/components/table/table.component.min.js +5 -5
- package/assets/js/components/table/table.component.min.js.map +1 -1
- package/assets/js/components/tabs/tabs.component.min.js +2 -2
- package/assets/js/dynamic.min.js +5 -5
- package/assets/js/dynamic.min.js.map +1 -1
- package/assets/js/modules/dialogs.js +10 -5
- package/assets/js/modules/dynamicEvents.js +3 -0
- package/assets/js/modules/fileupload.js +2 -9
- package/assets/js/modules/helpers.js +4 -0
- package/assets/js/scripts.bundle.js +17 -17
- 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/sass/_components.scss +47 -0
- package/assets/sass/_functions/variables.scss +1 -1
- package/assets/sass/components/card.scss +88 -1
- package/assets/sass/components/collapsible-side.scss +63 -48
- package/assets/sass/components/fileupload.scss +1 -0
- package/assets/sass/components/inline-edit.preload.scss +57 -3
- package/assets/sass/components/multiselect.scss +5 -1
- package/assets/sass/components/table.global.scss +4 -19
- package/assets/sass/components/tabs.scss +1 -6
- package/assets/sass/elements/buttons.scss +1 -1
- package/assets/sass/elements/dialog.scss +29 -1
- package/assets/sass/elements/forms.scss +40 -9
- package/assets/sass/elements/progress.scss +159 -17
- package/assets/sass/foundations/reboot.scss +3 -3
- package/assets/sass/foundations/root.scss +2 -2
- package/assets/ts/components/actionbar/actionbar.component.ts +7 -7
- package/assets/ts/components/address-lookup/address-lookup.component.ts +3 -3
- package/assets/ts/components/card/card.component.ts +6 -4
- package/assets/ts/components/carousel/carousel.component.ts +3 -3
- package/assets/ts/components/collapsible-side/collapsible-side.component.ts +17 -11
- package/assets/ts/components/fileupload/fileupload.component.ts +3 -3
- package/assets/ts/components/filterlist/filterlist.component.ts +2 -2
- package/assets/ts/components/inline-edit/inline-edit.component.ts +15 -4
- package/assets/ts/components/multiselect/multiselect.component.ts +4 -3
- package/assets/ts/components/notification/notification.component.ts +1 -1
- package/assets/ts/modules/dialogs.ts +13 -5
- package/assets/ts/modules/dynamicEvents.ts +3 -0
- package/assets/ts/modules/fileupload.ts +3 -14
- package/assets/ts/modules/helpers.ts +6 -0
- package/dist/components.es.js +550 -621
- package/dist/components.umd.js +86 -86
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/src/components/Card/README.md +1 -0
- package/src/components/CollapsibleSideMenu/CollapsibleSideMenu.vue +1 -1
- package/src/components/FileUpload/FileUpload.vue +29 -6
|
@@ -34,3 +34,50 @@ iam-search .optional-text {
|
|
|
34
34
|
display: none!important;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
// tabs
|
|
38
|
+
|
|
39
|
+
@media screen and (prefers-color-scheme: dark) {
|
|
40
|
+
.tabs {
|
|
41
|
+
--tabs-gradient: linear-gradient(90deg, rgba(38,38,38,0), rgba(38,38,38,1));
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Table dark mode support
|
|
46
|
+
iam-table {
|
|
47
|
+
|
|
48
|
+
tbody tr {
|
|
49
|
+
|
|
50
|
+
@include dark-mode(){
|
|
51
|
+
|
|
52
|
+
--hover-background: var(--colour-canvas);
|
|
53
|
+
|
|
54
|
+
&:is(:hover,:focus-within,.hover) {
|
|
55
|
+
background: var(--row-bg);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@container (width > 23.4375em) {
|
|
62
|
+
|
|
63
|
+
iam-table.table--cta:not(.table--loading):not(:has(tr:first-child td:first-child:last-child)) {
|
|
64
|
+
|
|
65
|
+
tr > *:not(:first-child):last-child {
|
|
66
|
+
|
|
67
|
+
@media screen and (prefers-color-scheme: dark) {
|
|
68
|
+
|
|
69
|
+
background: linear-gradient(90deg, transparent 0%, var(--row-bg) 1.25rem);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
iam-table {
|
|
76
|
+
|
|
77
|
+
tr:has([type="checkbox"]:checked){
|
|
78
|
+
|
|
79
|
+
@include dark-mode(){
|
|
80
|
+
--row-bg: #000000;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -418,15 +418,102 @@
|
|
|
418
418
|
|
|
419
419
|
//#region Record card
|
|
420
420
|
|
|
421
|
-
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
.card--record:has(.card__head) {
|
|
422
424
|
--img-height: 40%;
|
|
423
425
|
|
|
424
426
|
&:before,
|
|
425
427
|
&:after {
|
|
426
428
|
display: none;
|
|
427
429
|
}
|
|
430
|
+
|
|
431
|
+
.card__head {
|
|
432
|
+
background: transparent;
|
|
433
|
+
position: relative;
|
|
434
|
+
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
:host([data-record="business"]) {
|
|
439
|
+
--record-icon: '\f54f';
|
|
440
|
+
--record-colour: var(--wider-colour-2);
|
|
441
|
+
}
|
|
442
|
+
:host([data-record="page"]) {
|
|
443
|
+
--record-icon: '\f15c';
|
|
444
|
+
--record-colour: var(--wider-colour-3);
|
|
445
|
+
}
|
|
446
|
+
:host([data-record="contact"]) {
|
|
447
|
+
--record-icon: "\f2b9";
|
|
448
|
+
--record-colour: var(--wider-colour-4);
|
|
449
|
+
}
|
|
450
|
+
:host([data-record="lettings"]) {
|
|
451
|
+
--record-icon: "";
|
|
452
|
+
--record-icon-font: Font Awesome Kit;
|
|
453
|
+
--record-colour: var(--wider-colour-5);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
:host([data-record="sales"]) {
|
|
457
|
+
--record-icon: "";
|
|
458
|
+
--record-icon-font: Font Awesome Kit;
|
|
459
|
+
--record-colour: var(--wider-colour-7);
|
|
460
|
+
}
|
|
461
|
+
:host([data-record="landlord"]) {
|
|
462
|
+
--record-icon: "";
|
|
463
|
+
--record-icon-font: Font Awesome Kit;
|
|
464
|
+
--record-colour: var(--wider-colour-8);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
:host([data-record="contractor"]) {
|
|
468
|
+
--record-icon: "\f82c";
|
|
469
|
+
--record-colour: var(--wider-colour-9);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
:host([data-record="vendor"]) {
|
|
473
|
+
--record-icon: "";
|
|
474
|
+
--record-icon-font: Font Awesome Kit;
|
|
475
|
+
--record-colour: var(--wider-colour-13);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
:host([data-record="tenant"]) {
|
|
479
|
+
--record-icon: "\e1b0";
|
|
480
|
+
--record-colour: var(--wider-colour-6);
|
|
481
|
+
}
|
|
482
|
+
:host([data-record="sales-applicant"]) {
|
|
483
|
+
--record-icon: "";
|
|
484
|
+
--record-icon-font: Font Awesome Kit;
|
|
485
|
+
--record-colour: var(--wider-colour-10);
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
:host([data-record]) .card--record:has(.card__head) {
|
|
489
|
+
|
|
490
|
+
.card__head {
|
|
491
|
+
background: transparent;
|
|
492
|
+
position: relative;
|
|
493
|
+
|
|
494
|
+
&:before {
|
|
495
|
+
font-family: var(--record-icon-font,"Font Awesome 6 Pro");
|
|
496
|
+
font-weight: normal;
|
|
497
|
+
font-size: rem(24);
|
|
498
|
+
content: var(--record-icon);
|
|
499
|
+
display: block;
|
|
500
|
+
position: absolute;
|
|
501
|
+
top: auto;
|
|
502
|
+
left: 50%;
|
|
503
|
+
bottom: 0;
|
|
504
|
+
background-color: var(--record-colour);
|
|
505
|
+
border-radius: 50%;
|
|
506
|
+
height: rem(64);
|
|
507
|
+
line-height: rem(64);
|
|
508
|
+
width: rem(64);
|
|
509
|
+
text-align: center;
|
|
510
|
+
transform: translate(-50%,0);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
}
|
|
428
514
|
}
|
|
429
515
|
|
|
516
|
+
|
|
430
517
|
slot[name="btns"] {
|
|
431
518
|
display: flex;
|
|
432
519
|
flex-direction: row;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
:host {
|
|
4
4
|
--colour-border: #e9e9e9;
|
|
5
5
|
--side-link-hover: var(--colour-canvas-2);
|
|
6
|
+
grid-column: full-width;
|
|
6
7
|
|
|
7
8
|
@include light-mode() {
|
|
8
9
|
|
|
@@ -13,9 +14,14 @@
|
|
|
13
14
|
min-height: calc(100vh - var(--nav-height));
|
|
14
15
|
padding-top: 0!important;
|
|
15
16
|
margin-inline: auto;
|
|
16
|
-
|
|
17
|
+
width: 100%;
|
|
17
18
|
overflow: hidden;
|
|
18
19
|
position: relative;
|
|
20
|
+
|
|
21
|
+
@include media-breakpoint-up(md) {
|
|
22
|
+
max-height: calc(100vh - var(--nav-height));
|
|
23
|
+
overflow: auto;
|
|
24
|
+
}
|
|
19
25
|
}
|
|
20
26
|
|
|
21
27
|
.container {
|
|
@@ -28,8 +34,7 @@
|
|
|
28
34
|
@include media-breakpoint-up(md) {
|
|
29
35
|
|
|
30
36
|
padding-left: 5.25rem!important;
|
|
31
|
-
|
|
32
|
-
}
|
|
37
|
+
}
|
|
33
38
|
}
|
|
34
39
|
|
|
35
40
|
// #region Side menu
|
|
@@ -40,7 +45,7 @@
|
|
|
40
45
|
height: 100%;
|
|
41
46
|
min-height: calc(100vh - var(--nav-height));
|
|
42
47
|
width: rem(30);
|
|
43
|
-
height: 100
|
|
48
|
+
height: calc(100% - var(--nav-height));
|
|
44
49
|
background-color: var(--colour-canvas);
|
|
45
50
|
transition: width 1s;
|
|
46
51
|
|
|
@@ -61,25 +66,13 @@
|
|
|
61
66
|
|
|
62
67
|
@include media-breakpoint-up(md) {
|
|
63
68
|
|
|
64
|
-
left:
|
|
69
|
+
left: rem(84);
|
|
65
70
|
margin-left: #{rem(-84)};
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
content: "";
|
|
69
|
-
position: absolute;
|
|
70
|
-
top: 0;
|
|
71
|
-
height: 100%;
|
|
72
|
-
border-right: 2px solid var(--colour-border);
|
|
73
|
-
left: 0;
|
|
74
|
-
opacity: 1;
|
|
75
|
-
transition: all 1s;
|
|
76
|
-
//margin-left: rem(-260);
|
|
77
|
-
width: rem(40);
|
|
78
|
-
background: var(--colour-canvas);
|
|
79
|
-
}
|
|
71
|
+
position: fixed;
|
|
72
|
+
top: var(--nav-height);
|
|
80
73
|
|
|
81
74
|
&:not(.open).hover {
|
|
82
|
-
width: rem(
|
|
75
|
+
width: rem(304);
|
|
83
76
|
|
|
84
77
|
.btn[class*=fa-]:before {
|
|
85
78
|
content: "\f023" !important;
|
|
@@ -88,6 +81,7 @@
|
|
|
88
81
|
}
|
|
89
82
|
|
|
90
83
|
.btn {
|
|
84
|
+
display: var(--btn-display, block);
|
|
91
85
|
position: absolute;
|
|
92
86
|
top: rem(32);
|
|
93
87
|
right: 0;
|
|
@@ -96,7 +90,8 @@
|
|
|
96
90
|
background-color: var(--colour-canvas-2);
|
|
97
91
|
border: 2px solid var(--colour-border);
|
|
98
92
|
z-index: 99;
|
|
99
|
-
|
|
93
|
+
color: var(--colour-primary-theme);
|
|
94
|
+
|
|
100
95
|
&[aria-expanded]{
|
|
101
96
|
// Change icon
|
|
102
97
|
&[class*=fa-]:before {
|
|
@@ -105,15 +100,20 @@
|
|
|
105
100
|
|
|
106
101
|
@include media-breakpoint-up(md) {
|
|
107
102
|
opacity: 0;
|
|
108
|
-
transition: opacity 0.5s;
|
|
109
|
-
|
|
110
|
-
&:is(:hover,:focus,:active) {
|
|
111
|
-
opacity: 1;
|
|
112
|
-
}
|
|
113
103
|
}
|
|
114
104
|
}
|
|
115
105
|
}
|
|
116
106
|
|
|
107
|
+
&:is(:hover,:focus-within,:active) .btn {
|
|
108
|
+
|
|
109
|
+
border: 2px solid var(--colour-border);
|
|
110
|
+
color: var(--colour-primary-theme);
|
|
111
|
+
|
|
112
|
+
@include media-breakpoint-up(md) {
|
|
113
|
+
opacity: 1;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
117
|
&:is(.open) {
|
|
118
118
|
|
|
119
119
|
width: calc(100% - var(--container-padding-x));
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
}
|
|
125
125
|
@include media-breakpoint-up(md) {
|
|
126
126
|
|
|
127
|
-
width: rem(
|
|
127
|
+
width: rem(304);
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
|
|
@@ -142,9 +142,6 @@
|
|
|
142
142
|
overflow: auto;
|
|
143
143
|
max-height: 100%;
|
|
144
144
|
|
|
145
|
-
&.closed {
|
|
146
|
-
}
|
|
147
|
-
|
|
148
145
|
.h3 {
|
|
149
146
|
padding-left: rem(24);
|
|
150
147
|
}
|
|
@@ -161,6 +158,9 @@
|
|
|
161
158
|
|
|
162
159
|
width: rem(304);
|
|
163
160
|
|
|
161
|
+
.h3{
|
|
162
|
+
padding-left: var(--container-padding-x-md);
|
|
163
|
+
}
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
|
|
@@ -185,8 +185,15 @@
|
|
|
185
185
|
::slotted(*[slot="menu"]) {
|
|
186
186
|
padding-left: rem(24);
|
|
187
187
|
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
188
191
|
@include media-breakpoint-up(sm) {
|
|
189
|
-
padding-left: rem(40)
|
|
192
|
+
padding-left: rem(40);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@include media-breakpoint-up(md) {
|
|
196
|
+
padding-left: var(--container-padding-x-md);
|
|
190
197
|
}
|
|
191
198
|
}
|
|
192
199
|
|
|
@@ -215,24 +222,15 @@
|
|
|
215
222
|
padding-left: rem(40)!important;
|
|
216
223
|
}
|
|
217
224
|
|
|
225
|
+
@include media-breakpoint-up(md) {
|
|
226
|
+
padding-left: var(--container-padding-x-md)!important;
|
|
227
|
+
}
|
|
218
228
|
&:after {
|
|
219
229
|
display: none;
|
|
220
230
|
}
|
|
221
231
|
|
|
222
232
|
|
|
223
233
|
border-right: 2px solid var(--colour-border)!important;
|
|
224
|
-
/*
|
|
225
|
-
&:before {
|
|
226
|
-
content: "";
|
|
227
|
-
position: absolute;
|
|
228
|
-
top: 0;
|
|
229
|
-
right: 0;
|
|
230
|
-
height: calc(100%);
|
|
231
|
-
margin-top: 0;
|
|
232
|
-
width: 2px;
|
|
233
|
-
background-color: var(--colour-border);
|
|
234
|
-
}
|
|
235
|
-
*/
|
|
236
234
|
}
|
|
237
235
|
|
|
238
236
|
::slotted(a[slot="menu"]:where(:hover,:focus,[aria-expanded])) {
|
|
@@ -317,13 +315,30 @@
|
|
|
317
315
|
|
|
318
316
|
@include media-breakpoint-up(md) {
|
|
319
317
|
|
|
320
|
-
.side-menu.open + .main-content {
|
|
321
|
-
|
|
322
|
-
padding-left: rem(300);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
318
|
::slotted(.main-content__title){
|
|
326
319
|
display: none;
|
|
327
320
|
}
|
|
328
321
|
}
|
|
322
|
+
|
|
323
|
+
// #endregion
|
|
324
|
+
|
|
325
|
+
// #region Desktop open state
|
|
326
|
+
@include media-breakpoint-up(md) {
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
.container:has(.side-menu.open) {
|
|
330
|
+
padding-left: 2rem!important;
|
|
331
|
+
margin-left: max(19rem, calc(50% - calc(var(--container-max-width) / 2)));
|
|
332
|
+
margin-right: 0;
|
|
333
|
+
max-width: min(var(--container-max-width), 100% - 19rem);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
329
336
|
// #endregion
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
@include media-breakpoint-up(md) {
|
|
340
|
+
|
|
341
|
+
:host([open-always]){
|
|
342
|
+
--btn-display: none;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
@@ -14,8 +14,8 @@ iam-inline-edit {
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
iam-inline-edit:focus-within {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
position: relative;
|
|
18
|
+
z-index: 99;
|
|
19
19
|
--display-status: none;
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -95,4 +95,58 @@ iam-inline-edit.was-validated label:has(:is(input:not([type=radio]):not([type=ch
|
|
|
95
95
|
border-radius: 0.5rem;
|
|
96
96
|
margin: 0 0 -1rem 0;
|
|
97
97
|
outline: var(--contrast-outline-width, 0px) solid var(--colour-primary);
|
|
98
|
-
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
// #region preview element
|
|
102
|
+
|
|
103
|
+
iam-inline-edit:has(.preview) {
|
|
104
|
+
|
|
105
|
+
position: relative;
|
|
106
|
+
|
|
107
|
+
label {
|
|
108
|
+
opacity: 0;
|
|
109
|
+
margin-top: -0.75rem;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.preview {
|
|
113
|
+
|
|
114
|
+
position: absolute;
|
|
115
|
+
top: 0;
|
|
116
|
+
left: 0;
|
|
117
|
+
width: 100%;
|
|
118
|
+
pointer-events: none;
|
|
119
|
+
padding: 0.75rem;
|
|
120
|
+
margin-top: -0.75rem;
|
|
121
|
+
margin-left: -0.75rem;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.preview:empty {
|
|
125
|
+
&:before {
|
|
126
|
+
content: attr(data-placeholder);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&:hover, &:focus {
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
.preview {
|
|
134
|
+
|
|
135
|
+
border: none;
|
|
136
|
+
background: var(--colour-light);
|
|
137
|
+
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&:focus-within {
|
|
142
|
+
label {
|
|
143
|
+
opacity: 1;
|
|
144
|
+
}
|
|
145
|
+
.preview {
|
|
146
|
+
opacity: 0;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
// #endregion
|
|
@@ -127,8 +127,12 @@ button {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
|
|
130
|
+
.wrapper:is(:focus-within) .dropdown {
|
|
130
131
|
|
|
131
|
-
|
|
132
|
+
display: var(--display-panel, none);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.wrapper .dropdown:hover {
|
|
132
136
|
|
|
133
137
|
display: var(--display-panel, none);
|
|
134
138
|
}
|
|
@@ -23,15 +23,6 @@ iam-table {
|
|
|
23
23
|
--row-bg: var(--hover-background);
|
|
24
24
|
background: var(--row-bg);
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
@include dark-mode(){
|
|
28
|
-
|
|
29
|
-
--hover-background: var(--colour-canvas);
|
|
30
|
-
|
|
31
|
-
&:is(:hover,:focus-within,.hover) {
|
|
32
|
-
background: var(--row-bg);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
26
|
}
|
|
36
27
|
|
|
37
28
|
&[data-expandable] [data-expand-button][aria-expanded] {
|
|
@@ -219,10 +210,6 @@ iam-table {
|
|
|
219
210
|
cursor: default;
|
|
220
211
|
padding-bottom: 0;
|
|
221
212
|
|
|
222
|
-
@media screen and (prefers-color-scheme: dark) {
|
|
223
|
-
|
|
224
|
-
background: linear-gradient(90deg, transparent 0%, var(--row-bg) 1.25rem);
|
|
225
|
-
}
|
|
226
213
|
a {
|
|
227
214
|
white-space: nowrap;
|
|
228
215
|
padding-right: 0.2rem;
|
|
@@ -428,16 +415,14 @@ iam-table {
|
|
|
428
415
|
}
|
|
429
416
|
}
|
|
430
417
|
|
|
431
|
-
|
|
432
|
-
|
|
418
|
+
@container (width > 23.4375em) {
|
|
419
|
+
tr:has([type="checkbox"]:checked){
|
|
420
|
+
height: calc(4.625rem - 2px)
|
|
421
|
+
}
|
|
433
422
|
}
|
|
434
423
|
|
|
435
424
|
tr:has([type="checkbox"]:checked){
|
|
436
425
|
--row-bg: #E0E0E0;
|
|
437
|
-
|
|
438
|
-
@include dark-mode(){
|
|
439
|
-
--row-bg: #000000;
|
|
440
|
-
}
|
|
441
426
|
}
|
|
442
427
|
}
|
|
443
428
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
top: 0;
|
|
17
17
|
bottom: 1px;
|
|
18
18
|
width: 2.5rem;
|
|
19
|
-
background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,1));
|
|
19
|
+
background: var(--tabs-gradient, linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,1)));
|
|
20
20
|
z-index: 1000;
|
|
21
21
|
pointer-events: none;
|
|
22
22
|
}
|
|
@@ -33,11 +33,6 @@
|
|
|
33
33
|
clear: both;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
@media screen and (prefers-color-scheme: dark) {
|
|
37
|
-
&:before {
|
|
38
|
-
background: linear-gradient(90deg, rgba(38,38,38,0), rgba(38,38,38,1));
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
36
|
}
|
|
42
37
|
}
|
|
43
38
|
|
|
@@ -280,7 +280,7 @@ a:is(:hover, :focus, .hover, :active, .active):not([disabled]) .btn-secondary,
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
&.btn-secondary:is(:hover, :focus, .hover, :active, .active, [aria-expanded], :focus-within):not([disabled]) {
|
|
283
|
+
&.btn-secondary:is(:hover, :focus, .hover, :active, .active, [aria-expanded], :focus-within):not([disabled]):not(.btn-collapse) {
|
|
284
284
|
background-color: var(--colour);
|
|
285
285
|
color: var(--colour-primary-theme);
|
|
286
286
|
border-color: transparent!important;
|
|
@@ -527,6 +527,15 @@ dialog::backdrop {
|
|
|
527
527
|
margin-bottom: calc(var(--btn-margin) - 0.25rem);
|
|
528
528
|
|
|
529
529
|
|
|
530
|
+
&:has(dialog[open]) > button {
|
|
531
|
+
background: var(--colour-btn-secondary-bg-hover);
|
|
532
|
+
color: var(--colour-btn-secondary-hover);
|
|
533
|
+
filter: brightness(85%);
|
|
534
|
+
transition: background 0.1s, color 0.1s;
|
|
535
|
+
//color: var(--colour-btn);
|
|
536
|
+
border-radius: 1.5rem;
|
|
537
|
+
}
|
|
538
|
+
|
|
530
539
|
> .btn:first-child {
|
|
531
540
|
|
|
532
541
|
margin-bottom: 0.25rem;
|
|
@@ -749,4 +758,23 @@ dialog::backdrop {
|
|
|
749
758
|
}
|
|
750
759
|
}
|
|
751
760
|
}
|
|
752
|
-
// #endregion
|
|
761
|
+
// #endregion
|
|
762
|
+
|
|
763
|
+
// #region admin panel dialog
|
|
764
|
+
dialog:has(> .admin-panel) {
|
|
765
|
+
|
|
766
|
+
.dialog__close {
|
|
767
|
+
margin-top: -0.8rem;
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
dialog > .admin-panel {
|
|
771
|
+
margin: -1rem calc(var(--dialog-padding) * -1) calc(var(--dialog-padding) * -1) calc(var(--dialog-padding) * -1)!important;
|
|
772
|
+
padding-top: 0;
|
|
773
|
+
|
|
774
|
+
&:last-child {
|
|
775
|
+
|
|
776
|
+
margin-bottom: calc(var(--dialog-padding) * -1);
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
// #endregion
|
|
@@ -50,6 +50,10 @@ $icon-tick: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' view
|
|
|
50
50
|
min-height: calc(var(--input-padding-block, #{rem(12)}) + var(--input-padding-block, #{rem(12)}) + var(--input-lh, #{rem(20)}) + 4px);
|
|
51
51
|
max-height: calc(var(--input-padding-block, #{rem(12)}) + var(--input-padding-block, #{rem(12)}) + var(--input-lh, #{rem(20)}) + 4px);
|
|
52
52
|
|
|
53
|
+
&:is(textarea) {
|
|
54
|
+
max-height: 100%
|
|
55
|
+
}
|
|
56
|
+
|
|
53
57
|
// Customize the `:focus` state to imitate native WebKit styles.
|
|
54
58
|
&:is(:focus,.focus):not(:disabled) {
|
|
55
59
|
border-color: var(--colour-info);
|
|
@@ -80,7 +84,6 @@ $icon-tick: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' view
|
|
|
80
84
|
|
|
81
85
|
textarea {
|
|
82
86
|
min-height: calc(var(--input-padding-block, #{rem(12)}) + var(--input-padding-block, #{rem(12)}) + (var(--input-lh, #{rem(20)}) * 3) + 4px)!important;
|
|
83
|
-
max-height: calc(var(--input-padding-block, #{rem(12)}) + var(--input-padding-block, #{rem(12)}) + (var(--input-lh, #{rem(20)}) * 3) + 4px)!important;
|
|
84
87
|
}
|
|
85
88
|
// #endregion
|
|
86
89
|
|
|
@@ -825,28 +828,53 @@ div:has(> select){
|
|
|
825
828
|
|
|
826
829
|
all: unset;
|
|
827
830
|
font-size: inherit;
|
|
831
|
+
line-height: inherit;
|
|
828
832
|
background: none;
|
|
829
|
-
border:
|
|
833
|
+
border: 2px solid transparent;
|
|
830
834
|
display: inline-block;
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
835
|
+
padding: 0.4em calc(1em + 0.8ch) 0.4rem var(--select-padding-left, 0.4em)!important;
|
|
836
|
+
font-weight: normal!important;
|
|
837
|
+
margin: -0.4em 0!important;
|
|
838
|
+
border-radius: 0.25em;
|
|
839
|
+
|
|
840
|
+
color: var(--colour-body);
|
|
841
|
+
|
|
834
842
|
height: auto;
|
|
835
843
|
cursor: pointer;
|
|
844
|
+
font-family: var(--font-body)!important;
|
|
836
845
|
|
|
837
846
|
option {
|
|
838
847
|
background-color: var(--colour-canvas);
|
|
839
848
|
padding-left: 1em;
|
|
849
|
+
font-size: inherit;
|
|
850
|
+
line-height: inherit;
|
|
840
851
|
}
|
|
841
852
|
|
|
853
|
+
&:hover {
|
|
854
|
+
|
|
855
|
+
//border: none;
|
|
856
|
+
background: var(--colour-light);
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
&:is(:focus,.focus):not(:disabled) {
|
|
842
860
|
|
|
843
|
-
|
|
844
|
-
outline:
|
|
861
|
+
border-color: var(--colour-info);
|
|
862
|
+
outline: 0;
|
|
863
|
+
box-shadow: 0 0 0 0.1rem rgba(30, 190, 230, 0.25);
|
|
845
864
|
}
|
|
846
865
|
}
|
|
847
866
|
|
|
848
867
|
*:has(> .select--minimal){
|
|
849
868
|
position: relative;
|
|
869
|
+
display: inline-block!important;
|
|
870
|
+
width: auto!important;
|
|
871
|
+
font-size: inherit!important;
|
|
872
|
+
line-height: 1!important;
|
|
873
|
+
|
|
874
|
+
padding: 0!important;
|
|
875
|
+
margin: 0!important;
|
|
876
|
+
|
|
877
|
+
font-family: var(--font-body)!important;
|
|
850
878
|
|
|
851
879
|
&:after {
|
|
852
880
|
font-size: 0.8em;
|
|
@@ -854,10 +882,13 @@ div:has(> select){
|
|
|
854
882
|
content: "\f078";
|
|
855
883
|
font-family: "Font Awesome 6 Pro";
|
|
856
884
|
position: absolute;
|
|
857
|
-
top:
|
|
885
|
+
top: 40%;
|
|
858
886
|
transform: translate(0,-50%);
|
|
859
|
-
right: calc(0.
|
|
887
|
+
right: calc(0.8ch);
|
|
860
888
|
pointer-events: none;
|
|
889
|
+
|
|
890
|
+
color: var(--colour-body);
|
|
891
|
+
|
|
861
892
|
}
|
|
862
893
|
}
|
|
863
894
|
// #endregion
|