summaryrefslogtreecommitdiffstats
path: root/toolkit/components/console/content/console.css
blob: e05f13c3efd7ea435acd7b62a4ba25555d612174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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;
}