_sidenav.scss
2.01 KB
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
// People icon
/* When you mouse over the navigation links, change their color */
.sidenav a:hover,
.offcanvas a:focus {
color : #f1f1f1;
}
/* Position and style the close button (top right corner) */
.sidenav .closebtn {
position : absolute;
top : 25px;
right : 5px;
font-size : 26px;
margin-left : 0;
}
.people {
margin-right: -3px;
background-color : #D2E5F6;
width : 66px;
height : 70px;
border-radius : 5px 0 0 5px;
float : right;
margin-top : -5px;
transition : 0.6s;
cursor : pointer;
/* 0.5 second transition effect to slide in the sidenav */
-webkit-box-shadow : -3px 3px 5px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow : -3px 3px 5px 0px rgba(0, 0, 0, 0.5);
box-shadow : -3px 3px 5px 0px rgba(0, 0, 0, 0.5);
img {
width : 66px;
height : 70px;
border-radius : 5px 0 0 5px;
}
@media (min-width : $breakpoint-mobile) {
width : 86px;
height : 90px;
img {
width : 86px;
height : 90px;
}
}
}
.peopleOpen {
margin-right : 250px;
}
.mySidenavOpen {
width : 250px !important;
}
#people_span {
font-family : "HelveticaNeue-Light", Helvetica, Arial, sans-serif;
font-weight : lighter;
font-size : 14px;
float : right;
right : 0;
z-index : 103;
position : fixed;
transition : 0.5s;
text-transform : uppercase;
max-width: 800px;
margin-top : -20px;
@media (min-width : $breakpoint-header-two-line) {
margin-top : -40px;
}
.people_label {
.material-icons {
top : 7px;
position : relative;
left : -6px;
}
}
}
.sidenav {
padding-top : 15px;
top : 15px
}
.sidenav a {
font-size : 18px;
float : left;
}