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

Unified Diff: Source/core/css/mediaControls.css

Issue 291163004: Implement media cast buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/CSSValueKeywords.in ('k') | Source/core/css/mediaControlsAndroid.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/mediaControls.css
diff --git a/Source/core/css/mediaControls.css b/Source/core/css/mediaControls.css
index d3b5536e4a4526b8ceab2ba14b949ae3bbfd4843..959e04a05e86fac64e72dd68aa18cd3b82d68937 100644
--- a/Source/core/css/mediaControls.css
+++ b/Source/core/css/mediaControls.css
@@ -277,6 +277,38 @@ audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-f
color: inherit;
}
+audio::-webkit-media-controls-cast-off-button, video::-webkit-media-controls-cast-off-button {
+ -webkit-appearance: media-enter-cast-off-button;
Peter Beverloo 2014/05/20 11:24:47 You're using the |media-enter-cast-off-button| key
+ display: flex;
+ flex: none;
+ border: none;
+ box-sizing: border-box;
+ width: 30px;
+ height: 30px;
+ line-height: 30px;
+ margin-left: -5px;
+ margin-right: 9px;
+ padding: 0;
+ background-color: initial;
+ color: inherit;
+}
+
+audio::-webkit-media-controls-cast-on-button, video::-webkit-media-controls-cast-on-button {
+ -webkit-appearance: media-enter-cast-on-button;
+ display: flex;
+ flex: none;
+ border: none;
+ box-sizing: border-box;
+ width: 30px;
+ height: 30px;
+ line-height: 30px;
+ margin-left: -5px;
+ margin-right: 9px;
+ padding: 0;
+ background-color: initial;
+ color: inherit;
+}
+
audio::-webkit-media-controls-toggle-closed-captions-button {
display: none;
}
« no previous file with comments | « Source/core/css/CSSValueKeywords.in ('k') | Source/core/css/mediaControlsAndroid.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698