CSS样式  |  60行  |  1.28 KB

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