blob: 9742f0e51ab1241b920e195767d950a50b8924f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
#sidebar {
background-color: #2b2e46;
width: 320px; height: 100vh;
min-height: 840px;
}
#sidebar>div:nth-child(1){height: 140px;} /* logo */
button#side-grid {
border: 0;
background-color: #202232;
border-radius: 20px;
font-size: 18px;
color: #cdcfdf;
width: 300px;
transition:
background-color .2s,
border-radius .5s,
width .3s;
}
span {
font-family: D-DIN;
opacity: 1;
transition: opacity .1s;
}
button#side-grid:hover {
background-color: #141520 !important;
border-radius: 10px !important;
cursor: pointer;
}
button>img{
height: 20px;
float: left;
padding-left: 4px;
filter: invert(0.8);
scale: 1.1;
}
#side-menu { /* just the menu button */
border: 0;
position: absolute;
background-color: transparent;
left: 6px; top: 6px;
width: 40px; height: 40px;
cursor: pointer;
}
#sidebar-list { /* buttons */
z-index: 1;
min-height: 700px;
width: 308px; height: calc(100vh - 140px); /* calc - logo */
position: absolute;
background-color: #2b2e46;
display: grid;
padding: 0 6px;
row-gap: 8px;
grid-template-rows:
60px 40px 40px
30px 40px 40px 40px
30px 40px 40px;
transition: width .3s;
}
#sidebar-content {
position: absolute;
background-color: #202232;
left: 52px;
min-height: 700px;
width: 268px; height: calc(100vh - 140px); /* calc - logo */
}
|