forked from gurayyarar/AdminBSBMaterialDesign
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_navbar.scss
133 lines (114 loc) · 2.33 KB
/
_navbar.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
.navbar {
font-family: $navbar-font-family;
@include border-radius(0);
@include box-shadow(0 1px 5px rgba(0,0,0,.3));
border: none;
position: fixed;
top: 0;
left: 0;
z-index: 12;
width: 100%;
.navbar-brand {
@include three-dots-overflow();
}
.navbar-custom-right-menu {
float: right;
}
.navbar-toggle {
text-decoration: none;
color: #fff;
width: 20px;
height: 20px;
margin-top: -4px;
margin-right: 17px;
&:before {
content: '\E8D5';
font-family: 'Material Icons';
font-size: 26px;
}
}
.navbar-collapse {
&.in {
overflow: visible;
}
}
}
.ls-closed {
.sidebar {
margin-left: -300px;
}
section.content {
margin-left: 15px;
}
.bars {
&:after,
&:before {
font-family: 'Material Icons';
font-size: 24px;
position: absolute;
top: 18px;
left: 20px;
margin-right: 10px;
@include transform(scale(0));
@include transition(all .3s);
}
&:before {
content: '\E5D2';
@include transform(scale(1));
}
&:after {
content: '\E5C4';
@include transform(scale(0));
}
}
.navbar-brand {
margin-left: 30px;
}
}
.overlay-open {
.bars {
&:before {
@include transform(scale(0));
}
&:after {
@include transform(scale(1));
}
}
}
.navbar-header {
padding: 10px 7px;
.bars {
float: left;
text-decoration: none;
}
}
.navbar-nav {
> li {
> a {
padding: 7px 7px 2px 7px;
margin-top: 17px;
margin-left: 5px;
}
}
.dropdown-menu {
margin-top: -40px !important;
}
}
.label-count {
position: absolute;
top: 2px;
right: 6px;
font-size: 10px;
line-height: 15px;
background-color: #000;
padding: 0 4px;
@include border-radius(3px);
}
@each $key, $val in $colors {
.col-#{$key} {
.navbar {
@include navbar-link-color(#fff, #000, .95);
// @include navbar-link-color(rgba(0,0,0,0.85), #000, .95);
}
}
}