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

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

Issue 912433002: Allow mousewheel scrolling to work in print preview on HiDPI devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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;
37 } 41 }
38 42
39 #preview-area .margin-control-disabled .margin-control-line { 43 #preview-area .margin-control-disabled .margin-control-line {
40 border-color: gray; 44 border-color: gray;
41 } 45 }
42 46
43 #preview-area .margin-control-top .margin-control-line, 47 #preview-area .margin-control-top .margin-control-line,
44 #preview-area .margin-control-bottom .margin-control-line { 48 #preview-area .margin-control-bottom .margin-control-line {
45 width: 100%; 49 width: 100%;
46 } 50 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 84
81 #preview-area .margin-control-bottom .margin-control-textbox { 85 #preview-area .margin-control-bottom .margin-control-textbox {
82 bottom: 8px; 86 bottom: 8px;
83 right: 50%; 87 right: 50%;
84 } 88 }
85 89
86 #preview-area .margin-control-left .margin-control-textbox { 90 #preview-area .margin-control-left .margin-control-textbox {
87 bottom: 50%; 91 bottom: 50%;
88 left: 8px; 92 left: 8px;
89 } 93 }
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