From 15c9c3aef7f047c9cce45fd33ada799e99fbd390 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 22 Dec 2014 16:54:50 -0800 Subject: add more refs to browser-related bugs in Less comments --- less/theme.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less/theme.less') diff --git a/less/theme.less b/less/theme.less index a15d16ecd..3673accc0 100644 --- a/less/theme.less +++ b/less/theme.less @@ -36,7 +36,7 @@ // Mixin for generating new styles .btn-styles(@btn-color: #555) { #gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%)); - .reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners + .reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners; see https://github.com/twbs/bootstrap/issues/10620 background-repeat: repeat-x; border-color: darken(@btn-color, 14%); @@ -130,7 +130,7 @@ // Inverted navbar .navbar-inverse { #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 + .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257 .navbar-nav > .open > a, .navbar-nav > .active > a { -- cgit v1.2.3 From ba8a40e7888f80ee22760b36e032417804ce3cec Mon Sep 17 00:00:00 2001 From: liias Date: Fri, 2 Jan 2015 11:28:09 +0200 Subject: Add .disabled class styling for .btn-styles Bootstrap itself has .btn-default.disabled styled. IE8 with angularjs has some weird behaviour if anchor has disabled attribute set, so I use disabled class as a workaround and assume the .disabled class styles the buttons the same as disabled attribute would. --- less/theme.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less/theme.less') diff --git a/less/theme.less b/less/theme.less index 3673accc0..6f2eb6212 100644 --- a/less/theme.less +++ b/less/theme.less @@ -52,6 +52,7 @@ border-color: darken(@btn-color, 14%); } + &.disabled, &:disabled, &[disabled] { background-color: darken(@btn-color, 12%); -- cgit v1.2.3