summaryrefslogtreecommitdiffstats
path: root/devtools/client/jsonview/css/general.css
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/jsonview/css/general.css')
-rw-r--r--devtools/client/jsonview/css/general.css46
1 files changed, 46 insertions, 0 deletions
diff --git a/devtools/client/jsonview/css/general.css b/devtools/client/jsonview/css/general.css
new file mode 100644
index 000000000..0c68d65e7
--- /dev/null
+++ b/devtools/client/jsonview/css/general.css
@@ -0,0 +1,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,
+#headers {
+ display: none;
+}
+
+/******************************************************************************/
+/* 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);
+}