-/* ***** 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;
-}
-
-.hud-outer-wrapper {
- width: 100%;
- height: 100%;
-}
-
-.hud-console-wrapper {
- width: 100%;
- overflow: auto;
+/* 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;
+}
+
+.webconsole-timestamp,
+.webconsole-msg-body,
+.jsterm-input-node,
+.jsterm-complete-node {
+ font-family: "Liberation Mono", Consolas, "Courier New", monospace;
}
+/*
+ * 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
+ */
+
+.hud-filter-box {
+ width: 200px;
+}
+
+/* === webconsole.inc.css === */
+
/* General output styles */
.webconsole-timestamp {
color: #8050B0;
margin-top: 0;
margin-bottom: 0;
- font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
}
.hud-msg-node {
height: 8px;
}
-.hud-output-node div {
- -moz-user-select: text;
- white-space: pre-wrap;
- -moz-user-focus: normal;
-}
-
.hud-clickable {
cursor: pointer;
text-decoration: underline;
-moz-margin-start: 3px;
-moz-margin-end: 6px;
white-space: pre-wrap;
- font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
+ 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;
}
text-align: end;
}
+.webconsole-mixed-content {
+ color: #FF0000;
+}
+
+.webconsole-mixed-content-link {
+ color: #3333FF;
+ margin: 0;
+}
+
.hud-msg-node[selected="true"] > .webconsole-timestamp,
.hud-msg-node[selected="true"] > .webconsole-location {
color: inherit;
}
-.jsterm-input-node,
-.jsterm-complete-node {
- font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
-}
-
.hud-output-node {
-moz-appearance: none;
border-bottom: 1px solid #9C9CFF;
- border-top: 1px solid #9C9CFF;
margin: 0;
}
display: none;
}
-.webconsole-clear-console-button > .toolbarbutton-icon {
- display: none;
+.hidden-message {
+ display: block;
+ visibility: hidden;
+ height: 0;
+ overflow: hidden;
}
-.webconsole-filter-button > .toolbarbutton-menubutton-button {
- -moz-box-orient: horizontal;
- list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
+/* WebConsole colored drops */
+
+.webconsole-filter-button {
+ -moz-user-focus: normal;
}
-.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[checked] {
+ /* color: white !important; */
}
-.webconsole-filter-button {
- -moz-margin-start: 3px;
- -moz-margin-end: 3px;
+.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 menuitem {
+ -moz-image-region: auto;
+}
+
+.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, 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;
-}
+/* JSTerm Styles */
-.webconsole-close-button:hover {
- -moz-image-region: rect(0, 32px, 16px, 16px);
+.jsterm-input-node,
+.jsterm-complete-node {
+ -moz-padding-start: 16px;
+ margin: 3px 0 0 0;
}
-.webconsole-close-button:hover:active {
- -moz-image-region: rect(0, 48px, 16px, 32px);
+.jsterm-input-node {
+ background: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16) no-repeat;
+ background-position: 0%;
}
-/* 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;
+:-moz-any(.jsterm-input-node,
+ .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
+ overflow-x: hidden;
}
-.jsterm-output-node {
- width: 100%;
- height: 400px;
- color: white;
- background-color: black;
- overflow: auto;
- overflow-x: auto;
- position: absolute;
- -moz-box-direction: reverse;
+.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
+ color: #8050B0;
}
-.jsterm-scroll-to-node {
- height: 1px; width: 1px; position: relative; top: 92%; display: block;
+.webconsole-msg-inspector iframe {
+ height: 7em;
+ margin-bottom: 15px;
+ -moz-margin-end: 15px;
+ border-radius: 4px;
}
-.jsterm-input-node,
-.jsterm-complete-node {
+#webconsole-sidebar > tabs {
+ height: 0;
border: none;
- padding: 0 0 0 16px;
}
-.jsterm-input-node {
- background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
-}
+/* Security styles */
-:-moz-any(.jsterm-input-node,
- .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
- overflow-x: hidden;
+.webconsole-msg-security > .webconsole-msg-icon-container {
+ -moz-border-start: solid #FF0000 6px;
}
-.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
- color: #8050B0;
+.webconsole-filter-button[category="security"] > .toolbarbutton-menubutton-button:before {
+ background-color: #FF0000;
+ border-color: #FFCF00;
}
-.jsterm-output-line {
- font-size: 1em;
+.webconsole-msg-security.webconsole-msg-error {
+ -moz-image-region: rect(32px, 16px, 40px, 8px);
}
-.hud-console-filter-toolbar {
- padding: 1px 2px;
- -moz-box-align: center;
+.webconsole-msg-security.webconsole-msg-warn {
+ -moz-image-region: rect(32px, 24px, 40px, 16px);
}
-.web-console-panel {
- -moz-appearance: none;
- background-color: black;
+.navigation-marker {
+ color: #000000;
+ background-color: #A09090;
+ -moz-margin-start: 3px;
+ -moz-margin-end: 6px;
+ font-size: 0.9em;
}
-.web-console-panel > .hud-box {
- height: 100%;
- width: 100%;
- background-color: black;
+.navigation-marker .url {
+ background-color: #000000;
+ -moz-padding-end: 6px;
}