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 audio::-internal-media-remoting-interstitial, |
| 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 } |
| 161 |
| 162 video::-internal-media-remoting-background-image { |
| 163 -webkit-appearance: media-remoting-background-image; |
| 164 display: flex; |
| 165 position: absolute; |
| 166 border: none; |
| 167 margin: 0; |
| 168 top: 0px; |
| 169 left: 0px; |
| 170 width: 100%; |
| 171 height: 100%; |
| 172 border-width: 0px; |
| 173 background-color: #0E0E0E; |
| 174 padding: 0; |
| 175 filter: grayscale(100%) blur(5px); |
| 176 transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1); |
| 177 } |
| 178 |
| 179 video::-internal-media-remoting-interstitial-elements { |
| 180 -webkit-appearance: media-remoting-interstitial-elements; |
| 181 display: flex; |
| 182 position: absolute; |
| 183 margin: 0; |
| 184 top: 50%; |
| 185 left: 50%; |
| 186 border-width: 0px; |
| 187 background-color: transparent; |
| 188 width: 30vh; |
| 189 height: 30%; |
| 190 max-height: 200px; |
| 191 max-width: 200px; |
| 192 min-height: 64px; |
| 193 min-width: 64px; |
| 194 padding: 0; |
| 195 transform: translate(-50%, -50%); |
| 196 } |
| 197 |
| 198 video::-internal-media-remoting-cast-icon { |
| 199 -webkit-appearance: media-remoting-cast-icon; |
| 200 display: flex; |
| 201 position: absolute; |
| 202 margin: 0; |
| 203 top: 5%; |
| 204 left: 50%; |
| 205 border-width: 0px; |
| 206 background-color: transparent; |
| 207 height: 36%; |
| 208 width: 44%; |
| 209 padding: 0; |
| 210 transform: translate(-50%); |
| 211 transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1); |
| 212 } |
| 213 |
| 214 video::-internal-media-remoting-cast-text { |
| 215 -webkit-appearance: media-remoting-cast-text; |
| 216 display: flex; |
| 217 position: absolute; |
| 218 border: none; |
| 219 color: LightGray; |
| 220 margin: 0; |
| 221 text-align: center; |
| 222 top: 51%; |
| 223 left: 50%; |
| 224 height: 18%; |
| 225 border-width: 0px; |
| 226 background-color: transparent; |
| 227 padding: 0; |
| 228 font-size: 12px; |
| 229 font-size: 2vw; |
| 230 font-family: Arial, Sans-serif, Segoe, Serif, Roboto, Helvetica; |
| 231 transform: translate(-50%); |
| 232 transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1); |
| 233 } |
| 234 |
| 235 video::-internal-media-remoting-disable-button { |
| 236 -webkit-appearance: media-remoting-disable-button; |
| 237 display: flex; |
| 238 position: absolute; |
| 239 border: 1.5px solid rgba(255,255,255,.54); |
| 240 margin: 0; |
| 241 top: 80%; |
| 242 left: 50%; |
| 243 width: 40%; |
| 244 height: 16%; |
| 245 background-color: transparent; |
| 246 color: LightGray; |
| 247 text-align: center; |
| 248 padding: 0; |
| 249 font-size: 11px; |
| 250 font-size: 1vw; |
| 251 font-family: Arial, Sans-serif, Segoe, Serif, Roboto, Helvetica; |
| 252 transform: translate(-50%); |
| 253 transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1); |
| 254 } |
| 255 |
148 video::-internal-media-controls-overlay-cast-button { | 256 video::-internal-media-controls-overlay-cast-button { |
149 -webkit-appearance: -internal-media-overlay-cast-off-button; | 257 -webkit-appearance: -internal-media-overlay-cast-off-button; |
150 display: flex; | 258 display: flex; |
151 position: absolute; | 259 position: absolute; |
152 top: 8px; | 260 top: 8px; |
153 left: 8px; | 261 left: 8px; |
154 margin-left: 0px; | 262 margin-left: 0px; |
155 margin-top: 0px; | 263 margin-top: 0px; |
156 border-width: 0px; | 264 border-width: 0px; |
157 background-color: transparent; | 265 background-color: transparent; |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 font-weight: bold; | 622 font-weight: bold; |
515 } | 623 } |
516 | 624 |
517 video::cue(u) { | 625 video::cue(u) { |
518 text-decoration: underline; | 626 text-decoration: underline; |
519 } | 627 } |
520 | 628 |
521 video::cue(i) { | 629 video::cue(i) { |
522 font-style: italic; | 630 font-style: italic; |
523 } | 631 } |
OLD | NEW |