/*
 * Copyright (C) 2009 Google Inc. All rights reserved.
 * Copyright (C) 2010 Apple Inc. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are
 * met:
 *
 *     * Redistributions of source code must retain the above copyright
 * notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above
 * copyright notice, this list of conditions and the following disclaimer
 * in the documentation and/or other materials provided with the
 * distribution.
 *     * Neither the name of Google Inc. nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

.heap-snapshot-sidebar-tree-item .icon {
    content: url(Images/profileIcon.png);
}

.heap-snapshot-sidebar-tree-item.wait .icon {
    content: url(Images/spinnerActive.gif);
}

.heap-snapshot-sidebar-tree-item.wait.selected .icon {
    content: url(Images/spinnerActiveSelected.gif);
}

body.inactive .heap-snapshot-sidebar-tree-item.wait .icon {
    content: url(Images/spinnerInactive.gif);
}

body.inactive .heap-snapshot-sidebar-tree-item.wait.selected .icon {
    content: url(Images/spinnerInactiveSelected.gif);
}

.heap-snapshot-sidebar-tree-item.small .icon {
    content: url(Images/profileSmallIcon.png);
}

.heap-snapshot-view {
    display: none;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.heap-snapshot-view.visible {
    display: block;
}

.heap-snapshot-view .view {
    display: none;
}

.heap-snapshot-view .view.visible {
    display: block;
}

.heap-snapshot-view .data-grid tr:empty {
    height: 16px;
    visibility: hidden;
}

.heap-snapshot-view .data-grid {
    border: none;
}

.heap-snapshot-view .data-grid td.count-column {
    text-align: right;
}

.heap-snapshot-view .data-grid td.addedCount-column {
    text-align: right;
}

.heap-snapshot-view .data-grid td.removedCount-column {
    text-align: right;
}

.heap-snapshot-view .data-grid td.countDelta-column {
    text-align: right;
}

.heap-snapshot-view .data-grid td.addedSize-column {
    text-align: right;
}

.heap-snapshot-view .data-grid td.removedSize-column {
    text-align: right;
}

.heap-snapshot-view .data-grid td.sizeDelta-column {
    text-align: right;
}

.heap-snapshot-view .data-grid td.shallowSize-column {
    text-align: right;
}

.heap-snapshot-view .data-grid td.retainedSize-column {
    text-align: right;
}

.heap-snapshot-view .data-grid td.distanceToWindow-column {
    text-align: right;
}

.heap-snapshot-view .data-grid div.heap-snapshot-multiple-values {
    float: right;
}

.heap-snapshot-view .data-grid span.percent-column {
    color: grey;
    width: 32px;
    float: right;
}

.heap-snapshot-view .console-formatted-object, .console-formatted-node {
    display: inline;
    position: static;
}

.detached-dom-tree-node {
    background-color: #FF9999;
}

.heap-snapshot-view .console-formatted-string {
    white-space: nowrap;
}

.heap-snapshot-view .console-formatted-id {
    color: grey;
}

.heap-snapshot-view .data-grid tr.selected * {
    color: inherit;
}

.heap-snapshot-view .data-grid:focus tr.selected * {
    color: white;
}

.heap-snapshot-view .delimiter {
    height: 24px;
    background-color: #d6dde5;
}

.heap-snapshot-view .data-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.heap-snapshot-view .views-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 173px;
}

.reserve-80px-at-top {
    top: 80px !important;
}

.heap-snapshot-view .views-container .view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.heap-snapshot-view .retaining-paths-view {
    height: 150px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.heap-snapshot-view .class-view-grid {
    top: 22px;
}

.heap-snapshot-view .class-view-toolbar {
    height: 22px;
    background-color: #DDD;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.heap-snapshot-view .class-view-toolbar input.class-name-filter {
    width: 200px;
    height: 18px;
    font-size: 11px;
    font-family: inherit;
    padding: 2px;
    margin: 2px 10px;
    background-color: white;
    border: solid 1px #BBB;
}

.heap-snapshot-view .retainers-view-header {
    background-image: url(Images/statusbarResizerVertical.png), -webkit-linear-gradient(rgb(253,253,253), rgb(230,230,230) 75%, rgb(230,230,230));
    border-top: 1px solid rgb(202, 202, 202);
    background-repeat: no-repeat;
    background-position: right center, center;
    cursor: row-resize;
    height: 23px;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 150px;
}

.heap-snapshot-view .retainers-view-header .title > span {
    display: inline-block;
    padding-top: 3px;
    vertical-align: middle;
    margin-left: 4px;
    margin-right: 8px;
}

.heap-snapshot-view tr:not(.selected) td.object-column span.highlight {
    background-color: rgb(255, 255, 200);
}

.heap-snapshot-view td.object-column span.grayed {
    color: gray;
}

.heap-snapshot-help-status-bar-item .glyph {
    -webkit-mask-position: -160px -2px;
}

table.heap-snapshot-help {
    border-spacing: 12px 2px;
}

.cycled-ancessor-node {
    opacity: 0.6;
}

#heap-recording-view .heap-snapshot-view {
    top: 80px;
}

.overview-container {
    overflow: hidden;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 80px;
}

#heap-recording-overview-grid .resources-dividers-label-bar {
    pointer-events: auto;
}

#heap-recording-overview-container {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.heap-recording-overview-canvas {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    bottom: 0;
}
