Title: [132821] trunk/Source/WebKit/chromium
Revision
132821
Author
[email protected]
Date
2012-10-29 10:51:41 -0700 (Mon, 29 Oct 2012)

Log Message

Web Inspector: Style toolbar to match Chromium toolbar on Chromium/Mac.
https://bugs.webkit.org/show_bug.cgi?id=100683

Patch by Patrick Dubroy <[email protected]> on 2012-10-29
Reviewed by Pavel Feldman.

When in compact mode, style the Web Inspector toolbar using the same colors & gradients
as the Chromium toolbar (Chromium port only).

* src/js/devTools.css:
(body.compact.platform-mac #toolbar):
(body.compact.platform-mac.inactive #toolbar):
(body.platform-mac.inactive #toolbar .toolbar-label):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (132820 => 132821)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-10-29 17:48:32 UTC (rev 132820)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-10-29 17:51:41 UTC (rev 132821)
@@ -1,3 +1,18 @@
+2012-10-29  Patrick Dubroy  <[email protected]>
+
+        Web Inspector: Style toolbar to match Chromium toolbar on Chromium/Mac.
+        https://bugs.webkit.org/show_bug.cgi?id=100683
+
+        Reviewed by Pavel Feldman.
+
+        When in compact mode, style the Web Inspector toolbar using the same colors & gradients
+        as the Chromium toolbar (Chromium port only).
+
+        * src/js/devTools.css:
+        (body.compact.platform-mac #toolbar):
+        (body.compact.platform-mac.inactive #toolbar):
+        (body.platform-mac.inactive #toolbar .toolbar-label):
+
 2012-10-29  Eugene Klyuchnikov  <[email protected]>
 
         Web Inspector: Timeline: make cpu-monitoring feature available only on capable browsers

Modified: trunk/Source/WebKit/chromium/src/js/devTools.css (132820 => 132821)


--- trunk/Source/WebKit/chromium/src/js/devTools.css	2012-10-29 17:48:32 UTC (rev 132820)
+++ trunk/Source/WebKit/chromium/src/js/devTools.css	2012-10-29 17:51:41 UTC (rev 132821)
@@ -11,6 +11,22 @@
 
 /* Chrome theme overrides */
 
+body.compact.platform-mac #toolbar {
+  /* Match Chrome's toolbar. */
+  background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(230, 229, 229)), to(rgb(206, 207, 207))) !important;
+  border-top-color: white;
+  border-bottom-color: rgb(122, 122, 122);
+}
+
+body.compact.platform-mac.inactive #toolbar {
+  background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(235, 235, 235)), to(rgb(216, 216, 216))) !important;
+  border-bottom-color: rgb(142, 142, 142);
+}
+
+body.platform-mac.inactive #toolbar .toolbar-label {
+  opacity: 0.8;
+}
+
 body.platform-windows #toolbar, body.platform-windows.inactive #toolbar {
     background-image: none;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to