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:
parent
946286f251
commit
f68f42bb1b
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue