summaryrefslogtreecommitdiffstats
path: root/devtools/client/jsonview/css/main.css
blob: eb8ba16956cd313e224ec6d4d4db21d0ee32693b (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
/* 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/. */

@import "chrome://devtools/skin/variables.css";
@import "chrome://devtools/skin/common.css";
@import "chrome://devtools/skin/toolbars.css";

@import "chrome://devtools/content/shared/components/tree/TreeView.css";
@import "chrome://devtools/content/shared/components/tabs/Tabs.css";

@import "general.css";
@import "search-box.css";
@import "toolbar.css";
@import "json-panel.css";
@import "text-panel.css";
@import "headers-panel.css";

/******************************************************************************/
/* Panel Content */

.tab-panel-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.panelContent {
  direction: ltr;
  overflow-y: auto;
  width: 100%;
  flex: 1;
  outline-offset: -2px;
}

/* The tree takes the entire horizontal space within the panel content. */
.panelContent .treeTable {
  width: 100%;
  font-family: var(--monospace-font-family);
  outline-offset: -2px;
}

/* Make sure there is a little space between label and value columns. */
.panelContent .treeTable .treeLabelCell {
  padding-right: 17px;
}