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..5ceaad832f9c35be01bbde0fc8a733dda91f7a74 100644 |
--- a/third_party/WebKit/Source/core/css/mediaControls.css |
+++ b/third_party/WebKit/Source/core/css/mediaControls.css |
@@ -145,6 +145,86 @@ video::-webkit-media-controls-overlay-play-button { |
padding: 0; |
} |
+/* TODO(xjz): Move media remoting elements to a separate css file. */ |
+video::-internal-media-remoting-interstitial { |
+ 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; |