@lumx/core 4.28.0-next.3 → 4.28.1-alpha.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/package.json +2 -2
- package/scss/components/avatar/_index.scss +2 -2
- package/scss/components/badge/_index.scss +3 -3
- package/scss/components/button/_index.scss +29 -29
- package/scss/components/card/_index.scss +1 -1
- package/scss/components/checkbox/_index.scss +54 -54
- package/scss/components/chip/_index.scss +22 -22
- package/scss/components/combobox/_index.scss +4 -4
- package/scss/components/comment-block/_index.scss +1 -1
- package/scss/components/composite/_index.scss +2 -2
- package/scss/components/date-picker/_index.scss +1 -1
- package/scss/components/dialog/_index.scss +3 -3
- package/scss/components/divider/_index.scss +3 -3
- package/scss/components/drag-handle/_index.scss +1 -1
- package/scss/components/dropdown/_index.scss +1 -1
- package/scss/components/expansion-panel/_index.scss +1 -1
- package/scss/components/flag/_index.scss +4 -4
- package/scss/components/flex-box/_index.scss +34 -34
- package/scss/components/generic-block/_index.scss +1 -1
- package/scss/components/grid/_index.scss +30 -30
- package/scss/components/grid-column/_index.scss +1 -1
- package/scss/components/icon/_index.scss +9 -9
- package/scss/components/image-block/_index.scss +2 -2
- package/scss/components/image-lightbox/_index.scss +7 -7
- package/scss/components/inline-list/_index.scss +1 -1
- package/scss/components/input-helper/_index.scss +1 -1
- package/scss/components/input-label/_index.scss +2 -2
- package/scss/components/input-required-legend/_index.scss +2 -2
- package/scss/components/lightbox/_index.scss +1 -1
- package/scss/components/link/_index.scss +5 -5
- package/scss/components/link-preview/_index.scss +1 -1
- package/scss/components/list/_index.scss +25 -25
- package/scss/components/list/_mixins.scss +1 -1
- package/scss/components/list-box/_index.scss +8 -8
- package/scss/components/menu/_index.scss +1 -1
- package/scss/components/message/_index.scss +3 -3
- package/scss/components/mosaic/_index.scss +1 -1
- package/scss/components/navigation/_index.scss +10 -10
- package/scss/components/notification/_index.scss +2 -2
- package/scss/components/notification-block/_index.scss +1 -1
- package/scss/components/popover/_index.scss +2 -2
- package/scss/components/post-block/_index.scss +1 -1
- package/scss/components/progress/_index.scss +14 -14
- package/scss/components/progress-tracker/_index.scss +6 -6
- package/scss/components/radio-button/_index.scss +39 -39
- package/scss/components/scroll-box/_index.scss +1 -1
- package/scss/components/select/_index.scss +31 -31
- package/scss/components/side-navigation/_index.scss +3 -3
- package/scss/components/skeleton/_index.scss +13 -13
- package/scss/components/slider/_index.scss +10 -10
- package/scss/components/slideshow/_index.scss +6 -6
- package/scss/components/switch/_index.scss +54 -54
- package/scss/components/table/_index.scss +7 -7
- package/scss/components/tabs/_index.scss +13 -13
- package/scss/components/text/_index.scss +2 -2
- package/scss/components/text-field/_index.scss +43 -43
- package/scss/components/thumbnail/_index.scss +29 -29
- package/scss/components/toolbar/_index.scss +1 -1
- package/scss/components/tooltip/_index.scss +2 -2
- package/scss/components/tree-list/_index.scss +7 -7
- package/scss/components/uploader/_index.scss +3 -3
- package/scss/components/user-block/_index.scss +1 -1
- package/scss/core/base/_helpers.scss +4 -4
- package/scss/core/color/_index.scss +2 -2
- package/scss/core/spacing/_index.scss +1 -1
- package/scss/core/typography/_index.scss +3 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Divider
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
.lumx-divider {
|
|
6
6
|
&--theme-light {
|
|
7
7
|
@include lumx-divider(lumx-base-const("theme", "LIGHT"));
|
|
8
8
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
.lumx-has-divider {
|
|
16
16
|
@include lumx-has-divider;
|
|
17
17
|
|
|
18
18
|
&--theme-light {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
@each $key, $positon in $lumx-divider-positions {
|
|
28
|
-
|
|
28
|
+
.lumx-has-divider.lumx-has-divider--position-#{$key} {
|
|
29
29
|
@include lumx-divider-position($positon);
|
|
30
30
|
|
|
31
31
|
&--theme-light {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Flag
|
|
6
6
|
========================================================================== */
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
.lumx-flag {
|
|
9
9
|
display: inline-flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
height: map.get($lumx-sizes, lumx-base-const("size", "XS"));
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
========================================================================== */
|
|
28
28
|
|
|
29
29
|
@each $key, $color in $lumx-color-palette {
|
|
30
|
-
|
|
30
|
+
.lumx-flag--color-#{$key} {
|
|
31
31
|
border: 2px solid lumx-color-variant($key, "L4");
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
.lumx-flag__label,
|
|
34
|
+
.lumx-flag__icon {
|
|
35
35
|
@if $key == "dark" or $key == "yellow" {
|
|
36
36
|
color: lumx-color-variant("dark", "L1");
|
|
37
37
|
} @else {
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
/* Orientation
|
|
6
6
|
========================================================================== */
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
.lumx-flex-box--orientation-horizontal,
|
|
9
|
+
.lumx-flex-box--orientation-vertical {
|
|
10
10
|
display: flex;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
.lumx-flex-box--orientation-horizontal {
|
|
14
14
|
flex-direction: row;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
.lumx-flex-box--orientation-vertical {
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
min-height: 0;
|
|
20
20
|
}
|
|
@@ -22,48 +22,48 @@
|
|
|
22
22
|
/* Alignment
|
|
23
23
|
========================================================================== */
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
.lumx-flex-box--orientation-horizontal.lumx-flex-box--h-align-top,
|
|
26
|
+
.lumx-flex-box--orientation-vertical.lumx-flex-box--v-align-left {
|
|
27
27
|
align-items: flex-start;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
.lumx-flex-box--orientation-horizontal.lumx-flex-box--h-align-center,
|
|
31
|
+
.lumx-flex-box--orientation-vertical.lumx-flex-box--v-align-center {
|
|
32
32
|
align-items: center;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
.lumx-flex-box--orientation-horizontal.lumx-flex-box--h-align-bottom,
|
|
36
|
+
.lumx-flex-box--orientation-vertical.lumx-flex-box--v-align-right {
|
|
37
37
|
align-items: flex-end;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
.lumx-flex-box--orientation-horizontal.lumx-flex-box--v-align-left,
|
|
41
|
+
.lumx-flex-box--orientation-vertical.lumx-flex-box--h-align-top {
|
|
42
42
|
justify-content: flex-start;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
.lumx-flex-box--orientation-horizontal.lumx-flex-box--v-align-center,
|
|
46
|
+
.lumx-flex-box--orientation-vertical.lumx-flex-box--h-align-center {
|
|
47
47
|
justify-content: center;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
.lumx-flex-box--orientation-horizontal.lumx-flex-box--v-align-right,
|
|
51
|
+
.lumx-flex-box--orientation-vertical.lumx-flex-box--h-align-bottom {
|
|
52
52
|
justify-content: flex-end;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
.lumx-flex-box--orientation-horizontal.lumx-flex-box--v-align-space-between,
|
|
56
|
+
.lumx-flex-box--orientation-vertical.lumx-flex-box--h-align-space-between {
|
|
57
57
|
justify-content: space-between;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
.lumx-flex-box--orientation-horizontal.lumx-flex-box--v-align-space-around,
|
|
61
|
+
.lumx-flex-box--orientation-vertical.lumx-flex-box--h-align-space-around {
|
|
62
62
|
justify-content: space-around;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
.lumx-flex-box--orientation-horizontal.lumx-flex-box--v-align-space-evenly,
|
|
66
|
+
.lumx-flex-box--orientation-vertical.lumx-flex-box--h-align-space-evenly
|
|
67
67
|
{
|
|
68
68
|
justify-content: space-evenly;
|
|
69
69
|
}
|
|
@@ -71,62 +71,62 @@
|
|
|
71
71
|
/* Wrap
|
|
72
72
|
========================================================================== */
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
.lumx-flex-box--wrap {
|
|
75
75
|
flex-wrap: wrap;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/* Fill space
|
|
79
79
|
========================================================================== */
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
.lumx-flex-box--fill-space {
|
|
82
82
|
flex: 1 1 auto;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/* No shrink
|
|
86
86
|
========================================================================== */
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
.lumx-flex-box--no-shrink {
|
|
89
89
|
flex-shrink: 0;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
/* Margin
|
|
93
93
|
========================================================================== */
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
.lumx-flex-box--margin-auto-top {
|
|
96
96
|
margin-top: auto;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
.lumx-flex-box--margin-auto-right {
|
|
100
100
|
margin-right: auto;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
.lumx-flex-box--margin-auto-bottom {
|
|
104
104
|
margin-bottom: auto;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
.lumx-flex-box--margin-auto-left {
|
|
108
108
|
margin-left: auto;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
/* Gap
|
|
112
112
|
========================================================================== */
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
.lumx-flex-box--gap-tiny {
|
|
115
115
|
gap: $lumx-spacing-unit-tiny;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
.lumx-flex-box--gap-regular {
|
|
119
119
|
gap: $lumx-spacing-unit;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
.lumx-flex-box--gap-medium {
|
|
123
123
|
gap: $lumx-spacing-unit-medium;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
.lumx-flex-box--gap-big {
|
|
127
127
|
gap: $lumx-spacing-unit-big;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
.lumx-flex-box--gap-huge {
|
|
131
131
|
gap: $lumx-spacing-unit-huge;
|
|
132
132
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Grid
|
|
6
6
|
========================================================================== */
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
.lumx-grid {
|
|
9
9
|
display: flex;
|
|
10
10
|
|
|
11
11
|
&--orientation-horizontal {
|
|
@@ -20,65 +20,65 @@
|
|
|
20
20
|
/* Grid wrap
|
|
21
21
|
========================================================================== */
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
.lumx-grid--wrap-nowrap {
|
|
24
24
|
flex-wrap: nowrap;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
.lumx-grid--wrap-wrap {
|
|
28
28
|
flex-wrap: wrap;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
.lumx-grid--wrap-wrap-reverse {
|
|
32
32
|
flex-wrap: wrap-reverse;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* Grid alignment
|
|
36
36
|
========================================================================== */
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
.lumx-grid--orientation-horizontal.lumx-grid--h-align-top,
|
|
39
|
+
.lumx-grid--orientation-vertical.lumx-grid--v-align-left {
|
|
40
40
|
align-items: flex-start;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
.lumx-grid--orientation-horizontal.lumx-grid--h-align-center,
|
|
44
|
+
.lumx-grid--orientation-vertical.lumx-grid--v-align-center {
|
|
45
45
|
align-items: center;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
.lumx-grid--orientation-horizontal.lumx-grid--h-align-bottom,
|
|
49
|
+
.lumx-grid--orientation-vertical.lumx-grid--v-align-right {
|
|
50
50
|
align-items: flex-end;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
.lumx-grid--orientation-horizontal.lumx-grid--v-align-left,
|
|
54
|
+
.lumx-grid--orientation-vertical.lumx-grid--h-align-top {
|
|
55
55
|
justify-content: flex-start;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
.lumx-grid--orientation-horizontal.lumx-grid--v-align-center,
|
|
59
|
+
.lumx-grid--orientation-vertical.lumx-grid--h-align-center {
|
|
60
60
|
justify-content: center;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
.lumx-grid--orientation-horizontal.lumx-grid--v-align-right,
|
|
64
|
+
.lumx-grid--orientation-vertical.lumx-grid--h-align-bottom {
|
|
65
65
|
justify-content: flex-end;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
.lumx-grid--orientation-horizontal.lumx-grid--v-align-space-around,
|
|
69
|
+
.lumx-grid--orientation-vertical.lumx-grid--h-align-space-around {
|
|
70
70
|
justify-content: space-around;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
.lumx-grid--orientation-horizontal.lumx-grid--v-align-space-between,
|
|
74
|
+
.lumx-grid--orientation-vertical.lumx-grid--h-align-space-between {
|
|
75
75
|
justify-content: space-between;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/* Grid item
|
|
79
79
|
========================================================================== */
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
.lumx-grid-item {
|
|
82
82
|
position: relative;
|
|
83
83
|
flex: 1 1 auto;
|
|
84
84
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
========================================================================== */
|
|
100
100
|
|
|
101
101
|
@for $i from 1 through 12 {
|
|
102
|
-
|
|
102
|
+
.lumx-grid-item--order-#{$i} {
|
|
103
103
|
order: $i;
|
|
104
104
|
}
|
|
105
105
|
}
|
|
@@ -107,26 +107,26 @@
|
|
|
107
107
|
/* Grid spacings
|
|
108
108
|
========================================================================== */
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
.lumx-grid--gutter-regular {
|
|
111
111
|
margin: 0 (math.div($lumx-spacing-unit, 2) * -1);
|
|
112
112
|
|
|
113
|
-
& >
|
|
113
|
+
& > .lumx-grid-item {
|
|
114
114
|
padding: 0 math.div($lumx-spacing-unit, 2);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
.lumx-grid--gutter-big {
|
|
119
119
|
margin: 0 ($lumx-spacing-unit * -1);
|
|
120
120
|
|
|
121
|
-
& >
|
|
121
|
+
& > .lumx-grid-item {
|
|
122
122
|
padding: 0 $lumx-spacing-unit;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
.lumx-grid--gutter-huge {
|
|
127
127
|
margin: 0 ($lumx-spacing-unit * 1.5) * -1;
|
|
128
128
|
|
|
129
|
-
& >
|
|
129
|
+
& > .lumx-grid-item {
|
|
130
130
|
padding: 0 $lumx-spacing-unit * 1.5;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -135,12 +135,12 @@
|
|
|
135
135
|
========================================================================== */
|
|
136
136
|
|
|
137
137
|
@for $i from 1 through 12 {
|
|
138
|
-
|
|
138
|
+
.lumx-grid--orientation-horizontal > .lumx-grid-item--width-#{$i} {
|
|
139
139
|
flex: string.unquote("0 0 #{math.div(100, 12) * $i + "%"}");
|
|
140
140
|
max-width: #{math.div(100, 12) * $i + "%"};
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
|
|
143
|
+
.lumx-grid--orientation-vertical > .lumx-grid-item--width-#{$i} {
|
|
144
144
|
flex: string.unquote("0 0 #{math.div(100, 12) * $i + "%"}");
|
|
145
145
|
max-height: #{math.div(100, 12) * $i + "%"};
|
|
146
146
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Grid Column
|
|
5
5
|
========================================================================== */
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
.lumx-grid-column {
|
|
8
8
|
--lumx-grid-column-gap: var(--lumx-spacing-unit-regular);
|
|
9
9
|
--lumx-grid-column-columns: 1;
|
|
10
10
|
--lumx-grid-column-item-min-width: 100%;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Icon
|
|
5
5
|
========================================================================== */
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
.lumx-icon {
|
|
8
8
|
&--no-shape {
|
|
9
9
|
display: block;
|
|
10
10
|
}
|
|
@@ -67,13 +67,13 @@
|
|
|
67
67
|
========================================================================== */
|
|
68
68
|
|
|
69
69
|
@each $size-key, $size in $lumx-sizes {
|
|
70
|
-
|
|
70
|
+
.lumx-icon--no-shape.lumx-icon--size-#{$size-key} {
|
|
71
71
|
@include lumx-icon-size($size-key, false);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
@each $size-key, $size in $lumx-icon-has-shape-size-map {
|
|
76
|
-
|
|
76
|
+
.lumx-icon--has-shape.lumx-icon--size-#{$size-key} {
|
|
77
77
|
@include lumx-icon-size($size-key, true);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -82,24 +82,24 @@
|
|
|
82
82
|
========================================================================== */
|
|
83
83
|
|
|
84
84
|
@each $color-key, $color in $lumx-color-palette {
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
.lumx-icon--color-#{$color-key} {
|
|
86
|
+
&.lumx-icon--no-shape {
|
|
87
87
|
@include lumx-icon-color($color-key, false);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
&.lumx-icon--has-shape {
|
|
91
91
|
@include lumx-icon-color($color-key, true, lumx-base-const("theme", "LIGHT"));
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
&.lumx-icon--theme-dark {
|
|
94
94
|
@include lumx-icon-color($color-key, true, lumx-base-const("theme", "DARK"));
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
@each $color-variant in $lumx-color-variants {
|
|
100
|
-
|
|
100
|
+
.lumx-icon--color-#{$color-key}.lumx-icon--color-variant-#{$color-variant} {
|
|
101
101
|
@if $color-key == "yellow" {
|
|
102
|
-
|
|
102
|
+
&.lumx-icon--has-shape {
|
|
103
103
|
color: lumx-color-variant("dark", "L1");
|
|
104
104
|
}
|
|
105
105
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Image block
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
.lumx-image-block {
|
|
6
6
|
$self: &;
|
|
7
7
|
|
|
8
8
|
position: relative;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
========================================================================== */
|
|
55
55
|
|
|
56
56
|
@each $key, $size in $lumx-sizes {
|
|
57
|
-
|
|
57
|
+
.lumx-image-block--size-#{$key} {
|
|
58
58
|
width: $size;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
Image Lightbox
|
|
5
5
|
========================================================================== */
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
.lumx-image-lightbox {
|
|
8
8
|
// Remove lightbox animation & transition (use view transition instead)
|
|
9
9
|
@supports (view-transition-name: name) {
|
|
10
|
-
|
|
10
|
+
&.lumx-lightbox {
|
|
11
11
|
transition: none;
|
|
12
12
|
animation: none;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
.lumx-lightbox__wrapper {
|
|
17
17
|
inset: 0;
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
// Crop & scale transitioning pair of trigger image + opening image
|
|
55
|
-
::view-transition-image-pair(
|
|
55
|
+
::view-transition-image-pair(lumx-image-lightbox) {
|
|
56
56
|
overflow: hidden;
|
|
57
57
|
}
|
|
58
|
-
::view-transition-old(
|
|
59
|
-
::view-transition-new(
|
|
58
|
+
::view-transition-old(lumx-image-lightbox),
|
|
59
|
+
::view-transition-new(lumx-image-lightbox) {
|
|
60
60
|
height: 100%;
|
|
61
61
|
}
|
|
62
|
-
::view-transition-group(
|
|
62
|
+
::view-transition-group(lumx-image-lightbox) {
|
|
63
63
|
animation-duration: $lumx-lightbox-transition-duration;
|
|
64
64
|
|
|
65
65
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Input label
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
.lumx-input-label {
|
|
6
6
|
&--is-required::before {
|
|
7
7
|
margin-right: $lumx-spacing-unit-tiny;
|
|
8
8
|
font-weight: 700;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
/** When there is a custom typography, we create a more specific selector so that it overrides the typo added by the mixin `lumx-input-label` */
|
|
28
28
|
&--has-custom-typography {
|
|
29
29
|
@each $key, $style in $lumx-typography-interface {
|
|
30
|
-
|
|
30
|
+
&.lumx-typography-#{$key} {
|
|
31
31
|
@include lumx-typography($key);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Input required legend
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
.lumx-input-required-legend {
|
|
6
6
|
&__marker {
|
|
7
7
|
margin-right: $lumx-spacing-unit-tiny;
|
|
8
8
|
font-weight: 700;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
&--theme-light {
|
|
12
12
|
@include lumx-input-helper(lumx-base-const("theme", "LIGHT"));
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
.lumx-input-required-legend__marker {
|
|
15
15
|
color: lumx-color-variant("red", "N");
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Index
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
.lumx-link {
|
|
6
6
|
@include lumx-link;
|
|
7
7
|
|
|
8
8
|
// Underline links sitting inside a paragraph of text so they stay distinguishable
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
// Fix icon alignment
|
|
21
|
-
& >
|
|
22
|
-
&__content >
|
|
21
|
+
& > .lumx-icon,
|
|
22
|
+
&__content > .lumx-icon
|
|
23
23
|
{
|
|
24
24
|
&, & svg {
|
|
25
25
|
display: inline;
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
========================================================================== */
|
|
33
33
|
|
|
34
34
|
@each $color-key, $color in $lumx-color-palette {
|
|
35
|
-
|
|
35
|
+
.lumx-link.lumx-link--color-#{$color-key} {
|
|
36
36
|
@include lumx-link-color($color-key, "N");
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
@each $color-variant in $lumx-color-variants {
|
|
40
|
-
|
|
40
|
+
.lumx-link.lumx-link--color-#{$color-key}.lumx-link--color-variant-#{$color-variant} {
|
|
41
41
|
@include lumx-link-color($color-key, $color-variant);
|
|
42
42
|
}
|
|
43
43
|
}
|