File tree 2 files changed +17
-12
lines changed
2 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class DefaultMenuBuilder extends AdmingeneratorMenuBuilder
12
12
public function navbarMenu (FactoryInterface $ factory , array $ options )
13
13
{
14
14
$ menu = $ factory ->createItem ('root ' );
15
- $ menu ->setChildrenAttributes (array ('id ' => 'main_navigation ' , 'class ' => 'nav ' ));
15
+ $ menu ->setChildrenAttributes (array ('id ' => 'main_navigation ' , 'class ' => 'nav navbar-nav ' ));
16
16
17
17
$ overwrite = $ this ->addDropdown ($ menu , 'Replace this menu ' );
18
18
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ input.btn.btn-reset:hover {
176
176
cursor : text;
177
177
}
178
178
179
- .list_scope_group .btn [class ^= "glyphicon -" ] {
179
+ .list_scope_group .btn [class ^= "fa -" ] {
180
180
font-size : 12px ;
181
181
}
182
182
@@ -186,21 +186,26 @@ input.btn.btn-reset:hover {
186
186
font-size : 14px ;
187
187
}
188
188
189
+ /* Fix active link */
190
+ li .active > a {
191
+ color : # fff ;
192
+ }
193
+
189
194
/* Fix cursor */
190
- a : hover > [class ^= "glyphicon -" ]: before ,
191
- a : hover > [class *= " glyphicon -" ]: before ,
192
- button : hover > [class ^= "glyphicon -" ]: before ,
193
- button : hover > [class *= " glyphicon -" ]: before {
195
+ a : hover > [class ^= "fa -" ]: before ,
196
+ a : hover > [class *= " fa -" ]: before ,
197
+ button : hover > [class ^= "fa -" ]: before ,
198
+ button : hover > [class *= " fa -" ]: before {
194
199
cursor : pointer;
195
200
}
196
201
197
202
/* Fix icons */
198
- [class ^= "glyphicon -" ],
199
- [class *= " glyphicon -" ],
200
- [class ^= "glyphicon -" ]: focus ,
201
- [class *= " glyphicon -" ]: focus ,
202
- * : focus > [class ^= "glyphicon -" ],
203
- * : focus > [class *= " glyphicon -" ] {
203
+ [class ^= "fa -" ],
204
+ [class *= " fa -" ],
205
+ [class ^= "fa -" ]: focus ,
206
+ [class *= " fa -" ]: focus ,
207
+ * : focus > [class ^= "fa -" ],
208
+ * : focus > [class *= " fa -" ] {
204
209
background-image : none !important ;
205
210
}
206
211
You can’t perform that action at this time.
0 commit comments