@enact/limestone 1.3.0 → 1.9.4
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/.github/workflows/ci-branch.yml +21 -0
- package/.github/workflows/ci-pull-request.yml +16 -0
- package/.github/workflows/ci-reusable.yml +73 -0
- package/ActionGuide/ActionGuide.d.ts +5 -4
- package/ActionGuide/ActionGuide.module.css +1 -1
- package/Alert/Alert.d.ts +4 -2
- package/Alert/Alert.js +4 -1
- package/Alert/Alert.module.css +36 -0
- package/BodyText/BodyText.d.ts +5 -4
- package/BodyText/BodyText.module.css +7 -7
- package/Button/Button.d.ts +17 -12
- package/Button/Button.js +1 -1
- package/Button/Button.module.css +195 -268
- package/CHANGELOG.md +226 -0
- package/Card/Card.d.ts +36 -8
- package/Card/Card.js +157 -20
- package/Card/Card.module.css +277 -58
- package/Card/tests/Card-specs.js +30 -0
- package/Checkbox/Checkbox.d.ts +8 -7
- package/Checkbox/Checkbox.js +3 -1
- package/Checkbox/Checkbox.module.css +213 -120
- package/Checkbox/tests/Checkbox-specs.js +1 -1
- package/CheckboxItem/CheckboxItem.d.ts +22 -7
- package/CheckboxItem/CheckboxItem.js +69 -4
- package/Chips/Chip.js +60 -7
- package/Chips/Chip.module.css +3 -3
- package/Chips/Chips.js +26 -12
- package/Chips/Chips.module.css +1 -1
- package/Chips/tests/Chip-specs.js +19 -9
- package/Chips/tests/Chips-specs.js +19 -19
- package/ContextualMenuDecorator/ContextualMenuDecorator.d.ts +4 -5
- package/ContextualPopupDecorator/ContextualPopup.module.css +34 -34
- package/ContextualPopupDecorator/ContextualPopupDecorator.js +557 -549
- package/DatePicker/DatePicker.d.ts +4 -5
- package/DayPicker/DayPicker.d.ts +8 -7
- package/Dropdown/Dropdown.d.ts +11 -13
- package/Dropdown/Dropdown.module.css +9 -9
- package/Dropdown/DropdownList.js +16 -11
- package/FixedPopupPanels/FixedPopupPanels.d.ts +4 -2
- package/FixedPopupPanels/FixedPopupPanels.module.css +18 -18
- package/FlexiblePopupPanels/FlexiblePopupPanels.module.css +23 -23
- package/FormCheckboxItem/FormCheckboxItem.d.ts +5 -4
- package/Heading/Heading.d.ts +8 -7
- package/Heading/Heading.module.css +5 -5
- package/Icon/Icon.d.ts +14 -4
- package/Icon/Icon.js +48 -2
- package/Icon/Icon.module.css +1 -1
- package/Icon/IconList.js +25 -1
- package/IconItem/IconItem.d.ts +13 -12
- package/IconItem/IconItem.js +15 -0
- package/IconItem/IconItem.module.css +107 -1
- package/Image/Image.d.ts +5 -4
- package/ImageItem/ImageItem.d.ts +11 -10
- package/ImageItem/ImageItem.js +37 -31
- package/ImageItem/ImageItem.module.css +30 -30
- package/ImageItem/tests/ImageItem-specs.js +3 -10
- package/Input/Input.js +9 -2
- package/Input/Input.module.css +37 -8
- package/Input/InputField.js +5 -1
- package/Input/InputField.module.css +17 -2
- package/Input/InputFieldSpotlightDecorator.js +213 -229
- package/Input/index.d.ts +15 -18
- package/Input/tests/InputField-specs.js +21 -0
- package/Item/Item.d.ts +16 -9
- package/Item/Item.js +20 -2
- package/Item/Item.module.css +1 -1
- package/KeyGuide/KeyGuide.d.ts +8 -7
- package/KeyGuide/KeyGuide.module.css +25 -1
- package/Marquee/Marquee.d.ts +2 -4
- package/MediaOverlay/MediaOverlay.d.ts +12 -11
- package/MediaOverlay/MediaOverlay.js +43 -21
- package/MediaOverlay/MediaOverlay.module.css +114 -15
- package/MediaPlayer/MediaControls.js +195 -13
- package/MediaPlayer/MediaControls.module.css +3 -2
- package/MediaPlayer/MediaSlider.module.css +7 -20
- package/MediaPlayer/index.d.ts +59 -7
- package/PageViews/PageViews.js +165 -80
- package/PageViews/PageViewsRouter.js +9 -0
- package/PageViews/tests/PageViews-specs.js +84 -0
- package/Panels/Header.js +48 -30
- package/Panels/Header.module.css +83 -31
- package/Panels/Panel.module.css +1 -1
- package/Panels/index.d.ts +7 -8
- package/Picker/Picker.d.ts +4 -5
- package/Picker/Picker.module.css +2 -2
- package/Popup/Popup.js +242 -240
- package/Popup/Popup.module.css +24 -24
- package/PopupTabLayout/PopupTabLayout.d.ts +5 -7
- package/PopupTabLayout/PopupTabLayout.js +15 -9
- package/PopupTabLayout/PopupTabLayout.module.css +53 -16
- package/PopupTabLayout/PopupTabLayoutStateContext.js +8 -0
- package/ProgressBar/ProgressBar.d.ts +5 -4
- package/ProgressBar/ProgressBarTooltip.module.css +12 -12
- package/ProgressButton/ProgressButton.d.ts +4 -5
- package/QuickGuidePanels/QuickGuidePanels.module.css +2 -2
- package/RadioItem/RadioItem.d.ts +18 -5
- package/RadioItem/RadioItem.js +67 -2
- package/RadioItem/RadioItem.module.css +36 -36
- package/RangePicker/RangePicker.module.css +2 -2
- package/Scroller/EditableWrapper.js +11 -4
- package/Scroller/Scroller.d.ts +20 -16
- package/Scroller/Scroller.js +9 -3
- package/Scroller/Scroller.module.css +4 -4
- package/Slider/Slider.d.ts +16 -14
- package/Slider/Slider.js +37 -4
- package/Slider/Slider.module.css +314 -91
- package/Slider/tests/Slider-specs.js +2 -1
- package/Spinner/Spinner.d.ts +5 -4
- package/Spinner/Spinner.module.css +9 -9
- package/Steps/Steps.d.ts +5 -4
- package/Steps/Steps.js +9 -5
- package/Switch/Switch.d.ts +8 -7
- package/Switch/Switch.module.css +100 -13
- package/SwitchItem/SwitchItem.d.ts +9 -6
- package/TabLayout/RefocusDecorator.js +15 -9
- package/TabLayout/TabGroup.js +3 -2
- package/TabLayout/TabGroup.module.css +2 -2
- package/TabLayout/TabLayout.d.ts +6 -0
- package/TabLayout/TabLayout.js +11 -1
- package/TabLayout/TabLayout.module.css +18 -0
- package/TabLayout/tests/TabLayout-specs.js +52 -0
- package/ThemeDecorator/ThemeDecorator.d.ts +9 -10
- package/ThemeDecorator/fontGenerator.js +1 -1
- package/ThemeDecorator/screenTypes.json +1 -0
- package/TimePicker/TimePicker.module.css +1 -1
- package/TooltipDecorator/Tooltip.module.css +1 -2
- package/TooltipDecorator/tests/util-specs.js +12 -0
- package/TooltipDecorator/useTooltip.js +1 -1
- package/TooltipDecorator/util.js +18 -11
- package/VideoPlayer/Feedback.js +3 -0
- package/VideoPlayer/Feedback.module.css +5 -9
- package/VideoPlayer/FeedbackIcons.js +1 -1
- package/VideoPlayer/FeedbackTooltip.module.css +55 -11
- package/VideoPlayer/VideoPlayer.d.ts +44 -18
- package/VideoPlayer/VideoPlayer.js +128 -23
- package/VideoPlayer/VideoPlayer.module.css +28 -11
- package/VirtualList/VirtualList.d.ts +9 -2
- package/VirtualList/VirtualList.js +31 -6
- package/VirtualList/tests/VirtualGridList-translate-specs.js +3 -0
- package/VirtualList/tests/VirtualList-specs.js +28 -1
- package/VirtualList/tests/VirtualList-translate-specs.js +4 -1
- package/VirtualList/tests/useEvent-specs.js +39 -0
- package/VirtualList/useEvent.js +45 -10
- package/VirtualList/useThemeVirtualList.js +3 -0
- package/WizardPanels/WizardPanels.module.css +2 -2
- package/WizardPanels/index.d.ts +4 -2
- package/fonts/Limestone_Icons.ttf +0 -0
- package/internal/$L/$L.js +3 -3
- package/internal/DateComponentPicker/DateComponentPicker.module.css +2 -2
- package/internal/DateTime/DateTime.module.css +1 -0
- package/internal/Panels/PanelsRouter.js +16 -5
- package/internal/Picker/Picker.module.css +2 -2
- package/internal/SharedStateDecorator/SharedStateDecorator.js +76 -99
- package/internal/validators/validators.js +21 -2
- package/package.json +14 -14
- package/styles/colors-highcontrast.less +9 -1
- package/styles/colors.less +11 -7
- package/styles/motion-mixins.less +66 -0
- package/styles/motions.less +78 -0
- package/styles/variables.less +176 -150
- package/useScroll/HoverToScroll.js +8 -5
- package/useScroll/ScrollbarTrack.module.css +8 -8
- package/useScroll/useEvent.js +7 -1
- package/useScroll/useScroll.js +2 -0
- package/useScroll/useScroll.module.css +6 -6
- package/.travis.yml +0 -40
package/Card/Card.module.css
CHANGED
|
@@ -1,9 +1,93 @@
|
|
|
1
|
+
/* ---------------------------------------
|
|
2
|
+
Animations
|
|
3
|
+
------------------------------------------ */
|
|
4
|
+
:root {
|
|
5
|
+
/* Bounce
|
|
6
|
+
------------------------------------------ */
|
|
7
|
+
--lime-bounce-motion: var(--lime-bounce-animation-name) var(--lime-bounce-motion-duration) var(--lime-bounce-motion-easing-function);
|
|
8
|
+
--lime-check-motion: var(--lime-check-animation-name) var(--lime-check-motion-duration) forwards;
|
|
9
|
+
}
|
|
10
|
+
/* ---------------------------------------
|
|
11
|
+
Animations properties
|
|
12
|
+
------------------------------------------ */
|
|
13
|
+
:root {
|
|
14
|
+
/* ---------------------------------------
|
|
15
|
+
Durations
|
|
16
|
+
------------------------------------------ */
|
|
17
|
+
--lime-motion-default-duration: 200ms;
|
|
18
|
+
--lime-motion-medium1-duration: 250ms;
|
|
19
|
+
--lime-motion-medium2-duration: 300ms;
|
|
20
|
+
--lime-motion-medium4-duration: 400ms;
|
|
21
|
+
--lime-motion-long2-duration: 500ms;
|
|
22
|
+
--lime-bounce-motion-duration: var(--lime-motion-medium2-duration);
|
|
23
|
+
--lime-check-motion-duration: var(--lime-motion-medium4-duration);
|
|
24
|
+
--lime-focus-in-motion-duration: var(--lime-motion-medium2-duration);
|
|
25
|
+
--lime-focus-out-motion-duration: var(--lime-motion-long2-duration);
|
|
26
|
+
--lime-press-motion-duration: var(--lime-motion-medium1-duration);
|
|
27
|
+
--lime-release-motion-duration: var(--lime-motion-medium2-duration);
|
|
28
|
+
/* ---------------------------------------
|
|
29
|
+
Easing functions
|
|
30
|
+
------------------------------------------ */
|
|
31
|
+
--lime-default-motion-easing-function: ease-out;
|
|
32
|
+
--lime-EIO-motion-easing-function: cubic-bezier(0.2, 0, 0.05, 1);
|
|
33
|
+
--lime-EO-motion-easing-function: cubic-bezier(0.1, 0.6, 0.15, 1);
|
|
34
|
+
--lime-bounce-motion-easing-function: var(--lime-default-motion-easing-function);
|
|
35
|
+
--lime-focus-in-motion-easing-function: var(--lime-EIO-motion-easing-function);
|
|
36
|
+
--lime-focus-out-motion-easing-function: var(--lime-EO-motion-easing-function);
|
|
37
|
+
--lime-press-motion-easing-function: var(--lime-EIO-motion-easing-function);
|
|
38
|
+
--lime-release-motion-easing-function: var(--lime-EO-motion-easing-function);
|
|
39
|
+
/* ---------------------------------------
|
|
40
|
+
Keyframes names
|
|
41
|
+
------------------------------------------ */
|
|
42
|
+
--lime-bounce-animation-name: bounce-motion;
|
|
43
|
+
--lime-check-animation-name: check-motion;
|
|
44
|
+
/* ---------------------------------------
|
|
45
|
+
Keyframes values
|
|
46
|
+
------------------------------------------ */
|
|
47
|
+
--lime-bounce-motion-offset-default-value: 0.125rem;
|
|
48
|
+
}
|
|
49
|
+
/* ---------------------------------------
|
|
50
|
+
Keyframes
|
|
51
|
+
------------------------------------------ */
|
|
52
|
+
/* Bounce
|
|
53
|
+
------------------------------------------ */
|
|
54
|
+
@keyframes bounce-motion {
|
|
55
|
+
0% {
|
|
56
|
+
transform: translateX(0);
|
|
57
|
+
}
|
|
58
|
+
50% {
|
|
59
|
+
transform: translateX(var(--lime-bounce-motion-offset-value, --lime-bounce-motion-offset-default-value));
|
|
60
|
+
}
|
|
61
|
+
80% {
|
|
62
|
+
transform: translateX(calc(var(--lime-bounce-motion-offset-value, --lime-bounce-motion-offset-default-value) / -2));
|
|
63
|
+
}
|
|
64
|
+
100% {
|
|
65
|
+
transform: translateX(0);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
/* Check
|
|
69
|
+
------------------------------------------ */
|
|
70
|
+
@keyframes check-motion {
|
|
71
|
+
0% {
|
|
72
|
+
transform: translateX(0);
|
|
73
|
+
}
|
|
74
|
+
100% {
|
|
75
|
+
transform: translateX(100%);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
/* ---------------------------------------
|
|
79
|
+
Motion Variables
|
|
80
|
+
------------------------------------------ */
|
|
81
|
+
/* ---------------------------------------
|
|
82
|
+
Motion Mixins
|
|
83
|
+
------------------------------------------ */
|
|
1
84
|
.card {
|
|
2
85
|
position: relative;
|
|
3
|
-
margin: 0
|
|
86
|
+
margin: 0 var(--primitive-spacing-36) var(--primitive-spacing-30) var(--primitive-spacing-36);
|
|
4
87
|
}
|
|
5
88
|
.card .image {
|
|
6
89
|
position: relative;
|
|
90
|
+
transition: transform var(--lime-focus-out-motion-duration) var(--lime-focus-out-motion-easing-function);
|
|
7
91
|
}
|
|
8
92
|
.card .selectionContainer {
|
|
9
93
|
pointer-events: none;
|
|
@@ -26,28 +110,36 @@
|
|
|
26
110
|
line-height: 1.875rem;
|
|
27
111
|
z-index: 3;
|
|
28
112
|
}
|
|
113
|
+
.card:not(.isCheckIcon) .selectionContainer .selectionIcon {
|
|
114
|
+
--icon-size: 2.5rem;
|
|
115
|
+
width: 3rem;
|
|
116
|
+
height: 3rem;
|
|
117
|
+
line-height: 3rem;
|
|
118
|
+
}
|
|
29
119
|
.card .primaryBadge,
|
|
30
120
|
.card .secondaryBadge {
|
|
31
121
|
position: absolute;
|
|
32
122
|
width: 2.25rem;
|
|
33
123
|
height: 2.25rem;
|
|
34
124
|
margin: 0;
|
|
35
|
-
top:
|
|
125
|
+
top: var(--primitive-spacing-24);
|
|
36
126
|
}
|
|
37
127
|
.card .primaryBadge {
|
|
38
|
-
left:
|
|
128
|
+
left: var(--primitive-spacing-24);
|
|
39
129
|
}
|
|
40
130
|
.card .secondaryBadge {
|
|
41
|
-
right:
|
|
131
|
+
right: var(--primitive-spacing-24);
|
|
132
|
+
}
|
|
133
|
+
.card .caption,
|
|
134
|
+
.card .label {
|
|
135
|
+
overflow-wrap: break-word;
|
|
42
136
|
}
|
|
43
137
|
.card .caption {
|
|
44
|
-
height: 1.75rem;
|
|
45
138
|
font-size: var(--primitive-font-size-60);
|
|
46
139
|
line-height: 1.75rem;
|
|
47
140
|
font-weight: var(--primitive-font-weight-semibold);
|
|
48
141
|
}
|
|
49
142
|
.card .label {
|
|
50
|
-
height: 1.25rem;
|
|
51
143
|
font-size: var(--primitive-font-size-48);
|
|
52
144
|
line-height: 1.25rem;
|
|
53
145
|
font-weight: var(--primitive-font-weight-regular);
|
|
@@ -62,44 +154,45 @@
|
|
|
62
154
|
z-index: 1;
|
|
63
155
|
}
|
|
64
156
|
.card.roundedImage {
|
|
65
|
-
border-radius:
|
|
157
|
+
border-radius: var(--semantic-radius-container);
|
|
66
158
|
}
|
|
67
159
|
.card.roundedImage.selected::before {
|
|
68
|
-
border-radius:
|
|
160
|
+
border-radius: var(--semantic-radius-container);
|
|
69
161
|
}
|
|
70
162
|
.card.roundedImage.selected .image::after {
|
|
71
|
-
border-radius:
|
|
163
|
+
border-radius: var(--semantic-radius-container);
|
|
72
164
|
}
|
|
73
165
|
.card.roundedImage.selected.vertical.hasContainer .image::after {
|
|
74
166
|
border-bottom-left-radius: unset;
|
|
75
167
|
border-bottom-right-radius: unset;
|
|
76
168
|
}
|
|
77
169
|
.card.roundedImage.selected.horizontal .image::after {
|
|
78
|
-
border-radius:
|
|
170
|
+
border-radius: var(--semantic-radius-container);
|
|
79
171
|
border-top-right-radius: unset;
|
|
80
172
|
border-bottom-right-radius: unset;
|
|
81
173
|
}
|
|
82
174
|
.card.roundedImage.vertical .selectionContainer,
|
|
83
175
|
.card.roundedImage.vertical .image {
|
|
84
|
-
border-radius:
|
|
176
|
+
border-radius: var(--semantic-radius-container);
|
|
85
177
|
}
|
|
86
178
|
.card.roundedImage.vertical.hasContainer .image {
|
|
87
179
|
border-bottom-left-radius: unset;
|
|
88
180
|
border-bottom-right-radius: unset;
|
|
89
181
|
}
|
|
90
182
|
.card.roundedImage.horizontal .image {
|
|
91
|
-
border-top-left-radius:
|
|
92
|
-
border-bottom-left-radius:
|
|
183
|
+
border-top-left-radius: var(--semantic-radius-container);
|
|
184
|
+
border-bottom-left-radius: var(--semantic-radius-container);
|
|
93
185
|
}
|
|
94
186
|
.card.vertical {
|
|
95
187
|
width: var(--card-image-width);
|
|
96
188
|
height: auto;
|
|
189
|
+
transition: transform var(--lime-focus-out-motion-duration) var(--lime-focus-out-motion-easing-function);
|
|
97
190
|
}
|
|
98
191
|
.card.vertical .captions {
|
|
99
|
-
padding:
|
|
192
|
+
padding: var(--primitive-spacing-36) 0;
|
|
100
193
|
display: flex;
|
|
101
194
|
align-items: center;
|
|
102
|
-
gap:
|
|
195
|
+
gap: var(--primitive-spacing-48);
|
|
103
196
|
align-self: stretch;
|
|
104
197
|
}
|
|
105
198
|
.card.vertical .image {
|
|
@@ -111,13 +204,24 @@
|
|
|
111
204
|
margin: 0;
|
|
112
205
|
}
|
|
113
206
|
.card.vertical.captionOverlay .captions {
|
|
114
|
-
padding:
|
|
207
|
+
padding: var(--primitive-spacing-36) var(--primitive-spacing-48);
|
|
208
|
+
}
|
|
209
|
+
.card.vertical.captionOverlay.splitCaption .caption {
|
|
210
|
+
width: calc(var(--card-image-width) - (var(--primitive-spacing-48) + var(--primitive-spacing-48)));
|
|
211
|
+
}
|
|
212
|
+
.card.vertical.captionOverlay.splitCaption .label {
|
|
213
|
+
font-size: var(--primitive-font-size-60);
|
|
214
|
+
font-weight: var(--primitive-font-weight-semibold);
|
|
215
|
+
padding: 0 var(--primitive-spacing-48);
|
|
216
|
+
}
|
|
217
|
+
.card.vertical.captionOverlay.splitCaption .label:first-child {
|
|
218
|
+
padding-top: var(--primitive-spacing-18);
|
|
115
219
|
}
|
|
116
220
|
.card.vertical.captionOverlayOnFocus .captions {
|
|
117
221
|
visibility: hidden;
|
|
118
222
|
}
|
|
119
223
|
.card.vertical.hasContainer .captions {
|
|
120
|
-
padding:
|
|
224
|
+
padding: var(--primitive-spacing-36) var(--primitive-spacing-48);
|
|
121
225
|
}
|
|
122
226
|
.card.vertical:not(.hasContainer) .image {
|
|
123
227
|
z-index: 1;
|
|
@@ -128,9 +232,10 @@
|
|
|
128
232
|
.card.horizontal {
|
|
129
233
|
width: 27.5rem;
|
|
130
234
|
height: 7rem;
|
|
235
|
+
transition: transform var(--lime-focus-out-motion-duration) var(--lime-focus-out-motion-easing-function);
|
|
131
236
|
}
|
|
132
237
|
.card.horizontal .captions {
|
|
133
|
-
padding:
|
|
238
|
+
padding: var(--primitive-spacing-48);
|
|
134
239
|
}
|
|
135
240
|
.card.horizontal .image {
|
|
136
241
|
width: var(--card-image-width);
|
|
@@ -138,18 +243,11 @@
|
|
|
138
243
|
:global(.spotlight-input-key) .card:global(.spottable):focus.hasContainer,
|
|
139
244
|
:global(.spotlight-input-mouse) .card:global(.spottable):focus.hasContainer {
|
|
140
245
|
transform: scale(1.1);
|
|
141
|
-
transition: transform
|
|
246
|
+
transition: transform var(--lime-focus-in-motion-duration) var(--lime-focus-in-motion-easing-function);
|
|
142
247
|
}
|
|
143
248
|
:global(.spotlight-input-key) .card:global(.spottable):focus.hasContainer.roundedImage::before,
|
|
144
249
|
:global(.spotlight-input-mouse) .card:global(.spottable):focus.hasContainer.roundedImage::before {
|
|
145
|
-
border-radius:
|
|
146
|
-
}
|
|
147
|
-
:global(.spotlight-input-key) .card:global(.spottable):focus.vertical:not(.captionOverlay):not(.hasContainer) .image,
|
|
148
|
-
:global(.spotlight-input-mouse) .card:global(.spottable):focus.vertical:not(.captionOverlay):not(.hasContainer) .image,
|
|
149
|
-
:global(.spotlight-input-key) .card:global(.spottable):focus.vertical.captionOverlay,
|
|
150
|
-
:global(.spotlight-input-mouse) .card:global(.spottable):focus.vertical.captionOverlay {
|
|
151
|
-
transform: scale(1.1);
|
|
152
|
-
transition: transform 200ms ease-in-out;
|
|
250
|
+
border-radius: var(--semantic-radius-container);
|
|
153
251
|
}
|
|
154
252
|
:global(.spotlight-input-key) .card:global(.spottable):focus.vertical.captionOverlayOnFocus .captions,
|
|
155
253
|
:global(.spotlight-input-mouse) .card:global(.spottable):focus.vertical.captionOverlayOnFocus .captions {
|
|
@@ -161,15 +259,10 @@
|
|
|
161
259
|
}
|
|
162
260
|
:global(.spotlight-input-touch) .card:global(.spottable):active.hasContainer {
|
|
163
261
|
transform: scale(1.1);
|
|
164
|
-
transition: transform
|
|
262
|
+
transition: transform var(--lime-focus-in-motion-duration) var(--lime-focus-in-motion-easing-function);
|
|
165
263
|
}
|
|
166
264
|
:global(.spotlight-input-touch) .card:global(.spottable):active.hasContainer.roundedImage::before {
|
|
167
|
-
border-radius:
|
|
168
|
-
}
|
|
169
|
-
:global(.spotlight-input-touch) .card:global(.spottable):active.vertical:not(.captionOverlay):not(.hasContainer) .image,
|
|
170
|
-
:global(.spotlight-input-touch) .card:global(.spottable):active.vertical.captionOverlay {
|
|
171
|
-
transform: scale(1.1);
|
|
172
|
-
transition: transform 200ms ease-in-out;
|
|
265
|
+
border-radius: var(--semantic-radius-container);
|
|
173
266
|
}
|
|
174
267
|
:global(.spotlight-input-touch) .card:global(.spottable):active.vertical.captionOverlayOnFocus .captions {
|
|
175
268
|
visibility: visible;
|
|
@@ -177,14 +270,88 @@
|
|
|
177
270
|
:global(.spotlight-input-touch) .card:global(.spottable):active.vertical:not(.hasContainer) .selectionContainer {
|
|
178
271
|
z-index: 5;
|
|
179
272
|
}
|
|
273
|
+
:global(.spotlight-input-key) .card:not([disabled]):global(.spottable):focus.hasContainer.pressed,
|
|
274
|
+
:global(.spotlight-input-mouse) .card:not([disabled]):global(.spottable):focus.hasContainer.pressed,
|
|
275
|
+
:global(.spotlight-input-key) .card:not([disabled]):global(.spottable):focus.hasContainer:active,
|
|
276
|
+
:global(.spotlight-input-mouse) .card:not([disabled]):global(.spottable):focus.hasContainer:active {
|
|
277
|
+
transform: scale(1.05);
|
|
278
|
+
transition: transform var(--lime-press-motion-duration) var(--lime-press-motion-easing-function);
|
|
279
|
+
}
|
|
280
|
+
:global(.spotlight-input-key) .card:not([disabled]):global(.spottable):focus.hasContainer:not(.pressed),
|
|
281
|
+
:global(.spotlight-input-mouse) .card:not([disabled]):global(.spottable):focus.hasContainer:not(.pressed) {
|
|
282
|
+
transform: scale(1.1);
|
|
283
|
+
transition: transform var(--lime-release-motion-duration) var(--lime-release-motion-easing-function);
|
|
284
|
+
}
|
|
285
|
+
:global(.spotlight-input-touch) .card:not([disabled]):global(.spottable):active.hasContainer.pressed,
|
|
286
|
+
:global(.spotlight-input-touch) .card:not([disabled]):global(.spottable):active.hasContainer:active {
|
|
287
|
+
transform: scale(1.05);
|
|
288
|
+
transition: transform var(--lime-press-motion-duration) var(--lime-press-motion-easing-function);
|
|
289
|
+
}
|
|
290
|
+
:global(.spotlight-input-touch) .card:not([disabled]):global(.spottable):active.hasContainer:not(.pressed) {
|
|
291
|
+
transform: scale(1.1);
|
|
292
|
+
transition: transform var(--lime-release-motion-duration) var(--lime-release-motion-easing-function);
|
|
293
|
+
}
|
|
294
|
+
:global(.spotlight-input-key) .card:not(:global(.focusRing)):global(.spottable):focus.vertical:not(.captionOverlay):not(.hasContainer) .image,
|
|
295
|
+
:global(.spotlight-input-mouse) .card:not(:global(.focusRing)):global(.spottable):focus.vertical:not(.captionOverlay):not(.hasContainer) .image,
|
|
296
|
+
:global(.spotlight-input-key) .card:not(:global(.focusRing)):global(.spottable):focus.vertical.captionOverlay,
|
|
297
|
+
:global(.spotlight-input-mouse) .card:not(:global(.focusRing)):global(.spottable):focus.vertical.captionOverlay {
|
|
298
|
+
transform: scale(1.1);
|
|
299
|
+
transition: transform var(--lime-focus-in-motion-duration) var(--lime-focus-in-motion-easing-function);
|
|
300
|
+
}
|
|
301
|
+
:global(.spotlight-input-touch) .card:not(:global(.focusRing)):global(.spottable):active.vertical:not(.captionOverlay):not(.hasContainer) .image,
|
|
302
|
+
:global(.spotlight-input-touch) .card:not(:global(.focusRing)):global(.spottable):active.vertical.captionOverlay {
|
|
303
|
+
transform: scale(1.1);
|
|
304
|
+
transition: transform var(--lime-focus-in-motion-duration) var(--lime-focus-in-motion-easing-function);
|
|
305
|
+
}
|
|
306
|
+
:global(.spotlight-input-key) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):focus.vertical.captionOverlay.pressed,
|
|
307
|
+
:global(.spotlight-input-mouse) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):focus.vertical.captionOverlay.pressed,
|
|
308
|
+
:global(.spotlight-input-key) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):focus.vertical.captionOverlay:active,
|
|
309
|
+
:global(.spotlight-input-mouse) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):focus.vertical.captionOverlay:active {
|
|
310
|
+
transform: scale(1.05);
|
|
311
|
+
transition: transform var(--lime-press-motion-duration) var(--lime-press-motion-easing-function);
|
|
312
|
+
}
|
|
313
|
+
:global(.spotlight-input-key) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):focus.vertical.captionOverlay:not(.pressed),
|
|
314
|
+
:global(.spotlight-input-mouse) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):focus.vertical.captionOverlay:not(.pressed) {
|
|
315
|
+
transform: scale(1.1);
|
|
316
|
+
transition: transform var(--lime-release-motion-duration) var(--lime-release-motion-easing-function);
|
|
317
|
+
}
|
|
318
|
+
:global(.spotlight-input-key) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):focus.vertical:not(.captionOverlay):not(.hasContainer).pressed .image,
|
|
319
|
+
:global(.spotlight-input-mouse) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):focus.vertical:not(.captionOverlay):not(.hasContainer).pressed .image {
|
|
320
|
+
transform: scale(1.05);
|
|
321
|
+
transition: transform var(--lime-press-motion-duration) var(--lime-press-motion-easing-function);
|
|
322
|
+
}
|
|
323
|
+
:global(.spotlight-input-key) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):focus.vertical:not(.captionOverlay):not(.hasContainer):not(.pressed) .image,
|
|
324
|
+
:global(.spotlight-input-mouse) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):focus.vertical:not(.captionOverlay):not(.hasContainer):not(.pressed) .image {
|
|
325
|
+
transform: scale(1.1);
|
|
326
|
+
transition: transform var(--lime-release-motion-duration) var(--lime-release-motion-easing-function);
|
|
327
|
+
}
|
|
328
|
+
:global(.spotlight-input-touch) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):active.vertical.captionOverlay.pressed,
|
|
329
|
+
:global(.spotlight-input-touch) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):active.vertical.captionOverlay:active {
|
|
330
|
+
transform: scale(1.05);
|
|
331
|
+
transition: transform var(--lime-press-motion-duration) var(--lime-press-motion-easing-function);
|
|
332
|
+
}
|
|
333
|
+
:global(.spotlight-input-touch) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):active.vertical.captionOverlay:not(.pressed) {
|
|
334
|
+
transform: scale(1.1);
|
|
335
|
+
transition: transform var(--lime-release-motion-duration) var(--lime-release-motion-easing-function);
|
|
336
|
+
}
|
|
337
|
+
:global(.spotlight-input-touch) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):active.vertical:not(.captionOverlay):not(.hasContainer).pressed .image {
|
|
338
|
+
transform: scale(1.05);
|
|
339
|
+
transition: transform var(--lime-press-motion-duration) var(--lime-press-motion-easing-function);
|
|
340
|
+
}
|
|
341
|
+
:global(.spotlight-input-touch) .card:not(:global(.focusRing)):not([disabled]):global(.spottable):active.vertical:not(.captionOverlay):not(.hasContainer):not(.pressed) .image {
|
|
342
|
+
transform: scale(1.1);
|
|
343
|
+
transition: transform var(--lime-release-motion-duration) var(--lime-release-motion-easing-function);
|
|
344
|
+
}
|
|
180
345
|
.card:global(.neutral) .selectionContainer {
|
|
181
346
|
border-color: transparent;
|
|
182
347
|
}
|
|
183
348
|
.card:global(.neutral) .selectionContainer .selectionIcon {
|
|
184
349
|
color: transparent;
|
|
185
350
|
}
|
|
351
|
+
.card:global(.neutral).isCheckIcon.selected .selectionIcon {
|
|
352
|
+
background-color: var(--semantic-color-surface-highlight);
|
|
353
|
+
}
|
|
186
354
|
.card:global(.neutral).selected .selectionIcon {
|
|
187
|
-
background-color: var(--semantic-color-surface-accent);
|
|
188
355
|
color: var(--semantic-color-on-surface-main-selected);
|
|
189
356
|
}
|
|
190
357
|
.card:global(.neutral).hasContainer {
|
|
@@ -214,6 +381,10 @@
|
|
|
214
381
|
.card:global(.neutral).vertical.captionOverlay .captions {
|
|
215
382
|
background: linear-gradient(180deg, transparent 0%, color(from var(--semantic-color-on-surface-black) srgb r g b / 0.7) 100%);
|
|
216
383
|
}
|
|
384
|
+
.card:global(.neutral).vertical.captionOverlay.roundedImage .captions {
|
|
385
|
+
border-bottom-left-radius: var(--semantic-radius-container);
|
|
386
|
+
border-bottom-right-radius: var(--semantic-radius-container);
|
|
387
|
+
}
|
|
217
388
|
.card:global(.neutral).vertical.captionOverlay.selected:not(:focus)::before {
|
|
218
389
|
content: '';
|
|
219
390
|
position: absolute;
|
|
@@ -237,6 +408,9 @@
|
|
|
237
408
|
border-radius: inherit;
|
|
238
409
|
z-index: 5;
|
|
239
410
|
}
|
|
411
|
+
.card:global(.neutral).vertical.captionOverlay.splitCaption .label {
|
|
412
|
+
color: var(--semantic-color-on-background-main);
|
|
413
|
+
}
|
|
240
414
|
:global(.spotlight-input-key) .card:global(.neutral).vertical:not(.hasContainer):global(.spottable):focus:global(.focusRing),
|
|
241
415
|
:global(.spotlight-input-mouse) .card:global(.neutral).vertical:not(.hasContainer):global(.spottable):focus:global(.focusRing) {
|
|
242
416
|
transform: none;
|
|
@@ -273,8 +447,8 @@
|
|
|
273
447
|
:global(.spotlight-input-mouse) .card:global(.neutral):global(.spottable):focus .selectionIcon {
|
|
274
448
|
color: transparent;
|
|
275
449
|
}
|
|
276
|
-
:global(.spotlight-input-key) .card:global(.neutral):global(.spottable):focus.captionOverlay::before,
|
|
277
|
-
:global(.spotlight-input-mouse) .card:global(.neutral):global(.spottable):focus.captionOverlay::before {
|
|
450
|
+
:global(.spotlight-input-key) .card:global(.neutral):global(.spottable):focus.captionOverlay:not(:global(.focusRing))::before,
|
|
451
|
+
:global(.spotlight-input-mouse) .card:global(.neutral):global(.spottable):focus.captionOverlay:not(:global(.focusRing))::before {
|
|
278
452
|
content: '';
|
|
279
453
|
position: absolute;
|
|
280
454
|
top: 0;
|
|
@@ -322,7 +496,7 @@
|
|
|
322
496
|
:global(.spotlight-input-touch) .card:global(.neutral):global(.spottable):active .selectionIcon {
|
|
323
497
|
color: transparent;
|
|
324
498
|
}
|
|
325
|
-
:global(.spotlight-input-touch) .card:global(.neutral):global(.spottable):active.captionOverlay::before {
|
|
499
|
+
:global(.spotlight-input-touch) .card:global(.neutral):global(.spottable):active.captionOverlay:not(:global(.focusRing))::before {
|
|
326
500
|
content: '';
|
|
327
501
|
position: absolute;
|
|
328
502
|
top: 0;
|
|
@@ -367,8 +541,10 @@
|
|
|
367
541
|
:global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast) .selectionContainer .selectionIcon {
|
|
368
542
|
color: transparent;
|
|
369
543
|
}
|
|
544
|
+
:global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast).isCheckIcon.selected .selectionIcon {
|
|
545
|
+
background-color: var(--semantic-color-surface-highlight);
|
|
546
|
+
}
|
|
370
547
|
:global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast).selected .selectionIcon {
|
|
371
|
-
background-color: var(--semantic-color-surface-accent);
|
|
372
548
|
color: var(--semantic-color-on-surface-main-selected);
|
|
373
549
|
}
|
|
374
550
|
:global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast).hasContainer {
|
|
@@ -398,6 +574,10 @@
|
|
|
398
574
|
:global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast).vertical.captionOverlay .captions {
|
|
399
575
|
background: linear-gradient(180deg, transparent 0%, color(from var(--semantic-color-on-surface-black) srgb r g b / 0.7) 100%);
|
|
400
576
|
}
|
|
577
|
+
:global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast).vertical.captionOverlay.roundedImage .captions {
|
|
578
|
+
border-bottom-left-radius: var(--semantic-radius-container);
|
|
579
|
+
border-bottom-right-radius: var(--semantic-radius-container);
|
|
580
|
+
}
|
|
401
581
|
:global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast).vertical.captionOverlay.selected:not(:focus)::before {
|
|
402
582
|
content: '';
|
|
403
583
|
position: absolute;
|
|
@@ -421,6 +601,9 @@
|
|
|
421
601
|
border-radius: inherit;
|
|
422
602
|
z-index: 5;
|
|
423
603
|
}
|
|
604
|
+
:global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast).vertical.captionOverlay.splitCaption .label {
|
|
605
|
+
color: var(--semantic-color-on-background-main);
|
|
606
|
+
}
|
|
424
607
|
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast).vertical:not(.hasContainer):global(.spottable):focus:global(.focusRing),
|
|
425
608
|
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast).vertical:not(.hasContainer):global(.spottable):focus:global(.focusRing) {
|
|
426
609
|
transform: none;
|
|
@@ -457,8 +640,8 @@
|
|
|
457
640
|
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast):global(.spottable):focus .selectionIcon {
|
|
458
641
|
color: transparent;
|
|
459
642
|
}
|
|
460
|
-
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast):global(.spottable):focus.captionOverlay::before,
|
|
461
|
-
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast):global(.spottable):focus.captionOverlay::before {
|
|
643
|
+
:global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast):global(.spottable):focus.captionOverlay:not(:global(.focusRing))::before,
|
|
644
|
+
:global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast):global(.spottable):focus.captionOverlay:not(:global(.focusRing))::before {
|
|
462
645
|
content: '';
|
|
463
646
|
position: absolute;
|
|
464
647
|
top: 0;
|
|
@@ -506,7 +689,7 @@
|
|
|
506
689
|
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast):global(.spottable):active .selectionIcon {
|
|
507
690
|
color: transparent;
|
|
508
691
|
}
|
|
509
|
-
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast):global(.spottable):active.captionOverlay::before {
|
|
692
|
+
:global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .card:global(.neutral):global(.highContrast):global(.spottable):active.captionOverlay:not(:global(.focusRing))::before {
|
|
510
693
|
content: '';
|
|
511
694
|
position: absolute;
|
|
512
695
|
top: 0;
|
|
@@ -551,8 +734,10 @@
|
|
|
551
734
|
.card:global(.light) .selectionContainer .selectionIcon {
|
|
552
735
|
color: transparent;
|
|
553
736
|
}
|
|
737
|
+
.card:global(.light).isCheckIcon.selected .selectionIcon {
|
|
738
|
+
background-color: var(--semantic-color-surface-highlight);
|
|
739
|
+
}
|
|
554
740
|
.card:global(.light).selected .selectionIcon {
|
|
555
|
-
background-color: var(--semantic-color-surface-accent);
|
|
556
741
|
color: var(--semantic-color-on-surface-main-selected);
|
|
557
742
|
}
|
|
558
743
|
.card:global(.light).hasContainer {
|
|
@@ -582,6 +767,10 @@
|
|
|
582
767
|
.card:global(.light).vertical.captionOverlay .captions {
|
|
583
768
|
background: linear-gradient(180deg, transparent 0%, color(from var(--semantic-color-on-surface-black) srgb r g b / 0.7) 100%);
|
|
584
769
|
}
|
|
770
|
+
.card:global(.light).vertical.captionOverlay.roundedImage .captions {
|
|
771
|
+
border-bottom-left-radius: var(--semantic-radius-container);
|
|
772
|
+
border-bottom-right-radius: var(--semantic-radius-container);
|
|
773
|
+
}
|
|
585
774
|
.card:global(.light).vertical.captionOverlay.selected:not(:focus)::before {
|
|
586
775
|
content: '';
|
|
587
776
|
position: absolute;
|
|
@@ -605,6 +794,9 @@
|
|
|
605
794
|
border-radius: inherit;
|
|
606
795
|
z-index: 5;
|
|
607
796
|
}
|
|
797
|
+
.card:global(.light).vertical.captionOverlay.splitCaption .label {
|
|
798
|
+
color: var(--semantic-color-on-background-main);
|
|
799
|
+
}
|
|
608
800
|
:global(.spotlight-input-key) .card:global(.light).vertical:not(.hasContainer):global(.spottable):focus:global(.focusRing),
|
|
609
801
|
:global(.spotlight-input-mouse) .card:global(.light).vertical:not(.hasContainer):global(.spottable):focus:global(.focusRing) {
|
|
610
802
|
transform: none;
|
|
@@ -641,8 +833,8 @@
|
|
|
641
833
|
:global(.spotlight-input-mouse) .card:global(.light):global(.spottable):focus .selectionIcon {
|
|
642
834
|
color: transparent;
|
|
643
835
|
}
|
|
644
|
-
:global(.spotlight-input-key) .card:global(.light):global(.spottable):focus.captionOverlay::before,
|
|
645
|
-
:global(.spotlight-input-mouse) .card:global(.light):global(.spottable):focus.captionOverlay::before {
|
|
836
|
+
:global(.spotlight-input-key) .card:global(.light):global(.spottable):focus.captionOverlay:not(:global(.focusRing))::before,
|
|
837
|
+
:global(.spotlight-input-mouse) .card:global(.light):global(.spottable):focus.captionOverlay:not(:global(.focusRing))::before {
|
|
646
838
|
content: '';
|
|
647
839
|
position: absolute;
|
|
648
840
|
top: 0;
|
|
@@ -690,7 +882,7 @@
|
|
|
690
882
|
:global(.spotlight-input-touch) .card:global(.light):global(.spottable):active .selectionIcon {
|
|
691
883
|
color: transparent;
|
|
692
884
|
}
|
|
693
|
-
:global(.spotlight-input-touch) .card:global(.light):global(.spottable):active.captionOverlay::before {
|
|
885
|
+
:global(.spotlight-input-touch) .card:global(.light):global(.spottable):active.captionOverlay:not(:global(.focusRing))::before {
|
|
694
886
|
content: '';
|
|
695
887
|
position: absolute;
|
|
696
888
|
top: 0;
|
|
@@ -740,8 +932,10 @@
|
|
|
740
932
|
.card:global(.game) .selectionContainer .selectionIcon {
|
|
741
933
|
color: transparent;
|
|
742
934
|
}
|
|
935
|
+
.card:global(.game).isCheckIcon.selected .selectionIcon {
|
|
936
|
+
background-color: var(--semantic-color-surface-highlight);
|
|
937
|
+
}
|
|
743
938
|
.card:global(.game).selected .selectionIcon {
|
|
744
|
-
background-color: var(--semantic-color-surface-accent);
|
|
745
939
|
color: var(--semantic-color-on-surface-main-selected);
|
|
746
940
|
}
|
|
747
941
|
.card:global(.game).hasContainer {
|
|
@@ -771,6 +965,10 @@
|
|
|
771
965
|
.card:global(.game).vertical.captionOverlay .captions {
|
|
772
966
|
background: linear-gradient(180deg, transparent 0%, color(from var(--semantic-color-on-surface-black) srgb r g b / 0.7) 100%);
|
|
773
967
|
}
|
|
968
|
+
.card:global(.game).vertical.captionOverlay.roundedImage .captions {
|
|
969
|
+
border-bottom-left-radius: var(--semantic-radius-container);
|
|
970
|
+
border-bottom-right-radius: var(--semantic-radius-container);
|
|
971
|
+
}
|
|
774
972
|
.card:global(.game).vertical.captionOverlay.selected:not(:focus)::before {
|
|
775
973
|
content: '';
|
|
776
974
|
position: absolute;
|
|
@@ -794,6 +992,9 @@
|
|
|
794
992
|
border-radius: inherit;
|
|
795
993
|
z-index: 5;
|
|
796
994
|
}
|
|
995
|
+
.card:global(.game).vertical.captionOverlay.splitCaption .label {
|
|
996
|
+
color: var(--semantic-color-on-background-main);
|
|
997
|
+
}
|
|
797
998
|
:global(.spotlight-input-key) .card:global(.game).vertical:not(.hasContainer):global(.spottable):focus:global(.focusRing),
|
|
798
999
|
:global(.spotlight-input-mouse) .card:global(.game).vertical:not(.hasContainer):global(.spottable):focus:global(.focusRing) {
|
|
799
1000
|
transform: none;
|
|
@@ -830,8 +1031,8 @@
|
|
|
830
1031
|
:global(.spotlight-input-mouse) .card:global(.game):global(.spottable):focus .selectionIcon {
|
|
831
1032
|
color: transparent;
|
|
832
1033
|
}
|
|
833
|
-
:global(.spotlight-input-key) .card:global(.game):global(.spottable):focus.captionOverlay::before,
|
|
834
|
-
:global(.spotlight-input-mouse) .card:global(.game):global(.spottable):focus.captionOverlay::before {
|
|
1034
|
+
:global(.spotlight-input-key) .card:global(.game):global(.spottable):focus.captionOverlay:not(:global(.focusRing))::before,
|
|
1035
|
+
:global(.spotlight-input-mouse) .card:global(.game):global(.spottable):focus.captionOverlay:not(:global(.focusRing))::before {
|
|
835
1036
|
content: '';
|
|
836
1037
|
position: absolute;
|
|
837
1038
|
top: 0;
|
|
@@ -879,7 +1080,7 @@
|
|
|
879
1080
|
:global(.spotlight-input-touch) .card:global(.game):global(.spottable):active .selectionIcon {
|
|
880
1081
|
color: transparent;
|
|
881
1082
|
}
|
|
882
|
-
:global(.spotlight-input-touch) .card:global(.game):global(.spottable):active.captionOverlay::before {
|
|
1083
|
+
:global(.spotlight-input-touch) .card:global(.game):global(.spottable):active.captionOverlay:not(:global(.focusRing))::before {
|
|
883
1084
|
content: '';
|
|
884
1085
|
position: absolute;
|
|
885
1086
|
top: 0;
|
|
@@ -928,8 +1129,10 @@
|
|
|
928
1129
|
:global(.green) .card:global(.game) .selectionContainer .selectionIcon {
|
|
929
1130
|
color: transparent;
|
|
930
1131
|
}
|
|
1132
|
+
:global(.green) .card:global(.game).isCheckIcon.selected .selectionIcon {
|
|
1133
|
+
background-color: var(--semantic-color-surface-highlight);
|
|
1134
|
+
}
|
|
931
1135
|
:global(.green) .card:global(.game).selected .selectionIcon {
|
|
932
|
-
background-color: var(--semantic-color-surface-accent);
|
|
933
1136
|
color: var(--semantic-color-on-surface-main-selected);
|
|
934
1137
|
}
|
|
935
1138
|
:global(.green) .card:global(.game).hasContainer {
|
|
@@ -959,6 +1162,10 @@
|
|
|
959
1162
|
:global(.green) .card:global(.game).vertical.captionOverlay .captions {
|
|
960
1163
|
background: linear-gradient(180deg, transparent 0%, color(from var(--semantic-color-on-surface-black) srgb r g b / 0.7) 100%);
|
|
961
1164
|
}
|
|
1165
|
+
:global(.green) .card:global(.game).vertical.captionOverlay.roundedImage .captions {
|
|
1166
|
+
border-bottom-left-radius: var(--semantic-radius-container);
|
|
1167
|
+
border-bottom-right-radius: var(--semantic-radius-container);
|
|
1168
|
+
}
|
|
962
1169
|
:global(.green) .card:global(.game).vertical.captionOverlay.selected:not(:focus)::before {
|
|
963
1170
|
content: '';
|
|
964
1171
|
position: absolute;
|
|
@@ -982,6 +1189,9 @@
|
|
|
982
1189
|
border-radius: inherit;
|
|
983
1190
|
z-index: 5;
|
|
984
1191
|
}
|
|
1192
|
+
:global(.green) .card:global(.game).vertical.captionOverlay.splitCaption .label {
|
|
1193
|
+
color: var(--semantic-color-on-background-main);
|
|
1194
|
+
}
|
|
985
1195
|
:global(.spotlight-input-key) :global(.green) .card:global(.game).vertical:not(.hasContainer):global(.spottable):focus:global(.focusRing),
|
|
986
1196
|
:global(.spotlight-input-mouse) :global(.green) .card:global(.game).vertical:not(.hasContainer):global(.spottable):focus:global(.focusRing) {
|
|
987
1197
|
transform: none;
|
|
@@ -1018,8 +1228,8 @@
|
|
|
1018
1228
|
:global(.spotlight-input-mouse) :global(.green) .card:global(.game):global(.spottable):focus .selectionIcon {
|
|
1019
1229
|
color: transparent;
|
|
1020
1230
|
}
|
|
1021
|
-
:global(.spotlight-input-key) :global(.green) .card:global(.game):global(.spottable):focus.captionOverlay::before,
|
|
1022
|
-
:global(.spotlight-input-mouse) :global(.green) .card:global(.game):global(.spottable):focus.captionOverlay::before {
|
|
1231
|
+
:global(.spotlight-input-key) :global(.green) .card:global(.game):global(.spottable):focus.captionOverlay:not(:global(.focusRing))::before,
|
|
1232
|
+
:global(.spotlight-input-mouse) :global(.green) .card:global(.game):global(.spottable):focus.captionOverlay:not(:global(.focusRing))::before {
|
|
1023
1233
|
content: '';
|
|
1024
1234
|
position: absolute;
|
|
1025
1235
|
top: 0;
|
|
@@ -1067,7 +1277,7 @@
|
|
|
1067
1277
|
:global(.spotlight-input-touch) :global(.green) .card:global(.game):global(.spottable):active .selectionIcon {
|
|
1068
1278
|
color: transparent;
|
|
1069
1279
|
}
|
|
1070
|
-
:global(.spotlight-input-touch) :global(.green) .card:global(.game):global(.spottable):active.captionOverlay::before {
|
|
1280
|
+
:global(.spotlight-input-touch) :global(.green) .card:global(.game):global(.spottable):active.captionOverlay:not(:global(.focusRing))::before {
|
|
1071
1281
|
content: '';
|
|
1072
1282
|
position: absolute;
|
|
1073
1283
|
top: 0;
|
|
@@ -1116,8 +1326,10 @@
|
|
|
1116
1326
|
:global(.orange) .card:global(.game) .selectionContainer .selectionIcon {
|
|
1117
1327
|
color: transparent;
|
|
1118
1328
|
}
|
|
1329
|
+
:global(.orange) .card:global(.game).isCheckIcon.selected .selectionIcon {
|
|
1330
|
+
background-color: var(--semantic-color-surface-highlight);
|
|
1331
|
+
}
|
|
1119
1332
|
:global(.orange) .card:global(.game).selected .selectionIcon {
|
|
1120
|
-
background-color: var(--semantic-color-surface-accent);
|
|
1121
1333
|
color: var(--semantic-color-on-surface-main-selected);
|
|
1122
1334
|
}
|
|
1123
1335
|
:global(.orange) .card:global(.game).hasContainer {
|
|
@@ -1147,6 +1359,10 @@
|
|
|
1147
1359
|
:global(.orange) .card:global(.game).vertical.captionOverlay .captions {
|
|
1148
1360
|
background: linear-gradient(180deg, transparent 0%, color(from var(--semantic-color-on-surface-black) srgb r g b / 0.7) 100%);
|
|
1149
1361
|
}
|
|
1362
|
+
:global(.orange) .card:global(.game).vertical.captionOverlay.roundedImage .captions {
|
|
1363
|
+
border-bottom-left-radius: var(--semantic-radius-container);
|
|
1364
|
+
border-bottom-right-radius: var(--semantic-radius-container);
|
|
1365
|
+
}
|
|
1150
1366
|
:global(.orange) .card:global(.game).vertical.captionOverlay.selected:not(:focus)::before {
|
|
1151
1367
|
content: '';
|
|
1152
1368
|
position: absolute;
|
|
@@ -1170,6 +1386,9 @@
|
|
|
1170
1386
|
border-radius: inherit;
|
|
1171
1387
|
z-index: 5;
|
|
1172
1388
|
}
|
|
1389
|
+
:global(.orange) .card:global(.game).vertical.captionOverlay.splitCaption .label {
|
|
1390
|
+
color: var(--semantic-color-on-background-main);
|
|
1391
|
+
}
|
|
1173
1392
|
:global(.spotlight-input-key) :global(.orange) .card:global(.game).vertical:not(.hasContainer):global(.spottable):focus:global(.focusRing),
|
|
1174
1393
|
:global(.spotlight-input-mouse) :global(.orange) .card:global(.game).vertical:not(.hasContainer):global(.spottable):focus:global(.focusRing) {
|
|
1175
1394
|
transform: none;
|
|
@@ -1206,8 +1425,8 @@
|
|
|
1206
1425
|
:global(.spotlight-input-mouse) :global(.orange) .card:global(.game):global(.spottable):focus .selectionIcon {
|
|
1207
1426
|
color: transparent;
|
|
1208
1427
|
}
|
|
1209
|
-
:global(.spotlight-input-key) :global(.orange) .card:global(.game):global(.spottable):focus.captionOverlay::before,
|
|
1210
|
-
:global(.spotlight-input-mouse) :global(.orange) .card:global(.game):global(.spottable):focus.captionOverlay::before {
|
|
1428
|
+
:global(.spotlight-input-key) :global(.orange) .card:global(.game):global(.spottable):focus.captionOverlay:not(:global(.focusRing))::before,
|
|
1429
|
+
:global(.spotlight-input-mouse) :global(.orange) .card:global(.game):global(.spottable):focus.captionOverlay:not(:global(.focusRing))::before {
|
|
1211
1430
|
content: '';
|
|
1212
1431
|
position: absolute;
|
|
1213
1432
|
top: 0;
|
|
@@ -1255,7 +1474,7 @@
|
|
|
1255
1474
|
:global(.spotlight-input-touch) :global(.orange) .card:global(.game):global(.spottable):active .selectionIcon {
|
|
1256
1475
|
color: transparent;
|
|
1257
1476
|
}
|
|
1258
|
-
:global(.spotlight-input-touch) :global(.orange) .card:global(.game):global(.spottable):active.captionOverlay::before {
|
|
1477
|
+
:global(.spotlight-input-touch) :global(.orange) .card:global(.game):global(.spottable):active.captionOverlay:not(:global(.focusRing))::before {
|
|
1259
1478
|
content: '';
|
|
1260
1479
|
position: absolute;
|
|
1261
1480
|
top: 0;
|