@plexui/styles 0.11.0 → 0.11.1
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.
|
@@ -260,6 +260,13 @@
|
|
|
260
260
|
content: none;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
/* With a description under it the title's first line stands on the middle of the icon too, as an iOS row centres
|
|
264
|
+
its icon on its first line (owner 15.11: TipKit's lower image read as off centre); the 10px under the icon keep
|
|
265
|
+
the card as tall */
|
|
266
|
+
.Indicator:has(+ .Content > .Message > .Title ~ .Description) {
|
|
267
|
+
margin-block: 0 10px;
|
|
268
|
+
}
|
|
269
|
+
|
|
263
270
|
/* A title alone stands on the middle of the image, as TipKit centres it, 20 from the top and the bottom */
|
|
264
271
|
.Indicator + .Content > .Message:not(:has(> .Description)) {
|
|
265
272
|
align-self: center;
|
|
@@ -389,6 +396,13 @@
|
|
|
389
396
|
content: none;
|
|
390
397
|
}
|
|
391
398
|
|
|
399
|
+
/* With a description under it the title's first line stands on the middle of the icon too, as an iOS row centres
|
|
400
|
+
its icon on its first line (owner 15.11: TipKit's lower image read as off centre); the 10px under the icon keep
|
|
401
|
+
the card as tall */
|
|
402
|
+
:where([data-plex-layout="phone"]) .Indicator:has(+ .Content > .Message > .Title ~ .Description) {
|
|
403
|
+
margin-block: 0 10px;
|
|
404
|
+
}
|
|
405
|
+
|
|
392
406
|
/* A title alone stands on the middle of the image, as TipKit centres it, 20 from the top and the bottom */
|
|
393
407
|
:where([data-plex-layout="phone"]) .Indicator + .Content > .Message:not(:has(> .Description)) {
|
|
394
408
|
align-self: center;
|
|
@@ -46,6 +46,19 @@
|
|
|
46
46
|
-moz-user-select: none;
|
|
47
47
|
user-select: none;
|
|
48
48
|
-webkit-user-select: none;
|
|
49
|
+
}/* A destructive action removes the row: the content slides out and the row collapses from the height it had
|
|
50
|
+
(--swipe-actions-row-height, set by the row) before the list drops it, as iOS deletes a row. Nothing in it takes a
|
|
51
|
+
press meanwhile. */.SwipeActions[data-removing] {
|
|
52
|
+
pointer-events: none;
|
|
53
|
+
animation: swipe-actions-collapse var(--swipe-actions-duration) var(--ease-cubic-move, ease) forwards;
|
|
54
|
+
}@keyframes swipe-actions-collapse {
|
|
55
|
+
from {
|
|
56
|
+
height: var(--swipe-actions-row-height);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
to {
|
|
60
|
+
height: 0;
|
|
61
|
+
}
|
|
49
62
|
}.Actions {
|
|
50
63
|
position: absolute;
|
|
51
64
|
inset-block: 0;
|
|
@@ -177,5 +190,9 @@
|
|
|
177
190
|
.Content {
|
|
178
191
|
transition: none;
|
|
179
192
|
}
|
|
193
|
+
|
|
194
|
+
.SwipeActions[data-removing] {
|
|
195
|
+
animation: none;
|
|
196
|
+
}
|
|
180
197
|
}
|
|
181
198
|
}
|