summaryrefslogtreecommitdiffstats
path: root/toolkit/components/console/content/console.css
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-02 07:11:37 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-02 07:11:37 -0500
commit464e29230eeb8c25dfb064f14239b1288c85332b (patch)
tree08935287f435060c489af48cd4a59d00e76197c6 /toolkit/components/console/content/console.css
parent6d614170cbfa958564eb5f824234ad5a9e484344 (diff)
downloadUXP-464e29230eeb8c25dfb064f14239b1288c85332b.tar
UXP-464e29230eeb8c25dfb064f14239b1288c85332b.tar.gz
UXP-464e29230eeb8c25dfb064f14239b1288c85332b.tar.lz
UXP-464e29230eeb8c25dfb064f14239b1288c85332b.tar.xz
UXP-464e29230eeb8c25dfb064f14239b1288c85332b.zip
Issue N/A - Restore the Toolkit Error Console - Part 1: Toolkit
Diffstat (limited to 'toolkit/components/console/content/console.css')
-rw-r--r--toolkit/components/console/content/console.css74
1 files changed, 74 insertions, 0 deletions
diff --git a/toolkit/components/console/content/console.css b/toolkit/components/console/content/console.css
new file mode 100644
index 000000000..e05f13c3e
--- /dev/null
+++ b/toolkit/components/console/content/console.css
@@ -0,0 +1,74 @@
+/* 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/. */
+
+
+.console-box {
+ -moz-binding: url("chrome://global/content/consoleBindings.xml#console-box");
+ overflow: auto;
+}
+
+.console-rows {
+ -moz-user-focus: normal;
+}
+
+.console-row[type="error"],
+.console-row[type="warning"] {
+ -moz-binding: url("chrome://global/content/consoleBindings.xml#error");
+}
+
+.console-row[type="message"] {
+ -moz-binding: url("chrome://global/content/consoleBindings.xml#message");
+}
+
+.console-msg-text,
+.console-error-msg {
+ white-space: pre-wrap;
+}
+
+.console-error-source {
+ -moz-binding: url("chrome://global/content/consoleBindings.xml#console-error-source");
+}
+
+.console-dots {
+ width: 1px;
+}
+
+/* :::::::::: hiding and showing of rows for each mode :::::::::: */
+
+.console-box[mode="Warnings"] > .console-box-internal > .console-rows
+ > .console-row[type="error"],
+.console-box[mode="Messages"] > .console-box-internal > .console-rows
+ > .console-row[type="error"]
+{
+ display: none;
+}
+
+.console-box[mode="Errors"] > .console-box-internal > .console-rows
+ > .console-row[type="warning"],
+.console-box[mode="Messages"] > .console-box-internal > .console-rows
+ > .console-row[type="warning"]
+{
+ display: none;
+}
+
+.console-box[mode="Errors"] > .console-box-internal > .console-rows
+ > .console-row[type="message"],
+.console-box[mode="Warnings"] > .console-box-internal > .console-rows
+ > .console-row[type="message"]
+{
+ display: none;
+}
+
+.filtered-by-string {
+ display: none;
+}
+
+/* If line number is 0, hide the line number section */
+.lineNumberRow[line="0"] {
+ display: none;
+}
+
+#TextboxEval {
+ direction: ltr;
+}