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

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

Issue 2767823002: Media Remoting: Add interstitial elements to media element shadow dom. (Closed)
Patch Set: Remove cast text message element. Not assuming remoting interstitial is media control. Created 3 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
Index: third_party/WebKit/Source/core/css/mediaControls.css
diff --git a/third_party/WebKit/Source/core/css/mediaControls.css b/third_party/WebKit/Source/core/css/mediaControls.css
index f13cb3dfcc2d344d7de2377fca0536f78c38af38..cc196720c1ca7cca4f7dc83ea255bf5476391f0b 100644
--- a/third_party/WebKit/Source/core/css/mediaControls.css
+++ b/third_party/WebKit/Source/core/css/mediaControls.css
@@ -145,6 +145,85 @@ video::-webkit-media-controls-overlay-play-button {
padding: 0;
}
+video::-internal-media-remoting-interstitial {
mlamouri (slow - plz ping) 2017/04/07 13:18:32 FWIW, this is not part of media controls. Let's ig
xjz 2017/04/07 23:07:01 Done. Added TODO for now. Will do in a separate CL
+ width: inherit;
+ height: inherit;
+ position: relative;
+ direction: ltr;
+ display: flex;
+ flex-direction: column;
+ font-family: Segoe, "Helvetica Neue", Roboto, Arial, Helvetica, sans-serif;
+ justify-content: flex-end;
+ align-items: center;
+ font-size: 28px;
+ background-color: black;
+ transition: opacity 0.2s cubic-bezier (0.4, 0.0, 0.2, 1);
+}
+
+video::-internal-media-remoting-background-image {
+ -webkit-appearance: media-remoting-background-image;
+ display: flex;
+ position: absolute;
+ margin: 0;
+ top: 0px;
+ left: 0px;
+ width: 100%;
+ height: 100%;
+ border: none;
+ border-width: 0px;
+ background-color: transparent;
+ padding: 0;
+ filter: grayscale(100%) blur(5px);
+}
+
+video::-internal-media-remoting-interstitial-elements {
+ -webkit-appearance: media-remoting-interstitial-elements;
+ display: flex;
+ position: absolute;
+ margin: 0;
+ top: 0px;
+ left: 0px;
+ border: none;
+ border-width: 0px;
+ background-color: transparent;
+ width: 100%;
+ height: 100%;
+ padding: 0;
+}
+
+video::-internal-media-remoting-cast-icon {
+ -webkit-appearance: media-remoting-cast-icon;
+ display: flex;
+ position: absolute;
+ margin: 0;
+ top: 20px;
+ left: 20px;
+ border-width: 0px;
+ background-color: transparent;
+ height: 72px;
+ width: 88px;
+ padding: 0;
+}
+
+video::-internal-media-remoting-disable-button {
+ -webkit-appearance: media-remoting-disable-button;
+ display: flex;
+ position: absolute;
+ border: 2px solid rgba(255,255,255,.54);
+ margin: 0;
+ top: calc(50% - 16px);
+ left: calc(50% - 44px);
+ width: 88px;
+ height: 32px;
+ background-color: transparent;
+ color: LightGray;
+ text-align: center;
+ padding: 0;
+ text-wrap: none;
+ font-size: 11px;
+ font-family: Arial, Sans-serif, Segoe, Serif, Roboto, Helvetica;
+}
+
video::-internal-media-controls-overlay-cast-button {
-webkit-appearance: -internal-media-overlay-cast-off-button;
display: flex;

Powered by Google App Engine
This is Rietveld 408576698