From 9d763e805b3c6a042b8da04cb7a49d2d0748bdd9 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 28 Feb 2013 19:34:02 -0800 Subject: Remove margin between buttons in button groups; use border-radius mixins to avoid reseting border-radii that don't need resetting --- docs/assets/css/bootstrap.css | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'docs') diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 19be8cfaa..e20f1a664 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3494,10 +3494,6 @@ button.close { border-radius: 0; } -.btn-group > .btn + .btn { - margin-left: 1px; -} - .btn-group > .btn:first-child { margin-left: 0; border-bottom-left-radius: 4px; @@ -3567,25 +3563,24 @@ button.close { border-radius: 0; } -.btn-group-vertical > .btn + .btn { - margin-top: 1px; - margin-left: 0; -} - .btn-group-vertical .btn:first-child { - border-radius: 4px 4px 0 0; + border-top-right-radius: 4px; + border-top-left-radius: 4px; } .btn-group-vertical .btn:last-child { - border-radius: 0 0 4px 4px; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; } .btn-group-vertical .btn-large:first-child { - border-radius: 6px 6px 0 0; + border-top-right-radius: 6px; + border-top-left-radius: 6px; } .btn-group-vertical .btn-large:last-child { - border-radius: 0 0 6px 6px; + border-bottom-right-radius: 6px; + border-bottom-left-radius: 6px; } .btn-group-justified { -- cgit v1.2.3