Web Inspector: Consider making read-only style rules have a darker background
authornvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Jun 2015 17:53:43 +0000 (17:53 +0000)
committernvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Jun 2015 17:53:43 +0000 (17:53 +0000)
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@185836 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css
Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css

index 69563f4..7a794d4 100644 (file)
@@ -1,5 +1,18 @@
 2015-06-22  Nikita Vasilyev  <nvasilyev@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  <nvasilyev@apple.com>
+
         Web Inspector: Unable to select text of user input messages in the console
         https://bugs.webkit.org/show_bug.cgi?id=145888
 
index 20132db..0c18878 100644 (file)
 
     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;
 
index d40405e..473dd65 100644 (file)
     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;
 }