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

Unified 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, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/mediaControlsNew.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/mediaControlsAndroidNew.css
diff --git a/third_party/WebKit/Source/core/css/mediaControlsAndroidNew.css b/third_party/WebKit/Source/core/css/mediaControlsAndroidNew.css
index 4e79212229bbabe580ee2208c290e6e0edec920e..8ec37d3634ea4746239e8644c908673c4350f701 100644
--- a/third_party/WebKit/Source/core/css/mediaControlsAndroidNew.css
+++ b/third_party/WebKit/Source/core/css/mediaControlsAndroidNew.css
@@ -26,3 +26,64 @@
/* WARNING: This css file can only style <audio> and <video> elements */
+audio {
+ height: 48px;
+}
+
+audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure {
+ height: 48px;
+}
+
+audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel {
+ height: 48px;
+ min-width: 48px;
+ line-height: 48px;
+ font-size: 14px;
+}
+
+audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button {
+ padding: 8px;
+ width: 48px;
+ height: 48px;
+}
+
+video::-internal-media-controls-overlay-cast-button {
+ width: 48px;
+ height: 48px;
+}
+
+audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button {
+ padding: 8px;
+ width: 48px;
+ height: 48px;
+}
+
+audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls-timeline-container {
+ height: 48px;
+}
+
+audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display {
+ height: 48px;
+}
+
+audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-controls-time-remaining-display {
+ height: 48px;
+}
+
+audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-fullscreen-button {
+ padding: 8px;
+ width: 48px;
+ height: 48px;
+}
+
+audio::-internal-media-controls-cast-button, video::-internal-media-controls-cast-button {
+ padding: 8px;
+ width: 48px;
+ height: 48px;
+}
+
+video::-webkit-media-controls-toggle-closed-captions-button {
+ padding: 8px;
+ width: 48px;
+ height: 48px;
+}
« 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