diff options
| author | gammelalf <gammelalf@hopfen.space> | 2023-01-23 03:12:21 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-02-24 12:47:40 +0100 |
| commit | 7b9d908d2c1612843990dd39decbdbf40e51dbd7 (patch) | |
| tree | 540f2c6aaf25f9251e4666dc56f0afbf85b2944c /web/static/client.css | |
| parent | 95f95783383a58af5250bcb66155a04971385b75 (diff) | |
| download | WRMS-7b9d908d2c1612843990dd39decbdbf40e51dbd7.tar.gz WRMS-7b9d908d2c1612843990dd39decbdbf40e51dbd7.zip | |
Reimplemented current frontend in svelte
Diffstat (limited to 'web/static/client.css')
| -rw-r--r-- | web/static/client.css | 67 |
1 files changed, 26 insertions, 41 deletions
diff --git a/web/static/client.css b/web/static/client.css index c01b307..ba4c864 100644 --- a/web/static/client.css +++ b/web/static/client.css @@ -1,60 +1,45 @@ :root { - --background: #222222; - --primary: white; - --secondary: gray; - --link: yellow; + --background: #222222; + --primary: white; + --secondary: gray; + --link: yellow; } html { - width: 100%; - overflow: hidden; + width: 100%; + overflow: hidden; } body { - position: fixed; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - width: 100%; - height: 100%; - margin: 0; - background-color: var(--background); - color: var(--primary); + position: fixed; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; + width: 100%; + height: 100%; + margin: 0; + background-color: var(--background); + color: var(--primary); } .flex-column { - display: flex; - flex-direction: column; - align-items: center; + display: flex; + flex-direction: column; + align-items: center; } .flex-row { - display: flex; - flex-direction: row; - align-items: center; + display: flex; + flex-direction: row; + align-items: center; } .icon-button { - --icon-size: 4em; - border: none; - background-color: transparent; + --icon-size: 4em; + border: none; + background-color: transparent; } .icon-button > img { - width: var(--icon-size); - height: var(--icon-size); - filter: invert(100%); -} - -#play-pause.pause > img:nth-child(1) { - display: none; -} -#play-pause.play > img:nth-child(2) { - display: none; -} - -#searchResults > div > button { - --icon-size: 2em; -} -#searchResults > div > small { - color: var(--secondary); - margin-left: 0.5em; + width: var(--icon-size); + height: var(--icon-size); + filter: invert(100%); } |
