Chromium Code Reviews| 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 .elements-disclosure { | 7 .elements-disclosure { |
| 8 width: 100%; | 8 width: 100%; |
| 9 display: inline-block; | 9 display: inline-block; |
| 10 line-height: normal; | 10 line-height: normal; |
| 11 } | 11 } |
| 12 | 12 |
| 13 .elements-disclosure li { | 13 .elements-disclosure li { |
| 14 /** Keep margin-left & padding-left in sync with ElementsTreeElements.update Decorators **/ | 14 /** Keep margin-left & padding-left in sync with ElementsTreeElements.update Decorators **/ |
| 15 padding: 0 0 0 14px; | 15 padding: 0 0 0 14px; |
| 16 margin-top: 1px; | 16 margin-top: 1px; |
| 17 margin-left: -2px; | 17 margin-left: -2px; |
| 18 word-wrap: break-word; | 18 word-wrap: break-word; |
| 19 position: relative; | 19 position: relative; |
| 20 min-height: 14px; | 20 min-height: 14px; |
| 21 } | 21 } |
| 22 | 22 |
| 23 .elements-disclosure li.parent { | 23 .elements-disclosure li.parent { |
| 24 /** Keep it in sync with ElementsTreeElements.updateDecorators **/ | 24 /** Keep it in sync with ElementsTreeElements.updateDecorators **/ |
| 25 margin-left: -13px; | 25 margin-left: -13px; |
| 26 } | 26 } |
| 27 | 27 |
| 28 .elements-disclosure li.selected:after { | 28 .elements-disclosure li.selected .selected-hint:before { |
| 29 font-style: italic; | 29 font-style: italic; |
| 30 content: " == $0"; | 30 content: " == $0"; |
| 31 color: black; | |
| 32 opacity: 0.6; | 31 opacity: 0.6; |
| 33 position: absolute; | 32 position: absolute; |
| 34 } | 33 white-space: pre; |
| 35 | |
| 36 .elements-disclosure li.selected.editing-as-html:after { | |
|
lushnikov
2017/03/25 09:42:31
these classes served an important role of making '
luoe
2017/03/27 17:26:27
After removing the 'color: black' style, the selec
| |
| 37 display: none; | |
| 38 } | |
| 39 | |
| 40 .elements-disclosure ol li.selected:focus:after { | |
| 41 color: white; | |
| 42 } | 34 } |
| 43 | 35 |
| 44 .elements-disclosure li.parent::before { | 36 .elements-disclosure li.parent::before { |
| 45 box-sizing: border-box; | 37 box-sizing: border-box; |
| 46 } | 38 } |
| 47 | 39 |
| 48 .elements-disclosure li.parent::before { | 40 .elements-disclosure li.parent::before { |
| 49 -webkit-user-select: none; | 41 -webkit-user-select: none; |
| 50 -webkit-mask-image: url(Images/treeoutlineTriangles.png); | 42 -webkit-mask-image: url(Images/treeoutlineTriangles.png); |
| 51 -webkit-mask-size: 32px 24px; | 43 -webkit-mask-size: 32px 24px; |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 356 border-color: hsla(0,0%,0%,0.1); | 348 border-color: hsla(0,0%,0%,0.1); |
| 357 } | 349 } |
| 358 | 350 |
| 359 .elements-tree-outline ol.shadow-root { | 351 .elements-tree-outline ol.shadow-root { |
| 360 border-color: hsla(0,0%,80%,1); | 352 border-color: hsla(0,0%,80%,1); |
| 361 } | 353 } |
| 362 | 354 |
| 363 li.selected:not(.always-parent) + ol.children { | 355 li.selected:not(.always-parent) + ol.children { |
| 364 border-color: hsla(216,68%,80%,1) !important; | 356 border-color: hsla(216,68%,80%,1) !important; |
| 365 } | 357 } |
| OLD | NEW |