PluginProbe
Extendify / 3.1.6
Extendify v3.1.6
3.2.1 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 All 127 releases
extendify / src / Notifications / notifications.css

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

56 lines 1.6 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. Core's fixed height
25 would leave the margins overflowing the bar. */
26 /* no-prefix */
27 #wpadminbar #wp-admin-bar-extendify-notifications > .ab-item {
28 display: flex !important;
29 align-items: center !important;
30 height: auto !important;
31 margin: 4px 8px !important;
32 padding: 0 !important;
33 background: transparent !important;
34 }
35
36 @media screen and (max-width: 782px) {
37 /* Core hides non-allowlisted items here, and the bottom bar with them — the
38 pill is the only thing left to act on. */
39 /* no-prefix */
40 #wpadminbar li#wp-admin-bar-extendify-notifications {
41 display: block !important;
42 }
43
44 /* no-prefix */
45 #wpadminbar #wp-admin-bar-extendify-notifications > .ab-item {
46 margin: 8px !important;
47 }
48
49 /* Only this bar: its own items already fill the width, so the label would
50 push the pill off-screen. Core hides enough that the label still fits. */
51 /* no-prefix */
52 #extendify-toolbar .ext-notification-pill-label {
53 display: none;
54 }
55 }
56