From 2f4c84bba976344b8fe198a7613184e32231b66a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 2 Sep 2011 12:35:41 -0700 Subject: remove rounded corners on buttons from IE9 so gradients don't bleed out --- lib/patterns.less | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/patterns.less') diff --git a/lib/patterns.less b/lib/patterns.less index 96e401058..2948c1e2d 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -429,7 +429,7 @@ footer { // Button Base cursor: pointer; display: inline-block; - #gradient > .vertical-three-colors(#ffffff, #ffffff, 0.25, darken(#ffffff, 10%)); + #gradient > .vertical-three-colors(#ffffff, #ffffff, 0.25, darken(#ffffff, 10%)); // Don't use .gradientbar() here since it does a three-color gradient padding: 5px 14px 6px; text-shadow: 0 1px 1px rgba(255,255,255,.75); color: #333; @@ -490,6 +490,11 @@ footer { font-size: 11px; } } +// Super jank hack for removing border-radius from IE9 so we can keep filter gradients on alerts and buttons +:root .alert-message, +:root .btn { + border-radius: 0 \0; +} // Help Firefox not be a jerk about adding extra padding to buttons button.btn, -- cgit v1.2.3