PluginProbe
Extendify / 3.1.5
Extendify v3.1.5
3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 0.7.0 All 126 releases
extendify / src / Notifications / notifications.css

notifications.css in Extendify 3.1.5, at src/Notifications/notifications.css

54 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "tailwindcss" source(none) important;
2 @import "../tailwind.css" source(none);
3 @source ".";
4
5 :root {
6 color-scheme: only light;
7 }
8
9 /* Without this the wrapper divs stretch the pill to the host bar's full height. */
10 /* no-prefix */
11 #wpadminbar .extendify-notifications,
12 #wpadminbar .extendify-notifications .extendify-shared,
13 #extendify-toolbar .extendify-notifications,
14 #extendify-toolbar .extendify-notifications .extendify-shared {
15 @apply flex items-center;
16 }
17
18 /* no-prefix */
19 #extendify-toolbar .extendify-notifications {
20 @apply ml-1 mr-2;
21 }
22
23 /* Core's `.ab-item` chrome would frame the pill. Raw lengths, not the spacing
24 scale: the theme vars are scoped below this element. */
25 /* no-prefix */
26 #wpadminbar #wp-admin-bar-extendify-notifications > .ab-item {
27 display: flex !important;
28 align-items: center !important;
29 margin: 4px 8px !important;
30 padding: 0 !important;
31 background: transparent !important;
32 }
33
34 @media screen and (max-width: 782px) {
35 /* Core hides non-allowlisted items here, and the bottom bar with them — the
36 pill is the only thing left to act on. */
37 /* no-prefix */
38 #wpadminbar li#wp-admin-bar-extendify-notifications {
39 display: block !important;
40 }
41
42 /* no-prefix */
43 #wpadminbar #wp-admin-bar-extendify-notifications > .ab-item {
44 margin: 8px !important;
45 }
46
47 /* Only this bar: its own items already fill the width, so the label would
48 push the pill off-screen. Core hides enough that the label still fits. */
49 /* no-prefix */
50 #extendify-toolbar .ext-notification-pill-label {
51 display: none;
52 }
53 }
54