| OLD | NEW |
| 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 |
| 1 tree { | 5 tree { |
| 2 outline: none; | 6 outline: none; |
| 3 overflow: auto; | 7 overflow: auto; |
| 4 display: block; | 8 display: block; |
| 5 } | 9 } |
| 6 | 10 |
| 7 .tree-item > .tree-row { | 11 .tree-item > .tree-row { |
| 8 color: black; | 12 color: black; |
| 9 -webkit-user-select: none; | 13 -webkit-user-select: none; |
| 10 border: 1px solid rgba(255,255,255,0); /* transparent white */ | 14 border: 1px solid rgba(255,255,255,0); /* transparent white */ |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 color: black; | 154 color: black; |
| 151 outline: 1px solid black; | 155 outline: 1px solid black; |
| 152 } | 156 } |
| 153 | 157 |
| 154 .tree-item[editing] input { | 158 .tree-item[editing] input { |
| 155 /* Do not inherit the line-height */ | 159 /* Do not inherit the line-height */ |
| 156 font-family: inherit; | 160 font-family: inherit; |
| 157 font-size: inherit; | 161 font-size: inherit; |
| 158 font-weight: inherit; | 162 font-weight: inherit; |
| 159 margin: -2px -8px -2px -3px; | 163 margin: -2px -8px -2px -3px; |
| 164 <if expr="not is_macosx"> |
| 165 outline: none; |
| 166 </if> |
| 160 padding: 1px 7px 1px 1px; | 167 padding: 1px 7px 1px 1px; |
| 161 } | 168 } |
| 162 | 169 |
| 163 html:not([os=mac]) .tree-item[editing] input { | |
| 164 outline: none; | |
| 165 } | |
| 166 | |
| 167 html[dir=rtl] .tree-item[editing] input { | 170 html[dir=rtl] .tree-item[editing] input { |
| 168 margin: -2px -3px -2px -8px; | 171 margin: -2px -3px -2px -8px; |
| 169 padding: 1px 1px 1px 7px; | 172 padding: 1px 1px 1px 7px; |
| 170 } | 173 } |
| OLD | NEW |