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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css

Issue 2534383002: DevTools: [SuggestBox] migrate suggestbox icons onto 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/ui/inspectorCommon.css
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css b/third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css
index 782ba346aa47cd51f0afe567cbf05ba3e95ac18a..0092942dde21aeef011108422f09f2da0c7b8def 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css
+++ b/third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css
@@ -332,12 +332,28 @@ label[is=dt-icon-label] {
background-size: 190px 30px;
}
-.spritesheet-smallicons-mask {
+.spritesheet-smallicons.icon-mask {
-webkit-mask-image: -webkit-image-set(url(Images/smallIcons.png) 1x, url(Images/smallIcons_2x.png) 2x);
-webkit-mask-size: 190px 30px;
}
-.spritesheet-largeicons-mask {
+.spritesheet-largeicons.icon-mask {
-webkit-mask-image: -webkit-image-set(url(Images/toolbarButtonGlyphs.png) 1x, url(Images/toolbarButtonGlyphs_2x.png) 2x);
-webkit-mask-size: 352px 168px;
-}
+}
+
+.force-white-icons .spritesheet-smallicons {
dgozman 2016/11/30 17:52:13 Let's allow 'force-white-icons' on the icon itself
lushnikov 2016/11/30 20:29:18 Done.
+ -webkit-mask-image: -webkit-image-set(url(Images/smallIcons.png) 1x, url(Images/smallIcons_2x.png) 2x);
+ -webkit-mask-size: 190px 30px;
+ background-image: unset;
+ background-size: unset;
+ background-color: white;
+}
+
+.force-white-icons .spritesheet-largeicons {
dgozman 2016/11/30 17:52:13 ditto
lushnikov 2016/11/30 20:29:17 Done.
+ -webkit-mask-image: -webkit-image-set(url(Images/toolbarButtonGlyphs.png) 1x, url(Images/toolbarButtonGlyphs_2x.png) 2x);
+ -webkit-mask-size: 352px 168px;
+ background-image: unset;
+ background-size: unset;
+ background-color: white;
+}

Powered by Google App Engine
This is Rietveld 408576698