Skip to content

Commit

Permalink
yeti: fix navbar dropdown background and padding
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Nov 22, 2013
1 parent fe9a9c1 commit 3a6191c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
5 changes: 4 additions & 1 deletion yeti/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -7502,6 +7502,7 @@ td.visible-print {
}

.navbar .dropdown-menu {
padding: 0;
background-color: #333333;
border: none;
}
Expand All @@ -7513,7 +7514,9 @@ td.visible-print {
color: #ffffff;
}

.navbar .dropdown-menu > li > a:hover {
.navbar .dropdown-menu > li > a:hover,
.navbar .dropdown-menu > .active > a,
.navbar .dropdown-menu > .active > a:hover {
background-color: #272727;
}

Expand Down
2 changes: 1 addition & 1 deletion yeti/bootstrap.min.css

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions yeti/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
}

.dropdown-menu {
padding: 0;
border: none;
background-color: @navbar-default-bg;

Expand All @@ -29,10 +30,12 @@
font-size: 13px;
font-weight: 300;
color: @navbar-default-color;
}

&:hover {
background-color: @navbar-default-link-hover-bg;
}
> li > a:hover,
> .active > a,
> .active > a:hover {
background-color: @navbar-default-link-hover-bg;
}
}
}
Expand Down

0 comments on commit 3a6191c

Please sign in to comment.