Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
loostro committed Jun 18, 2014
1 parent 07b7e1f commit d16bb80
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Menu/DefaultMenuBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class DefaultMenuBuilder extends AdmingeneratorMenuBuilder
public function navbarMenu(FactoryInterface $factory, array $options)
{
$menu = $factory->createItem('root');
$menu->setChildrenAttributes(array('id' => 'main_navigation', 'class' => 'nav'));
$menu->setChildrenAttributes(array('id' => 'main_navigation', 'class' => 'nav navbar-nav'));

$overwrite = $this->addDropdown($menu, 'Replace this menu');

Expand Down
27 changes: 16 additions & 11 deletions Resources/public/css/bootstrap-extended.css
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ input.btn.btn-reset:hover {
cursor: text;
}

.list_scope_group .btn [class^="glyphicon-"] {
.list_scope_group .btn [class^="fa-"] {
font-size: 12px;
}

Expand All @@ -186,21 +186,26 @@ input.btn.btn-reset:hover {
font-size: 14px;
}

/* Fix active link */
li.active > a {
color: #fff;
}

/* Fix cursor */
a:hover > [class^="glyphicon-"]:before,
a:hover > [class*=" glyphicon-"]:before,
button:hover > [class^="glyphicon-"]:before,
button:hover > [class*=" glyphicon-"]:before {
a:hover > [class^="fa-"]:before,
a:hover > [class*=" fa-"]:before,
button:hover > [class^="fa-"]:before,
button:hover > [class*=" fa-"]:before {
cursor: pointer;
}

/* Fix icons */
[class^="glyphicon-"],
[class*=" glyphicon-"],
[class^="glyphicon-"]:focus,
[class*=" glyphicon-"]:focus,
*:focus > [class^="glyphicon-"],
*:focus > [class*=" glyphicon-"] {
[class^="fa-"],
[class*=" fa-"],
[class^="fa-"]:focus,
[class*=" fa-"]:focus,
*:focus > [class^="fa-"],
*:focus > [class*=" fa-"] {
background-image: none !important;
}

Expand Down

0 comments on commit d16bb80

Please sign in to comment.