2 * Copyright (C) 2012 Google Inc.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
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.
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.
25 /* Media controls for Chromium on Android*/
27 body:-webkit-full-page-media {
28 background-color: rgb(0, 0, 0);
36 audio:-webkit-full-page-media, video:-webkit-full-page-media {
41 audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel {
43 -webkit-box-orient: horizontal;
44 -webkit-box-align: center;
45 -webkit-box-pack: center;
48 background-color: rgba(20, 20, 20, 0.8);
51 audio:-webkit-full-page-media::-webkit-media-controls-panel,
52 video:-webkit-full-page-media::-webkit-media-controls-panel {
56 ::-webkit-media-controls {
58 -webkit-box-orient: vertical;
59 -webkit-box-pack: end;
60 -webkit-box-align: center;
63 audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure {
70 box-sizing: border-box;
73 video::-webkit-media-controls-enclosure {
74 padding: 0px 5px 5px 5px;
78 audio::-webkit-media-controls-overlay-enclosure {
82 video::-webkit-media-controls-overlay-enclosure {
84 -webkit-box-orient: horizontal;
85 -webkit-box-pack:center;
86 -webkit-box-align:center;
91 box-sizing: border-box;
94 audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button {
98 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button {
99 -webkit-appearance: media-play-button;
102 box-sizing: border-box;
111 video::-webkit-media-controls-overlay-play-button {
112 -webkit-appearance: media-overlay-play-button;
113 -webkit-box-align: center;
114 display: -webkit-box;
116 box-sizing: border-box;
117 background-color: transparent;
123 audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display,
124 audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-controls-time-remaining-display {
125 -webkit-appearance: media-current-time-display;
126 -webkit-user-select: none;
136 font-family: Arial, Helvetica, sans-serif;
141 letter-spacing: normal;
142 word-spacing: normal;
143 text-transform: none;
146 text-decoration: none;
149 audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline {
150 -webkit-appearance: media-slider;
151 display: -webkit-box;
156 background-color: transparent;
161 video::-webkit-media-controls-fullscreen-button {
162 -webkit-appearance: media-enter-fullscreen-button;
165 box-sizing: border-box;
174 input[type="range"]::-webkit-media-slider-container {
175 display: -webkit-box;
176 -webkit-box-align: center;
177 -webkit-box-orient: horizontal;
178 -webkit-box-sizing: border-box;
181 border: 1px solid rgba(230, 230, 230, 0.35);
183 background-color: transparent;
186 input[type="range"]::-webkit-media-slider-thumb {
188 -webkit-appearance: sliderthumb-horizontal;
189 -webkit-box-sizing: border-box;
196 audio::-webkit-media-controls-fullscreen-button {
200 audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volume-slider {