summaryrefslogtreecommitdiff
path: root/chromium/third_party/trace-viewer/src/tcmalloc/tcmalloc_snapshot_view.css
blob: 8368fa7202228c8f9fc574032902afb2573f00f7 (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
/* Copyright (c) 2013 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

.subhead {
  font-size: small;
  padding-bottom: 10px;
}

.tcmalloc-snapshot-view ul {
  background-position: 0 5px;
  background-repeat: no-repeat;
  cursor: pointer;
  font-family: monospace;
  list-style: none;
  margin: 0;
  padding-left: 15px;
}

.tcmalloc-snapshot-view li {
  background-position: 0 5px;
  background-repeat: no-repeat;
  cursor: pointer;
  list-style: none;
  margin: 0;
  padding-left: 15px;
}

/* Collapsed state for list element */
.tcmalloc-snapshot-view .collapsed {
  background-image: url(../images/expand.png);
}

/* Expanded state for list element. Must be located under the collapsed one. */
.tcmalloc-snapshot-view .expanded {
  background-image: url(../images/collapse.png);
}

/* Allocation size in MB, right-aligned for easier comparison of columns. */
.trace-bytes {
  display: inline-block;
  padding-right: 10px;
  text-align: right;
  width: 80px;
}

/* Trace allocation count. */
.trace-allocs {
  display: inline-block;
  padding-right: 10px;
  text-align: right;
  width: 120px;
}

/* Trace name, inline so it appears to the right of the byte count. */
.trace-name {
  display: inline-block;
}