2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved.
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.
32 ::-webkit-media-controls {
39 audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel {
41 -webkit-box-orient: horizontal;
42 -webkit-box-align: center;
43 -webkit-user-select: none;
53 video:-webkit-full-page-media::-webkit-media-controls-panel {
57 audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button {
58 -webkit-appearance: media-mute-button;
62 background-color: initial;
67 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button {
68 -webkit-appearance: media-play-button;
72 background-color: initial;
77 audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls-timeline-container {
78 -webkit-appearance: media-controls-background;
80 -webkit-box-orient: horizontal;
81 -webkit-box-align: center;
82 -webkit-box-pack: end;
84 -webkit-user-select: none;
88 audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display {
92 audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-controls-time-remaining-display {
96 audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline {
97 -webkit-appearance: media-slider;
102 background-color: initial;
108 audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volume-slider {
109 background-color: initial;
115 audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button {
116 -webkit-appearance: media-seek-back-button;
117 display: -webkit-box;
120 background-color: initial;
125 audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-button {
126 -webkit-appearance: media-seek-forward-button;
127 display: -webkit-box;
130 background-color: initial;
135 audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-fullscreen-button {
136 -webkit-appearance: media-fullscreen-button;
137 display: -webkit-box;
140 background-color: initial;
145 audio::-webkit-media-controls-rewind-button, video::-webkit-media-controls-rewind-button {
147 background-color: initial;
152 audio::-webkit-media-controls-return-to-realtime-button, video::-webkit-media-controls-return-to-realtime-button {
154 background-color: initial;
159 audio::-webkit-media-controls-toggle-closed-captions-button, video::-webkit-media-controls-toggle-closed-captions-button {
160 -webkit-appearance: media-toggle-closed-captions-button;
161 display: -webkit-box;
164 background-color: initial;
169 audio::-webkit-media-controls-volume-slider-mute-button, video::-webkit-media-controls-volume-slider-mute-button {
170 -webkit-appearance: media-volume-slider-mute-button;
172 background-color: initial;
177 audio::-webkit-media-controls-fullscreen-volume-slider, video::-webkit-media-controls-fullscreen-volume-slider {
181 audio::-webkit-media-controls-fullscreen-volume-min-button, video::-webkit-media-controls-fullscreen-volume-min-button {
185 audio::-webkit-media-controls-fullscreen-volume-max-button, video::-webkit-media-controls-fullscreen-volume-max-button {