Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2013-08-13 08:43:59 +0400
committerMark Otto <otto@github.com>2013-08-13 08:43:59 +0400
commit48e7468e3acc70ace27ed37cfbadfc54d88a689f (patch)
tree7d7080efdc7931492caa6ea0d6d513c9b4a040ae /less/navbar.less
parent80eb09cc1b1db0e7899039f67adf78f0b14ac9a5 (diff)
invert dropdown styles in navbar for inverse variation
Diffstat (limited to 'less/navbar.less')
-rw-r--r--less/navbar.less31
1 files changed, 31 insertions, 0 deletions
diff --git a/less/navbar.less b/less/navbar.less
index 99bc4858c8..71eacfb93a 100644
--- a/less/navbar.less
+++ b/less/navbar.less
@@ -419,7 +419,38 @@
}
}
}
+
+ @media (max-width: @screen-phone-max) {
+ // Dropdowns get custom display
+ .open .dropdown-menu {
+ > li > a {
+ color: @navbar-inverse-link-color;
+ &:hover,
+ &:focus {
+ color: @navbar-inverse-link-hover-color;
+ background-color: @navbar-inverse-link-hover-bg;
+ }
+ }
+ > .active > a {
+ &,
+ &:hover,
+ &:focus {
+ color: @navbar-inverse-link-active-color;
+ background-color: @navbar-inverse-link-active-bg;
+ }
+ }
+ > .disabled > a {
+ &,
+ &:hover,
+ &:focus {
+ color: @navbar-inverse-link-disabled-color;
+ background-color: @navbar-inverse-link-disabled-bg;
+ }
+ }
+ }
+ }
}
+
}