/* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ html { height: 100%; } body { display: -webkit-box; height: 100%; margin: 0; } /* Header */ header { -webkit-padding-end: 14px; -webkit-padding-start: 16px; background-color: #F1F1F1; } #print-preview #navbar-container { -webkit-border-end: 1px solid rgb(198, 201, 206); -webkit-box-orient: vertical; -webkit-user-select: none; background-color: white; display: -webkit-box; position: relative; width: 310px; z-index: 2; } #navbar-content-title { color: #333; font-size: 200%; font-weight: normal; margin: 0; padding-bottom: 14px; padding-top: 13px; text-shadow: white 0 1px 2px; } /* Settings */ #settings { -webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, .3); background: white; overflow-y: auto; padding-top: 2px; width: 100%; } .two-column { display: table-row; } .right-column { -webkit-padding-end: 16px; display: table-cell; width: auto; } .right-column .checkbox, .right-column .radio { margin: 0; } .right-column > *:not(:first-child):not(.hint), .right-column > .collapsible > *:not(:first-child):not(.hint) { margin-top: 8px; } .two-column h1 { -webkit-padding-end: 16px; -webkit-padding-start: 16px; display: table-cell; font-size: 1.1em; } .two-column.visible h1, .two-column.visible .right-column { border-bottom: 1px solid #dcdcdc; padding-bottom: 10px; padding-top: 10px; } .two-column:not(.visible) select { border-top-width: 0; margin-top: 0; padding-top: 0; } p { -webkit-line-box-contain: block; margin: 0; margin-bottom: 10px; } h1 { color: #808080; font-weight: 300; } #print-preview .navbar-link { -webkit-margin-start: 16px; margin-top: 10px; outline: 0; padding: 0; text-align: start; text-decoration: none; } #print-preview .navbar-link:hover:not(:disabled) { text-decoration: underline; } #print-preview .navbar-link:disabled { color: rgba(0, 0, 0, .5); cursor: default; text-shadow: none; } button.loading { cursor: progress; } #print-preview button.default { font-weight: bold; } #print-preview button.default:not(:focus):not(:disabled) { border-color: #808080; } span.hint { -webkit-transition: color 200ms; background: white; display: block; font-size: 0.9em; font-weight: bold; height: 0; line-height: 10px; margin: 0; overflow: hidden; } span.hint.visible { -webkit-animation-duration: 200ms; -webkit-animation-fill-mode: forwards; -webkit-user-select: text; color: rgb(140, 20, 20); height: auto; margin-bottom: -5px; margin-top: 5px; padding-bottom: 5px; } span.hint.closing { -webkit-transition: margin 150ms, height 150ms, opacity 150ms; background: transparent; height: 0 !important; margin: 0; opacity: 0; } .collapsible { height: 0; } .collapsible.visible { -webkit-animation-duration: 200ms; -webkit-animation-fill-mode: forwards; height: auto; } .collapsible.closing { -webkit-transition: margin 150ms, height 150ms, opacity 150ms; height: 0 !important; opacity: 0; overflow: hidden; } select { width: 100%; } label { -webkit-user-select: none; } .hidden-section { background: white; position: relative; } .extra { background: white; height: 0; opacity: 0; padding-top: 0; position: absolute; visibility: hidden; } .visible .extra { -webkit-animation-duration: 200ms; -webkit-animation-fill-mode: forwards; height: auto; opacity: 1; overflow: hidden; padding-bottom: 0; position: static; visibility: visible; } .closing .extra { -webkit-transition: padding-top 100ms, height 100ms, opacity 200ms, background 300ms; height: 0 !important; opacity: 0; overflow: hidden; padding-top: 0; position: static; visibility: visible; } /* Individual settings sections */ /* TODO(estade): this should be in a shared location but I'm afraid of the * damage it could do. */ [hidden] { display: none !important; } @-webkit-keyframes dancing-dots-jump { 0% { top: 0; } 55% { top: 0; } 60% { top: -10px; } 80% { top: 3px; } 90% { top: -2px; } 95% { top: 1px; } 100% { top: 0; } } span.jumping-dots > span { -webkit-animation: dancing-dots-jump 1800ms infinite; padding: 1px; position: relative; } span.jumping-dots > span:nth-child(2) { -webkit-animation-delay: 100ms; } span.jumping-dots > span:nth-child(3) { -webkit-animation-delay: 300ms; } /* TODO(estade): unfork this code. */ .button-strip { -webkit-box-direction: reverse; -webkit-box-orient: horizontal; -webkit-box-pack: end; display: -webkit-box; } #print-preview .button-strip button { -webkit-margin-start: 4px; display: block; } #link-container { -webkit-box-flex: 1; }