aboutsummaryrefslogtreecommitdiff
path: root/lib/patterns.less
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-09-16 11:09:46 -0700
committerJacob Thornton <[email protected]>2011-09-16 11:09:46 -0700
commitaa432390888bae158bbc3014eed9af55103d03aa (patch)
treeb9546431afee3e296dc201ed6228585d3bbd4867 /lib/patterns.less
parentf0d5caf0547da84c8e3b80e704510a36d8a4e39b (diff)
parente8d9eb264c3ba8c263d37259f65eece7247b00b9 (diff)
downloadbootstrap-aa432390888bae158bbc3014eed9af55103d03aa.tar.xz
bootstrap-aa432390888bae158bbc3014eed9af55103d03aa.zip
Merge branch '1.3-wip' of github.com:twitter/bootstrap into 1.3-wip
Diffstat (limited to 'lib/patterns.less')
-rw-r--r--lib/patterns.less23
1 files changed, 14 insertions, 9 deletions
diff --git a/lib/patterns.less b/lib/patterns.less
index 543332086..ce387614e 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -342,22 +342,22 @@ a.menu:after,
position: relative; // For the dropdowns mostly
top: 1px;
> a {
- margin-right: 2px;
padding: 0 15px;
- line-height: (@baseline * 2) - 1;
+ margin-right: 2px;
+ line-height: @baseline * 2;
+ border: 1px solid transparent;
.border-radius(4px 4px 0 0);
&:hover {
- background-color: #eee;
- border-bottom: 1px solid #ddd;
text-decoration: none;
+ background-color: #eee;
+ border-color: #eee #eee #ddd;
}
}
&.active > a {
+ color: @gray;
background-color: @white;
- padding: 0 14px;
border: 1px solid #ddd;
- border-bottom: 0;
- color: @gray;
+ border-bottom-color: transparent;
}
}
// first one for backwards compatibility
@@ -641,6 +641,11 @@ input[type=submit].btn {
.border-radius(4px);
.box-shadow(inset 0 1px 0 rgba(255,255,255,.25));
+ // Adjust close icon
+ .close {
+ *margin-top: 3px; /* IE7 spacing */
+ }
+
// Remove extra margin from content
h5 {
line-height: @baseline;
@@ -915,8 +920,8 @@ input[type=submit].btn {
height: 0;
}
.inner {
- background: #333;
- background: rgba(0,0,0,.8);
+ background-color: @black;
+ background-color: rgba(0,0,0,.8);
padding: 3px;
overflow: hidden;
width: 280px;