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

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

Issue 10108001: Refactor print preview web ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback Created 8 years, 8 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 .margin-control {
7 -webkit-transition: opacity 150ms linear;
8 position: absolute;
9 }
10
11 .margin-control.invisible {
12 opacity: 0;
13 }
14
15 .margin-control.margin-control-top,
16 .margin-control.margin-control-bottom {
17 cursor: ns-resize;
18 padding: 8px 0;
19 width: 100%;
20 }
21
22 .margin-control.margin-control-left,
23 .margin-control.margin-control-right {
24 cursor: ew-resize;
25 height: 100%;
26 padding: 0 8px;
27 }
28
29 .margin-control-top .margin-control-line,
30 .margin-control-bottom .margin-control-line {
31 border-top: 2px dashed rgb(64, 128, 250);
32 width: 100%;
33 }
34
35 .margin-control-left .margin-control-line,
36 .margin-control-right .margin-control-line {
37 border-left: 2px dashed rgb(64, 128, 250);
38 height: 100%;
39 }
40
41 .margin-control-textbox {
42 position: absolute;
43 width: 60px;
44 }
45
46 .margin-control-textbox.invalid {
47 background-color: rgb(193, 27, 23);
48 }
49
50 .margin-control-top .margin-control-textbox {
51 left: 50%;
52 top: 0;
53 }
54
55 .margin-control-right .margin-control-textbox {
56 right: 0;
57 top: 50%;
58 }
59
60 .margin-control-bottom .margin-control-textbox {
61 bottom: 0;
62 right: 50%;
63 }
64
65 .margin-control-left .margin-control-textbox {
66 bottom: 50%;
67 left: 0;
68 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698