-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is DevTools code
- *
- * The Initial Developer of the Original Code is
- * Mozilla Corporation
- * Portions created by the Initial Developer are Copyright (C) 2010
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * David Dahl <ddahl@mozilla.com>
-
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-.hud-box {
- border-bottom: 3px solid #000000;
-}
-
-.hud-box.animated {
- -moz-transition: height 100ms;
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * 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/. */
+
+window {
+ padding: 0;
}
.hud-outer-wrapper {
color: #8050B0;
margin-top: 0;
margin-bottom: 0;
+ font-family: "Liberation Mono", Consolas, "Courier New", monospace;
}
.hud-msg-node {
-moz-margin-start: 3px;
-moz-margin-end: 6px;
white-space: pre-wrap;
+ font-family: "Liberation Mono", Consolas, "Courier New", monospace;
}
.webconsole-msg-body-piece {
background-color: #FF0000;
border-radius: 40px;
/* font: message-box; */
- font-size: 10px;
+ font-size: 0.9em;
font-weight: 600;
}
color: inherit;
}
-.hud-output-node,
.jsterm-input-node,
.jsterm-complete-node {
- font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
+ font-family: "Liberation Mono", Consolas, "Courier New", monospace;
}
.hud-output-node {
display: none;
}
-.webconsole-clear-console-button > .toolbarbutton-icon {
- display: none;
+/* WebConsole colored drops */
+
+.webconsole-filter-button[checked=true] {
+ /* color: white !important; */
}
-.webconsole-filter-button > .toolbarbutton-menubutton-button {
- -moz-box-orient: horizontal;
- list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
+.webconsole-filter-button > .toolbarbutton-menubutton-button:before {
+ content: "";
+ display: inline-block;
+ height: 8px;
+ width: 8px;
+ border-radius: 50%;
+ margin-left: 5px;
+ border-width: 1px;
+ border-style: solid;
}
-.webconsole-filter-button > .toolbarbutton-menubutton-button,
-.webconsole-filter-button > .toolbarbutton-menubutton-button:hover:active {
- -moz-padding-start: 6px;
- -moz-padding-end: 3px;
+.webconsole-filter-button menuitem {
+ -moz-image-region: auto;
}
-.webconsole-filter-button {
- -moz-margin-start: 3px;
- -moz-margin-end: 3px;
+.hud-filter-box {
+ margin-top: 0;
+ margin-bottom: 0;
}
/* Network styles */
-.webconsole-filter-button[category="net"] {
- -moz-image-region: rect(0, 8px, 8px, 0);
+.webconsole-filter-button[category="net"] > .toolbarbutton-menubutton-button:before {
+ background-image: linear-gradient(#BF9B00, #7F6700);
+ border-color: #FFCF00;
}
.webconsole-msg-network > .webconsole-msg-icon-container {
- -moz-border-start: solid #000 6px;
+ -moz-border-start: solid #FFCF00 6px;
}
.webconsole-msg-network.webconsole-msg-error {
}
/* CSS styles */
-.webconsole-filter-button[category="css"] {
- -moz-image-region: rect(8px, 8px, 16px, 0);
+.webconsole-filter-button[category="css"] > .toolbarbutton-menubutton-button:before {
+ background-image: linear-gradient(#7575BF, #4E4E7F);
+ border-color: #9C9CFF;
}
.webconsole-msg-cssparser > .webconsole-msg-icon-container {
- -moz-border-start: solid #00b6f0 6px;
+ -moz-border-start: solid #9C9CFF 6px;
}
.webconsole-msg-cssparser.webconsole-msg-error {
}
/* JS styles */
-.webconsole-filter-button[category="js"] {
- -moz-image-region: rect(16px, 8px, 24px, 0);
+.webconsole-filter-button[category="js"] > .toolbarbutton-menubutton-button:before {
+ background-image: linear-gradient(#BF7700, #7F4F00);
+ border-color: #FF9F00;
}
.webconsole-msg-exception > .webconsole-msg-icon-container {
- -moz-border-start: solid #fb9500 6px;
+ -moz-border-start: solid #FF9F00 6px;
}
.webconsole-msg-exception.webconsole-msg-error {
}
/* Web Developer styles */
-.webconsole-filter-button[category="logging"] {
- -moz-image-region: rect(24px, 8px, 32px, 0);
+.webconsole-filter-button[category="logging"] > .toolbarbutton-menubutton-button:before {
+ background-image: linear-gradient(#5F3B83, #3F2756);
+ border-color: #8050B0;
}
.webconsole-msg-console > .webconsole-msg-icon-container {
- -moz-border-start: solid #cbcbcb 6px;
+ -moz-border-start: solid #8050B0 6px;
}
.webconsole-msg-console.webconsole-msg-error,
-moz-image-region: rect(24px, 32px, 32px, 24px);
}
+webconsole-mixed-content {
+ color: #FF0000;
+}
+
+.webconsole-mixed-content-link {
+ color: #9C9CFF;
+ margin: 0;
+}
+
/* Input and output styles */
.webconsole-msg-input > .webconsole-msg-icon-container,
.webconsole-msg-output > .webconsole-msg-icon-container {
.webconsole-msg-output {
-moz-image-region: rect(24px, 48px, 32px, 40px);
}
-
+/*
.webconsole-close-button {
border: none;
- padding: 3px;
- list-style-image: url("chrome://global/skin/icons/close.png");
- -moz-image-region: rect(0, 16px, 16px, 0);
- -moz-appearance: none;
-}
-
-.webconsole-close-button:hover {
- -moz-image-region: rect(0, 32px, 16px, 16px);
+ padding-top: 4px;
+ padding-bottom: 5px;
+ list-style-image: url("chrome://global/skin/icons/close-button.gif");
}
+.webconsole-close-button:hover,
.webconsole-close-button:hover:active {
- -moz-image-region: rect(0, 48px, 16px, 32px);
+ list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
}
-
+*/
/* JSTerm Styles */
-.jsterm-wrapper-node {
- font-family: "Liberation Mono", Consolas, "Courier New", monospace;
- font-size: 1em;
- background-color: #000;
- border: 1px solid #333;
- padding: 0.1em;
- width: 100%;
- height: 400px;
-}
-
-.jsterm-output-node {
- width: 100%;
- height: 400px;
- color: white;
- background-color: black;
- overflow: auto;
- overflow-x: auto;
- position: absolute;
- -moz-box-direction: reverse;
-}
-
-.jsterm-scroll-to-node {
- height: 1px; width: 1px; position: relative; top: 92%; display: block;
-}
-
.jsterm-input-node,
.jsterm-complete-node {
- border: none;
- padding: 0 0 0 16px;
+ -moz-padding-start: 16px;
+ margin: 3px 0 0 0;
}
.jsterm-input-node {
- background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
+ background: url("chrome://browser/skin/devtools/commandline.png") 4px 3px no-repeat;
}
:-moz-any(.jsterm-input-node,
color: #8050B0;
}
-.jsterm-output-line {
- font-size: 1em;
-}
-
-.hud-console-filter-toolbar {
- padding: 1px 2px;
- -moz-box-align: center;
-}
+/* Filter */
-.web-console-panel {
- -moz-appearance: none;
- background-color: black;
-}
+/*
+ * This hardcoded width likely due to a toolkit Windows specific bug.
+ * See http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/winstripe/global/textbox-aero.css#l7
+ */
-.web-console-panel > .hud-box {
- height: 100%;
- width: 100%;
- background-color: black;
+.hud-filter-box {
+ width: 200px;
}