diff options
| author | Chris Rebert <[email protected]> | 2013-07-06 22:07:03 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-07-07 15:27:06 -0700 |
| commit | f12d6401f22bc4c4f46bb8fa7fb2e7cf087b99d9 (patch) | |
| tree | be654c55e23207e362b13fa8aeb5e0c07560bac4 | |
| parent | 95655e72754b9450d04108593f60647cf2e2241c (diff) | |
| download | bootstrap-f12d6401f22bc4c4f46bb8fa7fb2e7cf087b99d9.tar.xz bootstrap-f12d6401f22bc4c4f46bb8fa7fb2e7cf087b99d9.zip | |
more nesting in button-groups.less
| -rw-r--r-- | less/button-groups.less | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/less/button-groups.less b/less/button-groups.less index 408e7c75d..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); @@ -134,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); + } } |
