2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2010-10-22 16:05:00 +00:00
|
|
|
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
|
|
|
|
|
|
|
|
/* video controls */
|
|
|
|
.controlsOverlay {
|
|
|
|
-moz-box-pack: center;
|
|
|
|
-moz-box-align: end;
|
|
|
|
padding: 20px;
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controlBar {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
font-size: 16pt;
|
|
|
|
padding: 10px;
|
2012-02-21 23:53:21 +00:00
|
|
|
background-color: rgba(50,50,50,0.8);
|
2010-10-22 16:05:00 +00:00
|
|
|
border-radius: 8px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controlsSpacer {
|
|
|
|
display: none;
|
|
|
|
-moz-box-flex: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.playButton,
|
|
|
|
.muteButton {
|
|
|
|
-moz-appearance: none;
|
|
|
|
min-height: 42px;
|
|
|
|
min-width: 42px;
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.playButton {
|
|
|
|
-moz-transform: translateX(21px);
|
|
|
|
background: url("chrome://browser/skin/images/pause-hdpi.png") no-repeat center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.playButton[paused="true"] {
|
|
|
|
background: url("chrome://browser/skin/images/play-hdpi.png") no-repeat center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.muteButton {
|
|
|
|
background: url("chrome://browser/skin/images/mute-hdpi.png") no-repeat center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.muteButton[muted="true"] {
|
|
|
|
background: url("chrome://browser/skin/images/unmute-hdpi.png") no-repeat center;
|
|
|
|
}
|
|
|
|
|
2012-01-27 01:07:05 +00:00
|
|
|
/* This button is hidden until bug 704229 is fixed. */
|
|
|
|
.fullscreenButton {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-10-22 16:05:00 +00:00
|
|
|
/* bars */
|
|
|
|
.scrubberStack {
|
|
|
|
width: 100%;
|
|
|
|
min-height: 32px;
|
|
|
|
max-height: 32px;
|
|
|
|
padding: 0px 8px;
|
|
|
|
margin: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bufferBar,
|
|
|
|
.bufferBar .progress-bar,
|
|
|
|
.progressBar,
|
|
|
|
.progressBar .progress-bar,
|
|
|
|
.scrubber,
|
|
|
|
.scrubber .scale-slider,
|
|
|
|
.scrubber .scale-thumb {
|
|
|
|
-moz-appearance: none;
|
|
|
|
border: none;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bufferBar {
|
|
|
|
border: 1px solid #5e6166;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bufferBar,
|
|
|
|
.progressBar {
|
2012-02-21 23:53:21 +00:00
|
|
|
margin: 11px 0px 9px 0px;
|
2010-10-22 16:05:00 +00:00
|
|
|
height: 8px
|
|
|
|
}
|
|
|
|
|
|
|
|
.bufferBar .progress-bar {
|
|
|
|
background-color: #5e6166;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progressBar .progress-bar {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrubber {
|
|
|
|
margin-left: -16px;
|
|
|
|
margin-right: -16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrubber .scale-thumb {
|
|
|
|
display: -moz-box;
|
2012-02-21 23:53:21 +00:00
|
|
|
margin: 0px !important;
|
|
|
|
padding: 0px !important;
|
2010-10-22 16:05:00 +00:00
|
|
|
background: url("chrome://browser/skin/images/scrubber-hdpi.png") no-repeat;
|
2012-02-21 23:53:21 +00:00
|
|
|
background-size: 32px 32px;
|
2010-10-22 16:05:00 +00:00
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.durationBox {
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
-moz-box-pack: start;
|
|
|
|
-moz-box-align: center;
|
|
|
|
color: white;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 0px 8px;
|
|
|
|
margin-top: -6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.positionLabel {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statusOverlay {
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
background-color: rgb(50,50,50);
|
|
|
|
}
|
|
|
|
|
|
|
|
.statusIcon {
|
|
|
|
margin-bottom: 28px;
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statusIcon[type="throbber"] {
|
|
|
|
background: url(chrome://global/skin/media/throbber.png) no-repeat center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statusIcon[type="error"] {
|
|
|
|
background: url(chrome://global/skin/media/error.png) no-repeat center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* CSS Transitions */
|
|
|
|
.controlBar:not([immediate]) {
|
2013-05-29 23:07:13 +00:00
|
|
|
transition-property: opacity;
|
|
|
|
transition-duration: 200ms;
|
2010-10-22 16:05:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.controlBar[fadeout] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statusOverlay:not([immediate]) {
|
2013-05-29 23:07:13 +00:00
|
|
|
transition-property: opacity;
|
|
|
|
transition-duration: 300ms;
|
|
|
|
transition-delay: 750ms;
|
2010-10-22 16:05:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.statusOverlay[fadeout] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.volumeStack,
|
|
|
|
.controlBar[firstshow="true"] .muteButton,
|
|
|
|
.controlBar[firstshow="true"] .scrubberStack,
|
|
|
|
.controlBar[firstshow="true"] .durationBox,
|
|
|
|
.timeLabel {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controlBar[firstshow="true"] .playButton {
|
|
|
|
-moz-transform: none;
|
|
|
|
}
|
|
|
|
|
2012-06-15 18:33:14 +00:00
|
|
|
/* Error description formatting */
|
|
|
|
.errorLabel {
|
|
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
|
|
font-size: 11px;
|
|
|
|
color: #bbb;
|
|
|
|
text-shadow:
|
|
|
|
-1px -1px 0 #000,
|
|
|
|
1px -1px 0 #000,
|
|
|
|
-1px 1px 0 #000,
|
|
|
|
1px 1px 0 #000;
|
|
|
|
padding: 0 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|