Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/elements/stylesSectionTree.css

Issue 2570783006: DevTools: convert a few more icons to UI.Icon. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698