~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to Source/WebCore/inspector/front-end/nativeMemoryProfiler.css

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2012 Google Inc. All rights reserved.
 
3
 *
 
4
 * Redistribution and use in source and binary forms, with or without
 
5
 * modification, are permitted provided that the following conditions are
 
6
 * met:
 
7
 *
 
8
 *     * Redistributions of source code must retain the above copyright
 
9
 * notice, this list of conditions and the following disclaimer.
 
10
 *     * Redistributions in binary form must reproduce the above
 
11
 * copyright notice, this list of conditions and the following disclaimer
 
12
 * in the documentation and/or other materials provided with the
 
13
 * distribution.
 
14
 *     * Neither the name of Google Inc. nor the names of its
 
15
 * contributors may be used to endorse or promote products derived from
 
16
 * this software without specific prior written permission.
 
17
 *
 
18
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 
19
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 
20
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 
21
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 
22
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 
23
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 
24
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 
25
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 
26
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 
27
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 
28
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
29
 */
 
30
 
 
31
.memory-pie-chart-container {
 
32
    display: -webkit-box;
 
33
    -webkit-box-orient: vertical;
 
34
}
 
35
 
 
36
.memory-pie-chart {
 
37
    -webkit-box-flex: 1;
 
38
}
 
39
 
 
40
.memory-blocks-list .swatch {
 
41
    background-image: none;
 
42
}
 
43
 
 
44
.memory-blocks-list {
 
45
    padding: 1px;
 
46
    font-size: 11px;
 
47
}
 
48
 
 
49
.memory-blocks-list .item {
 
50
    margin: 10px;
 
51
}
 
52
 
 
53
.memory-bar-chart-name {
 
54
    text-align: right;
 
55
    white-space: nowrap;
 
56
}
 
57
 
 
58
.memory-bar-chart-bar {
 
59
    border: 0px;
 
60
    border-radius: 2px;
 
61
    float: left;
 
62
    height: 18px;
 
63
    overflow: hidden;
 
64
    position: relative;
 
65
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.5)), to(rgba(192, 192, 192, 0)));
 
66
}
 
67
 
 
68
.memory-bar-chart-unused {
 
69
    background-color: rgba(255, 255, 255, 0.5);
 
70
    float: right;
 
71
    height: 100%;
 
72
}
 
73
 
 
74
.memory-bar-chart-percent {
 
75
    position: absolute;
 
76
    text-align: center;
 
77
    width: 100%;
 
78
}
 
79
 
 
80
.memory-bar-chart-size {
 
81
    text-indent: 6px;
 
82
    white-space: nowrap;
 
83
}
 
84
 
 
85
.memory-bar-chart-total {
 
86
    font-weight: bold;
 
87
}
 
88
 
 
89
.native-snapshot-view {
 
90
    display: none;
 
91
    overflow: hidden;
 
92
    position: absolute;
 
93
    top: 0;
 
94
    left: 0;
 
95
    right: 0;
 
96
    bottom: 0;
 
97
}
 
98
 
 
99
.native-snapshot-view.visible {
 
100
    display: block;
 
101
}
 
102
 
 
103
.native-snapshot-view .data-grid {
 
104
    position: absolute;
 
105
    top: 0;
 
106
    left: 0;
 
107
    right: 0;
 
108
    bottom: 0;
 
109
    border: none;
 
110
}
 
111
 
 
112
.native-snapshot-view .data-grid table {
 
113
    font-size: 11px;
 
114
}
 
115
 
 
116
.native-snapshot-view .data-grid td {
 
117
    height: 14px;
 
118
    line-height: 14px;
 
119
    padding: 1px 4px;
 
120
}
 
121
 
 
122
.native-snapshot-view .data-grid div.size-text {
 
123
    float: left;
 
124
    text-align: right;
 
125
    width: 70px;
 
126
    padding-right: 5px;
 
127
}
 
128
 
 
129
.native-snapshot-view .data-grid .dimmed div.size-bar {
 
130
    background-image: -webkit-gradient(linear, left top, left bottom, from(hsla(0, 100%, 100%, 0.7)), to(hsla(0, 100%, 100%, 0.5)));
 
131
    color: hsla(0, 0%, 0%, 0.5);
 
132
}
 
133
 
 
134
.native-snapshot-view .data-grid div.size-bar {
 
135
    text-align: center;
 
136
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.5)), to(rgba(192, 192, 192, 0)));
 
137
    height: 14px;
 
138
    border-radius: 2px;
 
139
    color: black;
 
140
    white-space: normal;
 
141
    min-width: 1px;
 
142
}
 
143
 
 
144
.native-snapshot-view .data-grid div.percent-text {
 
145
    display: inline-block;
 
146
}