| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2014 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 .shadow-xml-view { | 7 .shadow-xml-view { |
| 8 -webkit-user-select: text; | 8 -webkit-user-select: text; |
| 9 overflow: auto; | 9 overflow: auto; |
| 10 padding: 2px 4px; | 10 padding: 2px 4px; |
| 11 } | 11 } |
| 12 | 12 |
| 13 .shadow-xml-view ol { | 13 .shadow-xml-view ol { |
| 14 list-style: none; | 14 list-style: none; |
| 15 padding: 0; | 15 padding: 0; |
| 16 margin: 0; | 16 margin: 0; |
| 17 -webkit-padding-start: 16px; /* step width + arrow width */ | 17 -webkit-padding-start: 16px;/* step width + arrow width */ |
| 18 } | 18 } |
| 19 | 19 |
| 20 .shadow-xml-view > ol { | 20 .shadow-xml-view > ol { |
| 21 -webkit-padding-start: 0; | 21 -webkit-padding-start: 0; |
| 22 } | 22 } |
| 23 | 23 |
| 24 .shadow-xml-view ol.children:not(.expanded) { | 24 .shadow-xml-view ol.children:not(.expanded) { |
| 25 display: none; | 25 display: none; |
| 26 } | 26 } |
| 27 | 27 |
| 28 .shadow-xml-view li { | |
| 29 display: flex; | |
| 30 align-items: center; | |
| 31 } | |
| 32 | |
| 33 .shadow-xml-view li.parent::before { | 28 .shadow-xml-view li.parent::before { |
| 34 -webkit-user-select: none; | 29 -webkit-user-select: none; |
| 35 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); | 30 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); |
| 36 -webkit-mask-size: 352px 144px; | 31 -webkit-mask-size: 352px 144px; |
| 37 -webkit-mask-position: -4px -97px; | 32 -webkit-mask-position: -4px -97px; |
| 38 background-color: rgb(110, 110, 110); | 33 background-color: rgb(110, 110, 110); |
| 39 content: ""; | 34 content: " "; |
| 40 width: 10px; /* arrow width */ | 35 width: 10px;/* arrow width */ |
| 41 height: 10px; | 36 height: 10px; |
| 37 display: inline-block; |
| 38 position: relative; |
| 39 top: 2px; |
| 42 } | 40 } |
| 43 | 41 |
| 44 .shadow-xml-view li.parent.expanded::before { | 42 .shadow-xml-view li.parent.expanded::before { |
| 45 -webkit-mask-position: -20px -97px; | 43 -webkit-mask-position: -20px -97px; |
| 46 } | 44 } |
| 47 | 45 |
| 48 @media (-webkit-min-device-pixel-ratio: 1.5) { | 46 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 49 .shadow-xml-view li.parent::before { | 47 .shadow-xml-view li.parent::before { |
| 50 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); | 48 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); |
| 51 } | 49 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 80 } | 78 } |
| 81 | 79 |
| 82 .shadow-xml-view-text { | 80 .shadow-xml-view-text { |
| 83 color: rgb(0, 0, 0); | 81 color: rgb(0, 0, 0); |
| 84 white-space: pre; | 82 white-space: pre; |
| 85 } | 83 } |
| 86 | 84 |
| 87 .shadow-xml-view-cdata { | 85 .shadow-xml-view-cdata { |
| 88 color: rgb(0, 0, 0); | 86 color: rgb(0, 0, 0); |
| 89 } | 87 } |
| OLD | NEW |