Bug 1325591 - Hide overlay and clickToPlay of video in Windows high contrast theme. r=mikedeboer

MozReview-Commit-ID: ARxnSMQ32el

--HG--
extra : rebase_source : b9b65bd2b44776e08a6db7280a5fe6ee813780a0
This commit is contained in:
Ray Lin 2017-01-16 12:06:07 +08:00
parent 187beffa39
commit ac3eecd4ed

View File

@ -477,3 +477,26 @@ audio > xul|videocontrols {
[error="errorGeneric"] > [anonid="errorGeneric"] {
display: inline;
}
/* For high contrast theme in Windows */
%ifdef XP_WIN
.controlsSpacer,
.clickToPlay {
background-color: transparent;
}
.controlsSpacer:hover {
background-color: rgb(254,255,255);
opacity: .4;
}
@media (-moz-windows-default-theme) {
.controlsSpacer {
background-color: rgba(255,255,255,.4);
}
.clickToPlay {
background-color: #1a1a1a;
}
}
%endif