Newer
Older
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
@import '../../../css/vars.scss';
.sidebar {
position: relative;
height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
&-header {
background: #F1F4F4;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 600;
padding-top: 10px;
}
.nav {
flex: 1;
overflow-y: scroll;
margin-top: 0px;
overflow-x: hidden;
margin-bottom: 0px;
padding: 0px;
}
}
.profile-header {
background: $primary;
height: 95px;
display: flex;
justify-content: center;
position: relative;
}
.avatar {
position: absolute;
width: 65px;
height: 65px;
border-radius: 40px;
bottom: -20px;
border: solid 3px #F99830;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.user {
color: white;
padding-top: 10px;
font-weight: bold;
font-size: 20px;
right: 0px;
white-space: pre;
overflow: hidden;
text-overflow: ellipsis;
padding-right: 10px;
}
.logout-button {
font-size: 24px;
color: white;
position: absolute;
left: 10px;
}
.home-button {
font-size: 24px;
color: white;
position: absolute;
left: 50px;
}
.closePanel {
color: white;
position: absolute;
right: 10px;
font-size: 24px;
}
.admin-list {
padding-top: 0;
flex: 1;
overflow-y: auto;
overflow-x: hidden;
color: #666;
}
.item-active {
border-left: solid 5px $primary;
background: rgba($primary, 0.14);
color: $primary;
font-weight: bold;
}