-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
@erikyuzwa reworked build to separate out IE8-specific CSS
- Loading branch information
Showing
3 changed files
with
38 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** | ||
// IE 8 hack for media queries which the sass parser can encounter problems with | ||
$ie8screen: "\\0screen"; | ||
// original home: css/components/_control-bar.scss | ||
// IE8 is flakey with fonts, and you have to change the actual content to force | ||
// fonts to show/hide properly. | ||
// - "\9" IE8 hack didn't work for this | ||
// Found in XP IE8 from http://modern.ie. Does not show up in "IE8 mode" in IE9 | ||
.vjs-user-inactive.vjs-playing .vjs-control-bar :before { | ||
@media #{$ie8screen} { content: ""; } | ||
} | ||
// Video has started playing AND user is inactive | ||
.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar { | ||
// Make controls hidden in IE8 for now | ||
@media #{$ie8screen} { | ||
visibility: hidden; | ||
} | ||
} | ||
*/ | ||
|
||
@media \0screen { | ||
.vjs-user-inactive.vjs-playing .vjs-control-bar :before { | ||
content: ""; } } | ||
|
||
@media \0screen { | ||
.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar { | ||
visibility: hidden; } } |