1
1
$navigation-padding : 1em ;
2
- $navigation-background : transparentize ($wizard-orange , 0.2 );
3
2
$navigation-color : transparentize (white , 0.2 );
4
3
$navigation-background : white ;
5
4
$navigation-color : $wizard-gray ;
@@ -9,6 +8,13 @@ $navigation-active-link-color: $wizard-gray;
9
8
$navigation-submenu-padding : 1em ;
10
9
$horizontal-bar-mode : $large-screen ;
11
10
11
+ .jumptarget :before {
12
+ content : " " ;
13
+ display : block ;
14
+ height : 60px ;
15
+ margin : -60px 0 0 ;
16
+ }
17
+
12
18
.navigation {
13
19
position : fixed ;
14
20
top : 0 ;
@@ -17,18 +23,7 @@ $horizontal-bar-mode: $large-screen;
17
23
height : $navigation-height ;
18
24
width : 100% ;
19
25
z-index : 2 ;
20
-
21
- .menu-wrapper {
22
- // @include outer-container;
23
- @include clearfix ;
24
- }
25
-
26
- .logo {
27
- float : left ;
28
- max-height : $navigation-height ;
29
- padding-left : $navigation-padding ;
30
- padding-right : 2em ;
31
- }
26
+ @include transition (all .3s ease-in-out );
32
27
33
28
.navigation-menu-button {
34
29
color : $wizard-blue ;
@@ -45,23 +40,28 @@ $horizontal-bar-mode: $large-screen;
45
40
@include media ($horizontal-bar-mode ) {
46
41
display : none ;
47
42
}
43
+ }
48
44
49
- & :hover {
50
- color : $navigation-color-hover ;
45
+ .left-nav {
46
+ display : inline-block ;
47
+ float : left ;
48
+ padding : 10px 0 0 16px ;
49
+
50
+ h1 {
51
+ color : $wizard-blue ;
52
+ font-size : 26px ;
51
53
}
52
54
}
53
55
54
- .nav {
56
+ .right-nav {
57
+ display : block ;
55
58
float : none ;
56
59
@include media ($horizontal-bar-mode ) {
57
60
float : right ;
58
61
}
59
62
}
60
63
61
64
.navigation-menu {
62
- $dark-orange : shade ($wizard-orange , 10% );
63
- background : transparentize ($dark-orange , 0.11 );
64
-
65
65
width : 100% ;
66
66
height : 0 ;
67
67
overflow : hidden ;
@@ -87,36 +87,84 @@ $horizontal-bar-mode: $large-screen;
87
87
text-align : center ;
88
88
width : 100% ;
89
89
90
- & :hover {
91
- background : shade ($navigation-background , 20% );
92
- a {
93
- color : $navigation-color-hover ;
90
+ a {
91
+ color : $navigation-color-hover ;
92
+ & :hover {
93
+ background-color : shade ($navigation-background , 20% );
94
+ @include media ($horizontal-bar-mode ) {
95
+ background-color : transparent ;
96
+ }
94
97
}
95
98
}
96
99
97
100
a {
98
101
font-weight : 600 ;
99
102
text-transform : uppercase ;
100
- display : inline- block ;
103
+ display : block ;
101
104
color : $wizard-blue ;
102
105
text-decoration : none ;
103
106
}
104
107
105
108
@include media ($horizontal-bar-mode ) {
106
109
background : transparent ;
107
- & :hover {
108
- background : transparent ;
109
- }
110
110
display : inline ;
111
111
line-height : $navigation-height ;
112
112
width : auto ;
113
113
a {
114
+ display : inline ;
114
115
padding-right : 1em ;
115
116
}
116
117
}
117
118
}
119
+ }
120
+
121
+ .active-nav-item a {
122
+ padding-bottom : 3px ;
123
+ }
124
+
125
+ .dark-nav {
126
+ background-color : black ;
127
+ @include transition (all .3s ease-in-out );
128
+
129
+ a {
130
+ color : white ;
131
+ & :hover {
132
+ color : $wizard-orange ;
133
+ }
134
+ }
135
+
136
+
137
+ .navigation-menu-button {
138
+ color : white ;
139
+
140
+ & :hover {
141
+ color : $navigation-color-hover ;
142
+ }
143
+ }
144
+
145
+ ul li {
146
+ background : black ;
147
+
148
+ & :hover {
149
+ background : shade (white , 20% );
150
+ a {
151
+ color : $wizard-orange ;
152
+ }
153
+ }
154
+
155
+ a {
156
+ color : white ;
157
+ }
118
158
119
- .active-nav-item a {
120
- padding-bottom : 3px ;
159
+ @include media ($horizontal-bar-mode ) {
160
+ background : none ;
161
+ display : inline ;
162
+ }
163
+ @include media ($horizontal-bar-mode ) {
164
+ background : transparent ;
165
+ & :hover {
166
+ background : transparent ;
167
+ }
168
+ }
121
169
}
122
170
}
0 commit comments