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
3 * found in the LICENSE file. */
5 /* Set the global 'box-sizing' state to 'border-box'.
6 * *::after and *::before used to select pseudo-elements not selectable by *. */
11 box-sizing: border-box
;
14 /* Remove all margins and padding from certain element and add word wrap. */
41 word-wrap: break-word
;
44 /* Prevent 'sub' and 'sup' affecting 'line-height'. */
51 vertical-align: baseline
;
62 /* Remove most spacing between table cells. */
65 border-collapse: collapse
;
74 /* Base typography. */
81 text-rendering: optimizeLegibility
;
83 -webkit-overflow-scrolling: touch
;
86 /* Classes for light, dark and sepia themes.
87 * Must agree with classes returned by useTheme() in dom_distiller_viewer.js
88 * and with CSS class constants in viewer.cc */
92 background-color: #FFF;
97 background-color: #000;
102 background-color: rgb
(203, 173, 141);
110 font-family: 'Open Sans', sans-serif
;
114 font-family: monospace
;
117 /* Define vertical rhythm (baseline grid of 4px). */
146 margin-bottom: 0.444rem;
151 /* Margins for Show Original link. */
154 margin: auto
1.296rem 1.296rem 1.296rem;
173 background-color: rgb
(73, 73, 73);
184 #titleCollapse .verticalCenterOuter
{
192 .verticalCenterOuter {
197 .verticalCenterInner {
199 vertical-align: middle
;
203 /* Link colors for light, dark and sepia themes */
214 border-left: 4px solid
#eee;
219 color: rgba
(0, 0, 0, .54);
224 background-color: #e4dfdf;
227 margin: inherit auto
;
234 margin-bottom: 0.444rem;
253 /* TODO(sunangel): make images zoomable. */
258 margin: 0 auto
0.6rem auto
;
261 /* TODO(nyquist): set these classes directly in the dom distiller. */
263 embed
+[class
*='caption'],
265 img
+[class
*='caption'],
266 object
+[class
*='caption'],
267 video
+[class
*='caption'] {
268 color: rgba
(0,0,0,.54);
276 margin-left: 1.296rem;
283 background-color: #f8f8f8;
284 border: 1px solid
#eee;
290 background-color: #333;
291 border: 1px solid
#555;
310 /* Footer feedback form. */
314 padding-bottom: 120px;
322 background-color: #4285F4;
327 background-color: #4285F4;
339 .feedbackButtonWrap {
346 background-color: #FFFFFF;
349 display: inline-block
;
352 margin: 0px 4% 0px 4%;
355 text-transform: uppercase
;
363 /* Feedback fade out */
365 animation-duration: 0.5s;
366 animation-name: fadeOutAnimation
;
369 @keyframes fadeOutAnimation
{
382 /* This is the perecnt height of a standard HD video. */
383 padding-bottom: 56.25%;
396 /* Loading Indicator. */
425 #loader .mask
.first
{
426 transition-delay: 0.22s;
427 transition-duration: 0s;
428 transition-property: border-color
;
431 #loader .circle
.initial
.mask
{
436 #loader .circle
.red
.mask
.first
{
437 border-bottom: 1px solid
#555;
442 #loader .circle
.red
.mask
.second
{
447 #loader .circle
.yellow
.mask
.first
{
448 border-left: 1px solid
#888;
453 #loader .circle
.yellow
.mask
.second
{
458 #loader .circle
.green
.mask
.first
{
459 border-top: 1px solid
#555;
464 #loader .circle
.green
.mask
.second
{
469 #loader .circle
.blue
.mask
.first
{
470 border-right: 1px solid
#888;
475 #loader .circle
.blue
.mask
.second
{
480 #loader .circle
.mask
.base
{
484 transition-property: opacity
;
485 transition-timing-function: linear
;
486 transition-duration: 0s;
487 transition-delay: 0s;
491 #loader .circle
.mask
.mover
{
494 transition-delay: 0s;
495 transition-duration: 0.22s;
496 transition-property: background-color
, left
, top
, right
, bottom
, width
,
498 transition-timing-function: ease-in
;
502 #loader .circle
.mask
.second
.mover
,
503 #loader .circle
.initial
.mask
.mover
{
504 transition-delay: 0.22s;
505 transition-timing-function: ease-out
;
508 #loader .circle
.red
.mask
.first
.base
{
512 #loader .circle
.red
.mask
.second
.base
{
517 #loader .circle
.yellow
.mask
.first
.base
{
522 #loader .circle
.yellow
.mask
.second
.base
{
527 #loader .circle
.green
.mask
.first
.base
{
532 #loader .circle
.green
.mask
.second
.base
{
537 #loader .circle
.blue
.mask
.first
.base
{
542 #loader .circle
.blue
.mask
.second
.base
{
547 #loader .circle
.initial
.mask
.mover
{
552 #loader .circle
.red
.mask
.first
.mover
{
557 #loader .circle
.red
.mask
.second
.mover
{
562 #loader .circle
.yellow
.mask
.first
.mover
{
567 #loader .circle
.yellow
.mask
.second
.mover
{
572 #loader .circle
.green
.mask
.first
.mover
{
577 #loader .circle
.green
.mask
.second
.mover
{
582 #loader .circle
.blue
.mask
.first
.mover
{
587 #loader .circle
.blue
.mask
.second
.mover
{
593 #loader.initial
.circle
.initial
,
594 #loader.initial
.circle
.initial
.mask
{
597 #loader.initial
.circle
.initial
.mask
.mover
{
602 /* Moving from Red to Yellow. */
603 #loader.yellow
.circle
.yellow
,
604 #loader.yellow
.circle
.yellow
.mask
,
605 #loader.yellow
.circle
.yellow
.mask
.base
{
608 #loader.yellow
.circle
.yellow
.mask
.first
.mover
{
612 #loader.yellow
.circle
.yellow
.mask
.second
.mover
{
617 /* Moving from Yellow to Green. */
618 #loader.green
.circle
.green
,
619 #loader.green
.circle
.green
.mask
,
620 #loader.green
.circle
.green
.mask
.base
{
623 #loader.green
.circle
.green
.mask
.first
.mover
{
627 #loader.green
.circle
.green
.mask
.second
.mover
{
633 /* Moving from Green to Blue. */
634 #loader.blue
.circle
.blue
,
635 #loader.blue
.circle
.blue
.mask
,
636 #loader.blue
.circle
.blue
.mask
.base
{
639 #loader.blue
.circle
.blue
.mask
.first
.mover
{
643 #loader.blue
.circle
.blue
.mask
.second
.mover
{
648 /* Moving from Blue to Red. */
649 #loader.red
.circle
.red
,
650 #loader.red
.circle
.red
.mask
,
651 #loader.red
.circle
.red
.mask
.base
{
654 #loader.red
.firstTime
.circle
.red
.mask
.second
.base
{
657 #loader.red
.circle
.red
.mask
.first
.mover
{
661 #loader.red
.circle
.red
.mask
.second
.mover
{
666 #loader .circle
.red
.mask
.first
{
667 border-bottom-color: rgb
(60,120,248);
670 #loader .circle
.yellow
.mask
.first
{
671 border-left-color: rgb
(250,36,36);
674 #loader .circle
.green
.mask
.first
{
675 border-top-color: rgb
(255,211,75);
678 #loader .circle
.blue
.mask
.first
{
679 border-right-color: rgb
(0,177,95);
682 #loader .circle
.red
.mask
.first
.base
{
683 background-color: rgb
(250,36,36);
686 #loader .circle
.red
.mask
.second
.base
{
687 background-color: rgb
(60,120,248);
690 #loader .circle
.yellow
.mask
.first
.base
{
691 background-color: rgb
(255,211,75);
694 #loader .circle
.yellow
.mask
.second
.base
{
695 background-color: rgb
(250,36,36);
698 #loader .circle
.green
.mask
.first
.base
{
699 background-color: rgb
(0,177,95);
702 #loader .circle
.green
.mask
.second
.base
{
703 background-color: rgb
(255,211,75);
706 #loader .circle
.blue
.mask
.first
.base
{
707 background-color: rgb
(60,120,248);
710 #loader .circle
.blue
.mask
.second
.base
{
711 background-color: rgb
(0,177,95);
714 #loader .circle
.initial
.mask
.mover
{
715 background-color: rgb
(33,89,189);
718 #loader .circle
.red
.mask
.first
.mover
{
719 background-color: rgb
(60,120,248);
722 #loader .circle
.red
.mask
.second
.mover
{
723 background-color: rgb
(158,18,18);
726 #loader .circle
.yellow
.mask
.first
.mover
{
727 background-color: rgb
(250,36,36);
730 #loader .circle
.yellow
.mask
.second
.mover
{
731 background-color: rgb
(222,161,26);
734 #loader .circle
.green
.mask
.first
.mover
{
735 background-color: rgb
(255,211,75);
738 #loader .circle
.green
.mask
.second
.mover
{
739 background-color: rgb
(0,137,72);
742 #loader .circle
.blue
.mask
.first
.mover
{
743 background-color: rgb
(0,177,95);
746 #loader .circle
.blue
.mask
.second
.mover
{
747 background-color: rgb
(33,89,189);
750 #loader.initial
.circle
.initial
.mask
.mover
{
751 background-color: rgb
(60,120,248);
754 #loader.yellow
.circle
.yellow
.mask
.first
{
755 border-color: rgb
(255,211,75);
758 #loader.yellow
.circle
.yellow
.mask
.first
.mover
{
759 background-color: rgb
(158,18,18);
762 #loader.yellow
.circle
.yellow
.mask
.second
.mover
{
763 background-color: rgb
(255,211,75);
766 #loader.green
.circle
.green
.mask
.first
{
767 border-color: rgb
(0,177,95);
770 #loader.green
.circle
.green
.mask
.first
.mover
{
771 background-color: rgb
(222,161,26);
774 #loader.green
.circle
.green
.mask
.second
.mover
{
775 background-color: rgb
(0,177,95);
778 #loader.blue
.circle
.blue
.mask
.first
{
779 border-color: rgb
(60,120,248);
782 #loader.blue
.circle
.blue
.mask
.first
.mover
{
783 background-color: rgb
(0,137,72);
786 #loader.blue
.circle
.blue
.mask
.second
.mover
{
787 background-color: rgb
(60,120,248);
790 #loader.red
.circle
.red
.mask
.first
{
791 border-color: rgb
(250,36,36);
794 #loader.red
.circle
.red
.mask
.first
.mover
{
795 background-color: rgb
(33,89,189);
798 #loader.red
.circle
.red
.mask
.second
.mover
{
799 background-color: rgb
(250,36,36);