From ce410dc36ea50f152f617df6fbd29c3ac4d3a9eb Mon Sep 17 00:00:00 2001 From: liuyl Date: Sun, 18 Aug 2013 20:13:48 +0800 Subject: fixed caret --- less/button-groups.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'less/button-groups.less') diff --git a/less/button-groups.less b/less/button-groups.less index e4a78cd4e..b137aba6d 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -160,10 +160,12 @@ // Carets in other button sizes .btn-lg .caret { border-width: @caret-width-large; + border-bottom-width: 0; } // Upside down carets for .dropup .dropup .btn-lg .caret { - border-bottom-width: @caret-width-large; + border-width: @caret-width-large; + border-top-width: 0; } -- cgit v1.2.3 From 73a1a4133c484d0791efff87bc41eac3e2853e42 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 18 Aug 2013 10:08:18 -0700 Subject: combine and simplify caret border widths --- less/button-groups.less | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'less/button-groups.less') diff --git a/less/button-groups.less b/less/button-groups.less index b137aba6d..45f2fd0a9 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -159,13 +159,12 @@ } // Carets in other button sizes .btn-lg .caret { - border-width: @caret-width-large; + border-width: @caret-width-large @caret-width-large 0; border-bottom-width: 0; } // Upside down carets for .dropup .dropup .btn-lg .caret { - border-width: @caret-width-large; - border-top-width: 0; + border-width: 0 @caret-width-large @caret-width-large; } -- cgit v1.2.3 From fa3959a1e10da848867be73ac1d18d209367a9b0 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 18 Aug 2013 15:05:42 -0700 Subject: rm redundant ampersands from button-groups LESS --- less/button-groups.less | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'less/button-groups.less') diff --git a/less/button-groups.less b/less/button-groups.less index 45f2fd0a9..43ada11d9 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -22,11 +22,11 @@ & .btn-default .caret { border-bottom-color: @btn-default-color; } - & .btn-primary, - & .btn-success, - & .btn-warning, - & .btn-danger, - & .btn-info { + .btn-primary, + .btn-success, + .btn-warning, + .btn-danger, + .btn-info { .caret { border-bottom-color: #fff; } -- cgit v1.2.3