@lumx/core 4.28.0 → 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
|
List
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
.lumx-list {
|
|
6
6
|
@include lumx-list;
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
========================================================================== */
|
|
11
11
|
|
|
12
12
|
@each $key, $size in $lumx-list-item-sizes {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
.lumx-list-item--size-#{$key} {
|
|
14
|
+
.lumx-list-item__wrapper,
|
|
15
|
+
.lumx-list-item__link {
|
|
16
16
|
@include lumx-list-item($key);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
.lumx-list-item__before {
|
|
20
20
|
@include lumx-list-item-before($key);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
.lumx-list-item__after {
|
|
24
24
|
@include lumx-list-item-after($key);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
/* Item link
|
|
30
30
|
========================================================================== */
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
.lumx-list-item {
|
|
33
33
|
// Positioning context for action area overlay (harmless no-op when no action area child).
|
|
34
34
|
position: relative;
|
|
35
35
|
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
// Selected action: from `aria-selected` (ex: combobox option) or `aria-current` (ex: nav link) on the action,
|
|
49
49
|
// or from `isSelected` on the list item.
|
|
50
50
|
// (the background is on the action overlay `::before`, so the state selectors must come before `::before`)
|
|
51
|
-
&
|
|
52
|
-
&
|
|
53
|
-
&__wrapper--is-selected
|
|
51
|
+
& .lumx-action-area__action[aria-selected="true"],
|
|
52
|
+
& .lumx-action-area__action[aria-current]:not([aria-current="false"]):not([aria-current=""]),
|
|
53
|
+
&__wrapper--is-selected .lumx-action-area__action {
|
|
54
54
|
&::before {
|
|
55
55
|
background-color: lumx-color-variant("primary", "L5");
|
|
56
56
|
}
|
|
@@ -82,16 +82,16 @@
|
|
|
82
82
|
/* Item spacing
|
|
83
83
|
========================================================================== */
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
.lumx-list-item__link,
|
|
86
|
+
.lumx-list-item__wrapper {
|
|
87
87
|
// Padding big (defaults when list contain clickable item)
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
.lumx-list:has(.lumx-list-item__link) &,
|
|
89
|
+
.lumx-list.lumx-list--item-padding-big & {
|
|
90
90
|
@include lumx-list-item-padding("big");
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
// Padding huge
|
|
94
|
-
|
|
94
|
+
.lumx-list.lumx-list--item-padding-huge & {
|
|
95
95
|
@include lumx-list-item-padding("huge");
|
|
96
96
|
}
|
|
97
97
|
}
|
|
@@ -99,14 +99,14 @@
|
|
|
99
99
|
/* Item content
|
|
100
100
|
========================================================================== */
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
.lumx-list-item__content {
|
|
103
103
|
@include lumx-list-item-content;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
/* Subheader
|
|
107
107
|
========================================================================== */
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
.lumx-list-subheader {
|
|
110
110
|
@include lumx-list-subheader;
|
|
111
111
|
|
|
112
112
|
i {
|
|
@@ -114,13 +114,13 @@
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
// Padding big (defaults when list contain clickable item)
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
.lumx-list:has(.lumx-list-item__link) &,
|
|
118
|
+
.lumx-list.lumx-list--item-padding-big & {
|
|
119
119
|
@include lumx-list-item-padding("big");
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
// Padding huge
|
|
123
|
-
|
|
123
|
+
.lumx-list.lumx-list--item-padding-huge & {
|
|
124
124
|
@include lumx-list-item-padding("huge");
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
/* Section
|
|
129
129
|
========================================================================== */
|
|
130
130
|
|
|
131
|
-
|
|
131
|
+
.lumx-list-section {
|
|
132
132
|
@include lumx-list-auto-section-divider;
|
|
133
133
|
|
|
134
134
|
&__title {
|
|
@@ -139,13 +139,13 @@
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
// Padding big (defaults when list contain clickable item)
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
.lumx-list:has(.lumx-list-item__link) &,
|
|
143
|
+
.lumx-list.lumx-list--item-padding-big & {
|
|
144
144
|
@include lumx-list-item-padding('big');
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
// Padding huge
|
|
148
|
-
|
|
148
|
+
.lumx-list.lumx-list--item-padding-huge & {
|
|
149
149
|
@include lumx-list-item-padding('huge');
|
|
150
150
|
}
|
|
151
151
|
}
|
|
@@ -160,6 +160,6 @@
|
|
|
160
160
|
/* Divider
|
|
161
161
|
========================================================================== */
|
|
162
162
|
|
|
163
|
-
|
|
163
|
+
.lumx-list-divider {
|
|
164
164
|
@include lumx-list-divider;
|
|
165
165
|
}
|
|
@@ -9,36 +9,36 @@
|
|
|
9
9
|
|
|
10
10
|
// The composite sets `hidden` on the list when it has no visible content (see `setupComposite`).
|
|
11
11
|
// Before the composite mounts: hide an empty list.
|
|
12
|
-
|
|
12
|
+
.lumx-listbox-list:empty {
|
|
13
13
|
display: none;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
// ---- Option -----------------------
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
.lumx-listbox-option {
|
|
19
19
|
// Skeleton option placeholders — width variation via :nth-child cycling
|
|
20
20
|
&-skeleton {
|
|
21
|
-
|
|
21
|
+
.lumx-skeleton-typography {
|
|
22
22
|
width: min(65%, 200px);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
&:nth-child(3n + 1)
|
|
25
|
+
&:nth-child(3n + 1) .lumx-skeleton-typography {
|
|
26
26
|
width: min(70%, 230px);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
&:nth-child(3n + 2)
|
|
29
|
+
&:nth-child(3n + 2) .lumx-skeleton-typography {
|
|
30
30
|
width: min(55%, 170px);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
// Allow flex items to shrink below their content width so `truncate` text shows an ellipsis
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
.lumx-list-item__wrapper,
|
|
36
|
+
.lumx-list-item__content {
|
|
37
37
|
min-width: 0;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
// Center option content
|
|
41
|
-
|
|
41
|
+
.lumx-list-item__content {
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
justify-items: center;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Message
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
.lumx-message {
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: flex-start;
|
|
8
8
|
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
========================================================================== */
|
|
33
33
|
|
|
34
34
|
@each $color in $lumx-notification-color-palette {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
.lumx-message--color-#{$color} {
|
|
36
|
+
&.lumx-message--has-background {
|
|
37
37
|
background-color: lumx-color-variant($color, "L6");
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
/* Navigation Item
|
|
8
8
|
========================================================================== */
|
|
9
|
-
|
|
9
|
+
.lumx-navigation-item {
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: row;
|
|
12
12
|
align-items: center;
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
|
|
55
55
|
// Variants on emphasis, theme and states
|
|
56
56
|
@each $emphasis, $selector in (
|
|
57
|
-
"emphasis-low": "
|
|
58
|
-
"emphasis-selected": "
|
|
57
|
+
"emphasis-low": ".lumx-navigation-item__link",
|
|
58
|
+
"emphasis-selected": ".lumx-navigation-item__link--is-selected",
|
|
59
59
|
) {
|
|
60
60
|
@each $theme in ("theme-light", "theme-dark") {
|
|
61
|
-
|
|
61
|
+
.lumx-navigation-item--#{$theme} > #{$selector} {
|
|
62
62
|
// Default state
|
|
63
63
|
@include lumx-navigation-link-colors(
|
|
64
64
|
$emphasis,
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
/* Navigation Section
|
|
113
113
|
========================================================================== */
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
.lumx-navigation-section {
|
|
116
116
|
flex-direction: column;
|
|
117
117
|
align-items: normal;
|
|
118
118
|
|
|
@@ -129,30 +129,30 @@
|
|
|
129
129
|
|
|
130
130
|
/* Navigation
|
|
131
131
|
========================================================================== */
|
|
132
|
-
|
|
132
|
+
.lumx-navigation {
|
|
133
133
|
padding: 0;
|
|
134
134
|
margin: 0;
|
|
135
135
|
list-style: none;
|
|
136
136
|
outline: none;
|
|
137
137
|
|
|
138
138
|
&--orientation-horizontal {
|
|
139
|
-
|
|
139
|
+
.lumx-navigation__list {
|
|
140
140
|
display: flex;
|
|
141
141
|
flex-direction: row;
|
|
142
142
|
gap: $lumx-spacing-unit;
|
|
143
143
|
overflow: hidden;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
.lumx-navigation-item {
|
|
147
147
|
max-width: 216px;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
.lumx-navigation-section__drawer--popover {
|
|
151
151
|
flex-direction: column;
|
|
152
152
|
min-width: $lumx-size-xxl;
|
|
153
153
|
max-width: 400px;
|
|
154
154
|
padding: $lumx-spacing-unit-regular;
|
|
155
|
-
|
|
155
|
+
.lumx-navigation-item {
|
|
156
156
|
width: 100%;
|
|
157
157
|
max-width: 100%;
|
|
158
158
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Notification
|
|
5
5
|
========================================================================== */
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
.lumx-notification {
|
|
8
8
|
$self: &;
|
|
9
9
|
|
|
10
10
|
@include lumx-elevation(4);
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
========================================================================== */
|
|
67
67
|
|
|
68
68
|
@each $color in $lumx-notification-color-palette {
|
|
69
|
-
|
|
69
|
+
.lumx-notification--color-#{$color} .lumx-notification__icon {
|
|
70
70
|
background-color: lumx-color-variant($color, "N");
|
|
71
71
|
|
|
72
72
|
@if $color == "yellow" {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Popover
|
|
6
6
|
========================================================================== */
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
.lumx-popover {
|
|
9
9
|
$self: &;
|
|
10
10
|
|
|
11
11
|
z-index: map.get($lumx-base-layers, "high");
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
========================================================================== */
|
|
84
84
|
|
|
85
85
|
@each $depth, $shadow in $lumx-elevation-shadows {
|
|
86
|
-
|
|
86
|
+
.lumx-popover--elevation-#{$depth} {
|
|
87
87
|
@include lumx-elevation-drop-shadow($depth);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Progress
|
|
5
5
|
========================================================================== */
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
.lumx-progress {
|
|
8
8
|
&--variant-circular {
|
|
9
9
|
width: $lumx-progress-circular-size;
|
|
10
10
|
height: $lumx-progress-circular-size;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* Circular
|
|
15
15
|
========================================================================== */
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
.lumx-progress-circular {
|
|
18
18
|
position: relative;
|
|
19
19
|
width: $lumx-progress-circular-size;
|
|
20
20
|
height: $lumx-progress-circular-size;
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
|
|
38
38
|
&--theme-light &__double-bounce1,
|
|
39
39
|
&--theme-light &__double-bounce2,
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
.lumx-progress--theme-light &__double-bounce1,
|
|
41
|
+
.lumx-progress--theme-light &__double-bounce2 {
|
|
42
42
|
background-color: lumx-color-variant("primary", "L3");
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
&--theme-dark &__double-bounce1,
|
|
46
46
|
&--theme-dark &__double-bounce2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
.lumx-progress--theme-dark &__double-bounce1,
|
|
48
|
+
.lumx-progress--theme-dark &__double-bounce2 {
|
|
49
49
|
background-color: lumx-color-variant("light", "L3");
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -75,18 +75,18 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
&--theme-light &__path,
|
|
78
|
-
|
|
78
|
+
.lumx-progress--theme-light &__path {
|
|
79
79
|
stroke: lumx-color-variant("primary", "N");
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
&--theme-dark &__path,
|
|
83
|
-
|
|
83
|
+
.lumx-progress--theme-dark &__path {
|
|
84
84
|
stroke: lumx-color-variant("light", "N");
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/* Circular sizes */
|
|
88
88
|
@each $key, $size in $lumx-progress-circular-size-map {
|
|
89
|
-
&--size-#{$key}, &--size-#{$key}
|
|
89
|
+
&--size-#{$key}, &--size-#{$key} .lumx-progress-circular__svg {
|
|
90
90
|
width: $size;
|
|
91
91
|
height: $size;
|
|
92
92
|
}
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
/* Linear
|
|
131
131
|
========================================================================== */
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
.lumx-progress-linear {
|
|
134
134
|
position: relative;
|
|
135
135
|
height: $lumx-progress-linear-size;
|
|
136
136
|
overflow: hidden;
|
|
@@ -147,15 +147,15 @@
|
|
|
147
147
|
|
|
148
148
|
&--theme-light &__line1,
|
|
149
149
|
&--theme-light &__line2,
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
.lumx-progress--theme-light &__line1,
|
|
151
|
+
.lumx-progress--theme-light &__line2 {
|
|
152
152
|
background-color: lumx-color-variant("primary", "L3");
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
&--theme-dark &__line1,
|
|
156
156
|
&--theme-dark &__line2,
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
.lumx-progress--theme-dark &__line1,
|
|
158
|
+
.lumx-progress--theme-dark &__line2 {
|
|
159
159
|
background-color: lumx-color-variant("light", "L3");
|
|
160
160
|
}
|
|
161
161
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Progress tracker
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
.lumx-progress-tracker {
|
|
6
6
|
position: relative;
|
|
7
7
|
|
|
8
8
|
&__steps {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
/* Step
|
|
38
38
|
========================================================================== */
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
.lumx-progress-tracker-step {
|
|
41
41
|
$self: &;
|
|
42
42
|
|
|
43
43
|
display: flex;
|
|
@@ -98,24 +98,24 @@
|
|
|
98
98
|
========================================================================== */
|
|
99
99
|
|
|
100
100
|
// Hover state
|
|
101
|
-
|
|
101
|
+
.lumx-progress-tracker-step--is-clickable:hover {
|
|
102
102
|
@include lumx-state(lumx-base-const("state", "HOVER"), lumx-base-const("emphasis", "LOW"), "dark");
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
// Active state
|
|
106
|
-
|
|
106
|
+
.lumx-progress-tracker-step--is-clickable:active {
|
|
107
107
|
@include lumx-state(lumx-base-const("state", "ACTIVE"), lumx-base-const("emphasis", "LOW"), "dark");
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
// Focus state
|
|
111
|
-
|
|
111
|
+
.lumx-progress-tracker-step[data-focus-visible-added] {
|
|
112
112
|
@include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "LOW"), "dark");
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
/* Step panel
|
|
116
116
|
========================================================================== */
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
.lumx-step-panel {
|
|
119
119
|
display: none;
|
|
120
120
|
outline: none;
|
|
121
121
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Radio button
|
|
5
5
|
========================================================================== */
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
.lumx-radio-button {
|
|
8
8
|
$self: &;
|
|
9
9
|
|
|
10
10
|
display: flex;
|
|
@@ -75,78 +75,78 @@
|
|
|
75
75
|
========================================================================== */
|
|
76
76
|
|
|
77
77
|
// Disabled state
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
.lumx-radio-button--is-disabled {
|
|
79
|
+
.lumx-radio-button__input-placeholder {
|
|
80
80
|
@include lumx-state-disabled-input;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
&.lumx-radio-button--theme-light {
|
|
84
|
+
.lumx-radio-button__label,
|
|
85
|
+
.lumx-radio-button__helper {
|
|
86
86
|
@include lumx-state-disabled-text(lumx-base-const("theme", "LIGHT"));
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
&.lumx-radio-button--theme-dark {
|
|
91
|
+
.lumx-radio-button__label,
|
|
92
|
+
.lumx-radio-button__helper {
|
|
93
93
|
@include lumx-state-disabled-text(lumx-base-const("theme", "DARK"));
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
// Hover state
|
|
99
|
-
:not(
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
+
|
|
103
|
-
|
|
99
|
+
:not(.lumx-radio-button--is-disabled) {
|
|
100
|
+
&.lumx-radio-button--theme-light.lumx-radio-button--is-unchecked
|
|
101
|
+
.lumx-radio-button__input-native:hover
|
|
102
|
+
+ .lumx-radio-button__input-placeholder {
|
|
103
|
+
.lumx-radio-button__input-background {
|
|
104
104
|
@include lumx-state(lumx-base-const("state", "HOVER"), lumx-base-const("emphasis", "LOW"), "dark");
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
+
|
|
111
|
-
|
|
108
|
+
&.lumx-radio-button--theme-dark.lumx-radio-button--is-unchecked
|
|
109
|
+
.lumx-radio-button__input-native:hover
|
|
110
|
+
+ .lumx-radio-button__input-placeholder {
|
|
111
|
+
.lumx-radio-button__input-background {
|
|
112
112
|
@include lumx-state(lumx-base-const("state", "HOVER"), lumx-base-const("emphasis", "LOW"), "light");
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
// Active state
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
+
|
|
120
|
-
|
|
117
|
+
&.lumx-radio-button--theme-light.lumx-radio-button--is-unchecked
|
|
118
|
+
.lumx-radio-button__input-native:active
|
|
119
|
+
+ .lumx-radio-button__input-placeholder {
|
|
120
|
+
.lumx-radio-button__input-background {
|
|
121
121
|
@include lumx-state(lumx-base-const("state", "ACTIVE"), lumx-base-const("emphasis", "LOW"), "dark");
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
+
|
|
128
|
-
|
|
125
|
+
&.lumx-radio-button--theme-dark.lumx-radio-button--is-unchecked
|
|
126
|
+
.lumx-radio-button__input-native:active
|
|
127
|
+
+ .lumx-radio-button__input-placeholder {
|
|
128
|
+
.lumx-radio-button__input-background {
|
|
129
129
|
@include lumx-state(lumx-base-const("state", "ACTIVE"), lumx-base-const("emphasis", "LOW"), "light");
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
// Focus state
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
+
|
|
135
|
+
.lumx-radio-button--theme-light.lumx-radio-button--is-unchecked
|
|
136
|
+
.lumx-radio-button__input-native[data-focus-visible-added]
|
|
137
|
+
+ .lumx-radio-button__input-placeholder {
|
|
138
138
|
@include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "LOW"), "dark");
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
+
|
|
141
|
+
.lumx-radio-button--theme-dark.lumx-radio-button--is-unchecked
|
|
142
|
+
.lumx-radio-button__input-native[data-focus-visible-added]
|
|
143
|
+
+ .lumx-radio-button__input-placeholder {
|
|
144
144
|
@include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "LOW"), "light");
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
+
|
|
147
|
+
.lumx-radio-button--theme-light.lumx-radio-button--is-checked
|
|
148
|
+
.lumx-radio-button__input-native[data-focus-visible-added]
|
|
149
|
+
+ .lumx-radio-button__input-placeholder {
|
|
150
150
|
@include lumx-state(
|
|
151
151
|
lumx-base-const("state", "FOCUS"),
|
|
152
152
|
lumx-base-const("emphasis", "HIGH"),
|
|
@@ -155,9 +155,9 @@
|
|
|
155
155
|
);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
+
|
|
158
|
+
.lumx-radio-button--theme-dark.lumx-radio-button--is-checked
|
|
159
|
+
.lumx-radio-button__input-native[data-focus-visible-added]
|
|
160
|
+
+ .lumx-radio-button__input-placeholder {
|
|
161
161
|
@include lumx-state(
|
|
162
162
|
lumx-base-const("state", "FOCUS"),
|
|
163
163
|
lumx-base-const("emphasis", "HIGH"),
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
/* Radio group
|
|
170
170
|
========================================================================== */
|
|
171
171
|
|
|
172
|
-
|
|
172
|
+
.lumx-radio-group > .lumx-radio-button {
|
|
173
173
|
margin-bottom: $lumx-spacing-unit * 1.5;
|
|
174
174
|
|
|
175
175
|
&:last-child {
|