@plexui/styles 0.3.0 → 0.3.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.
|
@@ -252,6 +252,8 @@
|
|
|
252
252
|
.Indicator {
|
|
253
253
|
padding-inline: 6px 4px;
|
|
254
254
|
margin-block: 5px;
|
|
255
|
+
/* A smaller custom indicator stands on the middle of the icon's place */
|
|
256
|
+
min-height: var(--alert-indicator-size);
|
|
255
257
|
}
|
|
256
258
|
|
|
257
259
|
.Indicator::before {
|
|
@@ -263,6 +265,13 @@
|
|
|
263
265
|
align-self: center;
|
|
264
266
|
}
|
|
265
267
|
|
|
268
|
+
/* A description alone (a tip always has a title, so TipKit has no such card) stands its first line on the middle
|
|
269
|
+
of the image, as a title alone does: one line centred on the icon, more lines going on under it (owner 13.11:
|
|
270
|
+
the line sat 6px above the icon's middle) */
|
|
271
|
+
.Indicator + .Content > .Message:not(:has(> .Title)) {
|
|
272
|
+
margin-top: calc(5px + var(--alert-indicator-size) / 2 - 0.5lh);
|
|
273
|
+
}
|
|
274
|
+
|
|
266
275
|
.Message {
|
|
267
276
|
padding-inline-start: 6px;
|
|
268
277
|
}
|
|
@@ -372,6 +381,8 @@
|
|
|
372
381
|
:where([data-plex-layout="phone"]) .Indicator {
|
|
373
382
|
padding-inline: 6px 4px;
|
|
374
383
|
margin-block: 5px;
|
|
384
|
+
/* A smaller custom indicator stands on the middle of the icon's place */
|
|
385
|
+
min-height: var(--alert-indicator-size);
|
|
375
386
|
}
|
|
376
387
|
|
|
377
388
|
:where([data-plex-layout="phone"]) .Indicator::before {
|
|
@@ -383,6 +394,13 @@
|
|
|
383
394
|
align-self: center;
|
|
384
395
|
}
|
|
385
396
|
|
|
397
|
+
/* A description alone (a tip always has a title, so TipKit has no such card) stands its first line on the middle
|
|
398
|
+
of the image, as a title alone does: one line centred on the icon, more lines going on under it (owner 13.11:
|
|
399
|
+
the line sat 6px above the icon's middle) */
|
|
400
|
+
:where([data-plex-layout="phone"]) .Indicator + .Content > .Message:not(:has(> .Title)) {
|
|
401
|
+
margin-top: calc(5px + var(--alert-indicator-size) / 2 - 0.5lh);
|
|
402
|
+
}
|
|
403
|
+
|
|
386
404
|
:where([data-plex-layout="phone"]) .Message {
|
|
387
405
|
padding-inline-start: 6px;
|
|
388
406
|
}
|