client: improve quick access

- default to opened sidebar
This commit is contained in:
geoffrey45
2021-12-25 20:36:28 +03:00
parent ff0381122e
commit dc4b87a942
8 changed files with 91 additions and 53 deletions
+3 -2
View File
@@ -98,13 +98,14 @@ export default {
background-color: transparent;
height: 100%;
padding: 10px;
transition: all 0.3s ease-in-out;
// transition: all .3s ease-in-out;
// transition-delay: 1s;
}
.collapsed .nav-button {
font-size: smaller;
margin-top: 5px;
transition: all 0.2s ease-in-out;
// transition: all 2s ease-in-out;
}
.side-nav-container .nav-button:hover {
+21 -4
View File
@@ -1,6 +1,6 @@
<template>
<div
class="side-nav-container"
class="side-nav-container rounded"
:class="{ hidden: collapsed }"
id="pinned-container"
>
@@ -33,7 +33,7 @@
<router-link :to="{ name: 'Home' }">
<div class="nav-button" id="playlists-button">
<div class="nav-icon image" id="playlists-icon"></div>
<span id="text">Juice WRLD Discography</span>
<span id="text" class="ellip">Juice WRLD Discography</span>
</div>
</router-link>
<hr />
@@ -60,13 +60,30 @@ export default {
};
</script>
<style>
<style lang="scss">
#pinned-container {
background-color: rgb(0, 0, 0);
border-top: none;
margin: $small;
padding: $small;
#text {
font-size: 0.9rem;
}
.nav-icon {
margin: 0 $small 0 0;
}
}
#pinned-container .nav-button {
border-radius: $small;
color: rgba(255, 255, 255, 0.671);
// margin-top: $small;
}
#pinned-container .nav-button:hover {
background-color: rgba(5, 80, 150, 0.322);
background-color: rgb(5, 80, 150);
}
#pinned-container .nav-button .nav-icon {