Title: [144186] trunk/Source/WebCore
Revision
144186
Author
[email protected]
Date
2013-02-27 07:48:34 -0800 (Wed, 27 Feb 2013)

Log Message

Web Inspector: [REGRESSION] [Audits] Disabled "Run" button styling is the same as the enabled one
https://bugs.webkit.org/show_bug.cgi?id=110971

Reviewed by Yury Semikhatsky.

Split out PanelEnablerView-related rules into panelEnabledView.css and restored the missing rules
in inspector.css.

* inspector/front-end/inspector.css:
* inspector/front-end/panelEnablerView.css:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (144185 => 144186)


--- trunk/Source/WebCore/ChangeLog	2013-02-27 15:35:09 UTC (rev 144185)
+++ trunk/Source/WebCore/ChangeLog	2013-02-27 15:48:34 UTC (rev 144186)
@@ -1,3 +1,16 @@
+2013-02-27  Alexander Pavlov  <[email protected]>
+
+        Web Inspector: [REGRESSION] [Audits] Disabled "Run" button styling is the same as the enabled one
+        https://bugs.webkit.org/show_bug.cgi?id=110971
+
+        Reviewed by Yury Semikhatsky.
+
+        Split out PanelEnablerView-related rules into panelEnabledView.css and restored the missing rules
+        in inspector.css.
+
+        * inspector/front-end/inspector.css:
+        * inspector/front-end/panelEnablerView.css:
+
 2013-02-27  Kent Tamura  <[email protected]>
 
         REGRESSION: INPUT_MULTIPLE_FIELDS_UI: Changing CSS display property on input[type=date] unexpectedly makes another line for ::-webkit-calendar-picker-indicator

Modified: trunk/Source/WebCore/inspector/front-end/inspector.css (144185 => 144186)


--- trunk/Source/WebCore/inspector/front-end/inspector.css	2013-02-27 15:35:09 UTC (rev 144185)
+++ trunk/Source/WebCore/inspector/front-end/inspector.css	2013-02-27 15:48:34 UTC (rev 144186)
@@ -1994,7 +1994,7 @@
     background-color: rgb(232, 232, 232);
 }
 
-.panel-enabler-view button:not(.status-bar-item), .pane-title-button, button.show-all-nodes {
+.pane-title-button {
     color: rgb(6, 6, 6);
     background-color: transparent;
     border: 1px solid rgb(165, 165, 165);
@@ -2004,14 +2004,33 @@
     -webkit-appearance: none;
 }
 
+.pane-title-button:active {
+    background-color: rgb(215, 215, 215);
+    background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239)));
+}
+
 button.show-all-nodes {
     font-size: 13px;
     margin: 0;
     padding: 0 20px;
     height: 20px;
+    color: rgb(6, 6, 6);
+    background-color: transparent;
+    border: 1px solid rgb(165, 165, 165);
+    background-color: rgb(237, 237, 237);
+    background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
+    -webkit-border-radius: 12px;
+    -webkit-appearance: none;
 }
 
-.panel-enabler-view button:active:not(.status-bar-item), .pane-title-button:active, button.show-all-nodes:active {
+body.inactive button.show-all-nodes {
+    color: rgb(130, 130, 130);
+    border-color: rgb(212, 212, 212);
+    background-color: rgb(239, 239, 239);
+    background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(250, 250, 250)), to(rgb(235, 235, 235)));
+}
+
+button.show-all-nodes:active {
     background-color: rgb(215, 215, 215);
     background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239)));
 }

Modified: trunk/Source/WebCore/inspector/front-end/panelEnablerView.css (144185 => 144186)


--- trunk/Source/WebCore/inspector/front-end/panelEnablerView.css	2013-02-27 15:35:09 UTC (rev 144185)
+++ trunk/Source/WebCore/inspector/front-end/panelEnablerView.css	2013-02-27 15:48:34 UTC (rev 144186)
@@ -119,7 +119,6 @@
     padding: 3px 20px;
     height: 24px;
     color: rgb(6, 6, 6);
-    background-color: transparent;
     border: 1px solid rgb(165, 165, 165);
     background-color: rgb(237, 237, 237);
     background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
@@ -127,13 +126,18 @@
     -webkit-appearance: none;
 }
 
-body.inactive .panel-enabler-view button, .panel-enabler-view button:disabled {
+body.inactive .panel-enabler-view button:not(.status-bar-item), .panel-enabler-view button:disabled:not(.status-bar-item) {
     color: rgb(130, 130, 130);
     border-color: rgb(212, 212, 212);
     background-color: rgb(239, 239, 239);
     background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(250, 250, 250)), to(rgb(235, 235, 235)));
 }
 
+.panel-enabler-view button:active:not(.status-bar-item) {
+    background-color: rgb(215, 215, 215);
+    background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239)));
+}
+
 .panel-enabler-view input[type="radio"] {
     height: 17px;
     width: 17px;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to