2
2
@import " bootstrap/mixins" ;
3
3
4
4
#site-navigation {
5
- background : #212125 ;
6
- border-bottom : 3px solid #5979d8 ;
5
+ background : $tertiary ;
6
+ border-bottom : 3px solid $primary ;
7
+ }
8
+
9
+ #site-navigation a {
10
+ text-decoration : none ;
11
+ }
12
+
13
+ #site-navigation ul {
14
+ list-style-type : none ;
15
+ padding : 0 ;
16
+ margin : 0 ;
17
+ }
18
+
19
+ #site-navigation ul li {
20
+ display : inline-block ;
21
+ }
22
+
23
+ #site-navigation ul li a {
24
+ display : inline-block ;
25
+ padding : 1rem 1rem ;
26
+ color : $light ;
7
27
}
8
28
9
29
#site-navigation .menu {
23
43
}
24
44
25
45
#site-navigation .current_page_ancestor .current-menu-item a {
26
- color : #fff ;
27
- }
28
-
29
- #site-navigation .navbar-toggler {
30
- border : none ;
46
+ color : $light ;
31
47
}
32
48
33
49
#site-navigation .menu-item-has-children > a :after {
43
59
44
60
#site-navigation .current_page_ancestor > a , #site-navigation .current_page_parent > a {
45
61
position : relative ;
46
- background : #4968c5 ;
62
+ background : darken ( $primary , 5 % ) ;
47
63
}
48
64
49
65
#site-navigation .current_page_ancestor > a :after , #site-navigation .current_page_parent > a :after {
50
66
transform : rotate (90deg );
51
67
}
52
68
53
- #site-navigation a {
54
- text-decoration : none ;
55
- }
56
-
57
- #site-navigation ul {
58
- list-style-type : none ;
59
- padding : 0 ;
60
- margin : 0 ;
61
- }
62
-
63
- #site-navigation ul li {
64
- display : inline-block ;
65
- }
66
-
67
- #site-navigation ul li a {
68
- display : inline-block ;
69
- padding : 1rem 1rem ;
70
- color : #dcdcdc ;
71
- }
72
-
73
69
#site-navigation .sub-menu-wrapper {
74
70
position : absolute ;
75
- background : #5979d8 ;
71
+ background : $primary ;
76
72
left : 0 ;
77
73
width : 100% ;
78
74
}
84
80
#site-navigation .sub-menu-wrapper .sub-menu a {
85
81
padding : .5rem .75rem ;
86
82
display : block ;
83
+ @extend .rounded ;
87
84
}
88
85
89
86
#site-navigation .sub-menu-wrapper .sub-menu a :hover {
90
- background : rgba (0 , 0 , 0 , 0.05 );
87
+ background : rgba (0 , 0 , 0 , 0.1 );
91
88
}
92
89
93
90
@include media-breakpoint-down (lg) {
115
112
116
113
@include media-breakpoint-up (lg) {
117
114
#site-navigation .menu-item-has-children :not (.current-menu-ancestor ):hover {
118
- background : #fff ;
115
+ background : $light ;
119
116
}
120
117
121
118
#site-navigation .menu-item-has-children :not (.current-menu-ancestor ):hover a {
122
- color : #202831 ;
119
+ color : $body-color ;
123
120
}
124
121
125
122
#site-navigation .menu-item-has-children :not (.current-menu-ancestor ):hover a :after {
132
129
z-index : 2 ;
133
130
left : auto ;
134
131
width : auto ;
135
- background : #fff ;
132
+ background : $light ;
136
133
box-shadow : 0 3px 3px rgba (0 , 0 , 0 , 0.4 );
137
134
}
138
135
150
147
}
151
148
152
149
#site-navigation .menu-item-has-children :not (.current-menu-ancestor ):hover .sub-menu-wrapper .sub-menu li a {
153
- color : #202831 ;
154
150
padding : 1rem 1.5rem ;
155
151
}
156
152
}
0 commit comments