@plexui/styles 0.1.33 → 0.1.35
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/dist/es/components/Accordion/Accordion.module.css +26 -1
- package/dist/es/components/Alert/Alert.module.css +213 -1
- package/dist/es/components/Badge/Badge.module.css +37 -0
- package/dist/es/components/Breadcrumb/Breadcrumb.module.css +63 -0
- package/dist/es/components/Button/Button.module.css +123 -22
- package/dist/es/components/Button/NavigationButton.module.css +17 -0
- package/dist/es/components/ButtonGroup/ButtonGroup.module.css +227 -20
- package/dist/es/components/Card/Card.module.css +31 -6
- package/dist/es/components/Checkbox/Checkbox.module.css +26 -72
- package/dist/es/components/CodeBlock/CodeBlock.module.css +34 -1
- package/dist/es/components/ColorPicker/ColorPicker.module.css +414 -0
- package/dist/es/components/ContextMenu/ContextMenu.module.css +55 -0
- package/dist/es/components/DataTable/DataTable.module.css +4 -0
- package/dist/es/components/DatePicker/Calendar.module.css +279 -6
- package/dist/es/components/DatePicker/CalendarNavigationIcon.module.css +10 -0
- package/dist/es/components/DateRangePicker/Calendar.module.css +226 -4
- package/dist/es/components/DateRangePicker/Trigger.module.css +45 -2
- package/dist/es/components/Dialog/Dialog.module.css +871 -89
- package/dist/es/components/EmptyMessage/EmptyMessage.module.css +52 -0
- package/dist/es/components/Field/Field.module.css +574 -24
- package/dist/es/components/FieldGroup/FieldGroup.module.css +188 -3
- package/dist/es/components/FileUpload/FileUpload.module.css +74 -1
- package/dist/es/components/FloatingLabelInput/FloatingLabelInput.module.css +40 -1
- package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.module.css +28 -1
- package/dist/es/components/IndexBar/IndexBar.module.css +146 -0
- package/dist/es/components/Indicator/LoadingIndicator.module.css +14 -7
- package/dist/es/components/Input/Input.module.css +198 -1
- package/dist/es/components/InputGroup/InputGroup.module.css +4 -0
- package/dist/es/components/MarkdownEditor/MarkdownEditor.module.css +18 -0
- package/dist/es/components/Menu/Menu.module.css +544 -34
- package/dist/es/components/OTPInput/OTPInput.module.css +6 -1
- package/dist/es/components/Page/Page.module.css +391 -31
- package/dist/es/components/PageControl/PageControl.module.css +81 -0
- package/dist/es/components/PhoneLayout/PhoneLayout.module.css +10 -0
- package/dist/es/components/Popover/Popover.module.css +17 -1
- package/dist/es/components/Select/Select.module.css +201 -9
- package/dist/es/components/SelectControl/SelectControl.module.css +151 -4
- package/dist/es/components/Sidebar/Sidebar.module.css +624 -71
- package/dist/es/components/Slider/Slider.module.css +132 -45
- package/dist/es/components/Sortable/Sortable.module.css +7 -3
- package/dist/es/components/Stepper/Stepper.module.css +98 -0
- package/dist/es/components/SwipeActions/SwipeActions.module.css +166 -0
- package/dist/es/components/Switch/Switch.module.css +59 -4
- package/dist/es/components/TabBar/TabBar.module.css +478 -0
- package/dist/es/components/Tabs/Tabs.module.css +315 -3
- package/dist/es/components/TagInput/TagInput.module.css +50 -9
- package/dist/es/components/Textarea/Textarea.module.css +6 -0
- package/dist/es/components/Tip/Tip.module.css +456 -0
- package/dist/es/components/Toast/Toast.module.css +197 -9
- package/dist/es/components/Toolbar/Toolbar.module.css +850 -21
- package/dist/es/styles/katex-fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/LICENSE +21 -0
- package/dist/es/styles/katex.min.css +666 -730
- package/dist/es/styles/mobile-materials.css +145 -14
- package/dist/es/styles/mobile-surfaces.css +82 -32
- package/dist/es/styles/touch.css +940 -92
- package/dist/es/styles/variables-components.css +356 -17
- package/package.json +1 -1
- package/postcss/parseLightDark.mjs +20 -2
- package/postcss/phoneLayoutScope.mjs +134 -0
- package/postcss.config.mjs +3 -0
|
@@ -18,6 +18,11 @@
|
|
|
18
18
|
.Root > *:focus-within {
|
|
19
19
|
z-index: 1;
|
|
20
20
|
}
|
|
21
|
+
.Root {
|
|
22
|
+
--button-group-joined-radius: initial;
|
|
23
|
+
--button-group-joined-overlap: initial;
|
|
24
|
+
--button-group-joined-clip: initial;
|
|
25
|
+
}
|
|
21
26
|
|
|
22
27
|
/* Gap only appears between nested groups — joined buttons stay touching */
|
|
23
28
|
.Root:has(> [data-slot="button-group"]) {
|
|
@@ -37,36 +42,39 @@
|
|
|
37
42
|
not be overlapped into oblivion. Adjacent items to a separator keep
|
|
38
43
|
their edge radii stripped, but skip the -1px/-clip trickery. */
|
|
39
44
|
.Root[data-orientation="horizontal"] > *:not(:first-child):not([data-slot="button-group-separator"]) {
|
|
40
|
-
border-start-start-radius: 0;
|
|
41
|
-
border-end-start-radius: 0;
|
|
45
|
+
border-start-start-radius: var(--button-group-joined-radius, 0);
|
|
46
|
+
border-end-start-radius: var(--button-group-joined-radius, 0);
|
|
42
47
|
}
|
|
48
|
+
|
|
49
|
+
/* The joined edges below read these, unset here so a group never takes them from a glass group around it
|
|
50
|
+
(see the phone rules at the end). */
|
|
43
51
|
.Root[data-orientation="horizontal"]
|
|
44
52
|
> *:not(:first-child):not([data-slot="button-group-separator"]):not(
|
|
45
53
|
[data-slot="button-group-separator"] + *
|
|
46
54
|
) {
|
|
47
|
-
margin-inline-start: -1px;
|
|
55
|
+
margin-inline-start: var(--button-group-joined-overlap, -1px);
|
|
48
56
|
}
|
|
49
57
|
.Root[data-orientation="horizontal"]
|
|
50
58
|
> *:not(:first-child):not([data-slot="button-group-separator"]):not(
|
|
51
59
|
[data-slot="button-group-separator"] + *
|
|
52
60
|
)::before {
|
|
53
|
-
clip-path: inset(0 0 0 1px);
|
|
61
|
+
clip-path: var(--button-group-joined-clip, inset(0 0 0 1px));
|
|
54
62
|
}
|
|
55
63
|
.Root[data-orientation="horizontal"]
|
|
56
64
|
> *:not(:last-child):not([data-slot="button-group-separator"]):not(
|
|
57
65
|
:has(+ [data-slot="button-group-separator"])
|
|
58
66
|
) {
|
|
59
|
-
border-start-end-radius: 0;
|
|
60
|
-
border-end-end-radius: 0;
|
|
67
|
+
border-start-end-radius: var(--button-group-joined-radius, 0);
|
|
68
|
+
border-end-end-radius: var(--button-group-joined-radius, 0);
|
|
61
69
|
}
|
|
62
70
|
/* Strip the edge radius on items sitting directly next to a separator */
|
|
63
71
|
.Root[data-orientation="horizontal"] > [data-slot="button-group-separator"] + * {
|
|
64
|
-
border-start-start-radius: 0;
|
|
65
|
-
border-end-start-radius: 0;
|
|
72
|
+
border-start-start-radius: var(--button-group-joined-radius, 0);
|
|
73
|
+
border-end-start-radius: var(--button-group-joined-radius, 0);
|
|
66
74
|
}
|
|
67
75
|
.Root[data-orientation="horizontal"] > *:has(+ [data-slot="button-group-separator"]) {
|
|
68
|
-
border-start-end-radius: 0;
|
|
69
|
-
border-end-end-radius: 0;
|
|
76
|
+
border-start-end-radius: var(--button-group-joined-radius, 0);
|
|
77
|
+
border-end-end-radius: var(--button-group-joined-radius, 0);
|
|
70
78
|
}
|
|
71
79
|
|
|
72
80
|
/* Vertical — same approach, clip the top 1px of ::before on non-first */
|
|
@@ -74,35 +82,35 @@
|
|
|
74
82
|
flex-direction: column;
|
|
75
83
|
}
|
|
76
84
|
.Root[data-orientation="vertical"] > *:not(:first-child):not([data-slot="button-group-separator"]) {
|
|
77
|
-
border-start-start-radius: 0;
|
|
78
|
-
border-start-end-radius: 0;
|
|
85
|
+
border-start-start-radius: var(--button-group-joined-radius, 0);
|
|
86
|
+
border-start-end-radius: var(--button-group-joined-radius, 0);
|
|
79
87
|
}
|
|
80
88
|
.Root[data-orientation="vertical"]
|
|
81
89
|
> *:not(:first-child):not([data-slot="button-group-separator"]):not(
|
|
82
90
|
[data-slot="button-group-separator"] + *
|
|
83
91
|
) {
|
|
84
|
-
margin-block-start: -1px;
|
|
92
|
+
margin-block-start: var(--button-group-joined-overlap, -1px);
|
|
85
93
|
}
|
|
86
94
|
.Root[data-orientation="vertical"]
|
|
87
95
|
> *:not(:first-child):not([data-slot="button-group-separator"]):not(
|
|
88
96
|
[data-slot="button-group-separator"] + *
|
|
89
97
|
)::before {
|
|
90
|
-
clip-path: inset(1px 0 0 0);
|
|
98
|
+
clip-path: var(--button-group-joined-clip, inset(1px 0 0 0));
|
|
91
99
|
}
|
|
92
100
|
.Root[data-orientation="vertical"]
|
|
93
101
|
> *:not(:last-child):not([data-slot="button-group-separator"]):not(
|
|
94
102
|
:has(+ [data-slot="button-group-separator"])
|
|
95
103
|
) {
|
|
96
|
-
border-end-start-radius: 0;
|
|
97
|
-
border-end-end-radius: 0;
|
|
104
|
+
border-end-start-radius: var(--button-group-joined-radius, 0);
|
|
105
|
+
border-end-end-radius: var(--button-group-joined-radius, 0);
|
|
98
106
|
}
|
|
99
107
|
.Root[data-orientation="vertical"] > [data-slot="button-group-separator"] + * {
|
|
100
|
-
border-start-start-radius: 0;
|
|
101
|
-
border-start-end-radius: 0;
|
|
108
|
+
border-start-start-radius: var(--button-group-joined-radius, 0);
|
|
109
|
+
border-start-end-radius: var(--button-group-joined-radius, 0);
|
|
102
110
|
}
|
|
103
111
|
.Root[data-orientation="vertical"] > *:has(+ [data-slot="button-group-separator"]) {
|
|
104
|
-
border-end-start-radius: 0;
|
|
105
|
-
border-end-end-radius: 0;
|
|
112
|
+
border-end-start-radius: var(--button-group-joined-radius, 0);
|
|
113
|
+
border-end-end-radius: var(--button-group-joined-radius, 0);
|
|
106
114
|
}
|
|
107
115
|
.Root > input,
|
|
108
116
|
.Root > [data-slot="input"],
|
|
@@ -154,5 +162,204 @@
|
|
|
154
162
|
|
|
155
163
|
.Root > .Separator[data-orientation="vertical"] {
|
|
156
164
|
height: auto;
|
|
165
|
+
}/* A glass group on a phone: the Button Group of the iOS 27 kit (Toolbars 507:25993, _Buttons - 44pt and 48pt,
|
|
166
|
+
Type=Button Group), as the top and bottom bars of Notes hold their symbols (IMG_5734, 5736: Back alone, then
|
|
167
|
+
one capsule of three symbols). A group in a Toolbar is one by itself, the same capsule as Toolbar.Group;
|
|
168
|
+
elsewhere `mobileMaterial="glass"` asks for it, for controls that float over the content, as the column of map
|
|
169
|
+
controls. Liquid Glass belongs to the controls over the content, so a group in the content keeps its joined
|
|
170
|
+
look, and `mobileMaterial="flat"` keeps it in a Toolbar. A group of a field and buttons stays joined anywhere.
|
|
171
|
+
Without touch.css the glass tokens are unset and the capsule has no fill. */@media (max-width: 767.98px) {
|
|
172
|
+
/* Every group in a glass context, the row of capsules around nested groups included: no joined edges. */
|
|
173
|
+
.Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]), > [data-slot="button-group"] > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) {
|
|
174
|
+
--button-group-joined-radius: var(--radius-full);
|
|
175
|
+
--button-group-joined-overlap: 0px;
|
|
176
|
+
--button-group-joined-clip: none;
|
|
177
|
+
--button-group-nested-gap: var(--button-group-glass-nested-gap);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/* In a bar a group takes the bar's sizes: 44 on top, 48 at the bottom (Toolbar.module.css). */
|
|
181
|
+
[data-toolbar] .Root {
|
|
182
|
+
--button-group-glass-item-size: var(--toolbar-item-size);
|
|
183
|
+
--button-group-glass-gap: var(--toolbar-group-gap);
|
|
184
|
+
--button-group-glass-padding: var(--toolbar-group-padding);
|
|
185
|
+
--button-group-glass-nested-gap: var(--toolbar-item-gap);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* The capsule: a group of buttons alone. */
|
|
189
|
+
.Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) {
|
|
190
|
+
gap: var(--button-group-glass-gap);
|
|
191
|
+
padding: 0 var(--button-group-glass-padding);
|
|
192
|
+
border-radius: var(--radius-full);
|
|
193
|
+
background-color: var(--mobile-glass-background);
|
|
194
|
+
background-image: var(--mobile-glass-sheen);
|
|
195
|
+
box-shadow: var(--mobile-glass-shadow);
|
|
196
|
+
backdrop-filter: var(--mobile-glass-backdrop-filter);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* One button is a capsule of its own, as Back beside a group. */
|
|
200
|
+
.Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))):not(:has(> * + *)) {
|
|
201
|
+
padding: 0;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"])))[data-orientation="vertical"] {
|
|
205
|
+
--button-group-glass-item-size: var(--button-group-glass-vertical-item-size);
|
|
206
|
+
gap: var(--button-group-glass-vertical-gap);
|
|
207
|
+
padding: var(--button-group-glass-vertical-padding) 0;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"])))[data-orientation="vertical"]:not(:has(> * + *)) {
|
|
211
|
+
padding: 0;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/* The kit's capsule draws no line between its buttons. */
|
|
215
|
+
.Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > [data-slot="button-group-separator"] {
|
|
216
|
+
display: none;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/* Each button is a bar button with no surface of its own: the capsule is its glass, and a press tints it. A
|
|
220
|
+
disabled ButtonLink renders a span with the link role. */
|
|
221
|
+
.Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]) {
|
|
222
|
+
--button-size: var(--button-group-glass-item-size);
|
|
223
|
+
--button-uniform-size: var(--button-group-glass-item-size);
|
|
224
|
+
--button-radius: var(--radius-full);
|
|
225
|
+
--button-font-size: var(--toolbar-label-font-size);
|
|
226
|
+
--button-line-height: var(--toolbar-label-line-height);
|
|
227
|
+
--button-font-weight: var(--toolbar-label-font-weight);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-navigation-action])) {
|
|
231
|
+
--button-icon-size: var(--toolbar-icon-size);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/* A symbol with less ink takes the bar's smaller box, as in Toolbar.Group (see --toolbar-icon-size-sm). */
|
|
235
|
+
.Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-icon-size="sm"]:where(:not([data-navigation-action])) {
|
|
236
|
+
--button-icon-size: var(--toolbar-icon-size-sm);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-navigation-action], [data-uniform])) {
|
|
240
|
+
--button-gutter: var(--button-group-glass-label-gutter);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-variant="solid"])) {
|
|
244
|
+
--button-mobile-material-background: transparent;
|
|
245
|
+
--button-mobile-material-sheen: none;
|
|
246
|
+
--button-mobile-material-shadow: 0 0 #00000000;
|
|
247
|
+
--button-mobile-material-backdrop-filter: none;
|
|
248
|
+
--button-mobile-material-opacity: 1;
|
|
249
|
+
--button-mobile-material-scale: 1;
|
|
250
|
+
--button-mobile-material-hover: var(--toolbar-group-item-hover);
|
|
251
|
+
--button-mobile-material-active: var(--toolbar-group-item-active);
|
|
252
|
+
--button-outline-context-background: transparent;
|
|
253
|
+
--button-border-color: transparent;
|
|
254
|
+
--button-border-color-hover: transparent;
|
|
255
|
+
--button-background-color-hover: var(--toolbar-group-item-hover);
|
|
256
|
+
--button-background-color-active: var(--toolbar-group-item-active);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/* A neutral symbol or label is the primary label, as the kit draws it; a disabled one keeps the tertiary. */
|
|
260
|
+
.Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-color="secondary"]:where(:not([data-disabled], [data-variant="solid"])) {
|
|
261
|
+
--button-text-color: var(--color-text);
|
|
262
|
+
--button-text-color-hover: var(--color-text);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
[data-toolbar][data-placement="bottom"] .Root {
|
|
266
|
+
--button-group-glass-label-gutter: var(--toolbar-bottom-label-gutter);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
/* Every group in a glass context, the row of capsules around nested groups included: no joined edges. */
|
|
270
|
+
:where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]), > [data-slot="button-group"] > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) {
|
|
271
|
+
--button-group-joined-radius: var(--radius-full);
|
|
272
|
+
--button-group-joined-overlap: 0px;
|
|
273
|
+
--button-group-joined-clip: none;
|
|
274
|
+
--button-group-nested-gap: var(--button-group-glass-nested-gap);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* In a bar a group takes the bar's sizes: 44 on top, 48 at the bottom (Toolbar.module.css). */
|
|
278
|
+
:where([data-plex-layout="phone"]) [data-toolbar] .Root {
|
|
279
|
+
--button-group-glass-item-size: var(--toolbar-item-size);
|
|
280
|
+
--button-group-glass-gap: var(--toolbar-group-gap);
|
|
281
|
+
--button-group-glass-padding: var(--toolbar-group-padding);
|
|
282
|
+
--button-group-glass-nested-gap: var(--toolbar-item-gap);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/* The capsule: a group of buttons alone. */
|
|
286
|
+
:where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) {
|
|
287
|
+
gap: var(--button-group-glass-gap);
|
|
288
|
+
padding: 0 var(--button-group-glass-padding);
|
|
289
|
+
border-radius: var(--radius-full);
|
|
290
|
+
background-color: var(--mobile-glass-background);
|
|
291
|
+
background-image: var(--mobile-glass-sheen);
|
|
292
|
+
box-shadow: var(--mobile-glass-shadow);
|
|
293
|
+
backdrop-filter: var(--mobile-glass-backdrop-filter);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/* One button is a capsule of its own, as Back beside a group. */
|
|
297
|
+
:where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))):not(:has(> * + *)) {
|
|
298
|
+
padding: 0;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
:where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"])))[data-orientation="vertical"] {
|
|
302
|
+
--button-group-glass-item-size: var(--button-group-glass-vertical-item-size);
|
|
303
|
+
gap: var(--button-group-glass-vertical-gap);
|
|
304
|
+
padding: var(--button-group-glass-vertical-padding) 0;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
:where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"])))[data-orientation="vertical"]:not(:has(> * + *)) {
|
|
308
|
+
padding: 0;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* The kit's capsule draws no line between its buttons. */
|
|
312
|
+
:where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > [data-slot="button-group-separator"] {
|
|
313
|
+
display: none;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/* Each button is a bar button with no surface of its own: the capsule is its glass, and a press tints it. A
|
|
317
|
+
disabled ButtonLink renders a span with the link role. */
|
|
318
|
+
:where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]) {
|
|
319
|
+
--button-size: var(--button-group-glass-item-size);
|
|
320
|
+
--button-uniform-size: var(--button-group-glass-item-size);
|
|
321
|
+
--button-radius: var(--radius-full);
|
|
322
|
+
--button-font-size: var(--toolbar-label-font-size);
|
|
323
|
+
--button-line-height: var(--toolbar-label-line-height);
|
|
324
|
+
--button-font-weight: var(--toolbar-label-font-weight);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
:where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-navigation-action])) {
|
|
328
|
+
--button-icon-size: var(--toolbar-icon-size);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/* A symbol with less ink takes the bar's smaller box, as in Toolbar.Group (see --toolbar-icon-size-sm). */
|
|
332
|
+
:where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-icon-size="sm"]:where(:not([data-navigation-action])) {
|
|
333
|
+
--button-icon-size: var(--toolbar-icon-size-sm);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
:where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-navigation-action], [data-uniform])) {
|
|
337
|
+
--button-gutter: var(--button-group-glass-label-gutter);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
:where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-variant="solid"])) {
|
|
341
|
+
--button-mobile-material-background: transparent;
|
|
342
|
+
--button-mobile-material-sheen: none;
|
|
343
|
+
--button-mobile-material-shadow: 0 0 #00000000;
|
|
344
|
+
--button-mobile-material-backdrop-filter: none;
|
|
345
|
+
--button-mobile-material-opacity: 1;
|
|
346
|
+
--button-mobile-material-scale: 1;
|
|
347
|
+
--button-mobile-material-hover: var(--toolbar-group-item-hover);
|
|
348
|
+
--button-mobile-material-active: var(--toolbar-group-item-active);
|
|
349
|
+
--button-outline-context-background: transparent;
|
|
350
|
+
--button-border-color: transparent;
|
|
351
|
+
--button-border-color-hover: transparent;
|
|
352
|
+
--button-background-color-hover: var(--toolbar-group-item-hover);
|
|
353
|
+
--button-background-color-active: var(--toolbar-group-item-active);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/* A neutral symbol or label is the primary label, as the kit draws it; a disabled one keeps the tertiary. */
|
|
357
|
+
:where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-color="secondary"]:where(:not([data-disabled], [data-variant="solid"])) {
|
|
358
|
+
--button-text-color: var(--color-text);
|
|
359
|
+
--button-text-color-hover: var(--color-text);
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
:where([data-plex-layout="phone"]) [data-toolbar][data-placement="bottom"] .Root {
|
|
363
|
+
--button-group-glass-label-gutter: var(--toolbar-bottom-label-gutter);
|
|
157
364
|
}
|
|
158
365
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
color: var(--card-text-color);
|
|
11
11
|
box-shadow: 0 0 0 1px var(--card-border-color) inset;
|
|
12
12
|
font-size: var(--card-font-size);
|
|
13
|
-
line-height: var(--font-text-sm-line-height);
|
|
13
|
+
line-height: var(--card-line-height, var(--font-text-sm-line-height));
|
|
14
14
|
transition-duration: var(--transition-duration-basic);
|
|
15
15
|
transition-property: background-color, box-shadow, border-color;
|
|
16
16
|
transition-timing-function: var(--transition-ease-basic);
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.Card:where([data-size="md"]) {
|
|
53
|
-
--card-padding: calc(var(--spacing) * 5);
|
|
53
|
+
--card-padding: var(--card-padding-md, calc(var(--spacing) * 5));
|
|
54
54
|
--card-gap: calc(var(--spacing) * 4);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.Card:where([data-size="lg"]) {
|
|
58
|
-
--card-padding: calc(var(--spacing) * 6);
|
|
58
|
+
--card-padding: var(--card-padding-lg, calc(var(--spacing) * 6));
|
|
59
59
|
--card-gap: calc(var(--spacing) * 5);
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -90,14 +90,14 @@
|
|
|
90
90
|
color: var(--card-title-color);
|
|
91
91
|
font-size: var(--card-title-font-size);
|
|
92
92
|
font-weight: var(--card-title-font-weight);
|
|
93
|
-
line-height: var(--font-heading-xs-line-height);
|
|
94
|
-
letter-spacing: var(--font-heading-xs-tracking);
|
|
93
|
+
line-height: var(--card-title-line-height, var(--font-heading-xs-line-height));
|
|
94
|
+
letter-spacing: var(--card-title-letter-spacing, var(--font-heading-xs-tracking));
|
|
95
95
|
text-wrap: balance;
|
|
96
96
|
}.Description {
|
|
97
97
|
margin: calc(calc(var(--spacing) * 1.5) * -1) 0 0;
|
|
98
98
|
color: var(--card-description-color);
|
|
99
99
|
font-size: var(--card-description-font-size);
|
|
100
|
-
line-height: var(--font-text-sm-line-height);
|
|
100
|
+
line-height: var(--card-description-line-height, var(--font-text-sm-line-height));
|
|
101
101
|
text-wrap: pretty;
|
|
102
102
|
}/* ================================================
|
|
103
103
|
Content — primary body
|
|
@@ -123,5 +123,30 @@
|
|
|
123
123
|
display: flex;
|
|
124
124
|
align-items: center;
|
|
125
125
|
gap: calc(var(--spacing) * 1);
|
|
126
|
+
}/*
|
|
127
|
+
* On a phone, with touch.css, an outline card is a section of an iOS inset grouped list, as a FieldGroup is: no
|
|
128
|
+
* border, and the fill of the FieldGroup on the same surface (touch.css resolves --card-section-background on the
|
|
129
|
+
* card itself: the secondary grouped background on a grouped Page or Dialog, a gray section on a plain one). A
|
|
130
|
+
* solid card takes a gray fill so it still stands apart from those sections; a ghost card stays clear. Without
|
|
131
|
+
* touch.css every value falls back to the desktop one.
|
|
132
|
+
*/@media (max-width: 767px) {
|
|
133
|
+
.Card:where([data-variant="outline"]) {
|
|
134
|
+
--card-background: var(--card-section-background, var(--color-surface));
|
|
135
|
+
--card-border-color: var(--card-section-border-color, var(--color-border));
|
|
136
|
+
--card-border-color-hover: var(--card-section-border-color, var(--color-border-primary-outline-hover));
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.Card:where([data-variant="solid"]) {
|
|
140
|
+
--card-background: var(--card-solid-section-background, var(--color-surface-secondary));
|
|
141
|
+
}
|
|
126
142
|
}
|
|
143
|
+
:where([data-plex-layout="phone"]) .Card:where([data-variant="outline"]) {
|
|
144
|
+
--card-background: var(--card-section-background, var(--color-surface));
|
|
145
|
+
--card-border-color: var(--card-section-border-color, var(--color-border));
|
|
146
|
+
--card-border-color-hover: var(--card-section-border-color, var(--color-border-primary-outline-hover));
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
:where([data-plex-layout="phone"]) .Card:where([data-variant="solid"]) {
|
|
150
|
+
--card-background: var(--card-solid-section-background, var(--color-surface-secondary));
|
|
151
|
+
}
|
|
127
152
|
}
|
|
@@ -122,82 +122,33 @@
|
|
|
122
122
|
transition:
|
|
123
123
|
border-color 150ms ease,
|
|
124
124
|
background-color 150ms ease;
|
|
125
|
-
}.
|
|
125
|
+
}/* Solid: the PlexUI Check icon, and Minus when indeterminate, on the filled box. The mark stays
|
|
126
|
+
mounted, so a long list of boxes cleared at once costs no style pass per box and first render
|
|
127
|
+
plays no animation. A new mark is revealed from the left; a cleared one fades out. */.CheckMark {
|
|
126
128
|
position: absolute;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
inset: 0;
|
|
130
|
+
display: flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
color: var(--checkbox-checkmark-color, var(--gray-0));
|
|
134
|
+
clip-path: inset(0);
|
|
133
135
|
transition:
|
|
134
136
|
opacity 150ms ease,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
/* CheckMark arms */
|
|
137
|
+
clip-path 200ms ease;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
/* The indicator stays mounted, so a long list of boxes cleared at once costs
|
|
141
|
-
no style pass per box and first render plays no animation. */
|
|
142
140
|
.Checkbox[data-state="unchecked"] .CheckMark {
|
|
143
141
|
opacity: 0;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
[data-state="indeterminate"] .CheckMark {
|
|
147
|
-
transform: translate(30%, 80%);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
[data-state="indeterminate"] .CheckMark::before {
|
|
151
|
-
opacity: 0;
|
|
152
|
-
}
|
|
153
|
-
.CheckMark::before,
|
|
154
|
-
.CheckMark::after {
|
|
155
|
-
position: absolute;
|
|
156
|
-
display: block;
|
|
157
|
-
background: var(--checkbox-checkmark-color, var(--gray-0));
|
|
158
|
-
content: "";
|
|
159
|
-
will-change: transform;
|
|
160
|
-
}
|
|
161
|
-
@starting-style {
|
|
162
|
-
|
|
163
|
-
.Container:focus-within .CheckMark::before,
|
|
164
|
-
.Container:focus-within .CheckMark::after {
|
|
165
|
-
transform: scale(0)
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
@media (hover: hover) and (pointer: fine) {
|
|
170
|
-
@starting-style {
|
|
171
|
-
.Container:hover:where(:not(:root[data-input="touch"] *)) .CheckMark::before,
|
|
172
|
-
.Container:hover:where(:not(:root[data-input="touch"] *)) .CheckMark::after {
|
|
173
|
-
transform: scale(0)
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.CheckMark::before {
|
|
179
|
-
top: 0;
|
|
180
|
-
bottom: 0;
|
|
181
|
-
left: 0;
|
|
182
|
-
width: 2px;
|
|
183
|
-
transform-origin: 0 0;
|
|
142
|
+
clip-path: inset(0 100% 0 0);
|
|
184
143
|
transition:
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.CheckMark [data-state="indeterminate"]::before {
|
|
190
|
-
opacity: 0;
|
|
144
|
+
opacity 150ms ease,
|
|
145
|
+
clip-path 0s 150ms;
|
|
191
146
|
}
|
|
192
147
|
|
|
193
|
-
.CheckMark
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
height: 2px;
|
|
198
|
-
transform-origin: 0 100%;
|
|
199
|
-
transition: transform 100ms ease 160ms;
|
|
200
|
-
}/* Ghost: the PlexUI Check icon, and Minus when indeterminate, in the text color. */.GhostMark {
|
|
148
|
+
.CheckMark > svg {
|
|
149
|
+
width: var(--checkbox-check-icon-size, var(--checkbox-indicator-size));
|
|
150
|
+
height: var(--checkbox-check-icon-size, var(--checkbox-indicator-size));
|
|
151
|
+
}/* Ghost: the same icons in the text color, without a box. */.GhostMark {
|
|
201
152
|
position: absolute;
|
|
202
153
|
inset: 0;
|
|
203
154
|
display: flex;
|
|
@@ -209,13 +160,16 @@
|
|
|
209
160
|
|
|
210
161
|
.Checkbox[data-state="unchecked"] .GhostMark {
|
|
211
162
|
opacity: 0;
|
|
212
|
-
}
|
|
213
|
-
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.GhostMark > svg {
|
|
166
|
+
width: var(--checkbox-ghost-icon-size, var(--checkbox-indicator-size));
|
|
167
|
+
height: var(--checkbox-ghost-icon-size, var(--checkbox-indicator-size));
|
|
168
|
+
}.MarkCheck,
|
|
169
|
+
.MarkDash {
|
|
214
170
|
flex-shrink: 0;
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}.Checkbox[data-state="indeterminate"] .GhostCheck,
|
|
218
|
-
.Checkbox:not([data-state="indeterminate"]) .GhostDash {
|
|
171
|
+
}.Checkbox[data-state="indeterminate"] .MarkCheck,
|
|
172
|
+
.Checkbox:not([data-state="indeterminate"]) .MarkDash {
|
|
219
173
|
display: none;
|
|
220
174
|
}.Label {
|
|
221
175
|
display: block;
|
|
@@ -31,7 +31,40 @@
|
|
|
31
31
|
color: inherit !important;
|
|
32
32
|
padding: 0 !important;
|
|
33
33
|
-webkit-tap-highlight-color: transparent;
|
|
34
|
-
}/*
|
|
34
|
+
}/* With touch.css a uniform 2xs button is the kit's 28px circle on a phone; the copy button keeps its 24px face and
|
|
35
|
+
glyph inside the 32px box, and its target takes the 44px of iOS around the box, as the clear
|
|
36
|
+
button of SelectControl does. */.CopyButtonContainer {
|
|
37
|
+
--button-uniform-size-2xs: var(--control-size-2xs);
|
|
38
|
+
--button-icon-size-2xs: var(--control-icon-size-sm);
|
|
39
|
+
--button-indicator-size-2xs: 12px;
|
|
40
|
+
}@media (max-width: 767px) {
|
|
41
|
+
.CopyButtonContainer button {
|
|
42
|
+
min-width: 44px;
|
|
43
|
+
min-height: 44px;
|
|
44
|
+
/* The target overhangs the 32px box evenly, so the glyph stays at its centre. */
|
|
45
|
+
margin: calc((32px - 44px) / 2);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.CopyButtonContainer button::before,
|
|
49
|
+
.CopyButtonContainer button::after {
|
|
50
|
+
width: var(--button-size);
|
|
51
|
+
height: var(--button-size);
|
|
52
|
+
margin: auto;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
:where([data-plex-layout="phone"]) .CopyButtonContainer button {
|
|
56
|
+
min-width: 44px;
|
|
57
|
+
min-height: 44px;
|
|
58
|
+
/* The target overhangs the 32px box evenly, so the glyph stays at its centre. */
|
|
59
|
+
margin: calc((32px - 44px) / 2);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:where([data-plex-layout="phone"]) .CopyButtonContainer button::before,
|
|
63
|
+
:where([data-plex-layout="phone"]) .CopyButtonContainer button::after {
|
|
64
|
+
width: var(--button-size);
|
|
65
|
+
height: var(--button-size);
|
|
66
|
+
margin: auto;
|
|
67
|
+
}/* The button's own outline stays off; keyboard focus shows Button's
|
|
35
68
|
::after ring */.CopyButtonContainer button:focus,
|
|
36
69
|
.CopyButtonContainer button:focus-visible {
|
|
37
70
|
outline: none !important;
|