Title: [185836] trunk/Source/WebInspectorUI
Revision
185836
Author
nvasil...@apple.com
Date
2015-06-22 10:53:43 -0700 (Mon, 22 Jun 2015)

Log Message

Web Inspector: Consider making read-only style rules have a darker background
https://bugs.webkit.org/show_bug.cgi?id=145983

Reviewed by Timothy Hatcher.

* UserInterface/Views/CSSStyleDeclarationSection.css:
(.style-declaration-section:not(.locked)):
(.style-declaration-section): Deleted.
* UserInterface/Views/CSSStyleDeclarationTextEditor.css:
(.css-style-text-editor.read-only > .CodeMirror):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (185835 => 185836)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-06-22 17:47:33 UTC (rev 185835)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-06-22 17:53:43 UTC (rev 185836)
@@ -1,5 +1,18 @@
 2015-06-22  Nikita Vasilyev  <nvasil...@apple.com>
 
+        Web Inspector: Consider making read-only style rules have a darker background
+        https://bugs.webkit.org/show_bug.cgi?id=145983
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/CSSStyleDeclarationSection.css:
+        (.style-declaration-section:not(.locked)):
+        (.style-declaration-section): Deleted.
+        * UserInterface/Views/CSSStyleDeclarationTextEditor.css:
+        (.css-style-text-editor.read-only > .CodeMirror):
+
+2015-06-22  Nikita Vasilyev  <nvasil...@apple.com>
+
         Web Inspector: Unable to select text of user input messages in the console
         https://bugs.webkit.org/show_bug.cgi?id=145888
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css (185835 => 185836)


--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css	2015-06-22 17:47:33 UTC (rev 185835)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css	2015-06-22 17:53:43 UTC (rev 185836)
@@ -29,10 +29,13 @@
 
     padding: 5px;
 
-    background-color: white;
     border-bottom: 1px solid rgb(179, 179, 179);
 }
 
+.style-declaration-section:not(.locked) {
+    background-color: white;
+}
+
 .style-declaration-section.last-in-group {
     margin-bottom: 15px;
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css (185835 => 185836)


--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css	2015-06-22 17:47:33 UTC (rev 185835)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css	2015-06-22 17:53:43 UTC (rev 185836)
@@ -53,6 +53,11 @@
     text-indent: 0;
 }
 
+.css-style-text-editor.read-only,
+.css-style-text-editor.read-only > .CodeMirror {
+    background-color: transparent;
+}
+
 .css-style-text-editor.read-only > .CodeMirror pre {
     text-indent: 0;
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to