OLD | NEW |
(Empty) | |
| 1 /* Copyright (c) 2012 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. |
| 4 */ |
| 5 |
| 6 #preview-area.preview-area { |
| 7 -webkit-box-flex: 1; |
| 8 -webkit-user-select: none; |
| 9 background-color: #ccc; |
| 10 height: 100%; |
| 11 overflow: hidden; |
| 12 position: relative; |
| 13 } |
| 14 |
| 15 #preview-area .preview-area-plugin { |
| 16 /* pluginFadeInTransitionDuration = 200ms */ |
| 17 -webkit-transition: opacity 200ms linear; |
| 18 /* pluginFadeInTransitionDelay = overlayFadeOutTransitionDuration = 100ms */ |
| 19 -webkit-transition-delay: 100ms; |
| 20 cursor: inherit; |
| 21 height: 100%; |
| 22 opacity: 1; |
| 23 width: 100%; |
| 24 } |
| 25 |
| 26 #preview-area .preview-area-plugin.invisible { |
| 27 /* pluginFadeOutTransitionDuration = 100ms */ |
| 28 -webkit-transition: opacity 100ms linear; |
| 29 /* pluginFadeOutTransitionDelay = 250ms */ |
| 30 -webkit-transition-delay: 250ms; |
| 31 opacity: 0; |
| 32 } |
| 33 |
| 34 #preview-area .preview-area-overlay-layer { |
| 35 -webkit-transition: opacity 200ms linear; |
| 36 /* overlayFadeInTransitionDelay = pluginFadeOutTransitionDelay + |
| 37 * pluginFadeOutTransitionDuration = 350ms */ |
| 38 -webkit-transition-delay: 350ms; |
| 39 -webkit-user-select: none; |
| 40 background: #ccc; |
| 41 height: 100%; |
| 42 margin: 0; |
| 43 opacity: 1; |
| 44 position: absolute; |
| 45 width: 100%; |
| 46 z-index: 1; |
| 47 } |
| 48 |
| 49 #preview-area .preview-area-overlay-layer.invisible { |
| 50 /* overlayFadeOutTransitionDuration = 100ms */ |
| 51 -webkit-transition: opacity 100ms linear; |
| 52 opacity: 0; |
| 53 pointer-events: none; |
| 54 } |
| 55 |
| 56 #preview-area .preview-area-messages { |
| 57 height: 100%; |
| 58 } |
| 59 |
| 60 #preview-area .preview-area-message { |
| 61 color: #404040; |
| 62 font-size: 1.1em; |
| 63 position: relative; |
| 64 text-align: center; |
| 65 text-shadow: 0 1px 0 rgba(255, 255, 255, .5); |
| 66 top: 50%; |
| 67 } |
| 68 |
| 69 #preview-area .preview-area-no-plugin-action-area { |
| 70 margin-top: 12px; |
| 71 } |
| 72 |
| 73 #preview-area .preview-area-open-system-dialog-button-throbber { |
| 74 vertical-align: middle; |
| 75 } |
OLD | NEW |