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

Side by Side 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: Addressed the comments 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 body { 5 body {
6 -webkit-user-select: none; 6 -webkit-user-select: none;
7 background: black; 7 background: black;
8 font-family: Noto Sans UI,Droid Sans Fallback,sans-serif; 8 font-family: Noto Sans UI,Droid Sans Fallback,sans-serif;
9 font-size: 84%; 9 font-size: 84%;
10 margin: 0; 10 margin: 0;
(...skipping 18 matching lines...) Expand all
29 29
30 video { 30 video {
31 height: 100%; 31 height: 100%;
32 left: 0; 32 left: 0;
33 pointer-events: none; 33 pointer-events: none;
34 position: absolute; 34 position: absolute;
35 top: 0; 35 top: 0;
36 width: 100%; 36 width: 100%;
37 } 37 }
38 38
39 #video-player:not([casting]) > #cast-container {
40 display: none;
41 }
42
43 #cast-container {
44 height: 100%;
45 left: 0;
46 position: absolute;
47 top: 0;
48 width: 100%;
49 }
50
51 #cast-container > #cast-info {
52 background-image: -webkit-image-set(
53 url('../images/100/cast_big.png') 1x,
54 url('../images/200/cast_big.png') 2x);
55 background-position: 0 0;
56 background-repeat: no-repeat;
57 bottom: 70px;
58 height: 38px;
59 left: 40px;
60 opacity: 0.8;
61 padding: 5px 56px;
62 position: absolute;
63 z-index: 10;
64 }
65
66 #cast-container > #cast-info > .first-line {
67 color: #fff;
68 font-size: 12px;
69 font-weight: bold;
70 line-height: 14px;
71 text-transform: uppercase;
72 }
73
74 #cast-container > #cast-info > .second-line {
75 color: #fff;
76 font-size: 22px;
77 font-weight: bold;
78 line-height: 24px;
79 }
80
39 #controls-wrapper { 81 #controls-wrapper {
40 -webkit-box-align: center; 82 -webkit-box-align: center;
41 -webkit-box-orient: horizontal; 83 -webkit-box-orient: horizontal;
42 -webkit-box-pack: center; 84 -webkit-box-pack: center;
43 bottom: 0; 85 bottom: 0;
44 display: -webkit-box; 86 display: -webkit-box;
45 left: 0; 87 left: 0;
46 position: absolute; 88 position: absolute;
47 right: 0; 89 right: 0;
48 } 90 }
49 91
50 #controls { 92 #controls {
51 -webkit-box-flex: 1; 93 -webkit-box-flex: 1;
52 display: -webkit-box; 94 display: -webkit-box;
53 } 95 }
54 96
55 #video-player:not([tools]) .tool { 97 #video-player:not([tools]):not([casting]) .tool {
56 opacity: 0; 98 opacity: 0;
57 } 99 }
58 100
59 #video-player:not([tools]) { 101 #video-player:not([tools]):not([casting]) {
60 cursor: none; 102 cursor: none;
61 } 103 }
62 104
63 /* Hides controls when disabled mode */ 105 /* Hides controls when disabled mode */
64 #video-player[disabled] > #controls-wrapper .tool { 106 #video-player[disabled] > #controls-wrapper .tool {
65 display: none; 107 display: none;
66 } 108 }
67 109
68 .tool { 110 .tool {
69 transition: opacity 180ms linear; 111 transition: opacity 180ms linear;
(...skipping 25 matching lines...) Expand all
95 color: white; 137 color: white;
96 display: -webkit-box; 138 display: -webkit-box;
97 height: 54px; 139 height: 54px;
98 padding-left: 70px; 140 padding-left: 70px;
99 padding-right: 35px; 141 padding-right: 35px;
100 } 142 }
101 143
102 #error:not([visible]) { 144 #error:not([visible]) {
103 display: none; 145 display: none;
104 } 146 }
OLDNEW
« no previous file with comments | « ui/file_manager/video_player/css/header.css ('k') | ui/file_manager/video_player/images/100/cast_big.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698