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/specter.js | |
| parent | 1a71e94eb8ca1585201263cf654611ef6849d359 (diff) | |
move ubersicht modules in tree
Diffstat (limited to 'users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/specter.js')
| -rwxr-xr-x | users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/specter.js | 55 |
1 files changed, 55 insertions, 0 deletions
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 | `; | ||
