Web Inspector: Style toolbar to match Chromium toolbar on Chromium/Mac.

https://bugs.webkit.org/show_bug.cgi?id=100683

Patch by Patrick Dubroy <dubroy@chromium.org> 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):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e1157d08
2012-10-29 Patrick Dubroy <dubroy@chromium.org>
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 <eustas.bug@gmail.com>
Web Inspector: Timeline: make cpu-monitoring feature available only on capable browsers
......
......@@ -11,6 +11,22 @@ body.compact #toolbar {
/* 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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment