aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/browser/devtools/memory.css
blob: 78f8f1ff046246cbe744c852f09d1d0dfad76da6 (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
/* 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/. */

/* CSS Variables specific to this panel that aren't defined by the themes */
.theme-dark {
  --cell-border-color: rgba(255,255,255,0.15);
  --cell-border-color-light: rgba(255,255,255,0.1);
  --focus-cell-border-color: rgba(255,255,255,0.5);
  --row-alt-background-color: rgba(29,79,115,0.15);
  --row-hover-background-color: rgba(29,79,115,0.25);
}

.theme-light {
  --cell-border-color: rgba(0,0,0,0.15);
  --cell-border-color-light: rgba(0,0,0,0.1);
  --focus-cell-border-color: rgba(0,0,0,0.3);
  --row-alt-background-color: rgba(76,158,217,0.1);
  --row-hover-background-color: rgba(76,158,217,0.2);
}

.heap-view {
  position: relative;
}

.heap-view .theme-twisty {
  text-align: end;
}

.heap-tree-item {
  list-style-type: none;
  /* display: none; */
}

.heap-tree-item[expanded] {
  display: block;
}

.heap-tree-item:nth-child(2n) {
  background-color: var(--row-alt-background-color);
}

.heap-tree-item:hover {
  background-color: var(--row-hover-background-color);
}

.heap-tree-item:focus {
  background-color: var(--theme-selection-background);
}

.heap-tree-item:focus description {
  color: var(--theme-selection-color) !important;
}

.heap-tree-item:focus .call-tree-cell {
  -moz-border-end-color: var(--focus-cell-border-color);
}


.heap-tree-cell[type="bytes"], .heap-tree-cell[type="count"] {
  position: absolute;
  text-align: right;
  width: 40px;
}

.heap-tree-cell[type="name"] {
  width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.heap-tree-cell[type="count"] {
  left: 300px;
}

.heap-tree-cell[type="bytes"] {
  left: 250px;
}