aboutsummaryrefslogtreecommitdiff
path: root/less/button-groups.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-17 20:44:27 -0700
committerMark Otto <[email protected]>2013-07-17 20:44:27 -0700
commitf0d071832284d968f2cb72b0bb576f8112a349de (patch)
tree9766c8da2b7c6890cdc794a2d93d4ca81c191047 /less/button-groups.less
parentc5fb401a626c3e0d99a764cb7961e1bd3e619e8f (diff)
parentbfebf0e490c795601220f74b7089adb4f47acda7 (diff)
downloadbootstrap-f0d071832284d968f2cb72b0bb576f8112a349de.tar.xz
bootstrap-f0d071832284d968f2cb72b0bb576f8112a349de.zip
Merge branch '3.0.0-wip' into bs3_remove_examples
Conflicts: docs/_includes/nav-getting-started.html docs/examples/navbar-fixed-top.html docs/examples/navbar-static-top.html docs/examples/navbar.html docs/getting-started.html
Diffstat (limited to 'less/button-groups.less')
-rw-r--r--less/button-groups.less30
1 files changed, 15 insertions, 15 deletions
diff --git a/less/button-groups.less b/less/button-groups.less
index f7934a328..9500fecbb 100644
--- a/less/button-groups.less
+++ b/less/button-groups.less
@@ -72,9 +72,11 @@
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
border-radius: 0;
}
-.btn-group > .btn-group:first-child > .btn:last-child,
-.btn-group > .btn-group:first-child > .dropdown-toggle {
- .border-right-radius(0);
+.btn-group > .btn-group:first-child {
+ > .btn:last-child,
+ > .dropdown-toggle {
+ .border-right-radius(0);
+ }
}
.btn-group > .btn-group:last-child > .btn:first-child {
.border-left-radius(0);
@@ -96,10 +98,6 @@
padding-left: 8px;
padding-right: 8px;
}
-.btn-group > .btn-mini + .dropdown-toggle {
- padding-left: 5px;
- padding-right: 5px;
-}
.btn-group > .btn-large + .dropdown-toggle {
padding-left: 12px;
padding-right: 12px;
@@ -138,14 +136,16 @@
margin-top: -1px;
}
}
-.btn-group-vertical .btn:not(:first-child):not(:last-child) {
- border-radius: 0;
-}
-.btn-group-vertical .btn:first-child {
- .border-bottom-radius(0);
-}
-.btn-group-vertical .btn:last-child {
- .border-top-radius(0);
+.btn-group-vertical .btn {
+ &:not(:first-child):not(:last-child) {
+ border-radius: 0;
+ }
+ &:first-child {
+ .border-bottom-radius(0);
+ }
+ &:last-child {
+ .border-top-radius(0);
+ }
}