Bug 818033 - [toolbox] Implement Shorlander's visual design; r=paul

This commit is contained in:
Heather Arthur 2012-12-22 19:27:19 -08:00
parent a5b079dc79
commit 6b70a59df8
37 changed files with 433 additions and 80 deletions

View File

@ -66,7 +66,7 @@ let webConsoleDefinition = {
accesskey: l10n("webConsoleCmd.accesskey", webConsoleStrings), accesskey: l10n("webConsoleCmd.accesskey", webConsoleStrings),
modifiers: Services.appinfo.OS == "Darwin" ? "accel,alt" : "accel,shift", modifiers: Services.appinfo.OS == "Darwin" ? "accel,alt" : "accel,shift",
ordinal: 0, ordinal: 0,
icon: "chrome://browser/skin/devtools/webconsole-tool-icon.png", icon: "chrome://browser/skin/devtools/tool-webconsole.png",
url: "chrome://browser/content/devtools/webconsole.xul", url: "chrome://browser/content/devtools/webconsole.xul",
label: l10n("ToolboxWebconsole.label", webConsoleStrings), label: l10n("ToolboxWebconsole.label", webConsoleStrings),
tooltip: l10n("ToolboxWebconsole.tooltip", webConsoleStrings), tooltip: l10n("ToolboxWebconsole.tooltip", webConsoleStrings),
@ -87,7 +87,7 @@ let debuggerDefinition = {
modifiers: osString == "Darwin" ? "accel,alt" : "accel,shift", modifiers: osString == "Darwin" ? "accel,alt" : "accel,shift",
ordinal: 1, ordinal: 1,
killswitch: "devtools.debugger.enabled", killswitch: "devtools.debugger.enabled",
icon: "chrome://browser/skin/devtools/tools-icons-small.png", icon: "chrome://browser/skin/devtools/tool-debugger.png",
url: "chrome://browser/content/debugger.xul", url: "chrome://browser/content/debugger.xul",
label: l10n("ToolboxDebugger.label", debuggerStrings), label: l10n("ToolboxDebugger.label", debuggerStrings),
tooltip: l10n("ToolboxDebugger.tooltip", debuggerStrings), tooltip: l10n("ToolboxDebugger.tooltip", debuggerStrings),
@ -108,7 +108,7 @@ let inspectorDefinition = {
key: l10n("inspector.commandkey", inspectorStrings), key: l10n("inspector.commandkey", inspectorStrings),
ordinal: 2, ordinal: 2,
modifiers: osString == "Darwin" ? "accel,alt" : "accel,shift", modifiers: osString == "Darwin" ? "accel,alt" : "accel,shift",
icon: "chrome://browser/skin/devtools/tools-icons-small.png", icon: "chrome://browser/skin/devtools/tool-inspector.png",
url: "chrome://browser/content/devtools/inspector/inspector.xul", url: "chrome://browser/content/devtools/inspector/inspector.xul",
label: l10n("inspector.label", inspectorStrings), label: l10n("inspector.label", inspectorStrings),
tooltip: l10n("inspector.tooltip", inspectorStrings), tooltip: l10n("inspector.tooltip", inspectorStrings),
@ -130,6 +130,7 @@ let styleEditorDefinition = {
accesskey: l10n("open.accesskey", styleEditorStrings), accesskey: l10n("open.accesskey", styleEditorStrings),
modifiers: "shift", modifiers: "shift",
label: l10n("ToolboxStyleEditor.label", styleEditorStrings), label: l10n("ToolboxStyleEditor.label", styleEditorStrings),
icon: "chrome://browser/skin/devtools/tool-styleeditor.png",
url: "chrome://browser/content/styleeditor.xul", url: "chrome://browser/content/styleeditor.xul",
tooltip: l10n("ToolboxStyleEditor.tooltip", styleEditorStrings), tooltip: l10n("ToolboxStyleEditor.tooltip", styleEditorStrings),
@ -146,7 +147,6 @@ let styleEditorDefinition = {
let profilerDefinition = { let profilerDefinition = {
id: "jsprofiler", id: "jsprofiler",
killswitch: "devtools.profiler.enabled", killswitch: "devtools.profiler.enabled",
icon: "chrome://browser/skin/devtools/tools-icons-small.png",
url: "chrome://browser/content/profiler.xul", url: "chrome://browser/content/profiler.xul",
label: l10n("profiler.label", profilerStrings), label: l10n("profiler.label", profilerStrings),
tooltip: l10n("profiler.tooltip", profilerStrings), tooltip: l10n("profiler.tooltip", profilerStrings),

View File

@ -362,6 +362,9 @@ Toolbox.prototype = {
radio.id = "toolbox-tab-" + id; radio.id = "toolbox-tab-" + id;
radio.setAttribute("toolid", id); radio.setAttribute("toolid", id);
radio.setAttribute("tooltiptext", toolDefinition.tooltip); radio.setAttribute("tooltiptext", toolDefinition.tooltip);
if (toolDefinition.icon) {
radio.setAttribute("src", toolDefinition.icon);
}
let ordinal = (typeof toolDefinition.ordinal == "number") ? let ordinal = (typeof toolDefinition.ordinal == "number") ?
toolDefinition.ordinal : MAX_ORDINAL; toolDefinition.ordinal : MAX_ORDINAL;

View File

@ -8,3 +8,8 @@
display: none; display: none;
} }
#toolbox-controls > toolbarbutton > .toolbarbutton-text,
#toolbox-dock-buttons > toolbarbutton > .toolbarbutton-text,
.command-button > .toolbarbutton-text {
display: none;
}

View File

@ -19,7 +19,6 @@
#ifdef XP_MACOSX #ifdef XP_MACOSX
<hbox id="toolbox-controls"> <hbox id="toolbox-controls">
<toolbarbutton id="toolbox-close" <toolbarbutton id="toolbox-close"
class="devtools-closebutton"
tooltiptext="&toolboxCloseButton.tooltip;"/> tooltiptext="&toolboxCloseButton.tooltip;"/>
<hbox id="toolbox-dock-buttons"/> <hbox id="toolbox-dock-buttons"/>
</hbox> </hbox>
@ -28,10 +27,10 @@
</radiogroup> </radiogroup>
<hbox id="toolbox-buttons" flex="1" pack="end"/> <hbox id="toolbox-buttons" flex="1" pack="end"/>
#ifndef XP_MACOSX #ifndef XP_MACOSX
<vbox id="toolbox-controls-separator"/>
<hbox id="toolbox-controls"> <hbox id="toolbox-controls">
<hbox id="toolbox-dock-buttons"/> <hbox id="toolbox-dock-buttons"/>
<toolbarbutton id="toolbox-close" <toolbarbutton id="toolbox-close"
class="devtools-closebutton"
tooltiptext="&toolboxCloseButton.tooltip;"/> tooltiptext="&toolboxCloseButton.tooltip;"/>
</hbox> </hbox>
#endif #endif

View File

@ -31,7 +31,7 @@ gcli.addCommand({
gcli.addCommand({ gcli.addCommand({
name: 'resize toggle', name: 'resize toggle',
buttonId: "command-button-responsive", buttonId: "command-button-responsive",
buttonClass: "command-button devtools-toolbarbutton", buttonClass: "command-button",
tooltipText: gcli.lookup("resizeModeToggleTooltip"), tooltipText: gcli.lookup("resizeModeToggleTooltip"),
description: gcli.lookup('resizeModeToggleDesc'), description: gcli.lookup('resizeModeToggleDesc'),
manual: gcli.lookup('resizeModeManual'), manual: gcli.lookup('resizeModeManual'),

View File

@ -12,7 +12,7 @@ Components.utils.import("resource:///modules/devtools/gcli.jsm");
gcli.addCommand({ gcli.addCommand({
name: "scratchpad", name: "scratchpad",
buttonId: "command-button-scratchpad", buttonId: "command-button-scratchpad",
buttonClass: "command-button devtools-toolbarbutton", buttonClass: "command-button",
tooltipText: gcli.lookup("scratchpadOpenTooltip"), tooltipText: gcli.lookup("scratchpadOpenTooltip"),
hidden: true, hidden: true,
exec: function(args, context) { exec: function(args, context) {

View File

@ -43,7 +43,7 @@ gcli.addCommand({
gcli.addCommand({ gcli.addCommand({
name: "tilt toggle", name: "tilt toggle",
buttonId: "command-button-tilt", buttonId: "command-button-tilt",
buttonClass: "command-button devtools-toolbarbutton", buttonClass: "command-button",
tooltipText: gcli.lookup("tiltToggleTooltip"), tooltipText: gcli.lookup("tiltToggleTooltip"),
hidden: true, hidden: true,
exec: function(args, context) { exec: function(args, context) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 806 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -2,8 +2,16 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#toolbox-tabs { #toolbox-controls {
margin: 0; margin: 0 4px;
}
#toolbox-controls > toolbarbutton,
#toolbox-dock-buttons > toolbarbutton {
-moz-appearance: none;
margin: 0 4px;
min-width: 16px;
width: 16px;
} }
#toolbox-dock-bottom { #toolbox-dock-bottom {
@ -15,7 +23,52 @@
} }
#toolbox-dock-window { #toolbox-dock-window {
list-style-image: url("chrome://browser/skin/devtools/dock-window.png"); list-style-image: url("chrome://browser/skin/devtools/undock.png");
}
#toolbox-close {
list-style-image: url("chrome://browser/skin/devtools/close.png");
}
#toolbox-dock-window,
#toolbox-dock-bottom,
#toolbox-dock-side,
#toolbox-close {
opacity: 0.6;
}
#toolbox-dock-window:hover,
#toolbox-dock-bottom:hover,
#toolbox-dock-side:hover,
#toolbox-close:hover {
opacity: 1;
}
#toolbox-controls-separator {
width: 3px;
background-image: linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)),
linear-gradient(hsla(206,37%,4%,0), hsla(206,37%,4%,.6), hsla(206,37%,4%,0)),
linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0));
background-size: 1px 100%;
background-repeat: no-repeat;
background-position: 0, 1px, 2px;
-moz-margin-start: 8px;
}
/* Command buttons */
.command-button {
-moz-appearance: none;
padding: 0 8px;
margin: 0;
width: 16px;
}
.command-button:hover {
background-color: hsla(206,37%,4%,.2);
}
.command-button:hover:active {
background-color: hsla(206,37%,4%,.4);
} }
#command-button-responsive { #command-button-responsive {
@ -66,29 +119,91 @@
.devtools-tabbar { .devtools-tabbar {
-moz-appearance: none; -moz-appearance: none;
background-image: linear-gradient(to bottom, hsl(210,11%,36%), hsl(210,11%,18%)); background-image: url(background-noise-toolbar.png),
color: hsl(210,30%,85%); linear-gradient(#303840, #2d3640);
padding: 4px 3px 3px; border-top: 1px solid #060a0d;
box-shadow: 0 -3px 0 0 rgb(20,20,20) inset, 0 -4px 0 0 rgba(0,0,0,0.8) inset; box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset,
0 -1px 0 hsla(206,37%,4%,.1) inset;
min-height: 32px;
padding: 0;
}
#toolbox-tabs {
margin: 0;
} }
.devtools-tab { .devtools-tab {
-moz-appearance: none; -moz-appearance: none;
min-width: 78px; min-width: 88px;
min-height: 22px; min-height: 32px;
text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); color: #b6babf;
border-radius: 3px 3px 0 0; margin: 0;
color: inherit; padding: 0;
border-style: solid; background-image: linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)),
border-color: transparent; linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1));
border-width: 1px 1px 0; background-size: 1px 100%;
margin: 0 5px; background-repeat: no-repeat;
padding: 0 10px 1px; background-position: left, right;
border-right: 1px solid hsla(206,37%,4%,.45);
}
.devtools-tab > .radio-label-center-box > .radio-label-box {
-moz-appearance: none;
border: none;
padding: 0 16px;
}
.devtools-tab > .radio-label-center-box >.radio-label-box > .radio-icon {
-moz-margin-end: 6px;
opacity: 0.6;
}
.devtools-tab:hover > .radio-label-center-box > .radio-label-box >
.radio-icon {
opacity: 0.8;
}
.devtools-tab:active > .radio-label-center-box > .radio-label-box > .radio-icon,
.devtools-tab[selected=true] > .radio-label-center-box > .radio-label-box >
.radio-icon {
opacity: 1;
}
.devtools-tab:hover {
background-image: linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)),
linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)),
linear-gradient(hsla(206,37%,4%,.1), hsla(206,37%,4%,.2));
background size: 1px 100%,
1px 100%,
100%;
background-repeat: no-repeat,
no-repeat,
repeat-x;
background-position: left, right;
color: #ced3d9;
}
.devtools-tab:hover:active {
background-color: hsla(206,37%,4%,.2);
color: #f5f7fa;
} }
.devtools-tab[selected=true] { .devtools-tab[selected=true] {
border-color: hsla(210,8%,5%,.6); color: #f5f7fa;
background-color: rgb(20,20,20); background-image: radial-gradient(ellipse farthest-corner at center top, #9fdfff, hsla(200,100%,70%,.3)),
text-shadow: none; radial-gradient(ellipse farthest-side at center top, hsla(200,100%,70%,.4), hsla(200,100%,70%,0)),
color: white; linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)),
linear-gradient(hsla(204,45%,98%,.02), hsla(204,45%,98%,.04)),
linear-gradient(hsla(206,37%,4%,.2), hsla(206,37%,4%,.3));
background-size: 100% 1px,
100% 5px,
1px 100%,
1px 100%,
100%;
background-repeat: no-repeat,
no-repeat,
no-repeat,
no-repeat,
repeat-x;
background-position: top right, top left, left, right;
box-shadow: 1px -1px 0 hsla(206,37%,4%,.2) inset;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -172,10 +172,15 @@ browser.jar:
skin/classic/browser/devtools/tools-icons-small.png (devtools/tools-icons-small.png) skin/classic/browser/devtools/tools-icons-small.png (devtools/tools-icons-small.png)
skin/classic/browser/devtools/dock-bottom.png (devtools/dock-bottom.png) skin/classic/browser/devtools/dock-bottom.png (devtools/dock-bottom.png)
skin/classic/browser/devtools/dock-side.png (devtools/dock-side.png) skin/classic/browser/devtools/dock-side.png (devtools/dock-side.png)
skin/classic/browser/devtools/dock-window.png (devtools/dock-window.png)
skin/classic/browser/devtools/floating-scrollbars.css (devtools/floating-scrollbars.css) skin/classic/browser/devtools/floating-scrollbars.css (devtools/floating-scrollbars.css)
skin/classic/browser/devtools/inspector.css (devtools/inspector.css) skin/classic/browser/devtools/inspector.css (devtools/inspector.css)
skin/classic/browser/devtools/toolbox.css (devtools/toolbox.css) skin/classic/browser/devtools/toolbox.css (devtools/toolbox.css)
skin/classic/browser/devtools/tool-webconsole.png (devtools/tool-webconsole.png)
skin/classic/browser/devtools/tool-debugger.png (devtools/tool-debugger.png)
skin/classic/browser/devtools/tool-inspector.png (devtools/tool-inspector.png)
skin/classic/browser/devtools/tool-styleeditor.png (devtools/tool-styleeditor.png)
skin/classic/browser/devtools/close.png (devtools/close.png)
skin/classic/browser/devtools/undock.png (devtools/undock.png)
#ifdef MOZ_SERVICES_SYNC #ifdef MOZ_SERVICES_SYNC
skin/classic/browser/sync-16-throbber.png skin/classic/browser/sync-16-throbber.png
skin/classic/browser/sync-16.png skin/classic/browser/sync-16.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 806 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -2,8 +2,15 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#toolbox-tabs { #toolbox-controls {
margin: 0; margin: 0 4px;
}
#toolbox-controls > toolbarbutton,
#toolbox-dock-buttons > toolbarbutton {
margin: 0 4px;
min-width: 16px;
width: 16px;
} }
#toolbox-dock-bottom { #toolbox-dock-bottom {
@ -15,7 +22,40 @@
} }
#toolbox-dock-window { #toolbox-dock-window {
list-style-image: url("chrome://browser/skin/devtools/dock-window.png"); list-style-image: url("chrome://browser/skin/devtools/undock.png");
}
#toolbox-close {
list-style-image: url("chrome://browser/skin/devtools/close.png");
}
#toolbox-dock-window,
#toolbox-dock-bottom,
#toolbox-dock-side,
#toolbox-close {
opacity: 0.6;
}
#toolbox-dock-window:hover,
#toolbox-dock-bottom:hover,
#toolbox-dock-side:hover,
#toolbox-close:hover {
opacity: 1;
}
/* Command buttons */
.command-button {
padding: 0 8px;
margin: 0;
width: 16px;
}
.command-button:hover {
background-color: hsla(206,37%,4%,.2);
}
.command-button:hover:active {
background-color: hsla(206,37%,4%,.4);
} }
#command-button-responsive { #command-button-responsive {
@ -66,29 +106,88 @@
.devtools-tabbar { .devtools-tabbar {
-moz-appearance: none; -moz-appearance: none;
background-image: url(background-noise-toolbar.png), linear-gradient(to bottom, hsl(210,11%,36%), hsl(210,11%,18%)); background-image: url(background-noise-toolbar.png),
color: hsl(210,30%,85%); linear-gradient(#303840, #2d3640);
padding: 4px 3px 3px; border-top: 1px solid #060a0d;
box-shadow: 0 -3px 0 0 rgb(20,20,20) inset, 0 -4px 0 0 rgba(0,0,0,0.8) inset; box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset,
0 -1px 0 hsla(206,37%,4%,.1) inset;
min-height: 32px;
padding: 0;
}
#toolbox-tabs {
margin: 0;
border-left: 1px solid hsla(206,37%,4%,.45);
} }
.devtools-tab { .devtools-tab {
-moz-appearance: none; -moz-appearance: none;
min-width: 78px; min-width: 88px;
min-height: 22px; min-height: 32px;
text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); color: #b6babf;
border-radius: @toolbarbuttonCornerRadius@ @toolbarbuttonCornerRadius@ 0 0; margin: 0;
color: inherit; padding: 0;
border-style: solid; background-image: linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)),
border-color: transparent; linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1));
border-width: 1px 1px 0; background-size: 1px 100%;
margin: 0 5px; background-repeat: no-repeat;
padding: 0 10px 1px; background-position: left, right;
border-right: 1px solid hsla(206,37%,4%,.45);
}
.devtools-tab > .radio-label-box {
padding: 0 16px;
}
.devtools-tab > .radio-label-box > .radio-icon {
-moz-margin-end: 6px;
opacity: 0.6;
}
.devtools-tab:hover > .radio-label-box > .radio-icon {
opacity: 0.8;
}
.devtools-tab:active > .radio-label-box > .radio-icon,
.devtools-tab[selected=true] > .radio-label-box > .radio-icon {
opacity: 1;
}
.devtools-tab:hover {
background-image: linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)),
linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)),
linear-gradient(hsla(206,37%,4%,.1), hsla(206,37%,4%,.2));
background size: 1px 100%,
1px 100%,
100%;
background-repeat: no-repeat,
no-repeat,
repeat-x;
background-position: left, right;
color: #ced3d9;
}
.devtools-tab:hover:active {
background-color: hsla(206,37%,4%,.2);
color: #f5f7fa;
} }
.devtools-tab[selected=true] { .devtools-tab[selected=true] {
border-color: hsla(210,8%,5%,.6); color: #f5f7fa;
background-color: rgb(20,20,20); background-image: radial-gradient(ellipse farthest-corner at center top, #9fdfff, hsla(200,100%,70%,.3)),
text-shadow: none; radial-gradient(ellipse farthest-side at center top, hsla(200,100%,70%,.4), hsla(200,100%,70%,0)),
color: white; linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)),
linear-gradient(hsla(204,45%,98%,.02), hsla(204,45%,98%,.04)),
linear-gradient(hsla(206,37%,4%,.2), hsla(206,37%,4%,.3));
background-size: 100% 1px,
100% 5px,
1px 100%,
1px 100%,
100%;
background-repeat: no-repeat,
no-repeat,
no-repeat,
no-repeat,
repeat-x;
background-position: top right, top left, left, right;
box-shadow: 1px -1px 0 hsla(206,37%,4%,.2) inset;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -243,10 +243,15 @@ browser.jar:
skin/classic/browser/devtools/tools-icons-small.png (devtools/tools-icons-small.png) skin/classic/browser/devtools/tools-icons-small.png (devtools/tools-icons-small.png)
skin/classic/browser/devtools/dock-bottom.png (devtools/dock-bottom.png) skin/classic/browser/devtools/dock-bottom.png (devtools/dock-bottom.png)
skin/classic/browser/devtools/dock-side.png (devtools/dock-side.png) skin/classic/browser/devtools/dock-side.png (devtools/dock-side.png)
skin/classic/browser/devtools/dock-window.png (devtools/dock-window.png)
skin/classic/browser/devtools/floating-scrollbars.css (devtools/floating-scrollbars.css) skin/classic/browser/devtools/floating-scrollbars.css (devtools/floating-scrollbars.css)
* skin/classic/browser/devtools/inspector.css (devtools/inspector.css) * skin/classic/browser/devtools/inspector.css (devtools/inspector.css)
skin/classic/browser/devtools/toolbox.css (devtools/toolbox.css) skin/classic/browser/devtools/toolbox.css (devtools/toolbox.css)
skin/classic/browser/devtools/tool-webconsole.png (devtools/tool-webconsole.png)
skin/classic/browser/devtools/tool-debugger.png (devtools/tool-debugger.png)
skin/classic/browser/devtools/tool-inspector.png (devtools/tool-inspector.png)
skin/classic/browser/devtools/tool-styleeditor.png (devtools/tool-styleeditor.png)
skin/classic/browser/devtools/close.png (devtools/close.png)
skin/classic/browser/devtools/undock.png (devtools/undock.png)
#ifdef MOZ_SERVICES_SYNC #ifdef MOZ_SERVICES_SYNC
skin/classic/browser/sync-throbber.png skin/classic/browser/sync-throbber.png
skin/classic/browser/sync-16.png skin/classic/browser/sync-16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 806 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -2,8 +2,17 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#toolbox-tabs { #toolbox-controls {
margin: 0; margin: 0 4px;
}
#toolbox-controls > toolbarbutton,
#toolbox-dock-buttons > toolbarbutton {
-moz-appearance: none;
border: none;
margin: 0 4px;
min-width: 16px;
width: 16px;
} }
#toolbox-dock-bottom { #toolbox-dock-bottom {
@ -15,7 +24,54 @@
} }
#toolbox-dock-window { #toolbox-dock-window {
list-style-image: url("chrome://browser/skin/devtools/dock-window.png"); list-style-image: url("chrome://browser/skin/devtools/undock.png");
}
#toolbox-close {
list-style-image: url("chrome://browser/skin/devtools/close.png");
}
#toolbox-dock-window,
#toolbox-dock-bottom,
#toolbox-dock-side,
#toolbox-close {
opacity: 0.6;
}
#toolbox-dock-window:hover,
#toolbox-dock-bottom:hover,
#toolbox-dock-side:hover,
#toolbox-close:hover {
opacity: 1;
}
#toolbox-controls-separator {
width: 3px;
background-image: linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)),
linear-gradient(hsla(206,37%,4%,0), hsla(206,37%,4%,.6), hsla(206,37%,4%,0)),
linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0));
background-size: 1px 100%;
background-repeat: no-repeat;
background-position: 0, 1px, 2px;
-moz-margin-start: 8px;
}
/* Command buttons */
.command-button {
-moz-appearance: none;
border: none;
margin: 0;
padding: 0 8px;
width: 16px;
}
.command-button:hover {
background-color: hsla(206,37%,4%,.2);
}
.command-button:hover:active {
background-color: hsla(206,37%,4%,.4);
} }
#command-button-responsive { #command-button-responsive {
@ -66,33 +122,89 @@
.devtools-tabbar { .devtools-tabbar {
-moz-appearance: none; -moz-appearance: none;
background-image: linear-gradient(to bottom, hsl(209,18%,34%), hsl(210,24%,16%)); background-image: url(background-noise-toolbar.png),
color: hsl(210,30%,85%); linear-gradient(#303840, #2d3640);
padding: 4px 3px 3px; border: none;
box-shadow: 0 -3px 0 0 rgb(20,20,20) inset, 0 -4px 0 0 rgba(0,0,0,0.8) inset; box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset,
0 -1px 0 hsla(206,37%,4%,.1) inset;
min-height: 32px;
padding: 0;
}
#toolbox-tabs {
margin: 0;
} }
.devtools-tab { .devtools-tab {
-moz-appearance: none; -moz-appearance: none;
min-width: 78px; min-width: 88px;
min-height: 22px; min-height: 32px;
text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); color: #b6babf;
border-radius: 3px 3px 0 0; margin: 0;
color: inherit; padding: 0;
border-style: solid; background-image: linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)),
border-color: transparent; linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1));
border-width: 1px 1px 0; background-size: 1px 100%;
margin: 0 5px; background-repeat: no-repeat;
padding: 0 10px 1px; background-position: left, right;
} border-top: 1px solid #060a0d;
border-right: 1px solid hsla(206,37%,4%,.45);
.devtools-tab[selected=true] {
border-color: hsla(210,8%,5%,.6);
background-color: rgb(20,20,20);
text-shadow: none;
color: white;
} }
.devtools-tab > .radio-label-box { .devtools-tab > .radio-label-box {
-moz-margin-start: 0px border: none;
padding: 0 16px;
}
.devtools-tab > .radio-label-box > .radio-icon {
-moz-margin-end: 6px;
opacity: 0.6;
}
.devtools-tab:hover > .radio-label-box > .radio-icon {
opacity: 0.8;
}
.devtools-tab:active > .radio-label-box > .radio-icon,
.devtools-tab[selected=true] > .radio-label-box > .radio-icon {
opacity: 1;
}
.devtools-tab:hover {
background-image: linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)),
linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)),
linear-gradient(hsla(206,37%,4%,.1), hsla(206,37%,4%,.2));
background size: 1px 100%,
1px 100%,
100%;
background-repeat: no-repeat,
no-repeat,
repeat-x;
background-position: left, right;
color: #ced3d9;
}
.devtools-tab:hover:active {
background-color: hsla(206,37%,4%,.2);
color: #f5f7fa;
}
.devtools-tab[selected=true] {
color: #f5f7fa;
background-image: radial-gradient(ellipse farthest-corner at center top, #9fdfff, hsla(200,100%,70%,.3)),
radial-gradient(ellipse farthest-side at center top, hsla(200,100%,70%,.4), hsla(200,100%,70%,0)),
linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)),
linear-gradient(hsla(204,45%,98%,.02), hsla(204,45%,98%,.04)),
linear-gradient(hsla(206,37%,4%,.2), hsla(206,37%,4%,.3));
background-size: 100% 1px,
100% 5px,
1px 100%,
1px 100%,
100%;
background-repeat: no-repeat,
no-repeat,
no-repeat,
no-repeat,
repeat-x;
background-position: top right, top left, left, right;
box-shadow: 1px -1px 0 hsla(206,37%,4%,.2) inset;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -198,10 +198,15 @@ browser.jar:
skin/classic/browser/devtools/tools-icons-small.png (devtools/tools-icons-small.png) skin/classic/browser/devtools/tools-icons-small.png (devtools/tools-icons-small.png)
skin/classic/browser/devtools/dock-bottom.png (devtools/dock-bottom.png) skin/classic/browser/devtools/dock-bottom.png (devtools/dock-bottom.png)
skin/classic/browser/devtools/dock-side.png (devtools/dock-side.png) skin/classic/browser/devtools/dock-side.png (devtools/dock-side.png)
skin/classic/browser/devtools/dock-window.png (devtools/dock-window.png)
skin/classic/browser/devtools/floating-scrollbars.css (devtools/floating-scrollbars.css) skin/classic/browser/devtools/floating-scrollbars.css (devtools/floating-scrollbars.css)
skin/classic/browser/devtools/inspector.css (devtools/inspector.css) skin/classic/browser/devtools/inspector.css (devtools/inspector.css)
skin/classic/browser/devtools/toolbox.css (devtools/toolbox.css) skin/classic/browser/devtools/toolbox.css (devtools/toolbox.css)
skin/classic/browser/devtools/tool-webconsole.png (devtools/tool-webconsole.png)
skin/classic/browser/devtools/tool-debugger.png (devtools/tool-debugger.png)
skin/classic/browser/devtools/tool-inspector.png (devtools/tool-inspector.png)
skin/classic/browser/devtools/tool-styleeditor.png (devtools/tool-styleeditor.png)
skin/classic/browser/devtools/close.png (devtools/close.png)
skin/classic/browser/devtools/undock.png (devtools/undock.png)
#ifdef MOZ_SERVICES_SYNC #ifdef MOZ_SERVICES_SYNC
skin/classic/browser/sync-throbber.png skin/classic/browser/sync-throbber.png
skin/classic/browser/sync-16.png skin/classic/browser/sync-16.png
@ -411,10 +416,15 @@ browser.jar:
skin/classic/aero/browser/devtools/tools-icons-small.png (devtools/tools-icons-small.png) skin/classic/aero/browser/devtools/tools-icons-small.png (devtools/tools-icons-small.png)
skin/classic/aero/browser/devtools/dock-bottom.png (devtools/dock-bottom.png) skin/classic/aero/browser/devtools/dock-bottom.png (devtools/dock-bottom.png)
skin/classic/aero/browser/devtools/dock-side.png (devtools/dock-side.png) skin/classic/aero/browser/devtools/dock-side.png (devtools/dock-side.png)
skin/classic/aero/browser/devtools/dock-window.png (devtools/dock-window.png)
skin/classic/aero/browser/devtools/floating-scrollbars.css (devtools/floating-scrollbars.css) skin/classic/aero/browser/devtools/floating-scrollbars.css (devtools/floating-scrollbars.css)
skin/classic/aero/browser/devtools/inspector.css (devtools/inspector.css) skin/classic/aero/browser/devtools/inspector.css (devtools/inspector.css)
skin/classic/aero/browser/devtools/toolbox.css (devtools/toolbox.css) skin/classic/aero/browser/devtools/toolbox.css (devtools/toolbox.css)
skin/classic/aero/browser/devtools/tool-webconsole.png (devtools/tool-webconsole.png)
skin/classic/aero/browser/devtools/tool-debugger.png (devtools/tool-debugger.png)
skin/classic/aero/browser/devtools/tool-inspector.png (devtools/tool-inspector.png)
skin/classic/aero/browser/devtools/tool-styleeditor.png (devtools/tool-styleeditor.png)
skin/classic/aero/browser/devtools/close.png (devtools/close.png)
skin/classic/aero/browser/devtools/undock.png (devtools/undock.png)
#ifdef MOZ_SERVICES_SYNC #ifdef MOZ_SERVICES_SYNC
skin/classic/aero/browser/sync-throbber.png skin/classic/aero/browser/sync-throbber.png
skin/classic/aero/browser/sync-16.png skin/classic/aero/browser/sync-16.png