summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/src/components/SecondaryPanes/Scopes.css
blob: 07ebd44048cf5834ce07833c899f52d7badbe6bf (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/* 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/>. */

.secondary-panes .map-scopes-header {
  padding-inline-end: 3px;
}

.secondary-panes .header-buttons .img.shortcuts {
  width: 14px;
  height: 14px;
  /* Better vertical centering of the icon */
  margin-top: -2px;
}

.scopes-content .node.object-node {
  padding-inline-start: 7px;
}

.scopes-content .toggle-map-scopes a.mdn {
  padding-inline-start: 3px;
}

.scopes-content .toggle-map-scopes .img.shortcuts {
  background: var(--theme-comment);
}

.scopes-content .object-node.default-property {
  opacity: 0.6;
}

.scopes-content .object-node {
  padding-inline-start: 20px;
}

html[dir="rtl"] .scopes-content .object-node {
  padding-right: 4px;
}

.scopes-content .object-label {
  color: var(--theme-highlight-blue);
}

.objectBox-object,
.objectBox-text,
.objectBox-table,
.objectLink-textNode,
.objectLink-event,
.objectLink-eventLog,
.objectLink-regexp,
.objectLink-object,
.objectLink-Date,
.theme-dark .objectBox-object,
.theme-light .objectBox-object {
  white-space: nowrap;
}

.scopes-pane ._content {
  overflow: auto;
}

.scopes-list {
  padding: 4px 0px;
}

.scopes-list .function-signature {
  display: inline-block;
}

.scopes-list .scope-type-toggle {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.scopes-list .scope-type-toggle button {
  /* Override color so that the link doesn't turn purple */
  color: var(--theme-body-color);
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.scopes-list .scope-type-toggle button:hover {
  background: transparent;
}

.scopes-list .tree.object-inspector .node.object-node {
  display: flex;
  align-items: center;
}

.scopes-list .tree.object-inspector .tree-node button.arrow,
.scopes-list button.invoke-getter {
  margin-top: 2px;
}

.scopes-list .tree {
  line-height: 15px;
}