-
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.
Fixes #3587. Some commented out css was removed as it is no longer necessary and potentially causes issues.
- Loading branch information
Showing
1 changed file
with
6 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,11 @@ | ||
/** | ||
// 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: ""; } } | ||
content: ""; | ||
} | ||
} | ||
|
||
@media \0screen { | ||
.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar { | ||
visibility: hidden; } } | ||
visibility: hidden; | ||
} | ||
} |