| 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 |
|