mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 850458 - Add full screen video element to html5 video controls. r=mbrubeck
This commit is contained in:
parent
2b23179ecb
commit
4a153be08f
BIN
browser/metro/theme/images/exitfullscreen-hdpi.png
Normal file
BIN
browser/metro/theme/images/exitfullscreen-hdpi.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
BIN
browser/metro/theme/images/fullscreen-hdpi.png
Normal file
BIN
browser/metro/theme/images/fullscreen-hdpi.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
@ -77,6 +77,8 @@ chrome.jar:
|
|||||||
skin/images/pause-hdpi.png (images/pause-hdpi.png)
|
skin/images/pause-hdpi.png (images/pause-hdpi.png)
|
||||||
skin/images/mute-hdpi.png (images/mute-hdpi.png)
|
skin/images/mute-hdpi.png (images/mute-hdpi.png)
|
||||||
skin/images/unmute-hdpi.png (images/unmute-hdpi.png)
|
skin/images/unmute-hdpi.png (images/unmute-hdpi.png)
|
||||||
|
skin/images/fullscreen-hdpi.png (images/fullscreen-hdpi.png)
|
||||||
|
skin/images/exitfullscreen-hdpi.png (images/exitfullscreen-hdpi.png)
|
||||||
skin/images/scrubber-hdpi.png (images/scrubber-hdpi.png)
|
skin/images/scrubber-hdpi.png (images/scrubber-hdpi.png)
|
||||||
skin/images/selection-monocle.png (images/selection-monocle.png)
|
skin/images/selection-monocle.png (images/selection-monocle.png)
|
||||||
skin/images/appbar-icons.png (images/appbar-icons.png)
|
skin/images/appbar-icons.png (images/appbar-icons.png)
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
-moz-box-flex: 0;
|
-moz-box-flex: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fullscreenButton,
|
||||||
.playButton,
|
.playButton,
|
||||||
.muteButton {
|
.muteButton {
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
@ -35,11 +36,28 @@
|
|||||||
border: none !important;
|
border: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fullscreenButton {
|
||||||
|
background: url("chrome://browser/skin/images/fullscreen-hdpi.png") no-repeat center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fullscreenButton[fullscreened="true"] {
|
||||||
|
background: url("chrome://browser/skin/images/exitfullscreen-hdpi.png") no-repeat center;
|
||||||
|
}
|
||||||
|
|
||||||
.playButton {
|
.playButton {
|
||||||
transform: translateX(21px);
|
|
||||||
background: url("chrome://browser/skin/images/pause-hdpi.png") no-repeat center;
|
background: url("chrome://browser/skin/images/pause-hdpi.png") no-repeat center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Normally the button bar has fullscreen spacer play spacer mute, but if
|
||||||
|
* this is an audio control rather than a video control, the fullscreen button
|
||||||
|
* is hidden by videocontrols.xml, and that alters the position of the
|
||||||
|
* play button. This workaround moves it back to center.
|
||||||
|
*/
|
||||||
|
.controlBar.audio .playButton {
|
||||||
|
transform: translateX(28px);
|
||||||
|
}
|
||||||
|
|
||||||
.playButton[paused="true"] {
|
.playButton[paused="true"] {
|
||||||
background: url("chrome://browser/skin/images/play-hdpi.png") no-repeat center;
|
background: url("chrome://browser/skin/images/play-hdpi.png") no-repeat center;
|
||||||
}
|
}
|
||||||
@ -52,11 +70,6 @@
|
|||||||
background: url("chrome://browser/skin/images/unmute-hdpi.png") no-repeat center;
|
background: url("chrome://browser/skin/images/unmute-hdpi.png") no-repeat center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This button is hidden until bug 704229 is fixed. */
|
|
||||||
.fullscreenButton {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* bars */
|
/* bars */
|
||||||
.scrubberStack {
|
.scrubberStack {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
Loading…
Reference in New Issue
Block a user