2020-04-14 20:05:22 +00:00
|
|
|
#sidebar {
|
2020-04-24 19:54:12 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-04-14 20:05:22 +00:00
|
|
|
width: 48px;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
2020-04-24 19:54:12 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background-color: var(--panels-background);
|
2020-04-14 20:05:22 +00:00
|
|
|
color: var(--panels-text);
|
2020-05-15 19:32:50 +00:00
|
|
|
transition: width 125ms ease-in-out 75ms;
|
2020-04-24 20:42:50 +00:00
|
|
|
z-index: 999;
|
2020-04-14 20:05:22 +00:00
|
|
|
}
|
|
|
|
|
2020-04-24 19:54:12 +00:00
|
|
|
#sidebar:hover {
|
|
|
|
width: 200px;
|
2020-04-14 20:05:22 +00:00
|
|
|
}
|
|
|
|
|
2020-05-13 20:17:43 +00:00
|
|
|
#sidebar .main_tablinks:not(#theme_selector) {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar .main_tablinks:not(#theme_selector):hover {
|
|
|
|
background-color: #3e3e3e;
|
|
|
|
}
|
|
|
|
|
2020-04-24 19:54:12 +00:00
|
|
|
#sidebar .main_tablinks_text {
|
|
|
|
display: none;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 20px;
|
|
|
|
opacity: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
transition: all 50ms ease-in-out 200ms;
|
2020-04-16 14:02:36 +00:00
|
|
|
}
|
|
|
|
|
2020-04-24 19:54:12 +00:00
|
|
|
#sidebar:hover .main_tablinks_text {
|
|
|
|
display: inline-block;
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar .side_icon {
|
|
|
|
font-size: 30px;
|
|
|
|
padding: 9px;
|
|
|
|
}
|
|
|
|
|
2020-05-14 16:57:43 +00:00
|
|
|
#sidebar .side_icon::selection {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.side_icon--theme {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2020-04-24 19:54:12 +00:00
|
|
|
#sidebar .main_tablinks.active .side_icon {
|
|
|
|
color: var(--accent-color);
|
|
|
|
}
|
2020-05-12 19:16:38 +00:00
|
|
|
|
|
|
|
/* Theme selector */
|
2020-05-14 16:57:43 +00:00
|
|
|
|
2020-05-12 19:16:38 +00:00
|
|
|
#theme_selector {
|
2020-05-13 20:17:43 +00:00
|
|
|
margin-top: 20px;
|
2020-05-12 19:16:38 +00:00
|
|
|
display: flex;
|
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#theme_togglers {
|
|
|
|
display: flex;
|
2020-05-13 20:17:43 +00:00
|
|
|
opacity: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
width: 100%;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
align-items: center;
|
|
|
|
transition: all 50ms ease-in-out 200ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar:hover #theme_togglers {
|
|
|
|
position: relative;
|
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
2020-05-12 19:16:38 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 16:57:43 +00:00
|
|
|
.theme_toggler {
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
2020-05-12 19:16:38 +00:00
|
|
|
border-radius: 1000px;
|
2020-05-14 16:57:43 +00:00
|
|
|
border: 1px solid var(--separator);
|
2020-05-13 20:17:43 +00:00
|
|
|
cursor: pointer;
|
|
|
|
transition: border 200ms ease-in-out;
|
|
|
|
}
|
|
|
|
|
2020-05-14 16:57:43 +00:00
|
|
|
.theme_toggler--active {
|
2020-05-13 20:17:43 +00:00
|
|
|
border-width: 3px;
|
2020-05-12 19:16:38 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 16:57:43 +00:00
|
|
|
.theme_toggler[data-theme-variant='light'] {
|
2020-05-12 19:16:38 +00:00
|
|
|
background: white;
|
|
|
|
}
|
|
|
|
|
2020-05-14 16:57:43 +00:00
|
|
|
.theme_toggler[data-theme-variant='dark'] {
|
2020-05-12 19:16:38 +00:00
|
|
|
background: #141414;
|
|
|
|
}
|
|
|
|
|
2020-05-14 16:57:43 +00:00
|
|
|
.theme_toggler[data-theme-variant='purple'] {
|
|
|
|
background: #460ead;
|
2020-05-12 19:16:38 +00:00
|
|
|
}
|