diff options
| author | Wolfboy248 <121288977+Wolfboy248@users.noreply.github.com> | 2024-07-10 21:51:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-10 22:51:25 +0300 |
| commit | cfac59282da55f4791d6352f15887a15e9ff6ec5 (patch) | |
| tree | bf8cea62f60f9239073a9cf82648d69d1e6b6a1c /frontend/src/components/sidebar.css | |
| parent | feat: return portal counts for each cat in chapter select (#175) (diff) | |
| download | lphub-cfac59282da55f4791d6352f15887a15e9ff6ec5.tar.gz lphub-cfac59282da55f4791d6352f15887a15e9ff6ec5.tar.bz2 lphub-cfac59282da55f4791d6352f15887a15e9ff6ec5.zip | |
Games page, maplist page (#153)
Co-authored-by: Wolfboy248 <105884620+Wolfboy248@users.noreply.github.com>
Diffstat (limited to 'frontend/src/components/sidebar.css')
| -rw-r--r-- | frontend/src/components/sidebar.css | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/frontend/src/components/sidebar.css b/frontend/src/components/sidebar.css index 29978db..34ede80 100644 --- a/frontend/src/components/sidebar.css +++ b/frontend/src/components/sidebar.css | |||
| @@ -15,6 +15,8 @@ | |||
| 15 | 15 | ||
| 16 | height: 80px; | 16 | height: 80px; |
| 17 | padding: 20px 0 20px 30px; | 17 | padding: 20px 0 20px 30px; |
| 18 | cursor: pointer; | ||
| 19 | user-select: none; | ||
| 18 | } | 20 | } |
| 19 | 21 | ||
| 20 | #logo-text{ | 22 | #logo-text{ |
| @@ -75,11 +77,24 @@ span>b{ | |||
| 75 | width: 310px; | 77 | width: 310px; |
| 76 | height: 40px; | 78 | height: 40px; |
| 77 | border-radius: 20px; | 79 | border-radius: 20px; |
| 78 | padding: 5px 0 0 6px; | 80 | padding: 0.4em 0 0 11px; |
| 79 | 81 | ||
| 80 | transition: | 82 | transition: |
| 81 | width .3s, | 83 | width .3s, |
| 82 | background-color .3s; | 84 | background-color .15s, |
| 85 | padding .3s; | ||
| 86 | } | ||
| 87 | |||
| 88 | .sidebar-button-selected { | ||
| 89 | background-color: #202232; | ||
| 90 | } | ||
| 91 | |||
| 92 | .sidebar-button-deselected { | ||
| 93 | background-color: #20223200; | ||
| 94 | } | ||
| 95 | |||
| 96 | .sidebar-button-deselected:hover { | ||
| 97 | background-color: #202232aa; | ||
| 83 | } | 98 | } |
| 84 | 99 | ||
| 85 | button>img { | 100 | button>img { |
| @@ -125,6 +140,7 @@ a{text-decoration: none;height: 40px;} | |||
| 125 | margin: 8px 0 8px 0; | 140 | margin: 8px 0 8px 0; |
| 126 | overflow-y: auto; | 141 | overflow-y: auto; |
| 127 | max-height: calc(100vh - 172px); | 142 | max-height: calc(100vh - 172px); |
| 143 | scrollbar-width: thin; | ||
| 128 | } | 144 | } |
| 129 | #search-data::-webkit-scrollbar{display: none;} | 145 | #search-data::-webkit-scrollbar{display: none;} |
| 130 | .search-map{ | 146 | .search-map{ |
| @@ -140,6 +156,7 @@ a{text-decoration: none;height: 40px;} | |||
| 140 | transition: background-color .1s; | 156 | transition: background-color .1s; |
| 141 | background-color: #2b2e46; | 157 | background-color: #2b2e46; |
| 142 | grid-template-rows: 20% 20% 60%; | 158 | grid-template-rows: 20% 20% 60%; |
| 159 | width: calc(100% - 15px); | ||
| 143 | } | 160 | } |
| 144 | .search-map>span{ | 161 | .search-map>span{ |
| 145 | color: #888; | 162 | color: #888; |