OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright (C) 2012 Google Inc. | |
3 * | |
4 * Redistribution and use in source and binary forms, with or without | |
5 * modification, are permitted provided that the following conditions | |
6 * are met: | |
7 * 1. Redistributions of source code must retain the above copyright | |
8 * notice, this list of conditions and the following disclaimer. | |
9 * 2. Redistributions in binary form must reproduce the above copyright | |
10 * notice, this list of conditions and the following disclaimer in the | |
11 * documentation and/or other materials provided with the distribution. | |
12 * | |
13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY | |
14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |
16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR | |
17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
19 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | |
20 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
23 */ | |
24 | |
25 /* Media controls for Chromium on Android */ | |
26 | |
27 /* WARNING: This css file can only style <audio> and <video> elements */ | |
28 | |
29 audio { | |
30 height: 35px; | |
31 } | |
32 | |
33 audio::-webkit-media-controls-enclosure { | |
34 height: 35px; | |
35 } | |
36 | |
37 video::-webkit-media-controls-enclosure { | |
38 height: 40px; | |
39 } | |
40 | |
41 audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel { | |
42 height: 35px; | |
43 } | |
44 | |
45 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-bu
tton { | |
46 width: 35px; | |
47 height: 35px; | |
48 line-height: 35px; | |
49 } | |
50 | |
51 audio::-webkit-media-controls-current-time-display, video::-webkit-media-control
s-current-time-display, | |
52 audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-contr
ols-time-remaining-display { | |
53 height: 35px; | |
54 line-height: 35px; | |
55 font-size: 18px; | |
56 } | |
57 | |
58 audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volum
e-slider { | |
59 display: none; | |
60 } | |
61 | |
62 video::-webkit-media-controls-fullscreen-button { | |
63 width: 35px; | |
64 height: 35px; | |
65 line-height: 35px; | |
66 } | |
67 | |
68 audio::-webkit-media-controls-fullscreen-button { | |
69 display: none; | |
70 } | |
71 | |
72 audio::-internal-media-controls-cast-button, video::-internal-media-controls-cas
t-button { | |
73 width: 35px; | |
74 height: 35px; | |
75 line-height: 35px; | |
76 } | |
77 | |
78 video::-webkit-media-controls-toggle-closed-captions-button { | |
79 width: 35px; | |
80 height: 35px; | |
81 line-height: 35px; | |
82 } | |
OLD | NEW |