diff options
Diffstat (limited to 'users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/next-meeting.js')
| -rwxr-xr-x | users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/next-meeting.js | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/next-meeting.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/next-meeting.js new file mode 100755 index 0000000..c4a0a0f --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/next-meeting.js | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | // Styles for /lib/components/data/next-meeting.jsx component | ||
| 2 | export const nextMeetingStyles = /* css */ ` | ||
| 3 | .next-meeting { | ||
| 4 | background-color: var(--cyan); | ||
| 5 | } | ||
| 6 | .simple-bar--widgets-background-color-as-foreground .next-meeting { | ||
| 7 | color: var(--cyan); | ||
| 8 | background-color: transparent; | ||
| 9 | } | ||
| 10 | .simple-bar--no-color-in-data .next-meeting { | ||
| 11 | background-color: var(--minor); | ||
| 12 | } | ||
| 13 | .next-meeting--upcoming { | ||
| 14 | background-color: var(--yellow) !important; | ||
| 15 | } | ||
| 16 | .simple-bar--widgets-background-color-as-foreground .next-meeting--upcoming { | ||
| 17 | color: var(--yellow); | ||
| 18 | background-color: transparent !important; | ||
| 19 | } | ||
| 20 | .next-meeting--urgent { | ||
| 21 | background-color: var(--red) !important; | ||
| 22 | animation: next-meeting-pulse 1.5s ease-in-out infinite; | ||
| 23 | } | ||
| 24 | .simple-bar--widgets-background-color-as-foreground .next-meeting--urgent { | ||
| 25 | color: var(--red); | ||
| 26 | background-color: transparent !important; | ||
| 27 | } | ||
| 28 | @keyframes next-meeting-pulse { | ||
| 29 | 0%, 100% { opacity: 1; } | ||
| 30 | 50% { opacity: 0.7; } | ||
| 31 | } | ||
| 32 | .simple-bar--animations-disabled .next-meeting--urgent { | ||
| 33 | animation: none; | ||
| 34 | } | ||
| 35 | .next-meeting__title { | ||
| 36 | max-width: 120px; | ||
| 37 | overflow: hidden; | ||
| 38 | text-overflow: ellipsis; | ||
| 39 | white-space: nowrap; | ||
| 40 | margin-right: 6px; | ||
| 41 | } | ||
| 42 | .next-meeting__time { | ||
| 43 | font-weight: 600; | ||
| 44 | opacity: 0.9; | ||
| 45 | } | ||
| 46 | .next-meeting__join { | ||
| 47 | margin-left: 6px; | ||
| 48 | padding: 2px 6px; | ||
| 49 | background-color: rgba(255, 255, 255, 0.2); | ||
| 50 | border: none; | ||
| 51 | border-radius: 3px; | ||
| 52 | color: inherit; | ||
| 53 | font-family: inherit; | ||
| 54 | font-size: 10px; | ||
| 55 | font-weight: 600; | ||
| 56 | cursor: pointer; | ||
| 57 | transition: background-color 160ms var(--transition-easing), | ||
| 58 | transform 160ms var(--transition-easing); | ||
| 59 | } | ||
| 60 | .next-meeting__join:hover { | ||
| 61 | background-color: rgba(255, 255, 255, 0.35); | ||
| 62 | transform: translateY(-1px); | ||
| 63 | } | ||
| 64 | .next-meeting__join:active { | ||
| 65 | transform: translateY(0); | ||
| 66 | } | ||
| 67 | .next-meeting__join:focus { | ||
| 68 | outline: none; | ||
| 69 | box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5); | ||
| 70 | } | ||
| 71 | `; | ||
