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

Unified Diff: ui/file_manager/video_player/css/video_player.css

Issue 397813004: Video Player: Add a message which is shown on casting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: ui/file_manager/video_player/css/video_player.css
diff --git a/ui/file_manager/video_player/css/video_player.css b/ui/file_manager/video_player/css/video_player.css
index 693f86d4625aab8d288258eb85299ee3cdb72b41..2d1456919cc8f8cea26d2e1b883cdeda1120932d 100644
--- a/ui/file_manager/video_player/css/video_player.css
+++ b/ui/file_manager/video_player/css/video_player.css
@@ -36,6 +36,48 @@ video {
width: 100%;
}
+#video-player:not([casting]) > #cast-container {
+ display: none;
+}
+
+#cast-container {
+ height: 100%;
+ left: 0;
+ position: absolute;
fukino 2014/07/18 10:18:43 nit: should be sorted
yoshiki 2014/07/18 15:56:34 Done.
+ top: 0;
+ width: 100%;
+}
+
+#cast-container > #cast-info {
+ left: 40px;
fukino 2014/07/18 10:18:43 ditto
yoshiki 2014/07/18 15:56:34 Done.
+ position: absolute;
+ bottom: 70px;
+ background-image: -webkit-image-set(
+ url('../images/100/cast_big.png') 1x,
+ url('../images/200/cast_big.png') 2x);
+ background-position: 0 0;
+ background-repeat: no-repeat;
+ padding: 5px 56px;
+ height: 38px;
+ opacity: 0.8;
+ z-index: 10;
+}
+
+#cast-container > #cast-info > .first-line {
+ font-size: 12px;
fukino 2014/07/18 10:18:43 ditto
yoshiki 2014/07/18 15:56:34 Done.
+ color: #fff;
+ font-weight: bold;
+ line-height: 14px;
+ text-transform: uppercase;
+}
+
+#cast-container > #cast-info > .second-line {
+ font-size: 22px;
fukino 2014/07/18 10:18:43 ditto
yoshiki 2014/07/18 15:56:34 Done.
+ color: #fff;
+ font-weight: bold;
+ line-height: 24px;
+}
+
#controls-wrapper {
-webkit-box-align: center;
-webkit-box-orient: horizontal;
@@ -52,11 +94,11 @@ video {
display: -webkit-box;
}
-#video-player:not([tools]) .tool {
+#video-player:not([tools]):not([casting]) .tool {
opacity: 0;
}
-#video-player:not([tools]) {
+#video-player:not([tools]):not([casting]) {
cursor: none;
}

Powered by Google App Engine
This is Rietveld 408576698