+.playButton {
+ min-width: 28px;
+ margin-right: -22px; /* 1/2 of scrubber thumb width, for overhang. */
+ position: relative; /* Trick to work around negative margin interfering with clicking on the button. */
+}
+.muteButton {
+ min-width: 33px;
+}
+.playButton:hover, .muteButton:hover {
+ background-color: rgba(255,207,0,0.75);
+}
+.playButton:focus > .button-box,
+.muteButton:focus > .button-box {
+ border: 1px dotted rgba(0,0,0,0.75);
+}
+
+.playButton {
+ background-image: url("chrome://global/skin/media/pauseButton.png");
+}
+.playButton:hover {
+ background-image: url("chrome://global/skin/media/pauseButton-hover.png");
+}
+.playButton[paused="true"] {
+ background-image: url("chrome://global/skin/media/playButton.png");
+}
+.playButton[paused="true"]:hover {
+ background-image: url("chrome://global/skin/media/playButton-hover.png");
+}
+
+.muteButton {
+ background-image: url("chrome://global/skin/media/muteButton.png");
+}
+.muteButton:hover {
+ background-image: url("chrome://global/skin/media/muteButton-hover.png");
+}
+.muteButton[muted="true"] {
+ background-image: url("chrome://global/skin/media/unmuteButton.png");
+}
+.muteButton[muted="true"]:hover {
+ background-image: url("chrome://global/skin/media/unmuteButton-hover.png");
+}
+
+.volumeStack {
+ width: 28px;
+ height: 70px;
+ background-color: rgba(156,156,255,0.74);
+ /* use negative margin to place stack over the mute button to its left. */
+ margin: -70px 3px 28px -31px;
+ overflow: hidden; /* crop it when sliding down, don't grow the control bar */
+ position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
+ padding-top: 6px;
+}
+
+.volumeControl {
+ min-height: 64px;
+}
+
+/* .scale-thumb is an element inside the <scale> implementation. */
+.volumeControl .scale-thumb {
+ /* Override the default thumb appearance with a custom image. */
+ -moz-appearance: none;
+ background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
+ border: none !important;
+ min-width: 16px;
+ min-height: 11px;
+}
+.volumeControl .scale-thumb:hover, .volumeControl .scale-thumb:active {
+ background-image: url("chrome://global/skin/media/volumeThumb-hover.png");
+}
+
+.volumeBackgroundBar {
+ /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
+ margin: 0px 10px;
+ background-color: rgba(0,0,0,0.5);
+ -moz-border-radius: 4px 4px;
+}
+
+
+.durationBox {
+ -moz-box-pack: center;