diff options
| author | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2025-08-25 09:36:51 +0200 |
|---|---|---|
| committer | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2025-08-25 09:36:51 +0200 |
| commit | 246eabe4a46d2585d653738e46089ed2bfada8bd (patch) | |
| tree | c86dd05119b0aa086a5d5401dd6a48d90a6f3bbd /frontend/src/components/Sidebar/Sidebar.module.css | |
| parent | Reorganised Maplist and Sidebar (diff) | |
| download | lphub-246eabe4a46d2585d653738e46089ed2bfada8bd.tar.gz lphub-246eabe4a46d2585d653738e46089ed2bfada8bd.tar.bz2 lphub-246eabe4a46d2585d653738e46089ed2bfada8bd.zip | |
Restructured sidebar and implemented links var
Diffstat (limited to 'frontend/src/components/Sidebar/Sidebar.module.css')
| -rw-r--r-- | frontend/src/components/Sidebar/Sidebar.module.css | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/frontend/src/components/Sidebar/Sidebar.module.css b/frontend/src/components/Sidebar/Sidebar.module.css index 8079676..9baf415 100644 --- a/frontend/src/components/Sidebar/Sidebar.module.css +++ b/frontend/src/components/Sidebar/Sidebar.module.css | |||
| @@ -6,18 +6,30 @@ | |||
| 6 | border-radius: 2000px; | 6 | border-radius: 2000px; |
| 7 | transition: all 0.2s ease; | 7 | transition: all 0.2s ease; |
| 8 | padding: 4px 0px; | 8 | padding: 4px 0px; |
| 9 | height: 48px; | ||
| 9 | } | 10 | } |
| 10 | 11 | ||
| 11 | .button:hover { | 12 | .button:hover, |
| 13 | .button-selected, | ||
| 14 | .button-selected:hover { | ||
| 12 | background-color: var(--color-panel); | 15 | background-color: var(--color-panel); |
| 13 | } | 16 | } |
| 14 | 17 | ||
| 15 | .button>img { | 18 | .button>img { |
| 16 | padding: 0px 8px; | ||
| 17 | height: 28px; | 19 | height: 28px; |
| 20 | width: 28px; | ||
| 21 | transform: translateX(10px); | ||
| 18 | } | 22 | } |
| 19 | 23 | ||
| 20 | button>span { | 24 | button>span { |
| 21 | font-size: 22px; | 25 | font-size: 22px; |
| 22 | font-family: var(--font-barlow-semicondensed-regular); | 26 | font-family: var(--font-barlow-semicondensed-regular); |
| 27 | white-space: nowrap; | ||
| 28 | margin-left: 16px; | ||
| 29 | } | ||
| 30 | |||
| 31 | .button-hidden>span { | ||
| 32 | cursor: none; | ||
| 33 | pointer-events: none; | ||
| 34 | opacity: 0; | ||
| 23 | } \ No newline at end of file | 35 | } \ No newline at end of file |