OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2015 Google Inc. | 3 * Copyright (C) 2015 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 top: 0; | 138 top: 0; |
139 left: 0; | 139 left: 0; |
140 margin: 0; | 140 margin: 0; |
141 border-width: 0px; | 141 border-width: 0px; |
142 background-color: transparent; | 142 background-color: transparent; |
143 width: 100%; | 143 width: 100%; |
144 height: 100%; | 144 height: 100%; |
145 padding: 0; | 145 padding: 0; |
146 } | 146 } |
147 | 147 |
| 148 /* TODO(xjz): Move media remoting elements to a separate css file. */ |
| 149 video::-internal-media-remoting-interstitial { |
| 150 width: inherit; |
| 151 height: inherit; |
| 152 position: relative; |
| 153 direction: ltr; |
| 154 display: flex; |
| 155 flex-direction: column; |
| 156 font-family: Segoe, "Helvetica Neue", Roboto, Arial, Helvetica, sans-serif; |
| 157 justify-content: flex-end; |
| 158 align-items: center; |
| 159 font-size: 28px; |
| 160 background-color: black; |
| 161 transition: opacity 0.2s cubic-bezier (0.4, 0.0, 0.2, 1); |
| 162 } |
| 163 |
| 164 video::-internal-media-remoting-background-image { |
| 165 -webkit-appearance: media-remoting-background-image; |
| 166 display: flex; |
| 167 position: absolute; |
| 168 margin: 0; |
| 169 top: 0px; |
| 170 left: 0px; |
| 171 width: 100%; |
| 172 height: 100%; |
| 173 border: none; |
| 174 border-width: 0px; |
| 175 background-color: transparent; |
| 176 padding: 0; |
| 177 filter: grayscale(100%) blur(5px); |
| 178 } |
| 179 |
| 180 video::-internal-media-remoting-interstitial-elements { |
| 181 -webkit-appearance: media-remoting-interstitial-elements; |
| 182 display: flex; |
| 183 position: absolute; |
| 184 margin: 0; |
| 185 top: 0px; |
| 186 left: 0px; |
| 187 border: none; |
| 188 border-width: 0px; |
| 189 background-color: transparent; |
| 190 width: 100%; |
| 191 height: 100%; |
| 192 padding: 0; |
| 193 } |
| 194 |
| 195 video::-internal-media-remoting-cast-icon { |
| 196 -webkit-appearance: media-remoting-cast-icon; |
| 197 display: flex; |
| 198 position: absolute; |
| 199 margin: 0; |
| 200 top: 20px; |
| 201 left: 20px; |
| 202 border-width: 0px; |
| 203 background-color: transparent; |
| 204 height: 72px; |
| 205 width: 88px; |
| 206 padding: 0; |
| 207 } |
| 208 |
| 209 video::-internal-media-remoting-disable-button { |
| 210 -webkit-appearance: media-remoting-disable-button; |
| 211 display: flex; |
| 212 position: absolute; |
| 213 border: 2px solid rgba(255,255,255,.54); |
| 214 margin: 0; |
| 215 top: calc(50% - 16px); |
| 216 left: calc(50% - 44px); |
| 217 width: 88px; |
| 218 height: 32px; |
| 219 background-color: transparent; |
| 220 color: LightGray; |
| 221 text-align: center; |
| 222 padding: 0; |
| 223 text-wrap: none; |
| 224 font-size: 11px; |
| 225 font-family: Arial, Sans-serif, Segoe, Serif, Roboto, Helvetica; |
| 226 } |
| 227 |
148 video::-internal-media-controls-overlay-cast-button { | 228 video::-internal-media-controls-overlay-cast-button { |
149 -webkit-appearance: -internal-media-overlay-cast-off-button; | 229 -webkit-appearance: -internal-media-overlay-cast-off-button; |
150 display: flex; | 230 display: flex; |
151 position: absolute; | 231 position: absolute; |
152 top: 8px; | 232 top: 8px; |
153 left: 8px; | 233 left: 8px; |
154 margin-left: 0px; | 234 margin-left: 0px; |
155 margin-top: 0px; | 235 margin-top: 0px; |
156 border-width: 0px; | 236 border-width: 0px; |
157 background-color: transparent; | 237 background-color: transparent; |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 font-weight: bold; | 594 font-weight: bold; |
515 } | 595 } |
516 | 596 |
517 video::cue(u) { | 597 video::cue(u) { |
518 text-decoration: underline; | 598 text-decoration: underline; |
519 } | 599 } |
520 | 600 |
521 video::cue(i) { | 601 video::cue(i) { |
522 font-style: italic; | 602 font-style: italic; |
523 } | 603 } |
OLD | NEW |