aboutsummaryrefslogtreecommitdiff
path: root/lib/patterns.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-02 00:28:54 -0700
committerMark Otto <[email protected]>2011-09-02 00:28:54 -0700
commit479e0ccd6bd4c32c2445e0cb6291c17c5aa4f7a2 (patch)
treef04b04b0ba073bab48e9dfd3a667967bed3d11d5 /lib/patterns.less
parent02abdd60378aa5aecbb9d8bafe23f0cd2b86141a (diff)
downloadbootstrap-479e0ccd6bd4c32c2445e0cb6291c17c5aa4f7a2.tar.xz
bootstrap-479e0ccd6bd4c32c2445e0cb6291c17c5aa4f7a2.zip
add backwards compatability for dropdowns in topbar
Diffstat (limited to 'lib/patterns.less')
-rw-r--r--lib/patterns.less24
1 files changed, 13 insertions, 11 deletions
diff --git a/lib/patterns.less b/lib/patterns.less
index 77396922e..03f31e0fe 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -16,14 +16,6 @@
z-index: 10000;
overflow: visible;
- // gradient is applied to it's own element because overflow visible is not honored by ie when filter is present
- .fill {
- background-color: #222;
- #gradient > .vertical(#333, #222);
- @shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
- .box-shadow(@shadow);
- }
-
// Links get text shadow
a {
color: @grayLight;
@@ -41,7 +33,7 @@
// Website name
h3 {
- position:relative;
+ position: relative;
a {
float: left;
display: block;
@@ -102,22 +94,31 @@
}
}
+// gradient is applied to it's own element because overflow visible is not honored by ie when filter is present
+.topbar-inner,
+.topbar .fill { // For backwards compatability
+ background-color: #222;
+ #gradient > .vertical(#333, #222);
+ @shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
+ .box-shadow(@shadow);
+}
+
// NAVIGATION
// ----------
// Topbar Nav
// ul.nav for all topbar based navigation to avoid inheritance issues and over-specificity
+.topbar > ul, // For backwards compatability
.nav {
display: block;
float: left;
margin: 0 10px 0 0;
position: relative;
left: 0;
- li {
+ > li {
display: block;
float: left;
- font-size: 13px;
}
a {
display: block;
@@ -430,6 +431,7 @@ footer {
cursor: default;
background-image: none;
.opacity(65);
+ .box-shadow(none);
}
&:active {
@shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.05);