-
Notifications
You must be signed in to change notification settings - Fork 96
/
sidebar.scss
114 lines (95 loc) · 1.68 KB
/
sidebar.scss
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
@import '../../resources/variables';
.hideOnMobile {
display: none;
}
@media only screen and (width >= 768px) {
.hideOnMobile {
display: block;
}
}
.hideOnDesktop {
display: block;
}
@media only screen and (width >= 768px) {
.hideOnDesktop {
display: none;
}
}
.sidebar-logo {
color: black;
font-weight: 400;
line-height: 0.9em;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 0 10px;
span {
margin-right: 25%;
}
svg {
padding: 0 8px;
.st0 {
fill: none;
stroke: #000;
stroke-width: 23;
stroke-miterlimit: 10;
}
path {
stroke-dasharray: 1720;
stroke-dashoffset: 1720;
animation: dash 0.8s linear forwards;
}
circle {
stroke-dasharray: 420;
stroke-dashoffset: 420;
animation: dash 1s linear forwards;
animation-delay: 0.5s;
}
}
@keyframes dash {
to {
stroke-dashoffset: 0;
}
}
}
.sidebar-logo.dark {
color: white;
svg {
padding: 0 8px;
.st0 {
fill: none;
stroke: white;
stroke-width: 23;
stroke-miterlimit: 10;
}
path {
stroke-dasharray: 1720;
stroke-dashoffset: 1720;
}
circle {
fill: white;
stroke-dasharray: 420;
stroke-dashoffset: 420;
}
}
}
.sidebar-logo-collapsed {
position: relative;
margin: 20px auto;
text-align: center;
font-size: 22px;
border-top: 6px solid gray;
border-bottom: 8px solid gray;
padding-bottom: 0;
line-height: 25px;
}
.sidebar-section {
display: flex;
flex-direction: column;
}
.sidebar-divider {
height: 1px;
background-color: #ccc;
margin: 8px 0;
}