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

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

Issue 2230183004: DevTools: Add shadow-editor swatch/icon before box-shadows and text-shadows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TODO Created 4 years, 4 months 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/cssShadowSwatch.css
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/bezierSwatch.css b/third_party/WebKit/Source/devtools/front_end/ui/cssShadowSwatch.css
similarity index 85%
copy from third_party/WebKit/Source/devtools/front_end/ui/bezierSwatch.css
copy to third_party/WebKit/Source/devtools/front_end/ui/cssShadowSwatch.css
index 20f30c05fe09e64827bb46f8d5367f22a2efedea..cff92cfe8e64cd536db36defd9f6c1dbd4a709e2 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/bezierSwatch.css
+++ b/third_party/WebKit/Source/devtools/front_end/ui/cssShadowSwatch.css
@@ -8,7 +8,7 @@
white-space: nowrap;
}
-.bezier-swatch {
+.shadow-swatch-icon {
position: relative;
margin-left: 1px;
margin-right: 2px;
@@ -20,16 +20,16 @@
line-height: 10px;
-webkit-mask-image: url(Images/smallIcons.png);
-webkit-mask-size: 190px 30px;
- -webkit-mask-position: -80px -20px;
+ -webkit-mask-position: -60px -20px;
background-color: #9C27B0;
}
@media (-webkit-min-device-pixel-ratio: 1.5) {
-.bezier-swatch {
+.shadow-swatch-icon {
-webkit-mask-image: url(Images/smallIcons_2x.png);
}
} /* media */
-.bezier-swatch:hover {
+.shadow-swatch-icon:hover {
background-color: #800080;
}

Powered by Google App Engine
This is Rietveld 408576698