diff options
| author | Mark Otto <[email protected]> | 2011-09-02 12:35:41 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-09-02 12:35:41 -0700 |
| commit | 2f4c84bba976344b8fe198a7613184e32231b66a (patch) | |
| tree | 2f2e93df678f7646d10030f7483e84952018371c /lib/patterns.less | |
| parent | cb244d5d51f910ac891f4a3a4691cd0740dc8307 (diff) | |
| download | bootstrap-2f4c84bba976344b8fe198a7613184e32231b66a.tar.xz bootstrap-2f4c84bba976344b8fe198a7613184e32231b66a.zip | |
remove rounded corners on buttons from IE9 so gradients don't bleed out
Diffstat (limited to 'lib/patterns.less')
| -rw-r--r-- | lib/patterns.less | 7 |
1 files changed, 6 insertions, 1 deletions
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, |
