Home | History | Annotate | Download | only in front_end
      1 /*
      2  * Copyright (C) 2009 Google Inc. All rights reserved.
      3  * Copyright (C) 2010 Apple Inc. All rights reserved.
      4  *
      5  * Redistribution and use in source and binary forms, with or without
      6  * modification, are permitted provided that the following conditions are
      7  * met:
      8  *
      9  *     * Redistributions of source code must retain the above copyright
     10  * notice, this list of conditions and the following disclaimer.
     11  *     * Redistributions in binary form must reproduce the above
     12  * copyright notice, this list of conditions and the following disclaimer
     13  * in the documentation and/or other materials provided with the
     14  * distribution.
     15  *     * Neither the name of Google Inc. nor the names of its
     16  * contributors may be used to endorse or promote products derived from
     17  * this software without specific prior written permission.
     18  *
     19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     20  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     21  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
     22  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
     23  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
     24  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
     25  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     26  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     27  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     28  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     29  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     30  */
     31 
     32 .heap-snapshot-sidebar-tree-item .icon {
     33     content: url(Images/profileIcon.png);
     34 }
     35 
     36 .heap-snapshot-sidebar-tree-item.small .icon {
     37     content: url(Images/profileSmallIcon.png);
     38 }
     39 
     40 .heap-snapshot-view {
     41     display: none;
     42     overflow: hidden;
     43     position: absolute;
     44     top: 0;
     45     left: 0;
     46     right: 0;
     47     bottom: 0;
     48 }
     49 
     50 .heap-snapshot-view .pie-chart {
     51     margin: 12px 30px;
     52 }
     53 
     54 .heap-snapshot-view .data-grid {
     55     border: none;
     56 }
     57 
     58 .heap-snapshot-view .data-grid tr:empty {
     59     height: 16px;
     60     visibility: hidden;
     61 }
     62 
     63 .heap-snapshot-view .data-grid span.percent-column {
     64     width: 32px;
     65 }
     66 
     67 .heap-snapshot-view .console-formatted-object,
     68 .console-formatted-node {
     69     display: inline;
     70     position: static;
     71 }
     72 
     73 .detached-dom-tree-node {
     74     background-color: #FF9999;
     75 }
     76 
     77 .heap-snapshot-view .console-formatted-string {
     78     white-space: nowrap;
     79 }
     80 
     81 .heap-snapshot-view tr:not(.selected) .console-formatted-id {
     82     color: grey;
     83 }
     84 
     85 .heap-snapshot-view .delimiter {
     86     height: 24px;
     87     background-color: #d6dde5;
     88 }
     89 
     90 .heap-snapshot-view .data-grid {
     91     flex: auto;
     92 }
     93 
     94 .heap-snapshot-view .heap-tracking-overview {
     95     flex: 0 0 80px;
     96     height: 80px;
     97 }
     98 
     99 .heap-snapshot-view .retaining-paths-view {
    100     overflow: hidden;
    101 }
    102 
    103 .heap-snapshot-view .heap-snapshot-view-resizer {
    104     background-image: url(Images/statusbarResizerVertical.png);
    105     background-color: rgb(236, 236, 236);
    106     border-bottom: 1px solid rgb(179, 179, 179);
    107     background-repeat: no-repeat;
    108     background-position: right center, center;
    109     flex: 0 0 21px;
    110 }
    111 
    112 .heap-snapshot-view .heap-snapshot-view-resizer .title > span {
    113     display: inline-block;
    114     padding-top: 3px;
    115     vertical-align: middle;
    116     margin-left: 4px;
    117     margin-right: 8px;
    118 }
    119 
    120 .heap-snapshot-view .heap-snapshot-view-resizer * {
    121     pointer-events: none;
    122 }
    123 
    124 .heap-snapshot-view .heap-object-details-header {
    125     background-color: rgb(236, 236, 236);
    126 }
    127 
    128 .heap-snapshot-view tr:not(.selected) td.object-column span.highlight {
    129     background-color: rgb(255, 255, 200);
    130 }
    131 
    132 .heap-snapshot-view td.object-column span.grayed {
    133     color: gray;
    134 }
    135 
    136 table.heap-snapshot-help {
    137     border-spacing: 12px 2px;
    138 }
    139 
    140 .cycled-ancessor-node {
    141     opacity: 0.6;
    142 }
    143 
    144 #heap-recording-view .heap-snapshot-view {
    145     top: 80px;
    146 }
    147 
    148 .overview-container {
    149     overflow: hidden;
    150     position: absolute;
    151     top: 0;
    152     width: 100%;
    153     height: 80px;
    154 }
    155 
    156 #heap-recording-overview-grid .resources-dividers-label-bar {
    157     pointer-events: auto;
    158 }
    159 
    160 #heap-recording-overview-container {
    161     border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    162 }
    163 
    164 .heap-recording-overview-canvas {
    165     position: absolute;
    166     top: 20px;
    167     left: 0;
    168     right: 0;
    169     bottom: 0;
    170 }
    171 
    172 .heap-snapshot-stats-legend {
    173     margin-left: 24px;
    174 }
    175 
    176 .heap-snapshot-stats-legend > div {
    177     margin-top: 1px;
    178     width: 170px;
    179 }
    180 
    181 .heap-snapshot-stats-swatch {
    182     display: inline-block;
    183     width: 10px;
    184     height: 10px;
    185     border: 1px solid rgba(100, 100, 100, 0.3);
    186 }
    187 
    188 .heap-snapshot-stats-swatch.heap-snapshot-stats-empty-swatch {
    189     border: none;
    190 }
    191 
    192 .heap-snapshot-stats-name,
    193 .heap-snapshot-stats-size {
    194     display: inline-block;
    195     margin-left: 6px;
    196 }
    197 
    198 .heap-snapshot-stats-size {
    199     float: right;
    200     text-align: right;
    201 }
    202 
    203 .heap-allocation-stack .stack-frame {
    204     display: flex;
    205     justify-content: space-between;
    206     border-bottom: 1px solid rgb(240, 240, 240);
    207     padding: 2px;
    208 }
    209 
    210 .heap-allocation-stack .stack-frame a {
    211     color: rgb(33%, 33%, 33%);
    212 }
    213 
    214 .no-heap-allocation-stack {
    215     padding: 5px;
    216 }
    217