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.visible {
     51     display: block;
     52 }
     53 
     54 .heap-snapshot-view .data-grid {
     55     border: none;
     56     max-height: 100%;
     57     position: absolute;
     58     left: 0;
     59     right: 0;
     60     top: 0;
     61     bottom: 93px;
     62 }
     63 
     64 .heap-snapshot-view .data-grid th.count-column {
     65     text-align: center;
     66 }
     67 
     68 .heap-snapshot-view .data-grid td.count-column {
     69     text-align: right;
     70 }
     71 
     72 .heap-snapshot-view .data-grid th.size-column {
     73     text-align: center;
     74 }
     75 
     76 .heap-snapshot-view .data-grid td.size-column {
     77     text-align: right;
     78 }
     79 
     80 .heap-snapshot-view .data-grid th.countDelta-column {
     81     text-align: center;
     82 }
     83 
     84 .heap-snapshot-view .data-grid td.countDelta-column {
     85     text-align: right;
     86 }
     87 
     88 .heap-snapshot-view .data-grid th.sizeDelta-column {
     89     text-align: center;
     90 }
     91 
     92 .heap-snapshot-view .data-grid td.sizeDelta-column {
     93     text-align: right;
     94 }
     95 
     96 #heap-snapshot-summary-container {
     97     position: absolute;
     98     padding-top: 20px;
     99     bottom: 0;
    100     left: 0;
    101     right: 0;
    102     height: 93px;
    103     margin-left: -1px;
    104     border-left: 1px solid rgb(102, 102, 102);
    105     background-color: rgb(101, 111, 130);
    106     background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
    107     background-repeat: repeat-x;
    108     background-position: top;
    109     text-align: center;
    110     text-shadow: black 0 1px 1px;
    111     white-space: nowrap;
    112     color: white;
    113     -webkit-background-size: 1px 6px;
    114     -webkit-background-origin: padding;
    115     -webkit-background-clip: padding;
    116 }
    117 
    118 .heap-snapshot-summary {
    119     display: inline-block;
    120     width: 50%;
    121     min-width: 300px;
    122     position: relative;
    123 }
    124 
    125 .heap-snapshot-summary canvas.summary-graph {
    126     width: 225px;
    127 }
    128 
    129 .heap-snapshot-summary-label {
    130     font-size: 12px;
    131     font-weight: bold;
    132     position: absolute;
    133     top: 1px;
    134     width: 50%;
    135     left: 25%;
    136 }
    137 
    138 .detailed-heapshot-view {
    139     display: none;
    140     overflow: hidden;
    141     position: absolute;
    142     top: 0;
    143     left: 0;
    144     right: 0;
    145     bottom: 0;
    146     -webkit-box-orient: vertical;
    147 }
    148 
    149 .detailed-heapshot-view.visible {
    150     display: -webkit-box;
    151 }
    152 
    153 .detailed-heapshot-view .view {
    154     display: none;
    155     -webkit-box-flex: 3;
    156     -webkit-box-orient: vertical;
    157 }
    158 
    159 .detailed-heapshot-view .view.visible {
    160     display: -webkit-box;
    161 }
    162 
    163 .detailed-heapshot-view .data-grid {
    164     border: none;
    165     position: relative;
    166     -webkit-box-flex: 1;
    167 }
    168 
    169 .detailed-heapshot-view .data-grid td.count-column {
    170     text-align: right;
    171 }
    172 
    173 .detailed-heapshot-view .data-grid td.addedCount-column {
    174     text-align: right;
    175 }
    176 
    177 .detailed-heapshot-view .data-grid td.removedCount-column {
    178     text-align: right;
    179 }
    180 
    181 .detailed-heapshot-view .data-grid td.countDelta-column {
    182     text-align: right;
    183 }
    184 
    185 .detailed-heapshot-view .data-grid td.addedSize-column {
    186     text-align: right;
    187 }
    188 
    189 .detailed-heapshot-view .data-grid td.removedSize-column {
    190     text-align: right;
    191 }
    192 
    193 .detailed-heapshot-view .data-grid td.sizeDelta-column {
    194     text-align: right;
    195 }
    196 
    197 .detailed-heapshot-view .data-grid td.shallowSize-column {
    198     text-align: right;
    199 }
    200 
    201 .detailed-heapshot-view .data-grid td.retainedSize-column {
    202     text-align: right;
    203 }
    204 
    205 .detailed-heapshot-view .console-formatted-object, .console-formatted-node {
    206     display: inline;
    207     position: static;
    208 }
    209 
    210 .detailed-heapshot-view .console-formatted-string {
    211     white-space: nowrap;
    212 }
    213 
    214 .detailed-heapshot-view .data-grid tr.selected * {
    215     color: inherit;
    216 }
    217 
    218 .detailed-heapshot-view .data-grid:focus tr.selected * {
    219     color: white;
    220 }
    221 
    222 .detailed-heapshot-view .delimiter {
    223     height: 24px;
    224     background-color: #d6dde5;
    225 }
    226 
    227 .detailed-heapshot-view .retaining-paths-view {
    228     -webkit-box-flex: 1;
    229 }
    230 
    231 .detailed-heapshot-view .retaining-paths-view .title {
    232     background-color: rgb(235, 235, 235);
    233     background-image: url(Images/statusbarBackground.png);
    234     background-repeat: repeat-x;
    235     height: 23px;
    236     font: -webkit-small-control;
    237     font-weight: bold;
    238     color: rgb(48, 48, 48);
    239     text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
    240 }
    241 
    242 .detailed-heapshot-view .retaining-paths-view .title > span {
    243     display: inline-block;
    244     padding-top: 3px;
    245     vertical-align: middle;
    246     margin-left: 4px;
    247     margin-right: 8px;
    248 }
    249 
    250 .detailed-heapshot-view .retaining-paths-to-windows {
    251 
    252 }
    253 
    254 .heapshot-help-status-bar-item .glyph {
    255     -webkit-mask-image: url(Images/helpButtonGlyph.png);
    256 }
    257 
    258 table.heapshot-help {
    259     border-spacing: 12px 2px;
    260 }
    261