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. */
85 text-rendering: optimizeLegibility
;
86 transition-property: color
, background-color
;
87 transition-duration: 0.5s;
88 transition-timing-function: ease
;
90 -webkit-overflow-scrolling: touch
;
93 /* Classes for light, dark and sepia themes.
94 * Must agree with classes returned by useTheme() in dom_distiller_viewer.js
95 * and with CSS class constants in viewer.cc */
99 background-color: #FFF;
104 background-color: #000;
109 background-color: rgb
(203, 173, 141);
117 font-family: 'Open Sans', sans-serif
;
121 font-family: monospace
;
124 /* Define vertical rhythm (baseline grid of 4px). */
153 margin-bottom: 0.444rem;
158 /* Margins for Show Original link. */
161 background-color: #FFFFFF;
162 border-top: 1px solid
#E0E0E0;
165 font-family: 'Roboto-Medium', 'Open Sans', sans-serif
;
172 text-decoration: none
;
173 text-transform: uppercase
;
189 background-color: rgb
(73, 73, 73);
200 #titleCollapse .verticalCenterOuter
{
208 .verticalCenterOuter {
213 .verticalCenterInner {
215 vertical-align: middle
;
219 /* Link colors for light, dark and sepia themes */
240 border-left: 4px solid
#eee;
259 margin-bottom: 0.444rem;
277 /* TODO(sunangel): make images zoomable. */
282 margin: 0 auto
0.6rem auto
;
285 /* TODO(nyquist): set these classes directly in the dom distiller. */
287 embed
+[class
*='caption'],
289 img
+[class
*='caption'],
290 object
+[class
*='caption'],
291 video
+[class
*='caption'] {
300 margin-left: 1.296rem;
307 background-color: #f8f8f8;
308 border: 1px solid
#eee;
314 background-color: #333;
315 border: 1px solid
#555;
334 /* Footer feedback form. */
351 background-color: #4285F4;
362 background-color: #4285F4;
374 .feedbackButtonWrap {
381 background-color: #FFFFFF;
384 display: inline-block
;
387 margin: 0px 4% 0px 4%;
390 text-transform: uppercase
;
398 /* Feedback fade out */
400 animation-duration: 0.5s;
401 animation-name: fadeOutAndSwipeAnimation
;
404 @keyframes fadeOutAndSwipeAnimation
{
419 /* This is the perecnt height of a standard HD video. */
420 padding-bottom: 56.25%;
433 /* Loading Indicator. */
462 #loader .mask
.first
{
463 transition-delay: 0.22s;
464 transition-duration: 0s;
465 transition-property: border-color
;
468 #loader .circle
.initial
.mask
{
473 #loader .circle
.red
.mask
.first
{
474 border-bottom: 1px solid
#555;
479 #loader .circle
.red
.mask
.second
{
484 #loader .circle
.yellow
.mask
.first
{
485 border-left: 1px solid
#888;
490 #loader .circle
.yellow
.mask
.second
{
495 #loader .circle
.green
.mask
.first
{
496 border-top: 1px solid
#555;
501 #loader .circle
.green
.mask
.second
{
506 #loader .circle
.blue
.mask
.first
{
507 border-right: 1px solid
#888;
512 #loader .circle
.blue
.mask
.second
{
517 #loader .circle
.mask
.base
{
521 transition-property: opacity
;
522 transition-timing-function: linear
;
523 transition-duration: 0s;
524 transition-delay: 0s;
528 #loader .circle
.mask
.mover
{
531 transition-delay: 0s;
532 transition-duration: 0.22s;
533 transition-property: background-color
, left
, top
, right
, bottom
, width
,
535 transition-timing-function: ease-in
;
539 #loader .circle
.mask
.second
.mover
,
540 #loader .circle
.initial
.mask
.mover
{
541 transition-delay: 0.22s;
542 transition-timing-function: ease-out
;
545 #loader .circle
.red
.mask
.first
.base
{
549 #loader .circle
.red
.mask
.second
.base
{
554 #loader .circle
.yellow
.mask
.first
.base
{
559 #loader .circle
.yellow
.mask
.second
.base
{
564 #loader .circle
.green
.mask
.first
.base
{
569 #loader .circle
.green
.mask
.second
.base
{
574 #loader .circle
.blue
.mask
.first
.base
{
579 #loader .circle
.blue
.mask
.second
.base
{
584 #loader .circle
.initial
.mask
.mover
{
589 #loader .circle
.red
.mask
.first
.mover
{
594 #loader .circle
.red
.mask
.second
.mover
{
599 #loader .circle
.yellow
.mask
.first
.mover
{
604 #loader .circle
.yellow
.mask
.second
.mover
{
609 #loader .circle
.green
.mask
.first
.mover
{
614 #loader .circle
.green
.mask
.second
.mover
{
619 #loader .circle
.blue
.mask
.first
.mover
{
624 #loader .circle
.blue
.mask
.second
.mover
{
630 #loader.initial
.circle
.initial
,
631 #loader.initial
.circle
.initial
.mask
{
634 #loader.initial
.circle
.initial
.mask
.mover
{
639 /* Moving from Red to Yellow. */
640 #loader.yellow
.circle
.yellow
,
641 #loader.yellow
.circle
.yellow
.mask
,
642 #loader.yellow
.circle
.yellow
.mask
.base
{
645 #loader.yellow
.circle
.yellow
.mask
.first
.mover
{
649 #loader.yellow
.circle
.yellow
.mask
.second
.mover
{
654 /* Moving from Yellow to Green. */
655 #loader.green
.circle
.green
,
656 #loader.green
.circle
.green
.mask
,
657 #loader.green
.circle
.green
.mask
.base
{
660 #loader.green
.circle
.green
.mask
.first
.mover
{
664 #loader.green
.circle
.green
.mask
.second
.mover
{
670 /* Moving from Green to Blue. */
671 #loader.blue
.circle
.blue
,
672 #loader.blue
.circle
.blue
.mask
,
673 #loader.blue
.circle
.blue
.mask
.base
{
676 #loader.blue
.circle
.blue
.mask
.first
.mover
{
680 #loader.blue
.circle
.blue
.mask
.second
.mover
{
685 /* Moving from Blue to Red. */
686 #loader.red
.circle
.red
,
687 #loader.red
.circle
.red
.mask
,
688 #loader.red
.circle
.red
.mask
.base
{
691 #loader.red
.firstTime
.circle
.red
.mask
.second
.base
{
694 #loader.red
.circle
.red
.mask
.first
.mover
{
698 #loader.red
.circle
.red
.mask
.second
.mover
{
703 #loader .circle
.red
.mask
.first
{
704 border-bottom-color: rgb
(60,120,248);
707 #loader .circle
.yellow
.mask
.first
{
708 border-left-color: rgb
(250,36,36);
711 #loader .circle
.green
.mask
.first
{
712 border-top-color: rgb
(255,211,75);
715 #loader .circle
.blue
.mask
.first
{
716 border-right-color: rgb
(0,177,95);
719 #loader .circle
.red
.mask
.first
.base
{
720 background-color: rgb
(250,36,36);
723 #loader .circle
.red
.mask
.second
.base
{
724 background-color: rgb
(60,120,248);
727 #loader .circle
.yellow
.mask
.first
.base
{
728 background-color: rgb
(255,211,75);
731 #loader .circle
.yellow
.mask
.second
.base
{
732 background-color: rgb
(250,36,36);
735 #loader .circle
.green
.mask
.first
.base
{
736 background-color: rgb
(0,177,95);
739 #loader .circle
.green
.mask
.second
.base
{
740 background-color: rgb
(255,211,75);
743 #loader .circle
.blue
.mask
.first
.base
{
744 background-color: rgb
(60,120,248);
747 #loader .circle
.blue
.mask
.second
.base
{
748 background-color: rgb
(0,177,95);
751 #loader .circle
.initial
.mask
.mover
{
752 background-color: rgb
(33,89,189);
755 #loader .circle
.red
.mask
.first
.mover
{
756 background-color: rgb
(60,120,248);
759 #loader .circle
.red
.mask
.second
.mover
{
760 background-color: rgb
(158,18,18);
763 #loader .circle
.yellow
.mask
.first
.mover
{
764 background-color: rgb
(250,36,36);
767 #loader .circle
.yellow
.mask
.second
.mover
{
768 background-color: rgb
(222,161,26);
771 #loader .circle
.green
.mask
.first
.mover
{
772 background-color: rgb
(255,211,75);
775 #loader .circle
.green
.mask
.second
.mover
{
776 background-color: rgb
(0,137,72);
779 #loader .circle
.blue
.mask
.first
.mover
{
780 background-color: rgb
(0,177,95);
783 #loader .circle
.blue
.mask
.second
.mover
{
784 background-color: rgb
(33,89,189);
787 #loader.initial
.circle
.initial
.mask
.mover
{
788 background-color: rgb
(60,120,248);
791 #loader.yellow
.circle
.yellow
.mask
.first
{
792 border-color: rgb
(255,211,75);
795 #loader.yellow
.circle
.yellow
.mask
.first
.mover
{
796 background-color: rgb
(158,18,18);
799 #loader.yellow
.circle
.yellow
.mask
.second
.mover
{
800 background-color: rgb
(255,211,75);
803 #loader.green
.circle
.green
.mask
.first
{
804 border-color: rgb
(0,177,95);
807 #loader.green
.circle
.green
.mask
.first
.mover
{
808 background-color: rgb
(222,161,26);
811 #loader.green
.circle
.green
.mask
.second
.mover
{
812 background-color: rgb
(0,177,95);
815 #loader.blue
.circle
.blue
.mask
.first
{
816 border-color: rgb
(60,120,248);
819 #loader.blue
.circle
.blue
.mask
.first
.mover
{
820 background-color: rgb
(0,137,72);
823 #loader.blue
.circle
.blue
.mask
.second
.mover
{
824 background-color: rgb
(60,120,248);
827 #loader.red
.circle
.red
.mask
.first
{
828 border-color: rgb
(250,36,36);
831 #loader.red
.circle
.red
.mask
.first
.mover
{
832 background-color: rgb
(33,89,189);
835 #loader.red
.circle
.red
.mask
.second
.mover
{
836 background-color: rgb
(250,36,36);