Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Side by Side Diff: third_party/WebKit/Source/core/css/mediaControlsAndroidNew.css

Issue 1424733003: Paint media element's play button using padding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/mediaControlsNew.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2015 Google Inc. 2 * Copyright (C) 2015 Google Inc.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution. 11 * documentation and/or other materials provided with the distribution.
12 * 12 *
13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY 13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 19 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
20 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 20 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 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. 22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25 /* Media controls for Chromium on Android */ 25 /* Media controls for Chromium on Android */
26 26
27 /* WARNING: This css file can only style <audio> and <video> elements */ 27 /* WARNING: This css file can only style <audio> and <video> elements */
28 28
29 audio {
30 height: 48px;
31 }
32
33 audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure {
34 height: 48px;
35 }
36
37 audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel {
38 height: 48px;
39 min-width: 48px;
40 line-height: 48px;
41 font-size: 14px;
42 }
43
44 audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-bu tton {
45 padding: 8px;
46 width: 48px;
47 height: 48px;
48 }
49
50 video::-internal-media-controls-overlay-cast-button {
51 width: 48px;
52 height: 48px;
53 }
54
55 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-bu tton {
56 padding: 8px;
57 width: 48px;
58 height: 48px;
59 }
60
61 audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls- timeline-container {
62 height: 48px;
63 }
64
65 audio::-webkit-media-controls-current-time-display, video::-webkit-media-control s-current-time-display {
66 height: 48px;
67 }
68
69 audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-contr ols-time-remaining-display {
70 height: 48px;
71 }
72
73 audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-f ullscreen-button {
74 padding: 8px;
75 width: 48px;
76 height: 48px;
77 }
78
79 audio::-internal-media-controls-cast-button, video::-internal-media-controls-cas t-button {
80 padding: 8px;
81 width: 48px;
82 height: 48px;
83 }
84
85 video::-webkit-media-controls-toggle-closed-captions-button {
86 padding: 8px;
87 width: 48px;
88 height: 48px;
89 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/mediaControlsNew.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698