Skip to content
Browse files

fix for IE-filter not supporting named colours

Supporting IE7 is more effort than it's worth, surely. should (yet
again) fix #14
  • Loading branch information...
1 parent 946286f commit f68f42bb1bddf1d246243f2c505c3b7df74722bb @thomas-mcdonald thomas-mcdonald committed Dec 10, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 vendor/assets/stylesheets/bootstrap/patterns.css.scss
View
5 vendor/assets/stylesheets/bootstrap/patterns.css.scss
@@ -111,7 +111,7 @@
// For backwards compatibility, include .topbar .fill
.topbar-inner, .topbar .fill {
background-color: #222;
- @include vertical-gradient(#333, #222);
+ @include vertical-gradient(#333333, #222222);
$shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
@include box-shadow($shadow);
}
@@ -502,7 +502,8 @@ footer {
// Button Base
cursor: pointer;
display: inline-block;
- @include vertical-three-colors-gradient(#ffffff, #ffffff, 25%, darken(#ffffff, 10%)); // Don't use .gradientbar() here since it does a three-color gradient
+ // Hackity hackity hack. Filter doesn't support named colours which SASS outputs in if it can, so alter the colour slightly.
+ @include vertical-three-colors-gradient(#fffffe, #fffffe, 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;

0 comments on commit f68f42b

Please sign in to comment.
Something went wrong with that request. Please try again.