/* Copyright (c) 2011 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 { font-family: segoe ui, arial, helvetica, sans-serif; font-size: 14px; /* It's necessary to put this here instead of in body in order to get the background-size of 100% to work properly */ height: 100%; overflow: hidden; } body { background-size: auto 100%; margin: 0; /* Don't highlight links when they're tapped. Safari has bugs here that show up as flicker when dragging in some situations */ -webkit-tap-highlight-color: transparent; /* Don't allow selecting text - can occur when dragging */ -webkit-user-select: none; } /* [hidden] does display:none, but its priority is too low in some cases. */ [hidden] { display: none !important; } #notification-container { display: block; margin-top: 2px; position: relative; text-align: center; z-index: 100; -webkit-transition-duration: 100ms; -webkit-transition-property: opacity; } #notification-container.inactive { opacity: 0; -webkit-transition-duration: 200ms; } #notification { background-color: #FFF199; border: 1px solid lightGrey; border-radius: 6px; color: black; display: inline-block; font-weight: bold; padding: 7px 15px; } #notification > div > div, #notification > div { display: inline-block; } #notification .close-button { vertical-align: middle; -webkit-margin-start: 0.5em; } .close-button { background: no-repeat; background-color: transparent; /* TODO(estade): this should animate between states. */ background-image: url('chrome://theme/IDR_CLOSE_BAR'); border: 0; cursor: default; display: inline-block; height: 16px; padding: 0; width: 16px; } .close-button:hover, .close-button:focus { background-image: url('chrome://theme/IDR_CLOSE_BAR_H'); } .close-button:active { background-image: url('chrome://theme/IDR_CLOSE_BAR_P'); } .linkButton { color: #06C; cursor: pointer; display: inline-block; text-decoration: underline; -webkit-margin-start: 0.5em; } #card-slider-frame { /* Must match #footer height. */ bottom: 50px; overflow: hidden; /* We want this to fill the window except for the region used by footer */ position: fixed; top: 0; width: 100%; } #page-list { /* fill the apps-frame */ height: 100%; display: -webkit-box; } #attribution { bottom: 0; left: auto; margin-left: 8px; /* Leave room for the scrollbar. */ margin-right: 13px; position: absolute; right: 0; text-align: left; z-index: -5; } /* For themes that right-align their images, we flip the attribution to the * left to avoid conflicts. */ html[themegravity='right'] #attribution, html[dir='rtl'] #attribution { left: 0; right: auto; text-align: right; } #attribution > span { display: block; font-size: 84%; } #footer { background-image: -webkit-linear-gradient( rgba(242, 242, 242, 0.9), rgba(222, 222, 222, 0.9)); bottom: 0; position: fixed; width: 100%; z-index: 5; } /* TODO(estade): remove this border hack and replace with a webkit-gradient * border-image on #footer once WebKit supports border-image-slice. * See https://bugs.webkit.org/show_bug.cgi?id=20127 */ #footer-border { height: 1px; } #footer-content { display: -webkit-box; height: 49px; -webkit-box-align: center; } #footer-content > * { margin: 0 9px; } #logo-img { margin-top: 4px; } .starting-up * { -webkit-transition: none !important; } /* Login Status. **************************************************************/ #login-container { background: transparent none; border: none; cursor: pointer; font-size: 13px; /* Leave room for the scrollbar. */ margin-left: 13px; margin-right: 13px; margin-top: 5px; padding: 0; position: fixed; right: 0; text-align: right; top: 0; z-index: 100; -webkit-box-shadow: none; } html[dir='rtl'] #login-container { left: 0; right: auto; } .login-status-icon { background-position: right center; background-repeat: no-repeat; min-height: 27px; -webkit-padding-end: 37px; } html[dir='rtl'] .login-status-icon { background-position-x: left; } .profile-name:hover { text-decoration: underline; } .link-span { text-decoration: underline; } #login-status-bubble-contents { font-size: 13px; } #login-status-message-container { margin-bottom: 13px; } #login-status-learn-more { display: inline-block; } .login-status-row { display: -webkit-box; -webkit-box-align: center; -webkit-box-orient: horizontal; -webkit-box-pack: end; } #login-status-advanced-container { -webkit-box-flex: 1; } #login-status-dismiss { min-width: 6em; } /* Trash. *********************************************************************/ #trash { -webkit-transition: top 200ms, opacity 0; -webkit-transition-delay: 0, 200ms; color: #222; height: 100%; position: absolute; opacity: 0; right: 0; top: 50px; width: auto; } html[dir='rtl'] #trash { left: 0; right: auto; } #footer.showing-trash-mode #trash { -webkit-transition-delay: 0, 0; -webkit-transition-duration: 0, 200ms; opacity: 0.75; top: 0; } #footer.showing-trash-mode #trash.drag-target { opacity: 1; } #trash > .trash-text { -webkit-padding-end: 7px; -webkit-padding-start: 30px; border: 1px dashed #7f7f7f; border-radius: 4px; display: inline-block; font-size: 84%; padding-bottom: 9px; padding-top: 10px; position: relative; top: 7px; } #trash > .lid, #trash > .can { top: 18px; } #footer.showing-trash-mode #trash.drag-target .lid { -webkit-transform: rotate(-45deg); } html[dir='rtl'] #footer.showing-trash-mode #trash.drag-target .lid { -webkit-transform: rotate(45deg); } /* Page switcher buttons. *****************************************************/ .page-switcher { background-color: transparent; border: none; bottom: 0; font-size: 40px; padding: 0; position: absolute; margin: 0; max-width: 150px; min-width: 90px; outline: none; top: 0; z-index: 5; -webkit-transition: width 150ms, right 150ms, background-color 150ms; }