| 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 | 5 |
| 6 .margin-box { | 6 .margin-box { |
| 7 background-color: #2a2a2a; | 7 background-color: #2a2a2a; |
| 8 border: 1px solid #888; | 8 border: 1px solid #888; |
| 9 box-sizing: border-box; | 9 box-sizing: border-box; |
| 10 color: white; | 10 color: white; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 /* -height + 1 */ | 36 /* -height + 1 */ |
| 37 margin-top: -23px; | 37 margin-top: -23px; |
| 38 } | 38 } |
| 39 | 39 |
| 40 .margins-ui-pair.right .margin-box { | 40 .margins-ui-pair.right .margin-box { |
| 41 /* -width - 2 */ | 41 /* -width - 2 */ |
| 42 margin-left: -58px; | 42 margin-left: -58px; |
| 43 } | 43 } |
| 44 | 44 |
| 45 .margin-box.invalid { | 45 .margin-box.invalid { |
| 46 background-color: #c11b17; | 46 background-color: rgb(193, 27, 23); |
| 47 } | 47 } |
| 48 | 48 |
| 49 .margins-ui-pair { | 49 .margins-ui-pair { |
| 50 background-color: transparent; | 50 background-color: transparent; |
| 51 border-color: transparent; | 51 border-color: transparent; |
| 52 position: absolute; | 52 position: absolute; |
| 53 } | 53 } |
| 54 | 54 |
| 55 .margins-ui-pair.right, | 55 .margins-ui-pair.right, |
| 56 .margins-ui-pair.left { | 56 .margins-ui-pair.left { |
| 57 cursor: ew-resize; | 57 cursor: ew-resize; |
| 58 } | 58 } |
| 59 | 59 |
| 60 .margins-ui-pair.top, | 60 .margins-ui-pair.top, |
| 61 .margins-ui-pair.bottom { | 61 .margins-ui-pair.bottom { |
| 62 cursor: ns-resize; | 62 cursor: ns-resize; |
| 63 } | 63 } |
| 64 | 64 |
| 65 .margins-ui-pair.dragging { | 65 .margins-ui-pair.dragging { |
| 66 z-index: 1; | 66 z-index: 1; |
| 67 } | 67 } |
| 68 | 68 |
| 69 .margin-line { | 69 .margin-line { |
| 70 border-color: #4080FA; | 70 border-color: rgb(64, 128, 250); |
| 71 border-style: dashed; | 71 border-style: dashed; |
| 72 border-width: 1px; | 72 border-width: 1px; |
| 73 pointer-events: none; | 73 pointer-events: none; |
| 74 position: absolute; | 74 position: absolute; |
| 75 } | 75 } |
| 76 | 76 |
| 77 .margins-ui-pair.top .margin-line, | 77 .margins-ui-pair.top .margin-line, |
| 78 .margins-ui-pair.bottom .margin-line { | 78 .margins-ui-pair.bottom .margin-line { |
| 79 height: 0; | 79 height: 0; |
| 80 left: 0; | 80 left: 0; |
| 81 top: 50%; | 81 top: 50%; |
| 82 width: 100%; | 82 width: 100%; |
| 83 } | 83 } |
| 84 | 84 |
| 85 .margins-ui-pair.left .margin-line, | 85 .margins-ui-pair.left .margin-line, |
| 86 .margins-ui-pair.right .margin-line { | 86 .margins-ui-pair.right .margin-line { |
| 87 height: 100%; | 87 height: 100%; |
| 88 left: 50%; | 88 left: 50%; |
| 89 top: 0; | 89 top: 0; |
| 90 width: 0; | 90 width: 0; |
| 91 } | 91 } |
| 92 | 92 |
| 93 #customized-margins { | 93 #customized-margins { |
| 94 position: absolute; | 94 position: absolute; |
| 95 top: 0; | 95 top: 0; |
| 96 } | 96 } |
| 97 | 97 |
| 98 #customized-margins.invisible { | 98 #customized-margins.invisible { |
| 99 opacity: 0; |
| 99 pointer-events: none; | 100 pointer-events: none; |
| 100 opacity: 0; | |
| 101 } | 101 } |
| OLD | NEW |