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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/elements/stylesSectionTree.css
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/stylesSectionTree.css b/third_party/WebKit/Source/devtools/front_end/elements/stylesSectionTree.css
index 090ef54b1668993623b46442c487a848e357e65a..592cb406914424f77a933a57b99359457db27db0 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/stylesSectionTree.css
+++ b/third_party/WebKit/Source/devtools/front_end/elements/stylesSectionTree.css
@@ -179,30 +179,15 @@ ol.expanded {
margin-left: 0 !important;
}
-:host-context(.matched-styles) .tree-outline li.parent .expand-element {
+.expand-icon {
-webkit-user-select: none;
- -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
- -webkit-mask-size: 352px 168px;
- margin-right: 2px;
- margin-left: -6px;
background-color: #777;
- width: 8px;
- height: 10px;
- display: inline-block;
-}
-
-@media (-webkit-min-device-pixel-ratio: 1.1) {
-:host-context(.matched-styles) .tree-outline li.parent .expand-element {
- -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png);
-}
-} /* media */
-
-:host-context(.matched-styles) .tree-outline li.parent .expand-element {
- -webkit-mask-position: -4px -96px;
+ margin-left: -6px;
+ margin-right: 2px;
}
-:host-context(.matched-styles) .tree-outline li.parent.expanded .expand-element {
- -webkit-mask-position: -20px -96px;
+.tree-outline li:not(.parent) .expand-icon {
+ display: none;
}
:host-context(.matched-styles:not(.read-only):hover) .enabled-button {

Powered by Google App Engine
This is Rietveld 408576698