Chromium Code Reviews| OLD | NEW | 
|---|---|
| 1 /* | 1 /* | 
| 2 * Copyright 2015 The Chromium Authors. All rights reserved. | 2 * Copyright 2015 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 :host { | 7 :host { | 
| 8 flex: 1 1; | 8 flex: 1 1; | 
| 9 padding: 2px 0 0 0; | 9 padding: 2px 0 0 0; | 
| 10 } | 10 } | 
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 43 .tree-outline li.in-clipboard .highlight { | 43 .tree-outline li.in-clipboard .highlight { | 
| 44 outline: 1px dotted darkgrey; | 44 outline: 1px dotted darkgrey; | 
| 45 } | 45 } | 
| 46 | 46 | 
| 47 .tree-outline li.elements-drag-over .selection { | 47 .tree-outline li.elements-drag-over .selection { | 
| 48 display: block; | 48 display: block; | 
| 49 margin-top: -2px; | 49 margin-top: -2px; | 
| 50 border-top: 2px solid rgb(56, 121, 217); | 50 border-top: 2px solid rgb(56, 121, 217); | 
| 51 } | 51 } | 
| 52 | 52 | 
| 53 ol.tree-outline:focus li.selected .selection { | 53 ol.tree-outline li.selected:focus .selection { | 
| 54 background-color: rgb(56, 121, 217); | 54 background-color: rgb(56, 121, 217); | 
| 55 } | 55 } | 
| 56 | 56 | 
| 57 ol.tree-outline:focus li.parent.selected::before { | 57 ol.tree-outline li.parent.selected:focus::before { | 
| 58 background-color: white; | 58 background-color: white; | 
| 59 } | 59 } | 
| 60 | 60 | 
| 61 ol.tree-outline, | 61 ol.tree-outline, | 
| 62 .tree-outline ol { | 62 .tree-outline ol { | 
| 63 list-style-type: none; | 63 list-style-type: none; | 
| 64 } | 64 } | 
| 65 | 65 | 
| 66 .tree-outline-no-padding { | 66 .tree-outline-no-padding { | 
| 67 padding: 0; | 67 padding: 0; | 
| 68 } | 68 } | 
| 69 | 69 | 
| 70 .tree-outline ol { | 70 .tree-outline ol { | 
| 71 padding-left: 12px; | 71 padding-left: 12px; | 
| 72 } | 72 } | 
| 73 | 73 | 
| 74 .tree-outline li { | 74 .tree-outline li { | 
| 75 text-overflow: ellipsis; | 75 text-overflow: ellipsis; | 
| 76 white-space: nowrap; | 76 white-space: nowrap; | 
| 77 position: relative; | 77 position: relative; | 
| 78 display: flex; | 78 display: flex; | 
| 79 align-items: center; | 79 align-items: center; | 
| 80 min-height: 16px; | 80 min-height: 16px; | 
| 81 } | 81 } | 
| 82 | 82 | 
| 83 ol.tree-outline:focus li.selected { | 83 ol.tree-outline li.selected:focus { | 
| 84 color: white; | 84 color: white; | 
| 85 } | 85 } | 
| 86 | 86 | 
| 87 ol.tree-outline:focus li.selected * { | 87 ol.tree-outline li.selected:focus * { | 
| 88 color: inherit; | 88 color: inherit; | 
| 89 } | 89 } | 
| 90 | 90 | 
| 91 ol.tree-outline li.selected:focus [is=ui-icon].spritesheet-smallicons { | |
| 
 
pfeldman
2017/01/30 18:43:07
lusha is replacing these with the use of UI.Icon a
 
einbinder
2017/02/01 22:51:35
I removed the focus event listener, which was addi
 
 | |
| 92 -webkit-mask-image: -webkit-image-set(url(Images/smallIcons.png) 1x, url(Ima ges/smallIcons_2x.png) 2x); | |
| 93 -webkit-mask-size: 190px 30px; | |
| 94 background-image: unset; | |
| 95 background-size: unset; | |
| 96 background: unset; | |
| 97 background-color: white; | |
| 98 } | |
| 99 | |
| 100 ol.tree-outline li.selected:focus [is=ui-icon].spritesheet-largeicons { | |
| 101 -webkit-mask-image: -webkit-image-set(url(Images/toolbarButtonGlyphs.png) 1x , url(Images/toolbarButtonGlyphs_2x.png) 2x); | |
| 102 -webkit-mask-size: 352px 168px; | |
| 103 background-image: unset; | |
| 104 background-size: unset; | |
| 105 background: unset; | |
| 106 background-color: white; | |
| 107 } | |
| 108 | |
| 91 .tree-outline li .icons-container { | 109 .tree-outline li .icons-container { | 
| 92 align-self: center; | 110 align-self: center; | 
| 93 display: flex; | 111 display: flex; | 
| 94 align-items: center; | 112 align-items: center; | 
| 95 } | 113 } | 
| 96 | 114 | 
| 97 .tree-outline li .leading-icons { | 115 .tree-outline li .leading-icons { | 
| 98 margin-right: 4px; | 116 margin-right: 4px; | 
| 99 } | 117 } | 
| 100 | 118 | 
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 149 margin-top: 0; | 167 margin-top: 0; | 
| 150 } | 168 } | 
| 151 | 169 | 
| 152 .tree-outline.tree-outline-dense li.parent::before { | 170 .tree-outline.tree-outline-dense li.parent::before { | 
| 153 top: 0; | 171 top: 0; | 
| 154 } | 172 } | 
| 155 | 173 | 
| 156 .tree-outline.tree-outline-dense ol { | 174 .tree-outline.tree-outline-dense ol { | 
| 157 padding-left: 10px; | 175 padding-left: 10px; | 
| 158 } | 176 } | 
| OLD | NEW |