summaryrefslogtreecommitdiff
path: root/devtools/client/jsonview/css/general.css
blob: d80720f4fed743220a8665879765ae2db01d730e (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
/* vim:set ts=2 sw=2 sts=2 et: */
/* 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/. */

/******************************************************************************/
/* General */

body {
  color: var(--theme-body-color);
  background-color: var(--theme-body-background);
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

*:focus {
  outline: none !important;
}

#content {
  height: 100%;
}

pre {
  background-color: white;
  border: none;
  font-family: var(--monospace-font-family);
}

#json {
  display: none;
  white-space: pre-wrap;
}

/******************************************************************************/
/* Dark Theme */

body.theme-dark {
  color: var(--theme-body-color);
  background-color: var(--theme-body-background);
}

.theme-dark pre {
  background-color: var(--theme-body-background);
}