aboutsummaryrefslogtreecommitdiff
path: root/lib/patterns.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-12 19:00:44 -0700
committerMark Otto <[email protected]>2011-09-12 19:00:44 -0700
commit3f64aaf82b6b3486c1b2e98e19047089fdfc331b (patch)
tree078191e64bc36b9720867c8b2d10de3e7548210b /lib/patterns.less
parent8f5f35e6db79599f8e72b78bbed9ee171c86461f (diff)
downloadbootstrap-3f64aaf82b6b3486c1b2e98e19047089fdfc331b.tar.xz
bootstrap-3f64aaf82b6b3486c1b2e98e19047089fdfc331b.zip
fix topbar link with button bug
Diffstat (limited to 'lib/patterns.less')
-rw-r--r--lib/patterns.less10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/patterns.less b/lib/patterns.less
index 82b7790b7..ee4a8a13d 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -23,7 +23,9 @@
}
// Hover and active states
- a:hover,
+ // h3 for backwards compatibility
+ h3 a:hover,
+ .brand a:hover,
ul .active > a {
background-color: #333;
background-color: rgba(255,255,255,.05);
@@ -54,6 +56,7 @@
line-height: 40px;
a:hover {
background-color: transparent;
+ color: @white;
}
}
@@ -729,14 +732,15 @@ input[type=submit].btn {
// ------
.modal-backdrop {
- background-color:#000;
- &.fade { opacity: 0; }
+ background-color: #000;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10000;
+ // Fade for backdrop
+ &.fade { opacity: 0; }
}
.modal-backdrop, .modal-backdrop.fade.in {