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') 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 4246f6a01f6d025962beb8dcc9a035d6e17e5d20 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 18 Aug 2013 09:58:21 -0700 Subject: fixes #9769: use navbar border radius var in theme --- less/theme.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/theme.less b/less/theme.less index 52e2d239a..f7e503644 100644 --- a/less/theme.less +++ b/less/theme.less @@ -94,7 +94,7 @@ // Basic navbar .navbar { #gradient > .vertical(@start-color: lighten(@navbar-bg, 10%); @end-color: @navbar-bg;); - border-radius: @border-radius-base; + border-radius: @navbar-border-radius; @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075); .box-shadow(@shadow); -- 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') 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