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

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

Issue 1015523004: Remove the hack for print preview scrolling added in https://codereview.chromium.org/912433002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 #preview-area .margin-control { 5 #preview-area .margin-control {
6 -webkit-transition: opacity 150ms linear; 6 -webkit-transition: opacity 150ms linear;
7 position: absolute; 7 position: absolute;
8 } 8 }
9 9
10 #preview-area .margin-control.invisible { 10 #preview-area .margin-control.invisible {
(...skipping 16 matching lines...) Expand all
27 } 27 }
28 28
29 #preview-area .margin-control.margin-control-disabled { 29 #preview-area .margin-control.margin-control-disabled {
30 cursor: default; 30 cursor: default;
31 } 31 }
32 32
33 #preview-area .margin-control-line { 33 #preview-area .margin-control-line {
34 border-color: rgb(64, 128, 250); 34 border-color: rgb(64, 128, 250);
35 border-style: dashed; 35 border-style: dashed;
36 border-width: 1px; 36 border-width: 1px;
37 /* TODO(raymes): This is a hack needed to force the margins onto separate
38 * layers to work around crbug.com/455439. We can remove this when it's fixed.
39 */
40 will-change: transform;
41 } 37 }
42 38
43 #preview-area .margin-control-disabled .margin-control-line { 39 #preview-area .margin-control-disabled .margin-control-line {
44 border-color: gray; 40 border-color: gray;
45 } 41 }
46 42
47 #preview-area .margin-control-top .margin-control-line, 43 #preview-area .margin-control-top .margin-control-line,
48 #preview-area .margin-control-bottom .margin-control-line { 44 #preview-area .margin-control-bottom .margin-control-line {
49 width: 100%; 45 width: 100%;
50 } 46 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 80
85 #preview-area .margin-control-bottom .margin-control-textbox { 81 #preview-area .margin-control-bottom .margin-control-textbox {
86 bottom: 8px; 82 bottom: 8px;
87 right: 50%; 83 right: 50%;
88 } 84 }
89 85
90 #preview-area .margin-control-left .margin-control-textbox { 86 #preview-area .margin-control-left .margin-control-textbox {
91 bottom: 50%; 87 bottom: 50%;
92 left: 8px; 88 left: 8px;
93 } 89 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698