diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-09 22:15:53 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-09 22:15:53 -0400 |
| commit | d06784958d73159b5e4abafe5114804662114ed7 (patch) | |
| tree | d8464262c1aa1f10553a5b11a9fda3e505e71f7f /users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data | |
| parent | 1a71e94eb8ca1585201263cf654611ef6849d359 (diff) | |
move ubersicht modules in tree
Diffstat (limited to 'users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data')
28 files changed, 1264 insertions, 0 deletions
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/battery.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/battery.js new file mode 100755 index 0000000..5c0c413 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/battery.js | |||
| @@ -0,0 +1,134 @@ | |||
| 1 | // Styles for /lib/components/data/battery.jsx component | ||
| 2 | export const batteryStyles = /* css */ ` | ||
| 3 | .battery { | ||
| 4 | position: relative; | ||
| 5 | background-color: var(--magenta); | ||
| 6 | overflow: hidden; | ||
| 7 | } | ||
| 8 | .battery--caffeinate, | ||
| 9 | .simple-bar--no-color-in-data .battery--caffeinate { | ||
| 10 | color: var(--black); | ||
| 11 | background-color: var(--white); | ||
| 12 | } | ||
| 13 | .simple-bar--widgets-background-color-as-foreground .battery { | ||
| 14 | color: var(--magenta); | ||
| 15 | background-color: transparent; | ||
| 16 | } | ||
| 17 | .simple-bar--widgets-background-color-as-foreground .battery--caffeinate { | ||
| 18 | color: var(--foreground); | ||
| 19 | } | ||
| 20 | .battery__icon { | ||
| 21 | position: relative; | ||
| 22 | width: 16px; | ||
| 23 | height: 9px; | ||
| 24 | margin-top: -2px; | ||
| 25 | margin-right: 10px; | ||
| 26 | } | ||
| 27 | .battery__icon::after { | ||
| 28 | content: ''; | ||
| 29 | position: absolute; | ||
| 30 | top: calc(10% + 1px); | ||
| 31 | left: calc(100% + 2px); | ||
| 32 | width: 2px; | ||
| 33 | height: 80%; | ||
| 34 | border-radius: 0 3px 3px 0; | ||
| 35 | background-color: currentColor; | ||
| 36 | } | ||
| 37 | .simple-bar--no-color-in-data .battery__icon::after { | ||
| 38 | background-color: currentColor; | ||
| 39 | } | ||
| 40 | .battery__icon-inner { | ||
| 41 | position: relative; | ||
| 42 | width: 100%; | ||
| 43 | height: 100%; | ||
| 44 | border-radius: 3px; | ||
| 45 | border: 1px solid currentColor; | ||
| 46 | overflow: hidden; | ||
| 47 | } | ||
| 48 | .battery__charging-icon { | ||
| 49 | position: absolute; | ||
| 50 | top: -1px; | ||
| 51 | left: calc(50% - 6px); | ||
| 52 | width: 11px; | ||
| 53 | height: 11px; | ||
| 54 | fill: currentColor; | ||
| 55 | stroke: var(--magenta); | ||
| 56 | stroke-width: 2; | ||
| 57 | } | ||
| 58 | .simple-bar--no-color-in-data .battery__charging-icon { | ||
| 59 | stroke: var(--minor); | ||
| 60 | } | ||
| 61 | .battery--caffeinate .battery__charging-icon { | ||
| 62 | stroke: var(--white); | ||
| 63 | } | ||
| 64 | .simple-bar--widgets-background-color-as-foreground .battery__charging-icon { | ||
| 65 | stroke: var(--background); | ||
| 66 | } | ||
| 67 | .simple-bar--no-color-in-data .battery__icon-inner { | ||
| 68 | fill: currentColor; | ||
| 69 | border: 1px solid currentColor; | ||
| 70 | } | ||
| 71 | .battery__icon-filler { | ||
| 72 | position: absolute; | ||
| 73 | top: 1px; | ||
| 74 | left: 1px; | ||
| 75 | width: calc(100% - 2px); | ||
| 76 | height: calc(100% - 2px); | ||
| 77 | background-color: currentColor; | ||
| 78 | border-radius: 2px; | ||
| 79 | transform: scaleX(0); | ||
| 80 | transform-origin: left center; | ||
| 81 | transition: transform 160ms var(--transition-easing); | ||
| 82 | z-index: 0; | ||
| 83 | } | ||
| 84 | .simple-bar--no-color-in-data .battery__icon-filler { | ||
| 85 | background-color: currentColor; | ||
| 86 | opacity: 0.8; | ||
| 87 | } | ||
| 88 | .simple-bar--no-color-in-data .battery--caffeinate .battery__icon::after, | ||
| 89 | .simple-bar--no-color-in-data .battery--caffeinate .battery__icon-filler { | ||
| 90 | background-color: currentColor; | ||
| 91 | } | ||
| 92 | .battery--low .battery__icon-filler { | ||
| 93 | background-color: var(--red); | ||
| 94 | } | ||
| 95 | .battery--low-power-mode .battery__icon-filler { | ||
| 96 | background-color: var(--yellow); | ||
| 97 | } | ||
| 98 | .battery__caffeinate-icon { | ||
| 99 | position: absolute; | ||
| 100 | top: calc(50% - 12px); | ||
| 101 | right: -4px; | ||
| 102 | width: 26px !important; | ||
| 103 | height: 26px !important; | ||
| 104 | opacity: 0.15; | ||
| 105 | } | ||
| 106 | .battery__caffeinate-icon g path { | ||
| 107 | animation: coffee-spur-sliding-up 1600ms var(--transition-easing) infinite; | ||
| 108 | } | ||
| 109 | .simple-bar--animations-disabled .battery__caffeinate-icon g path { | ||
| 110 | animation: none; | ||
| 111 | } | ||
| 112 | .battery__caffeinate-icon g path:nth-child(2) { | ||
| 113 | animation-delay: -600ms; | ||
| 114 | } | ||
| 115 | .battery__caffeinate-icon g path:nth-child(3) { | ||
| 116 | animation-delay: -280ms; | ||
| 117 | } | ||
| 118 | @keyframes coffee-spur-sliding-up { | ||
| 119 | 0% { | ||
| 120 | opacity: 0; | ||
| 121 | transform: translateY(3px); | ||
| 122 | } | ||
| 123 | 20% { | ||
| 124 | opacity: 0.7; | ||
| 125 | } | ||
| 126 | 80% { | ||
| 127 | opacity: 0.7; | ||
| 128 | } | ||
| 129 | 100% { | ||
| 130 | opacity: 0; | ||
| 131 | transform: translateY(-4px); | ||
| 132 | } | ||
| 133 | } | ||
| 134 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/browser-track.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/browser-track.js new file mode 100755 index 0000000..c70a1ee --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/browser-track.js | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | // Styles for /lib/components/data/browser-track.jsx | ||
| 2 | export const browserTrackStyles = /* css */ ` | ||
| 3 | .browser-track { | ||
| 4 | position: relative; | ||
| 5 | background-color: var(--green); | ||
| 6 | } | ||
| 7 | .simple-bar--widgets-background-color-as-foreground .browser-track { | ||
| 8 | color: var(--green); | ||
| 9 | background-color: transparent; | ||
| 10 | } | ||
| 11 | .browser-track__icons { | ||
| 12 | position: relative; | ||
| 13 | } | ||
| 14 | .browser-track__icons > svg:nth-of-type(1), | ||
| 15 | .browser-track__icons > svg:nth-of-type(2) { | ||
| 16 | width: 10px; | ||
| 17 | height: 10px; | ||
| 18 | fill: currentColor; | ||
| 19 | } | ||
| 20 | .browser-track__icons > svg:nth-of-type(1) { | ||
| 21 | margin-right: 7px; | ||
| 22 | } | ||
| 23 | .simple-bar--no-color-in-data .browser-track__icons > svg:nth-of-type(1) { | ||
| 24 | fill: currentColor; | ||
| 25 | } | ||
| 26 | .browser-track__icons > svg:nth-of-type(2) { | ||
| 27 | position: absolute; | ||
| 28 | bottom: -1px; | ||
| 29 | right: 2px; | ||
| 30 | stroke: var(--green); | ||
| 31 | stroke-width: 3px; | ||
| 32 | } | ||
| 33 | .simple-bar--widgets-background-color-as-foreground .browser-track__icons > svg:nth-of-type(2) { | ||
| 34 | stroke: var(--background); | ||
| 35 | } | ||
| 36 | .simple-bar--no-color-in-data .browser-track__icons > svg:nth-of-type(2) { | ||
| 37 | fill: currentColor; | ||
| 38 | stroke: var(--minor); | ||
| 39 | } | ||
| 40 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/cpu.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/cpu.js new file mode 100755 index 0000000..672c246 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/cpu.js | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | // Styles for /lib/components/data/cpu.jsx component | ||
| 2 | export const cpuStyles = /* css */ ` | ||
| 3 | .cpu { | ||
| 4 | color: var(--foreground); | ||
| 5 | background-color: var(--minor); | ||
| 6 | } | ||
| 7 | .cpu--graph { | ||
| 8 | min-width: 90px; | ||
| 9 | padding: 0; | ||
| 10 | } | ||
| 11 | .cpu__usage { | ||
| 12 | width: 4ch; | ||
| 13 | padding: 3px; | ||
| 14 | text-align: right; | ||
| 15 | } | ||
| 16 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/crypto.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/crypto.js new file mode 100755 index 0000000..3c9b0ae --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/crypto.js | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | // Styles for /lib/components/data/crypto.jsx component | ||
| 2 | export const cryptoStyles = /* css */ ` | ||
| 3 | .crypto { | ||
| 4 | color: var(--foreground); | ||
| 5 | background-color: var(--minor); | ||
| 6 | } | ||
| 7 | .simple-bar--widgets-background-color-as-foreground .crypto { | ||
| 8 | background-color: transparent; | ||
| 9 | }`; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/data-widget-loader.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/data-widget-loader.js new file mode 100755 index 0000000..62710aa --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/data-widget-loader.js | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | // Styles for /lib/components/data/data-widget-loader.jsx component | ||
| 2 | export const dataWidgetLoaderStyles = /* css */ ` | ||
| 3 | .data-widget-loader { | ||
| 4 | animation: data-widget-loader-appearance 320ms var(--transition-easing); | ||
| 5 | } | ||
| 6 | @keyframes data-widget-loader-appearance { | ||
| 7 | 0% { | ||
| 8 | opacity: 0; | ||
| 9 | } | ||
| 10 | } | ||
| 11 | .data-widget-loader::before { | ||
| 12 | content: ""; | ||
| 13 | width: 10px; | ||
| 14 | height: 10px; | ||
| 15 | margin-right: 7px; | ||
| 16 | background-color: currentColor; | ||
| 17 | border-radius: 50%; | ||
| 18 | opacity: 0.75; | ||
| 19 | } | ||
| 20 | .data-widget-loader__inner { | ||
| 21 | border: 2px solid transparent; | ||
| 22 | border-bottom-color: currentColor; | ||
| 23 | box-sizing: border-box; | ||
| 24 | border-radius: 50%; | ||
| 25 | animation: data-widget-loader-spining 640ms ease infinite; | ||
| 26 | } | ||
| 27 | @keyframes data-widget-loader-spining { | ||
| 28 | 100% { | ||
| 29 | transform: rotate(360deg); | ||
| 30 | } | ||
| 31 | } | ||
| 32 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/data-widget.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/data-widget.js new file mode 100755 index 0000000..f0b5cf1 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/data-widget.js | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | // Styles for /lib/components/data/data-widget.jsx component | ||
| 2 | export const dataWidgetStyles = /* css */ ` | ||
| 3 | .data-widget { | ||
| 4 | display: flex; | ||
| 5 | align-items: center; | ||
| 6 | margin: var(--item-outer-margin); | ||
| 7 | padding: var(--item-inner-margin); | ||
| 8 | color: var(--background); | ||
| 9 | font-family: var(--font); | ||
| 10 | font-size: inherit; | ||
| 11 | background-color: var(--minor); | ||
| 12 | text-decoration: none; | ||
| 13 | white-space: nowrap; | ||
| 14 | border-radius: var(--item-radius); | ||
| 15 | border: 0; | ||
| 16 | outline: none; | ||
| 17 | cursor: default; | ||
| 18 | user-select: none; | ||
| 19 | -webkit-user-select: none; | ||
| 20 | box-shadow: var(--light-shadow); | ||
| 21 | transition: all 160ms var(--transition-easing); | ||
| 22 | } | ||
| 23 | .simple-bar--no-shadow .data-widget { | ||
| 24 | box-shadow: none; | ||
| 25 | } | ||
| 26 | .simple-bar--no-color-in-data .data-widget { | ||
| 27 | color: var(--foreground); | ||
| 28 | background-color: var(--minor); | ||
| 29 | } | ||
| 30 | .simple-bar--widgets-background-color-as-foreground .data-widget { | ||
| 31 | background-color: transparent; | ||
| 32 | box-shadow: none; | ||
| 33 | } | ||
| 34 | .simple-bar--widgets-background-color-as-foreground.simple-bar--no-color-in-data .data-widget { | ||
| 35 | color: var(--foreground) !important; | ||
| 36 | background-color: transparent; | ||
| 37 | } | ||
| 38 | .data-widget--clickable { | ||
| 39 | cursor: pointer; | ||
| 40 | } | ||
| 41 | .data-widget--clickable:hover { | ||
| 42 | box-shadow: var(--light-shadow), var(--hover-ring); | ||
| 43 | } | ||
| 44 | .data-widget--clickable:active { | ||
| 45 | box-shadow: var(--light-shadow), var(--focus-ring); | ||
| 46 | } | ||
| 47 | .data-widget > svg { | ||
| 48 | width: 14px; | ||
| 49 | height: 14px; | ||
| 50 | margin-right: 7px; | ||
| 51 | fill: currentColor; | ||
| 52 | } | ||
| 53 | .data-widget__inner { | ||
| 54 | max-width: var(--item-max-width); | ||
| 55 | display: flex; | ||
| 56 | flew-wrap: nowrap; | ||
| 57 | overflow: hidden; | ||
| 58 | } | ||
| 59 | .data-widget__slider { | ||
| 60 | display: flex; | ||
| 61 | align-items: center; | ||
| 62 | white-space: nowrap; | ||
| 63 | transition: transform 160ms var(--transition-easing); | ||
| 64 | } | ||
| 65 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/date-display.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/date-display.js new file mode 100755 index 0000000..c152449 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/date-display.js | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | // Styles for /lib/components/data/date-display.jsx component | ||
| 2 | export const dateStyles = /* css */ ` | ||
| 3 | .date-display { | ||
| 4 | background-color: var(--cyan); | ||
| 5 | } | ||
| 6 | .simple-bar--widgets-background-color-as-foreground .date-display { | ||
| 7 | color: var(--cyan); | ||
| 8 | background-color: transparent; | ||
| 9 | } | ||
| 10 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/github.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/github.js new file mode 100755 index 0000000..f451ddc --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/github.js | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | // Styles for /lib/components/data/github.jsx component | ||
| 2 | export const githubStyles = /* css */ ` | ||
| 3 | .github { | ||
| 4 | position: relative; | ||
| 5 | color: var(--foreground); | ||
| 6 | background-color: var(--minor); | ||
| 7 | overflow: hidden; | ||
| 8 | z-index: 0; | ||
| 9 | } | ||
| 10 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/gpu.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/gpu.js new file mode 100755 index 0000000..c3f4b78 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/gpu.js | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | // Styles for /lib/components/data/gpu.jsx component | ||
| 2 | export const gpuStyles = /* css */ ` | ||
| 3 | .gpu { | ||
| 4 | color: var(--foreground); | ||
| 5 | background-color: var(--minor); | ||
| 6 | } | ||
| 7 | .gpu--graph { | ||
| 8 | min-width: 70px; | ||
| 9 | padding: 0; | ||
| 10 | } | ||
| 11 | .gpu__usage { | ||
| 12 | width: 4ch; | ||
| 13 | text-align: right; | ||
| 14 | } | ||
| 15 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/graph.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/graph.js new file mode 100755 index 0000000..0bf3609 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/graph.js | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | // Styles for /lib/components/data/graph.jsx component | ||
| 2 | export const graphStyles = /* css */ ` | ||
| 3 | .graph { | ||
| 4 | position: relative; | ||
| 5 | width: 100%; | ||
| 6 | height: 100%; | ||
| 7 | display: flex; | ||
| 8 | align-items: flex-end; | ||
| 9 | gap: 4px; | ||
| 10 | overflow: hidden; | ||
| 11 | border-radius: inherit; | ||
| 12 | } | ||
| 13 | .graph__bars { | ||
| 14 | flex: 1 1 100%; | ||
| 15 | height: 75%; | ||
| 16 | display: flex; | ||
| 17 | align-items: flex-end; | ||
| 18 | justify-content: flex-end; | ||
| 19 | pointer-events: none; | ||
| 20 | } | ||
| 21 | .graph__bar { | ||
| 22 | min-height: 1px; | ||
| 23 | opacity: 0.75; | ||
| 24 | } | ||
| 25 | .graph__data { | ||
| 26 | position: absolute; | ||
| 27 | top: 3px; | ||
| 28 | left: 3px; | ||
| 29 | width: calc(100% - 6px); | ||
| 30 | flex: 0 0 auto; | ||
| 31 | display: flex; | ||
| 32 | justify-content: space-between; | ||
| 33 | gap: 2px; | ||
| 34 | } | ||
| 35 | .graph__data-item { | ||
| 36 | display: flex; | ||
| 37 | align-items: center; | ||
| 38 | gap: 3px; | ||
| 39 | } | ||
| 40 | .graph__data-item-icon { | ||
| 41 | flex: 0 0 10px; | ||
| 42 | width: 10px; | ||
| 43 | height: 10px; | ||
| 44 | fill: currentColor; | ||
| 45 | } | ||
| 46 | .graph__data-item-value { | ||
| 47 | font-size: calc(var(--font-size) - 2px); | ||
| 48 | } | ||
| 49 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/keyboard.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/keyboard.js new file mode 100755 index 0000000..dfc4f70 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/keyboard.js | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | // Styles for /lib/components/data/keyboard.jsx component | ||
| 2 | export const keyboardStyles = /* css */ ` | ||
| 3 | .keyboard { | ||
| 4 | background-color: var(--main-alt); | ||
| 5 | } | ||
| 6 | .simple-bar--widgets-background-color-as-foreground .keyboard { | ||
| 7 | color: var(--main-alt); | ||
| 8 | background-color: transparent; | ||
| 9 | } | ||
| 10 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/memory.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/memory.js new file mode 100755 index 0000000..d0239bb --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/memory.js | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | // Styles for /lib/components/data/memory.jsx component | ||
| 2 | export const memoryStyles = /* css */ ` | ||
| 3 | .memory { | ||
| 4 | color: var(--foreground); | ||
| 5 | background-color: var(--minor); | ||
| 6 | } | ||
| 7 | .memory--low { | ||
| 8 | --pie-color: var(--green); | ||
| 9 | } | ||
| 10 | .memory--medium { | ||
| 11 | --pie-color: var(--yellow); | ||
| 12 | } | ||
| 13 | .memory--high { | ||
| 14 | --pie-color: var(--red); | ||
| 15 | } | ||
| 16 | .memory__pie { | ||
| 17 | flex: 0 0 21px; | ||
| 18 | width: 21px; | ||
| 19 | height: 21px; | ||
| 20 | border-radius: 50%; | ||
| 21 | } | ||
| 22 | .memory__content { | ||
| 23 | display: flex; | ||
| 24 | gap: 4px; | ||
| 25 | padding-left: 5px; | ||
| 26 | } | ||
| 27 | .memory--high .memory__content { | ||
| 28 | color: var(--red); | ||
| 29 | } | ||
| 30 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/mic.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/mic.js new file mode 100755 index 0000000..7a58f10 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/mic.js | |||
| @@ -0,0 +1,83 @@ | |||
| 1 | // Styles for /lib/components/data/mic.jsx component | ||
| 2 | export const micStyles = /* css */ ` | ||
| 3 | .mic { | ||
| 4 | font-variant-numeric: tabular-nums; | ||
| 5 | background-color: var(--orange); | ||
| 6 | transform: translateZ(0); | ||
| 7 | } | ||
| 8 | .simple-bar--widgets-background-color-as-foreground .mic { | ||
| 9 | color: var(--orange); | ||
| 10 | background-color: transparent; | ||
| 11 | } | ||
| 12 | .mic__slider-container { | ||
| 13 | --slider-size: 10px; | ||
| 14 | |||
| 15 | position: relative; | ||
| 16 | max-width: 0; | ||
| 17 | height: 100%; | ||
| 18 | display: flex; | ||
| 19 | align-items: center; | ||
| 20 | padding: 0; | ||
| 21 | overflow: hidden; | ||
| 22 | opacity: 0.7; | ||
| 23 | border-radius: var(--item-radius); | ||
| 24 | transition: max-width 320ms var(--transition-easing), padding 320ms var(--transition-easing), | ||
| 25 | opacity 320ms var(--transition-easing), | ||
| 26 | clip-path 0ms var(--transition-easing); | ||
| 27 | } | ||
| 28 | .mic:hover .mic__slider-container, | ||
| 29 | .mic--dragging .mic__slider-container { | ||
| 30 | max-width: 100px; | ||
| 31 | clip-path: inset(-100vh -100vw); | ||
| 32 | transition: max-width 320ms var(--transition-easing), padding 320ms var(--transition-easing), | ||
| 33 | opacity 320ms var(--transition-easing), | ||
| 34 | clip-path 320ms 320ms var(--transition-easing) | ||
| 35 | } | ||
| 36 | .mic__slider-container:hover { | ||
| 37 | opacity: 1; | ||
| 38 | } | ||
| 39 | .mic__slider { | ||
| 40 | width: 100px; | ||
| 41 | height: var(--slider-size); | ||
| 42 | appearance: none; | ||
| 43 | background-color: var(--background); | ||
| 44 | border-radius: var(--item-radius); | ||
| 45 | outline: none; | ||
| 46 | -webkit-appearance: none; | ||
| 47 | } | ||
| 48 | .simple-bar--widgets-background-color-as-foreground .mic__slider { | ||
| 49 | background-color: var(--foreground); | ||
| 50 | } | ||
| 51 | .mic__slider::-webkit-slider-thumb { | ||
| 52 | width: var(--slider-size); | ||
| 53 | height: var(--slider-size); | ||
| 54 | background-color: var(--foreground); | ||
| 55 | border-radius: var(--item-radius); | ||
| 56 | cursor: pointer; | ||
| 57 | -webkit-appearance: none; | ||
| 58 | transform-origin: center; | ||
| 59 | transition: transform 160ms var(--transition-easing); | ||
| 60 | } | ||
| 61 | .simple-bar--widgets-background-color-as-foreground .mic__slider::-webkit-slider-thumb { | ||
| 62 | background-color: var(--orange); | ||
| 63 | } | ||
| 64 | .mic__slider::-webkit-slider-thumb:hover { | ||
| 65 | transform: scale(1.5); | ||
| 66 | } | ||
| 67 | .mic__display { | ||
| 68 | display: flex; | ||
| 69 | align-items: center; | ||
| 70 | margin-right: 4px; | ||
| 71 | overflow: hidden; | ||
| 72 | } | ||
| 73 | .mic__display:active { | ||
| 74 | color: currentColor; | ||
| 75 | } | ||
| 76 | .mic__display > svg { | ||
| 77 | flex-shrink: 0; | ||
| 78 | width: 14px; | ||
| 79 | height: 14px; | ||
| 80 | margin-right: 3px; | ||
| 81 | fill: currentColor; | ||
| 82 | } | ||
| 83 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/mpd.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/mpd.js new file mode 100755 index 0000000..da159ab --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/mpd.js | |||
| @@ -0,0 +1,80 @@ | |||
| 1 | // Styles for /lib/components/data/mpd.jsx component | ||
| 2 | export const mpdStyles = /* css */ ` | ||
| 3 | .mpd { | ||
| 4 | position: relative; | ||
| 5 | background-color: var(--cyan); | ||
| 6 | } | ||
| 7 | .simple-bar--widgets-background-color-as-foreground .mpd { | ||
| 8 | color: var(--cyan); | ||
| 9 | background-color: transparent; | ||
| 10 | } | ||
| 11 | .mpd__outer { | ||
| 12 | display: flex; | ||
| 13 | gap: 4px; | ||
| 14 | } | ||
| 15 | .mpd__inner { | ||
| 16 | max-width: 140px; | ||
| 17 | display: flex; | ||
| 18 | flew-wrap: nowrap; | ||
| 19 | overflow: hidden; | ||
| 20 | } | ||
| 21 | .mpd__info { | ||
| 22 | white-space: nowrap; | ||
| 23 | transition: transform 160ms var(--transition-easing); | ||
| 24 | } | ||
| 25 | .mpd__slider-container { | ||
| 26 | --slider-size: 10px; | ||
| 27 | |||
| 28 | position: relative; | ||
| 29 | max-width: 0; | ||
| 30 | height: 100%; | ||
| 31 | display: flex; | ||
| 32 | align-items: center; | ||
| 33 | padding: 0; | ||
| 34 | clip-path: inset(0); | ||
| 35 | opacity: 0.7; | ||
| 36 | border-radius: var(--item-radius); | ||
| 37 | transition: max-width 320ms var(--transition-easing), padding 320ms var(--transition-easing), | ||
| 38 | opacity 320ms var(--transition-easing), | ||
| 39 | clip-path 0ms var(--transition-easing); | ||
| 40 | } | ||
| 41 | .mpd:hover .mpd__slider-container, | ||
| 42 | .mpd--dragging .mpd__slider-container { | ||
| 43 | max-width: 100px; | ||
| 44 | clip-path: inset(-100vh -100vw); | ||
| 45 | transition: max-width 320ms var(--transition-easing), padding 320ms var(--transition-easing), | ||
| 46 | opacity 320ms var(--transition-easing), | ||
| 47 | clip-path 320ms 320ms var(--transition-easing) | ||
| 48 | } | ||
| 49 | .mpd__slider-container:hover { | ||
| 50 | opacity: 1; | ||
| 51 | } | ||
| 52 | .mpd__slider { | ||
| 53 | width: 100px; | ||
| 54 | height: var(--slider-size); | ||
| 55 | appearance: none; | ||
| 56 | background-color: var(--background); | ||
| 57 | border-radius: var(--item-radius); | ||
| 58 | outline: none; | ||
| 59 | -webkit-appearance: none; | ||
| 60 | } | ||
| 61 | .simple-bar--widgets-background-color-as-foreground .mpd__slider { | ||
| 62 | background-color: var(--foreground); | ||
| 63 | } | ||
| 64 | .mpd__slider::-webkit-slider-thumb { | ||
| 65 | width: var(--slider-size); | ||
| 66 | height: var(--slider-size); | ||
| 67 | background-color: var(--foreground); | ||
| 68 | border-radius: var(--item-radius); | ||
| 69 | cursor: pointer; | ||
| 70 | -webkit-appearance: none; | ||
| 71 | transform-origin: center; | ||
| 72 | transition: transform 160ms var(--transition-easing); | ||
| 73 | } | ||
| 74 | .simple-bar--widgets-background-color-as-foreground .mpd__slider::-webkit-slider-thumb { | ||
| 75 | background-color: var(--blue); | ||
| 76 | } | ||
| 77 | .mpd__slider::-webkit-slider-thumb:hover { | ||
| 78 | transform: scale(1.5); | ||
| 79 | } | ||
| 80 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/music.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/music.js new file mode 100755 index 0000000..5de3b1f --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/music.js | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | // Styles for /lib/components/data/music.jsx component | ||
| 2 | export const musicStyles = /* css */ ` | ||
| 3 | .music { | ||
| 4 | position: relative; | ||
| 5 | background-color: var(--green); | ||
| 6 | } | ||
| 7 | .simple-bar--widgets-background-color-as-foreground .music { | ||
| 8 | color: var(--green); | ||
| 9 | background-color: transparent; | ||
| 10 | } | ||
| 11 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/netstats.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/netstats.js new file mode 100755 index 0000000..384d970 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/netstats.js | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | // Styles for /lib/components/data/netstats.jsx component | ||
| 2 | export const netstatsStyles = /* css */ ` | ||
| 3 | .netstats { | ||
| 4 | display: flex; | ||
| 5 | align-items: center; | ||
| 6 | justify-content: space-between; | ||
| 7 | gap: 6px; | ||
| 8 | color: var(--foreground); | ||
| 9 | background-color: var(--minor); | ||
| 10 | z-index: 0; | ||
| 11 | } | ||
| 12 | .netstats--graph { | ||
| 13 | min-width: 120px; | ||
| 14 | padding: 0; | ||
| 15 | } | ||
| 16 | .simple-bar--widgets-background-color-as-foreground .netstats { | ||
| 17 | background-color: transparent; | ||
| 18 | } | ||
| 19 | .netstats__item { | ||
| 20 | width: 9ch; | ||
| 21 | display: flex; | ||
| 22 | align-items: center; | ||
| 23 | justify-content: center; | ||
| 24 | gap: 4px; | ||
| 25 | padding: 0 4px; | ||
| 26 | } | ||
| 27 | .netstats__value { | ||
| 28 | display: flex; | ||
| 29 | align-items: baseline; | ||
| 30 | justify-content: flex-end; | ||
| 31 | margin: 0 auto; | ||
| 32 | } | ||
| 33 | .netstats__value > em { | ||
| 34 | font-size: 0.8em; | ||
| 35 | font-style: normal; | ||
| 36 | } | ||
| 37 | .netstats__icon { | ||
| 38 | flex: 0 0 12px; | ||
| 39 | width: 12px; | ||
| 40 | height: 12px; | ||
| 41 | } | ||
| 42 | .netstats__icon--download { | ||
| 43 | fill: var(--magenta); | ||
| 44 | } | ||
| 45 | .netstats__icon--upload { | ||
| 46 | fill: var(--blue); | ||
| 47 | } | ||
| 48 | `; | ||
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 | `; | ||
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 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/sound.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/sound.js new file mode 100755 index 0000000..a45a862 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/sound.js | |||
| @@ -0,0 +1,83 @@ | |||
| 1 | // Styles for /lib/components/data/sound.jsx component | ||
| 2 | export const soundStyles = /* css */ ` | ||
| 3 | .sound { | ||
| 4 | font-variant-numeric: tabular-nums; | ||
| 5 | background-color: var(--blue); | ||
| 6 | transform: translateZ(0); | ||
| 7 | } | ||
| 8 | .simple-bar--widgets-background-color-as-foreground .sound { | ||
| 9 | color: var(--blue); | ||
| 10 | background-color: transparent; | ||
| 11 | } | ||
| 12 | .sound__slider-container { | ||
| 13 | --slider-size: 10px; | ||
| 14 | |||
| 15 | position: relative; | ||
| 16 | max-width: 0; | ||
| 17 | height: 100%; | ||
| 18 | display: flex; | ||
| 19 | align-items: center; | ||
| 20 | padding: 0; | ||
| 21 | clip-path: inset(0); | ||
| 22 | opacity: 0.7; | ||
| 23 | border-radius: var(--item-radius); | ||
| 24 | transition: max-width 320ms var(--transition-easing), padding 320ms var(--transition-easing), | ||
| 25 | opacity 320ms var(--transition-easing), | ||
| 26 | clip-path 0ms var(--transition-easing); | ||
| 27 | } | ||
| 28 | .sound:hover .sound__slider-container, | ||
| 29 | .sound--dragging .sound__slider-container { | ||
| 30 | max-width: 100px; | ||
| 31 | clip-path: inset(-100vh -100vw); | ||
| 32 | transition: max-width 320ms var(--transition-easing), padding 320ms var(--transition-easing), | ||
| 33 | opacity 320ms var(--transition-easing), | ||
| 34 | clip-path 320ms 320ms var(--transition-easing) | ||
| 35 | } | ||
| 36 | .sound__slider-container:hover { | ||
| 37 | opacity: 1; | ||
| 38 | } | ||
| 39 | .sound__slider { | ||
| 40 | width: 100px; | ||
| 41 | height: var(--slider-size); | ||
| 42 | appearance: none; | ||
| 43 | background-color: var(--background); | ||
| 44 | border-radius: var(--item-radius); | ||
| 45 | outline: none; | ||
| 46 | -webkit-appearance: none; | ||
| 47 | } | ||
| 48 | .simple-bar--widgets-background-color-as-foreground .sound__slider { | ||
| 49 | background-color: var(--foreground); | ||
| 50 | } | ||
| 51 | .sound__slider::-webkit-slider-thumb { | ||
| 52 | width: var(--slider-size); | ||
| 53 | height: var(--slider-size); | ||
| 54 | background-color: var(--foreground); | ||
| 55 | border-radius: var(--item-radius); | ||
| 56 | cursor: pointer; | ||
| 57 | -webkit-appearance: none; | ||
| 58 | transform-origin: center; | ||
| 59 | transition: transform 160ms var(--transition-easing); | ||
| 60 | } | ||
| 61 | .simple-bar--widgets-background-color-as-foreground .sound__slider::-webkit-slider-thumb { | ||
| 62 | background-color: var(--blue); | ||
| 63 | } | ||
| 64 | .sound__slider::-webkit-slider-thumb:hover { | ||
| 65 | transform: scale(1.5); | ||
| 66 | } | ||
| 67 | .sound__display { | ||
| 68 | display: flex; | ||
| 69 | align-items: center; | ||
| 70 | margin-right: 4px; | ||
| 71 | overflow: hidden; | ||
| 72 | } | ||
| 73 | .sound__display:active { | ||
| 74 | color: currentColor; | ||
| 75 | } | ||
| 76 | .sound__display > svg { | ||
| 77 | flex-shrink: 0; | ||
| 78 | width: 14px; | ||
| 79 | height: 14px; | ||
| 80 | margin-right: 3px; | ||
| 81 | fill: currentColor; | ||
| 82 | } | ||
| 83 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/specter.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/specter.js new file mode 100755 index 0000000..03d97a3 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/specter.js | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | // Styles for /lib/components/data/specter.jsx component | ||
| 2 | export const specterStyles = /* css */ ` | ||
| 3 | .specter { | ||
| 4 | position: absolute; | ||
| 5 | bottom: 0; | ||
| 6 | right: 30px; | ||
| 7 | display: flex; | ||
| 8 | align-items: flex-end; | ||
| 9 | z-index: 2; | ||
| 10 | pointer-events: none; | ||
| 11 | touch-action: none; | ||
| 12 | } | ||
| 13 | .simple-bar--animations-disabled .specter { | ||
| 14 | display: none; | ||
| 15 | } | ||
| 16 | .specter > span { | ||
| 17 | flex: 0 0 5px; | ||
| 18 | height: 15px; | ||
| 19 | max-height: 15px; | ||
| 20 | margin-left: 1px; | ||
| 21 | background-color: var(--main); | ||
| 22 | opacity: 0.1; | ||
| 23 | transform-origin: bottom; | ||
| 24 | } | ||
| 25 | .simple-bar--no-color-in-data .specter > span, | ||
| 26 | .simple-bar--widgets-background-color-as-foreground .specter > span { | ||
| 27 | background-color: currentColor; | ||
| 28 | } | ||
| 29 | .specter > span { | ||
| 30 | animation: specter-waving 640ms var(--transition-easing) infinite; | ||
| 31 | } | ||
| 32 | .simple-bar--animations-disabled .specter > span { | ||
| 33 | animation: none; | ||
| 34 | } | ||
| 35 | .specter > span:nth-of-type(1) { | ||
| 36 | animation-delay: -460ms; | ||
| 37 | } | ||
| 38 | .specter > span:nth-of-type(2) { | ||
| 39 | animation-delay: -320ms; | ||
| 40 | } | ||
| 41 | .specter > span:nth-of-type(3) { | ||
| 42 | animation-delay: -200ms; | ||
| 43 | } | ||
| 44 | .specter > span:nth-of-type(4) { | ||
| 45 | animation-delay: -240ms; | ||
| 46 | } | ||
| 47 | .specter > span:nth-of-type(5) { | ||
| 48 | animation-delay: -150ms; | ||
| 49 | } | ||
| 50 | @keyframes specter-waving { | ||
| 51 | 50% { | ||
| 52 | transform: scaleY(0.2); | ||
| 53 | } | ||
| 54 | } | ||
| 55 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/spotify.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/spotify.js new file mode 100755 index 0000000..0f9db7a --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/spotify.js | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | // Styles for /lib/components/data/spotify.jsx component | ||
| 2 | export const spotifyStyles = /* css */ ` | ||
| 3 | .spotify { | ||
| 4 | position: relative; | ||
| 5 | background-color: var(--green); | ||
| 6 | } | ||
| 7 | .simple-bar--widgets-background-color-as-foreground .spotify { | ||
| 8 | color: var(--green); | ||
| 9 | background-color: transparent; | ||
| 10 | } | ||
| 11 | |||
| 12 | .spotify--hidden-metadata > svg { | ||
| 13 | margin-right: 0; | ||
| 14 | } | ||
| 15 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/stock.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/stock.js new file mode 100755 index 0000000..2c1eacd --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/stock.js | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | // Styles for /lib/components/data/stock.jsx component | ||
| 2 | export const stockStyles = /* css */ ` | ||
| 3 | .stock { | ||
| 4 | color: var(--foreground); | ||
| 5 | background-color: var(--minor); | ||
| 6 | } | ||
| 7 | .simple-bar--widgets-background-color-as-foreground .stock { | ||
| 8 | background-color: transparent; | ||
| 9 | } | ||
| 10 | .stockUp { | ||
| 11 | color: var(--green); | ||
| 12 | } | ||
| 13 | .stockDown { | ||
| 14 | color: var(--red); | ||
| 15 | }`; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/time.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/time.js new file mode 100755 index 0000000..ac04f90 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/time.js | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | // Styles for /lib/components/data/time.jsx component | ||
| 2 | export const timeStyles = /* css */ ` | ||
| 3 | .time { | ||
| 4 | position: relative; | ||
| 5 | font-variant-numeric: tabular-nums; | ||
| 6 | background-color: var(--yellow); | ||
| 7 | overflow: hidden; | ||
| 8 | z-index: 0; | ||
| 9 | } | ||
| 10 | .simple-bar--widgets-background-color-as-foreground .time { | ||
| 11 | color: var(--yellow); | ||
| 12 | background-color: transparent; | ||
| 13 | } | ||
| 14 | .time__filler { | ||
| 15 | position: absolute; | ||
| 16 | top: 0; | ||
| 17 | left: 0; | ||
| 18 | width: 100%; | ||
| 19 | height: 100%; | ||
| 20 | transform: scaleX(0); | ||
| 21 | background-color: rgba(0, 0, 0, 0.15); | ||
| 22 | transform-origin: left; | ||
| 23 | pointer-events: none; | ||
| 24 | touch-action: none; | ||
| 25 | z-index: -1; | ||
| 26 | } | ||
| 27 | .simple-bar--widgets-background-color-as-foreground .time__filler { | ||
| 28 | background-color: transparent; | ||
| 29 | } | ||
| 30 | .time__icon { | ||
| 31 | position: relative; | ||
| 32 | flex: 0 0 15px; | ||
| 33 | width: 15px; | ||
| 34 | height: 15px; | ||
| 35 | margin-right: 7px; | ||
| 36 | border: 1px solid var(--background); | ||
| 37 | border-radius: 50%; | ||
| 38 | } | ||
| 39 | .simple-bar--widgets-background-color-as-foreground .time__icon { | ||
| 40 | border: 1px solid var(--yellow); | ||
| 41 | } | ||
| 42 | .simple-bar--no-color-in-data .time__icon { | ||
| 43 | border: 1px solid var(--foreground); | ||
| 44 | } | ||
| 45 | .time__hours, | ||
| 46 | .time__minutes { | ||
| 47 | position: absolute; | ||
| 48 | bottom: 50%; | ||
| 49 | width: 1px; | ||
| 50 | left: 50%; | ||
| 51 | margin-left: -1px; | ||
| 52 | background-color: var(--background); | ||
| 53 | transform-origin: bottom; | ||
| 54 | transition: transform 160ms var(--transition-easing); | ||
| 55 | will-change: transform; | ||
| 56 | } | ||
| 57 | .simple-bar--widgets-background-color-as-foreground .time__hours, | ||
| 58 | .simple-bar--widgets-background-color-as-foreground .time__minutes { | ||
| 59 | background-color: var(--yellow); | ||
| 60 | } | ||
| 61 | .simple-bar--no-color-in-data .time__hours, | ||
| 62 | .simple-bar--no-color-in-data .time__minutes { | ||
| 63 | background-color: var(--foreground); | ||
| 64 | } | ||
| 65 | .time__hours { | ||
| 66 | height: 28%; | ||
| 67 | } | ||
| 68 | .time__minutes { | ||
| 69 | height: 43%; | ||
| 70 | } | ||
| 71 | @media only screen and (-webkit-min-device-pixel-ratio: 2), | ||
| 72 | only screen and (min-device-pixel-ratio: 2), | ||
| 73 | only screen and (min-resolution: 192dpi), | ||
| 74 | only screen and (min-resolution: 2dppx) { | ||
| 75 | .time__icon { | ||
| 76 | flex: 0 0 16px; | ||
| 77 | width: 16px; | ||
| 78 | height: 16px; | ||
| 79 | } | ||
| 80 | .time__hours, | ||
| 81 | .time__minutes { | ||
| 82 | margin-left: 0; | ||
| 83 | } | ||
| 84 | } | ||
| 85 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/viscosity-vpn.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/viscosity-vpn.js new file mode 100755 index 0000000..b486b18 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/viscosity-vpn.js | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | // Styles for /lib/components/data/viscosity-vpn.jsx component | ||
| 2 | export const viscosityVPNStyles = /* css */ ` | ||
| 3 | .viscosity-vpn { | ||
| 4 | background-color: var(--red); | ||
| 5 | } | ||
| 6 | .simple-bar--widgets-background-color-as-foreground .viscosity-vpn { | ||
| 7 | color: var(--red); | ||
| 8 | background-color: transparent; | ||
| 9 | } | ||
| 10 | .viscosity-vpn--disconnected { | ||
| 11 | background-color: var(--minor); | ||
| 12 | } | ||
| 13 | .simple-bar--widgets-background-color-as-foreground .viscosity-vpn--disconnected { | ||
| 14 | color: var(--minor); | ||
| 15 | background-color: transparent; | ||
| 16 | } | ||
| 17 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/weather.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/weather.js new file mode 100755 index 0000000..0b48abe --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/weather.js | |||
| @@ -0,0 +1,163 @@ | |||
| 1 | // Styles for /lib/components/data/weather.jsx component | ||
| 2 | export const weatherStyles = /* css */ ` | ||
| 3 | .weather { | ||
| 4 | position: relative; | ||
| 5 | color: var(--foreground); | ||
| 6 | background-color: var(--minor); | ||
| 7 | overflow: hidden; | ||
| 8 | z-index: 0; | ||
| 9 | } | ||
| 10 | .simple-bar--widgets-background-color-as-foreground .weather { | ||
| 11 | background-color: transparent; | ||
| 12 | } | ||
| 13 | .weather__gradient { | ||
| 14 | position: absolute; | ||
| 15 | top: 0; | ||
| 16 | left: 0; | ||
| 17 | width: 100%; | ||
| 18 | height: 100%; | ||
| 19 | opacity: 0.65; | ||
| 20 | z-index: -1; | ||
| 21 | } | ||
| 22 | .weather--sunrise .weather__gradient { | ||
| 23 | background: linear-gradient(to top right, var(--main), var(--red), var(--yellow), var(--blue)); | ||
| 24 | } | ||
| 25 | .weather--sunset .weather__gradient { | ||
| 26 | background: linear-gradient(to bottom right, var(--blue), var(--yellow), var(--red), var(--magenta), var(--main)); | ||
| 27 | } | ||
| 28 | .simple-bar--no-color-in-data .weather__gradient { | ||
| 29 | display: none; | ||
| 30 | } | ||
| 31 | .sun-icon, | ||
| 32 | .moon-icon { | ||
| 33 | transform-origin: 50% 50%; | ||
| 34 | animation: sunny-and-moon-scale-and-rotate 2560ms ease infinite; | ||
| 35 | } | ||
| 36 | .simple-bar--animations-disabled .sun-icon, | ||
| 37 | .simple-bar--animations-disabled .moon-icon { | ||
| 38 | animation: none; | ||
| 39 | } | ||
| 40 | @keyframes sunny-and-moon-scale-and-rotate { | ||
| 41 | 50% { | ||
| 42 | transform: rotate(14deg); | ||
| 43 | } | ||
| 44 | } | ||
| 45 | .cloud-icon { | ||
| 46 | transform: translateY(-1%) rotate(5deg); | ||
| 47 | animation: cloud-levitating 2560ms ease-in-out infinite; | ||
| 48 | } | ||
| 49 | .simple-bar--animations-disabled .cloud-icon { | ||
| 50 | animation: none; | ||
| 51 | } | ||
| 52 | @keyframes cloud-levitating { | ||
| 53 | 50% { | ||
| 54 | transform: translateY(10%) rotate(-3deg); | ||
| 55 | } | ||
| 56 | } | ||
| 57 | .rain-icon > g > path { | ||
| 58 | animation: rain-translate 2560ms ease-in-out infinite; | ||
| 59 | } | ||
| 60 | .simple-bar--animations-disabled .rain-icon > g > path { | ||
| 61 | animation: none; | ||
| 62 | } | ||
| 63 | .rain-icon > g > path:nth-child(2) { | ||
| 64 | animation-delay: 320ms; | ||
| 65 | } | ||
| 66 | .rain-icon > g > path:nth-child(1) { | ||
| 67 | animation-delay: 640ms; | ||
| 68 | } | ||
| 69 | @keyframes rain-translate { | ||
| 70 | 0% { | ||
| 71 | opacity: 0; | ||
| 72 | transform: translateY(-10%); | ||
| 73 | } | ||
| 74 | 50% { | ||
| 75 | opacity: 0.5; | ||
| 76 | } | ||
| 77 | 100% { | ||
| 78 | opacity: 0; | ||
| 79 | transform: translateY(10%); | ||
| 80 | } | ||
| 81 | } | ||
| 82 | .snow-icon > g > path { | ||
| 83 | animation: snow-translate 2560ms ease-in-out infinite; | ||
| 84 | } | ||
| 85 | .simple-bar--animations-disabled .snow-icon > g > path { | ||
| 86 | animation: none; | ||
| 87 | } | ||
| 88 | .snow-icon > g > path:nth-child(5) { | ||
| 89 | animation-delay: 320ms; | ||
| 90 | } | ||
| 91 | .snow-icon > g > path:nth-child(4) { | ||
| 92 | animation-delay: 640ms; | ||
| 93 | } | ||
| 94 | .snow-icon > g > path:nth-child(3) { | ||
| 95 | animation-delay: 960ms; | ||
| 96 | } | ||
| 97 | .snow-icon > g > path:nth-child(2) { | ||
| 98 | animation-delay: 1280ms; | ||
| 99 | } | ||
| 100 | .snow-icon > g > path:nth-child(1) { | ||
| 101 | animation-delay: 1600ms; | ||
| 102 | } | ||
| 103 | @keyframes phasing-snow { | ||
| 104 | 50% { | ||
| 105 | opacity: 0.1; | ||
| 106 | } | ||
| 107 | } | ||
| 108 | .fog-icon > g > path { | ||
| 109 | animation: fog-phasing 2560ms ease-in-out infinite; | ||
| 110 | } | ||
| 111 | .simple-bar--animations-disabled .fog-icon > g > path { | ||
| 112 | animation: none; | ||
| 113 | } | ||
| 114 | .fog-icon > g > path:nth-child(8) { | ||
| 115 | animation-delay: -640ms; | ||
| 116 | } | ||
| 117 | .fog-icon > g > path:nth-child(7) { | ||
| 118 | animation-delay: -320ms; | ||
| 119 | } | ||
| 120 | .fog-icon > g > path:nth-child(5) { | ||
| 121 | animation-delay: 320ms; | ||
| 122 | } | ||
| 123 | .fog-icon > g > path:nth-child(4) { | ||
| 124 | animation-delay: 640ms; | ||
| 125 | } | ||
| 126 | .fog-icon > g > path:nth-child(3) { | ||
| 127 | animation-delay: 960ms; | ||
| 128 | } | ||
| 129 | .fog-icon > g > path:nth-child(2) { | ||
| 130 | animation-delay: 1280ms; | ||
| 131 | } | ||
| 132 | .fog-icon > g > path:nth-child(1) { | ||
| 133 | animation-delay: 1600ms; | ||
| 134 | } | ||
| 135 | @keyframes fog-phasing { | ||
| 136 | 50% { | ||
| 137 | opacity: 0.2; | ||
| 138 | } | ||
| 139 | } | ||
| 140 | .storm-icon > g > path { | ||
| 141 | animation: flashing-storm 2560ms ease-in-out infinite; | ||
| 142 | } | ||
| 143 | .simple-bar--animations-disabled .storm-icon > g > path { | ||
| 144 | animation: none; | ||
| 145 | } | ||
| 146 | .storm-icon > g > path:nth-child(2) { | ||
| 147 | animation-delay: 320ms; | ||
| 148 | } | ||
| 149 | .storm-icon > g > path:nth-child(1) { | ||
| 150 | animation-delay: 640ms; | ||
| 151 | } | ||
| 152 | @keyframes flashing-storm { | ||
| 153 | 15%, | ||
| 154 | 30%, | ||
| 155 | 34% { | ||
| 156 | opacity: 1; | ||
| 157 | } | ||
| 158 | 16%, | ||
| 159 | 31% { | ||
| 160 | opacity: 0; | ||
| 161 | } | ||
| 162 | } | ||
| 163 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/wifi.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/wifi.js new file mode 100755 index 0000000..8d2cc97 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/wifi.js | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | // Styles for /lib/components/data/wifi.jsx component | ||
| 2 | export const wifiStyles = /* css */ ` | ||
| 3 | .wifi { | ||
| 4 | background-color: var(--red); | ||
| 5 | } | ||
| 6 | .simple-bar--widgets-background-color-as-foreground .wifi { | ||
| 7 | color: var(--red); | ||
| 8 | background-color: transparent; | ||
| 9 | } | ||
| 10 | .wifi--hidden-name > svg { | ||
| 11 | margin-right: 0; | ||
| 12 | } | ||
| 13 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/youtube-music.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/youtube-music.js new file mode 100755 index 0000000..703be21 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/youtube-music.js | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | // Styles for /lib/components/data/youtube-music.jsx component | ||
| 2 | export const youtubeMusicStyles = /* css */ ` | ||
| 3 | .youtube-music { | ||
| 4 | position: relative; | ||
| 5 | background-color: var(--red); | ||
| 6 | } | ||
| 7 | .simple-bar--widgets-background-color-as-foreground .youtube-music { | ||
| 8 | color: var(--red); | ||
| 9 | background-color: transparent; | ||
| 10 | } | ||
| 11 | `; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/zoom.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/zoom.js new file mode 100755 index 0000000..55b125c --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/zoom.js | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | // Styles for /lib/components/data/zoom.jsx component | ||
| 2 | export const zoomStyles = /* css */ ` | ||
| 3 | .zoom { | ||
| 4 | position: relative; | ||
| 5 | display: flex; | ||
| 6 | align-items: center; | ||
| 7 | background-color: var(--minor); | ||
| 8 | } | ||
| 9 | .simple-bar--widgets-background-color-as-foreground .zoom { | ||
| 10 | color: var(--minor); | ||
| 11 | background-color: transparent; | ||
| 12 | } | ||
| 13 | .simple-bar--no-color-in-data .zoom { | ||
| 14 | background-color: var(--minor); | ||
| 15 | } | ||
| 16 | .zoom__icon { | ||
| 17 | width: 14px; | ||
| 18 | height: 14px; | ||
| 19 | fill: var(--red); | ||
| 20 | margin: 0 1px 0 4px; | ||
| 21 | transform: translateZ(0); | ||
| 22 | } | ||
| 23 | .zoom__icon--on { | ||
| 24 | fill: var(--green); | ||
| 25 | } | ||
| 26 | `; | ||
