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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css

Issue 2580163002: DevTools: migrate navigator icons to UI.Icon (Closed)
Patch Set: kill unused css 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/sources/navigatorTree.css
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css b/third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css
index e7a45e3b91a0c460ddec24008f4b892896569c2e..6cdbfbef2914cbc15ae5606533e1c3c464b22b4a 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css
+++ b/third_party/WebKit/Source/devtools/front_end/sources/navigatorTree.css
@@ -28,21 +28,10 @@
*/
.icon {
- -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
- -webkit-mask-size: 352px 168px;
- width: 32px;
- height: 24px;
margin: -3px -3px -3px -7px;
dgozman 2016/12/19 18:32:43 Instead of this, change the size of the icons. The
lushnikov 2016/12/19 19:55:21 I tried this, two reasons I decided to keep this a
}
-@media (-webkit-min-device-pixel-ratio: 1.1) {
-.icon {
- -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png);
-}
-} /* media */
-
.navigator-file-tree-item .icon {
- -webkit-mask-position: -224px -72px;
background: linear-gradient(45deg, hsl(0, 0%, 50%), hsl(0, 0%, 70%));
}
@@ -70,18 +59,9 @@
}
.navigator-folder-tree-item .icon {
- -webkit-mask-position: -64px -120px;
background-color: #555;
}
-.navigator-domain-tree-item .icon {
- -webkit-mask-position: -160px -144px;
-}
-
-.navigator-frame-tree-item .icon {
- -webkit-mask-position: -256px -144px;
-}
-
.navigator-sm-folder-tree-item .icon,
.navigator-fs-tree-item .icon,
.navigator-fs-folder-tree-item .icon {
@@ -92,20 +72,12 @@
background: linear-gradient(45deg, hsl(210, 82%, 65%), hsl(210, 82%, 80%));
}
-.navigator-worker-tree-item .icon {
- -webkit-mask-position: -320px -144px;
-}
-
.navigator-sm-script-tree-item .icon,
.navigator-script-tree-item .icon,
.navigator-snippet-tree-item .icon {
background: linear-gradient(45deg, hsl(48, 70%, 50%), hsl(48, 70%, 70%));
}
-.navigator-snippet-tree-item .icon {
- -webkit-mask-position: -224px -96px;
-}
-
.navigator-sm-stylesheet-tree-item .icon,
.navigator-stylesheet-tree-item .icon {
background: linear-gradient(45deg, hsl(256, 50%, 50%), hsl(256, 50%, 70%));

Powered by Google App Engine
This is Rietveld 408576698