| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |