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 tree { | 5 tree { |
6 display: block; | 6 display: block; |
7 outline: none; | 7 outline: none; |
8 overflow: auto; | 8 overflow: auto; |
9 } | 9 } |
10 | 10 |
11 .tree-item > .tree-row { | 11 .tree-item > .tree-row { |
12 -webkit-user-select: none; | 12 -webkit-user-select: none; |
13 background-color: rgba(255, 255, 255, 0); | 13 background-color: rgba(255, 255, 255, 0); |
14 border: 1px solid rgba(255, 255, 255, 0); /* transparent white */ | 14 border: 1px solid rgba(255, 255, 255, 0); /* transparent white */ |
15 border-radius: 2px; | 15 border-radius: 2px; |
16 color: black; | 16 color: black; |
17 cursor: default; | 17 cursor: default; |
18 line-height: 28px; | 18 line-height: 28px; |
19 padding: 0 3px; | 19 padding: 0 3px; |
20 position: relative; | 20 position: relative; |
21 white-space: nowrap; | 21 white-space: nowrap; |
22 } | 22 } |
23 | 23 |
24 .expand-icon { | 24 .expand-icon { |
25 transform: rotate(-90deg); | 25 transform: rotate(-90deg); |
26 -webkit-transition: all 150ms; | 26 transition: all 150ms; |
27 background: url(../images/tree_triangle.svg) no-repeat center center; | 27 background: url(../images/tree_triangle.svg) no-repeat center center; |
28 background-size: 8px 5px; | 28 background-size: 8px 5px; |
29 display: inline-block; | 29 display: inline-block; |
30 height: 16px; | 30 height: 16px; |
31 opacity: .6; | 31 opacity: .6; |
32 position: relative; | 32 position: relative; |
33 top: 6px; | 33 top: 6px; |
34 vertical-align: top; | 34 vertical-align: top; |
35 width: 16px; | 35 width: 16px; |
36 } | 36 } |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 <if expr="not is_macosx and not is_ios"> | 167 <if expr="not is_macosx and not is_ios"> |
168 outline: none; | 168 outline: none; |
169 </if> | 169 </if> |
170 padding: 1px 7px 1px 1px; | 170 padding: 1px 7px 1px 1px; |
171 } | 171 } |
172 | 172 |
173 html[dir=rtl] .tree-item[editing] input { | 173 html[dir=rtl] .tree-item[editing] input { |
174 margin: -2px -3px -2px -8px; | 174 margin: -2px -3px -2px -8px; |
175 padding: 1px 1px 1px 7px; | 175 padding: 1px 1px 1px 7px; |
176 } | 176 } |
OLD | NEW |