diff options
Diffstat (limited to 'users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/notifications.js')
| -rwxr-xr-x | users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/notifications.js | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/notifications.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/notifications.js new file mode 100755 index 0000000..a1008c8 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/notifications.js | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | // Styles for /lib/components/data/notifications.jsx component | ||
| 2 | export const notificationsStyles = /* css */ ` | ||
| 3 | .notifications { | ||
| 4 | display: flex; | ||
| 5 | align-items: center; | ||
| 6 | gap: 5px; | ||
| 7 | margin-left: 5px; | ||
| 8 | } | ||
| 9 | .notification-pill { | ||
| 10 | display: flex; | ||
| 11 | align-items: center; | ||
| 12 | gap: 5px; | ||
| 13 | padding: 7px 8px; | ||
| 14 | background-color: var(--red); | ||
| 15 | border: none; | ||
| 16 | border-radius: var(--item-radius); | ||
| 17 | color: var(--white); | ||
| 18 | font-family: inherit; | ||
| 19 | font-size: 11px; | ||
| 20 | cursor: pointer; | ||
| 21 | transition: background-color 160ms var(--transition-easing), | ||
| 22 | transform 160ms var(--transition-easing); | ||
| 23 | } | ||
| 24 | .notification-pill:hover { | ||
| 25 | filter: brightness(1.2); | ||
| 26 | transform: translateY(-1px); | ||
| 27 | } | ||
| 28 | .notification-pill:active { | ||
| 29 | transform: translateY(0); | ||
| 30 | } | ||
| 31 | .notification-pill:focus { | ||
| 32 | outline: none; | ||
| 33 | box-shadow: var(--focus-ring); | ||
| 34 | } | ||
| 35 | .simple-bar--no-color-in-data .notification-pill { | ||
| 36 | background-color: var(--minor); | ||
| 37 | color: var(--foreground); | ||
| 38 | } | ||
| 39 | .simple-bar--widgets-background-color-as-foreground .notification-pill { | ||
| 40 | background-color: transparent; | ||
| 41 | color: var(--red); | ||
| 42 | border: 1px solid var(--red); | ||
| 43 | } | ||
| 44 | .simple-bar--widgets-background-color-as-foreground .notification-pill:hover { | ||
| 45 | background-color: var(--red); | ||
| 46 | color: var(--white); | ||
| 47 | } | ||
| 48 | .notification-pill__icon { | ||
| 49 | width: 14px; | ||
| 50 | height: 14px; | ||
| 51 | fill: currentColor; | ||
| 52 | flex-shrink: 0; | ||
| 53 | } | ||
| 54 | .notification-pill__badge { | ||
| 55 | background-color: rgba(0, 0, 0, 0.3); | ||
| 56 | color: var(--white); | ||
| 57 | padding: 1px 5px; | ||
| 58 | border-radius: 6px; | ||
| 59 | font-size: 10px; | ||
| 60 | font-weight: 600; | ||
| 61 | min-width: 8px; | ||
| 62 | text-align: center; | ||
| 63 | } | ||
| 64 | .simple-bar--widgets-background-color-as-foreground .notification-pill__badge { | ||
| 65 | background-color: var(--red); | ||
| 66 | color: var(--white); | ||
| 67 | } | ||
| 68 | `; | ||
