Skip to content

Commit

Permalink
[#1993] Adds overrides for bootstrap buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Nov 6, 2014
1 parent 0b66a98 commit 2c6364c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ckan/public/base/less/bootstrap-overrides.less
Expand Up @@ -5,3 +5,16 @@ a {
.btn-primary {
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
}
.btn-group.open .btn-primary.dropdown-toggle {
background-color: darken(@btnPrimaryBackground, 5%);
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a {
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
}

.nav-pills > .active > a,
.nav-pills > .active > a:hover,
.nav-pills > .active > a:focus {
background-color: @btnPrimaryBackground;
}

0 comments on commit 2c6364c

Please sign in to comment.