Commit | Line | Data |
---|---|---|
29465e59 RK |
1 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
2 | ||
6f25e2c5 | 3 | .controlBar { |
b310ca09 | 4 | height: 28px; |
6f25e2c5 | 5 | background-color: rgba(156,156,255,0.75); |
29465e59 RK |
6 | } |
7 | ||
6f25e2c5 RK |
8 | .playButton, .muteButton { |
9 | /* Remove the usual button appearance and styling */ | |
10 | margin: 0px; | |
11 | padding: 0px; | |
12 | border: none; | |
b310ca09 | 13 | min-height: 28px; |
1880ed93 RK |
14 | background-color: transparent; |
15 | background-repeat: no-repeat; | |
16 | background-position: center center; | |
17 | } | |
b310ca09 RK |
18 | .playButton { |
19 | min-width: 28px; | |
20 | } | |
21 | .muteButton { | |
22 | min-width: 33px; | |
23 | } | |
1880ed93 RK |
24 | .playButton:hover, .muteButton:hover { |
25 | background-color: rgba(255,207,0,0.75); | |
26 | } | |
27 | .playButton:focus > .button-box, | |
28 | .muteButton:focus > .button-box { | |
29 | border: 1px dotted rgba(0,0,0,0.75); | |
29465e59 RK |
30 | } |
31 | ||
6f25e2c5 | 32 | .playButton { |
1880ed93 | 33 | background-image: url("chrome://global/skin/media/pauseButton.png"); |
6f25e2c5 RK |
34 | } |
35 | .playButton:hover { | |
1880ed93 | 36 | background-image: url("chrome://global/skin/media/pauseButton-hover.png"); |
29465e59 | 37 | } |
6f25e2c5 | 38 | .playButton[paused="true"] { |
1880ed93 | 39 | background-image: url("chrome://global/skin/media/playButton.png"); |
6f25e2c5 RK |
40 | } |
41 | .playButton[paused="true"]:hover { | |
1880ed93 | 42 | background-image: url("chrome://global/skin/media/playButton-hover.png"); |
29465e59 RK |
43 | } |
44 | ||
6f25e2c5 | 45 | .muteButton { |
1880ed93 | 46 | background-image: url("chrome://global/skin/media/muteButton.png"); |
6f25e2c5 RK |
47 | } |
48 | .muteButton:hover { | |
1880ed93 | 49 | background-image: url("chrome://global/skin/media/muteButton-hover.png"); |
6f25e2c5 RK |
50 | } |
51 | .muteButton[muted="true"] { | |
1880ed93 | 52 | background-image: url("chrome://global/skin/media/unmuteButton.png"); |
6f25e2c5 RK |
53 | } |
54 | .muteButton[muted="true"]:hover { | |
1880ed93 | 55 | background-image: url("chrome://global/skin/media/unmuteButton-hover.png"); |
6f25e2c5 | 56 | } |
b310ca09 RK |
57 | |
58 | .backgroundBar { | |
59 | /* make bar 8px tall (control height = 28, minus 2 * 10 margin) */ | |
60 | margin: 10px 2px; | |
61 | background-color: rgba(0,0,0,0.75); | |
62 | -moz-border-radius: 3px 3px; | |
63 | } | |
64 | ||
65 | .bufferBar, .progressBar { | |
66 | /* make bar 8px tall (control height = 28, minus 2 * 10 margin) */ | |
67 | margin: 10px 2px; | |
68 | border: none; | |
69 | background-color: transparent; | |
70 | min-width: 0px; | |
71 | min-height: 0px; | |
72 | } | |
73 | ||
74 | /* .progress-bar is an element inside the <progressmeter> implementation. */ | |
75 | .bufferBar .progress-bar { | |
76 | /* | |
77 | * Note that this is drawn on top of the .backgroundBar. So although this | |
78 | * has the same background-color specified, the semitransparent | |
79 | * compositing gives it a different visual appearance. | |
80 | */ | |
81 | background-color: rgba(255,159,0,0.75); | |
82 | -moz-border-radius: 3px 3px; | |
83 | -moz-appearance: none; | |
84 | } | |
85 | ||
86 | .progressBar .progress-bar { | |
87 | background-color: #008484; | |
88 | -moz-border-radius: 3px 3px; | |
89 | -moz-appearance: none; | |
90 | } | |
91 | ||
92 | /* .scale-slider is an element inside the <scale> implementation. */ | |
93 | .scale-slider { | |
94 | /* Hide the default horizontal bar. */ | |
95 | background: none; | |
96 | margin: 0 2px; | |
97 | } | |
98 | ||
99 | /* .scale-thumb is an element inside the <scale> implementation. */ | |
100 | .scale-thumb { | |
101 | /* Override the default thumb appearance with a custom image. */ | |
102 | background: url("chrome://global/skin/media/scrubberThumb.png") no-repeat center; | |
103 | border: none !important; | |
104 | min-width: 11px; | |
105 | min-height: 20px; | |
106 | } | |
107 | ||
108 | .scale-thumb:hover, .scale-thumb:active { | |
109 | background-image: url("chrome://global/skin/media/scrubberThumb-hover.png"); | |
110 | } |