| 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 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 .tree-row[has-children=false] .expand-icon { | 56 .tree-row[has-children=false] .expand-icon { |
| 57 visibility: hidden; | 57 visibility: hidden; |
| 58 } | 58 } |
| 59 | 59 |
| 60 .tree-row:hover { | 60 .tree-row:hover { |
| 61 background-color: hsl(214, 91%, 97%); | 61 background-color: hsl(214, 91%, 97%); |
| 62 border-color: hsl(214, 91%, 85%); | 62 border-color: hsl(214, 91%, 85%); |
| 63 z-index: 1; | 63 z-index: 1; |
| 64 } | 64 } |
| 65 | 65 |
| 66 /* | 66 /* WebKit has a bug with attribute selectors so we apply selected to the tree |
| 67 WebKit has a bug with attribute selectors so we apply selected to the tree row | 67 * row as well. https://bugs.webkit.org/show_bug.cgi?id=12519. */ |
| 68 as well. | |
| 69 | |
| 70 https://bugs.webkit.org/show_bug.cgi?id=12519 | |
| 71 | |
| 72 */ | |
| 73 .tree-row[selected] { | 68 .tree-row[selected] { |
| 74 background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.8), | 69 background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.8), |
| 75 rgba(255,255,255,0)); | 70 rgba(255,255,255,0)); |
| 76 } | 71 } |
| 77 | 72 |
| 78 .tree-row[selected] { | 73 .tree-row[selected] { |
| 79 background-color: hsl(0, 0%, 90%); | 74 background-color: hsl(0, 0%, 90%); |
| 80 border-color: hsl(0, 0%, 85%); | 75 border-color: hsl(0, 0%, 85%); |
| 81 z-index: 2; | 76 z-index: 2; |
| 82 } | 77 } |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 <if expr="not is_macosx and not is_ios"> | 165 <if expr="not is_macosx and not is_ios"> |
| 171 outline: none; | 166 outline: none; |
| 172 </if> | 167 </if> |
| 173 padding: 1px 7px 1px 1px; | 168 padding: 1px 7px 1px 1px; |
| 174 } | 169 } |
| 175 | 170 |
| 176 html[dir=rtl] .tree-item[editing] input { | 171 html[dir=rtl] .tree-item[editing] input { |
| 177 margin: -2px -3px -2px -8px; | 172 margin: -2px -3px -2px -8px; |
| 178 padding: 1px 1px 1px 7px; | 173 padding: 1px 1px 1px 7px; |
| 179 } | 174 } |
| OLD | NEW |