Title: [174631] trunk/Source/WebInspectorUI
Revision
174631
Author
commit-qu...@webkit.org
Date
2014-10-10 20:43:05 -0700 (Fri, 10 Oct 2014)

Log Message

Web Inspector: Improve appearance of alpha color swatches
https://bugs.webkit.org/show_bug.cgi?id=137627

Patch by Joseph Pecoraro <pecor...@apple.com> on 2014-10-10
Reviewed by Timothy Hatcher.

This improves the sizes. The color-swatch size is 1em x 1em,
which ends up being 11px, and thus there is still an imbalance.
However on both 1x and 2x displays this looks more even.

* UserInterface/Views/CSSStyleDeclarationTextEditor.css:
(.css-style-text-editor > .CodeMirror .CodeMirror-lines .color-swatch):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (174630 => 174631)


--- trunk/Source/WebInspectorUI/ChangeLog	2014-10-11 03:41:04 UTC (rev 174630)
+++ trunk/Source/WebInspectorUI/ChangeLog	2014-10-11 03:43:05 UTC (rev 174631)
@@ -1,5 +1,19 @@
 2014-10-10  Joseph Pecoraro  <pecor...@apple.com>
 
+        Web Inspector: Improve appearance of alpha color swatches
+        https://bugs.webkit.org/show_bug.cgi?id=137627
+
+        Reviewed by Timothy Hatcher.
+
+        This improves the sizes. The color-swatch size is 1em x 1em,
+        which ends up being 11px, and thus there is still an imbalance.
+        However on both 1x and 2x displays this looks more even.
+
+        * UserInterface/Views/CSSStyleDeclarationTextEditor.css:
+        (.css-style-text-editor > .CodeMirror .CodeMirror-lines .color-swatch):
+
+2014-10-10  Joseph Pecoraro  <pecor...@apple.com>
+
         Web Inspector: assert always logs undefined instead of the desired string
         https://bugs.webkit.org/show_bug.cgi?id=137632
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css (174630 => 174631)


--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css	2014-10-11 03:41:04 UTC (rev 174630)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css	2014-10-11 03:43:05 UTC (rev 174631)
@@ -127,7 +127,7 @@
     background-image: linear-gradient(to bottom, rgb(204, 204, 204), rgb(204, 204, 204)),
         linear-gradient(to bottom, rgb(204, 204, 204), rgb(204, 204, 204));
     background-color: white;
-    background-size: calc(50% + 1px);
+    background-size: calc(50%);
     background-position: top left, bottom right;
     background-repeat: no-repeat;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to