-
Notifications
You must be signed in to change notification settings - Fork 1
/
_sideMenu.scss
99 lines (87 loc) · 2.11 KB
/
_sideMenu.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
#navbar{
.nav{
position: fixed;
background-color: var(--white);
padding: 10px 5px;
overflow: scroll;
@include transition(.5s);
z-index:60;
@include mq('phone'){
bottom: -16px;
width: 100vw;
span{
display:none;
}
}
@media only screen and (min-width: 768px){
top: 76px;
width: 65px;
height: 100vh;
}
/*Show menu*/
&.show{
width: 61px + 112px;
}
&__navbar{
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
@include mq('phone'){
flex-direction: row;
}
}
&__item{
width: 100%;
}
&__link{
display: flex;
align-items: center;
padding: 14px 14px;
border-radius: 5px;
color: var(--icon-gray);
@include transition(.3s);
cursor:pointer;
text-decoration: none;
@include mq('phone'){
justify-content: center;
}
&:hover{
background-color: var(--light-purple);
color: var(--white);
}
&.active{
background-color: var(--purple);
color: var(--white);
}
.MuiSvgIcon-root{
font-size: 1.5rem;
margin-right: 1.2rem;
@include mq('phone'){
margin-right: 0rem;
}
}
}
&__text{
font-weight: $semi-bold;
}
}
}
//This style will only apply when sideMenu.scss file is in use
.expander{
padding: 75px 0 0 173px !important;
@include transition(.5s !important);
}
.hamburger{
@include mq('phone'){
display:none;
}
}
#dashboard{
@include mq('phone'){
padding:100px 15px 70px;
}
}