Title: [200709] trunk/Source/WebInspectorUI
Revision
200709
Author
nvasil...@apple.com
Date
2016-05-11 14:55:26 -0700 (Wed, 11 May 2016)

Log Message

Web Inspector: "Selected Element" is hard to read when searching for "Element"
https://bugs.webkit.org/show_bug.cgi?id=157542
<rdar://problem/26207464>

Reviewed by Timothy Hatcher.

Change the style of highlighted text to match Xcode.

* UserInterface/Views/LogContentView.css:
(.search-in-progress .console-item:not(.filtered-out-by-search).special-user-log .console-message-text .highlighted):
* UserInterface/Views/OpenResourceDialog.css:
(.open-resource-dialog > .tree-outline .item.selected .highlighted):
* UserInterface/Views/Variables.css:
(:root):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (200708 => 200709)


--- trunk/Source/WebInspectorUI/ChangeLog	2016-05-11 21:53:26 UTC (rev 200708)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-05-11 21:55:26 UTC (rev 200709)
@@ -1,3 +1,20 @@
+2016-05-11  Nikita Vasilyev  <nvasil...@apple.com>
+
+        Web Inspector: "Selected Element" is hard to read when searching for "Element"
+        https://bugs.webkit.org/show_bug.cgi?id=157542
+        <rdar://problem/26207464>
+
+        Reviewed by Timothy Hatcher.
+
+        Change the style of highlighted text to match Xcode.
+
+        * UserInterface/Views/LogContentView.css:
+        (.search-in-progress .console-item:not(.filtered-out-by-search).special-user-log .console-message-text .highlighted):
+        * UserInterface/Views/OpenResourceDialog.css:
+        (.open-resource-dialog > .tree-outline .item.selected .highlighted):
+        * UserInterface/Views/Variables.css:
+        (:root):
+
 2016-05-11  Joseph Pecoraro  <pecor...@apple.com>
 
         Web Inspector: Hide filter bar in TimelineViews where it is not needed or not yet working

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css (200708 => 200709)


--- trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css	2016-05-11 21:53:26 UTC (rev 200708)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css	2016-05-11 21:55:26 UTC (rev 200709)
@@ -199,6 +199,14 @@
     background-color: hsla(53, 83%, 53%, 0.75);
 }
 
+.search-in-progress .console-item:not(.filtered-out-by-search).special-user-log .console-message-text .highlighted {
+    color: var(--selected-foreground-color);
+    background-color: var(--selected-background-color-highlight);
+
+    border-bottom: none;
+    text-decoration: underline;
+}
+
 .console-user-command::before,
 .console-messages:focus .console-item.selected .console-user-command::before,
 .console-user-command-result.console-log-level::before,

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/OpenResourceDialog.css (200708 => 200709)


--- trunk/Source/WebInspectorUI/UserInterface/Views/OpenResourceDialog.css	2016-05-11 21:53:26 UTC (rev 200708)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/OpenResourceDialog.css	2016-05-11 21:55:26 UTC (rev 200709)
@@ -108,6 +108,13 @@
     background-color: hsl(209, 100%, 49%);
 }
 
+.open-resource-dialog > .tree-outline .item.selected .highlighted {
+    background-color: var(--selected-background-color-highlight);
+
+    border-bottom: none;
+    text-decoration: underline;
+}
+
 .open-resource-dialog > .tree-outline .item.selected .subtitle {
     color: hsla(0, 0%, 100%, 0.9);
 }

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/Variables.css (200708 => 200709)


--- trunk/Source/WebInspectorUI/UserInterface/Views/Variables.css	2016-05-11 21:53:26 UTC (rev 200708)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/Variables.css	2016-05-11 21:55:26 UTC (rev 200709)
@@ -36,6 +36,7 @@
     --selected-background-color: hsl(212, 92%, 54%);
     --selected-background-color-active: hsl(218, 85%, 52%);
     --selected-background-color-hover: hsla(212, 92%, 54%, 0.5);
+    --selected-background-color-highlight: hsla(0, 0%, 100%, 0.3);
 
     --glyph-color: hsl(0, 0%, 30%);
     --glyph-color-pressed: hsl(0, 0%, 15%);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to