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

Side by Side Diff: components/dom_distiller/core/css/distilledpage.css

Issue 880983007: Iframe placeholders, security and resizing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 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 /* Set the global 'box-sizing' state to 'border-box'. 5 /* Set the global 'box-sizing' state to 'border-box'.
6 * *::after and *::before used to select pseudo-elements not selectable by *. */ 6 * *::after and *::before used to select pseudo-elements not selectable by *. */
7 7
8 *, 8 *,
9 *::after, 9 *::after,
10 *::before { 10 *::before {
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 @keyframes fadeOutAnimation { 338 @keyframes fadeOutAnimation {
339 from { 339 from {
340 opacity: 1; 340 opacity: 1;
341 } 341 }
342 342
343 to { 343 to {
344 opacity: 0; 344 opacity: 0;
345 } 345 }
346 } 346 }
347 347
348 /* Iframe sizing. */
349 .youtubeContainer {
350 height: 0px;
351 /* This is the perecnt height of a standard HD video. */
352 padding-bottom: 56.25%;
353 position: relative;
354 width: 100%;
355 }
356
357 .youtubeIframe {
358 height: 100%;
359 left: 0px;
360 position: absolute;
361 top: 0px;
362 width: 100%;
363 }
364
348 /* Loading Indicator. */ 365 /* Loading Indicator. */
349 #loader { 366 #loader {
350 height: 22px; 367 height: 22px;
351 margin-left: auto; 368 margin-left: auto;
352 margin-right: auto; 369 margin-right: auto;
353 position: relative; 370 position: relative;
354 width: 22px; 371 width: 22px;
355 } 372 }
356 373
357 #loader * { 374 #loader * {
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 border-color: rgb(250,36,36); 760 border-color: rgb(250,36,36);
744 } 761 }
745 762
746 #loader.red .circle.red .mask.first .mover { 763 #loader.red .circle.red .mask.first .mover {
747 background-color: rgb(33,89,189); 764 background-color: rgb(33,89,189);
748 } 765 }
749 766
750 #loader.red .circle.red .mask.second .mover { 767 #loader.red .circle.red .mask.second .mover {
751 background-color: rgb(250,36,36); 768 background-color: rgb(250,36,36);
752 } 769 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698