1
0
Fork 0
mirror of https://github.com/twbs/bootstrap-sass.git synced 2022-11-09 12:27:02 -05:00

fix for IE-filter not supporting named colours

Supporting IE7 is more effort than it's worth, surely. should (yet
again) fix #14
This commit is contained in:
Thomas McDonald 2011-12-10 16:42:11 +00:00
parent 946286f251
commit f68f42bb1b

View file

@ -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;