Files
basilisk55/devtools/client/jsonview/css/general.css
T
roytam1 9b70831b31 ported from UXP:
- Issue #1138 - Part 1: refactor the JSON Viewer stream converter (8f1e1f40c)
- Issue #1138 - Part 2: JSON Viewer should ignore BOM (32b3994a7)
- Issue #1138 - Part 3: avoid quirks mode in JSON Viewer (55d401707)
- Issue #1138 - Part 4: fix JSON Viewer save functionality (73cdb3106)
2022-04-05 14:27:15 +08:00

47 lines
974 B
CSS

/* 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);
}