OLD | NEW |
---|---|
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 Loading... | |
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; | |
fukino
2014/07/18 10:18:43
nit: should be sorted
yoshiki
2014/07/18 15:56:34
Done.
| |
47 top: 0; | |
48 width: 100%; | |
49 } | |
50 | |
51 #cast-container > #cast-info { | |
52 left: 40px; | |
fukino
2014/07/18 10:18:43
ditto
yoshiki
2014/07/18 15:56:34
Done.
| |
53 position: absolute; | |
54 bottom: 70px; | |
55 background-image: -webkit-image-set( | |
56 url('../images/100/cast_big.png') 1x, | |
57 url('../images/200/cast_big.png') 2x); | |
58 background-position: 0 0; | |
59 background-repeat: no-repeat; | |
60 padding: 5px 56px; | |
61 height: 38px; | |
62 opacity: 0.8; | |
63 z-index: 10; | |
64 } | |
65 | |
66 #cast-container > #cast-info > .first-line { | |
67 font-size: 12px; | |
fukino
2014/07/18 10:18:43
ditto
yoshiki
2014/07/18 15:56:34
Done.
| |
68 color: #fff; | |
69 font-weight: bold; | |
70 line-height: 14px; | |
71 text-transform: uppercase; | |
72 } | |
73 | |
74 #cast-container > #cast-info > .second-line { | |
75 font-size: 22px; | |
fukino
2014/07/18 10:18:43
ditto
yoshiki
2014/07/18 15:56:34
Done.
| |
76 color: #fff; | |
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 Loading... | |
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 } |
OLD | NEW |