Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: chrome/browser/resources/print_preview/previewarea/preview_area.css

Issue 10108001: Refactor print preview web ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve conflicts Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698