mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00
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:
parent
187beffa39
commit
ac3eecd4ed
@ -477,3 +477,26 @@ audio > xul|videocontrols {
|
|||||||
[error="errorGeneric"] > [anonid="errorGeneric"] {
|
[error="errorGeneric"] > [anonid="errorGeneric"] {
|
||||||
display: inline;
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user