-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_navbar.scss
78 lines (78 loc) · 1.98 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
// Styling for the navbar
#mainNav {
border-color: fade-out($gray-darker, .95);
background-color: white;
@include transition-all;
@include heading-font;
.navbar-brand {
color: $theme-primary;
@include heading-font;
&:hover,
&:focus {
color: darken($theme-primary, 10%);
}
}
.navbar-toggler {
font-size: 12px;
padding: 8px 10px;
color: $gray-darker;
}
.navbar-nav {
> li {
> a {
font-size: 11px;
@include alt-font;
&.active {
color: $theme-primary !important;
background-color: transparent;
&:hover {
background-color: transparent;
}
}
}
> a,
> a:focus {
color: $gray-darker;
&:hover {
color: $theme-primary;
}
}
}
}
@media (min-width: 992px) {
border-color: transparent;
background-color: transparent;
.navbar-brand {
color: fade(white, 70%);
&:hover,
&:focus {
color: white;
}
}
.navbar-nav > li > a,
.navbar-nav > li > a:focus {
color: fade-out(white, .3);
&:hover {
color: white;
}
}
&.navbar-shrink {
border-color: fade-out($gray-darker, .9);
background-color: white;
.navbar-brand {
color: $gray-darker;
&:hover,
&:focus {
color: $theme-primary;
}
}
.navbar-nav > li > a,
.navbar-nav > li > a:focus {
color: $gray-darker;
&:hover {
color: $theme-primary;
}
}
}
}
}