From 43d21b97f24b0f6a593878ae4355413ce5b38884 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 18 Jun 2014 19:14:26 -0700 Subject: fixes #13093: reset the background color and remove background image on disabled theme buttons --- less/theme.less | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'less/theme.less') diff --git a/less/theme.less b/less/theme.less index 6f957fb39..820270af2 100644 --- a/less/theme.less +++ b/less/theme.less @@ -48,6 +48,12 @@ background-color: darken(@btn-color, 12%); border-color: darken(@btn-color, 14%); } + + &:disabled, + &[disabled] { + background-color: darken(@btn-color, 12%); + background-image: none; + } } // Common styles -- cgit v1.2.3 From 8bd4163ad463a0f208a55a8f64ba7fc6cb826282 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 19 Jun 2014 18:14:56 -0700 Subject: fixes #13881: restore existing striped progress bar behavior with theme styles --- less/theme.less | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'less/theme.less') diff --git a/less/theme.less b/less/theme.less index 820270af2..b089424cf 100644 --- a/less/theme.less +++ b/less/theme.less @@ -197,6 +197,11 @@ .progress-bar-warning { .progress-bar-styles(@progress-bar-warning-bg); } .progress-bar-danger { .progress-bar-styles(@progress-bar-danger-bg); } +// Reset the striped class because our mixins don't do multiple gradients and +// the above custom styles override the new `.progress-bar-striped` in v3.2.0. +.progress-bar-striped { + #gradient > .striped(); +} // -- cgit v1.2.3 From 8c586a8e3ef3ce31cb18e064a0e78332a785d7a2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 12 Jul 2014 17:59:02 -0700 Subject: Fixes #14074: Make open dropdown nav links in navbar use gradients --- less/theme.less | 2 ++ 1 file changed, 2 insertions(+) (limited to 'less/theme.less') diff --git a/less/theme.less b/less/theme.less index b089424cf..559e11e26 100644 --- a/less/theme.less +++ b/less/theme.less @@ -116,6 +116,7 @@ @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075); .box-shadow(@shadow); + .navbar-nav > .open > a, .navbar-nav > .active > a { #gradient > .vertical(@start-color: darken(@navbar-default-bg, 5%); @end-color: darken(@navbar-default-bg, 2%)); .box-shadow(inset 0 3px 9px rgba(0,0,0,.075)); @@ -131,6 +132,7 @@ #gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg); .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered + .navbar-nav > .open > a, .navbar-nav > .active > a { #gradient > .vertical(@start-color: @navbar-inverse-bg; @end-color: lighten(@navbar-inverse-bg, 2.5%)); .box-shadow(inset 0 3px 9px rgba(0,0,0,.25)); -- cgit v1.2.3