| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 The Chromium Authors. All rights reserved. | 2 * Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 .tree-outline { | 7 .tree-outline { |
| 8 padding: 0; | 8 padding: 0; |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 .tree-outline li.child-editing .styles-clipboard-only { | 172 .tree-outline li.child-editing .styles-clipboard-only { |
| 173 display: none; | 173 display: none; |
| 174 } | 174 } |
| 175 | 175 |
| 176 /* Matched styles */ | 176 /* Matched styles */ |
| 177 | 177 |
| 178 :host-context(.matched-styles) .tree-outline li { | 178 :host-context(.matched-styles) .tree-outline li { |
| 179 margin-left: 0 !important; | 179 margin-left: 0 !important; |
| 180 } | 180 } |
| 181 | 181 |
| 182 :host-context(.matched-styles) .tree-outline li.parent .expand-element { | 182 .expand-icon { |
| 183 -webkit-user-select: none; | 183 -webkit-user-select: none; |
| 184 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); | 184 background-color: #777; |
| 185 -webkit-mask-size: 352px 168px; | 185 margin-left: -6px; |
| 186 margin-right: 2px; | 186 margin-right: 2px; |
| 187 margin-left: -6px; | |
| 188 background-color: #777; | |
| 189 width: 8px; | |
| 190 height: 10px; | |
| 191 display: inline-block; | |
| 192 } | 187 } |
| 193 | 188 |
| 194 @media (-webkit-min-device-pixel-ratio: 1.1) { | 189 .tree-outline li:not(.parent) .expand-icon { |
| 195 :host-context(.matched-styles) .tree-outline li.parent .expand-element { | 190 display: none; |
| 196 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); | |
| 197 } | |
| 198 } /* media */ | |
| 199 | |
| 200 :host-context(.matched-styles) .tree-outline li.parent .expand-element { | |
| 201 -webkit-mask-position: -4px -96px; | |
| 202 } | |
| 203 | |
| 204 :host-context(.matched-styles) .tree-outline li.parent.expanded .expand-element
{ | |
| 205 -webkit-mask-position: -20px -96px; | |
| 206 } | 191 } |
| 207 | 192 |
| 208 :host-context(.matched-styles:not(.read-only):hover) .enabled-button { | 193 :host-context(.matched-styles:not(.read-only):hover) .enabled-button { |
| 209 visibility: visible; | 194 visibility: visible; |
| 210 } | 195 } |
| 211 | 196 |
| 212 :host-context(.matched-styles:not(.read-only)) .tree-outline li.disabled .enable
d-button { | 197 :host-context(.matched-styles:not(.read-only)) .tree-outline li.disabled .enable
d-button { |
| 213 visibility: visible; | 198 visibility: visible; |
| 214 } | 199 } |
| 215 | 200 |
| 216 :host-context(.matched-styles) ol.expanded { | 201 :host-context(.matched-styles) ol.expanded { |
| 217 margin-left: 16px; | 202 margin-left: 16px; |
| 218 } | 203 } |
| OLD | NEW |