Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / auditsPanel.css
1 /*
2  * Copyright (C) 2008 Apple Inc.  All rights reserved.
3  * Copyright (C) 2009 Google 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 .audits-sidebar-tree-item .icon {
33     content: url(Images/resourcesTimeGraphIcon.png);
34 }
35
36 .audit-result-sidebar-tree-item .icon {
37     content: url(Images/resourceDocumentIcon.png);
38 }
39
40 .audit-launcher-view .audit-launcher-view-content {
41     padding: 0 0 0 16px;
42     white-space: nowrap;
43     display: -webkit-flex;
44     text-align: left;
45     -webkit-flex-direction: column;
46     flex: auto;
47 }
48
49 .audit-launcher-view h1 {
50     padding-top: 15px;
51     -webkit-flex: none;
52 }
53
54 .audit-launcher-view h1.no-audits {
55     text-align: center;
56     font-style: italic;
57     position: relative;
58     left: -8px;
59 }
60
61 .audit-launcher-view div.button-container {
62     width: 100%;
63     padding: 16px 0;
64     -webkit-flex: none;
65 }
66
67 .audit-launcher-view div.button-container > button {
68     -webkit-align-self: flex-start;
69     margin: 5px;
70 }
71
72 .audit-launcher-view fieldset.audit-categories-container {
73     position: relative;
74     top: 11px;
75     left: 0;
76     width: 100%;
77     overflow-y: auto;
78     border: 0 none;
79     -webkit-flex: none;
80 }
81
82 .audit-launcher-view button {
83     margin: 0 5px 0 0;
84 }
85
86 .audit-launcher-view button:active {
87     background-color: rgb(215, 215, 215);
88     background-image: linear-gradient(to bottom, rgb(194, 194, 194), rgb(239, 239, 239));
89 }
90
91 .panel-enabler-view.audit-launcher-view label {
92     padding: 0 0 5px 0;
93     margin: 0;
94     display: flex;
95 }
96
97 .panel-enabler-view.audit-launcher-view label.disabled {
98     color: rgb(130, 130, 130);
99 }
100
101 .audit-launcher-view input[type="checkbox"] {
102     margin-left: 0;
103     height: 14px;
104     width: 14px;
105 }
106
107 .audit-result-view {
108     overflow: auto;
109     position: absolute;
110     top: 0;
111     left: 0;
112     right: 0;
113     bottom: 0;
114     display: none;
115 }
116
117 .audit-result-view.visible {
118     display: block;
119 }
120
121 .audit-result-view .severity-severe,
122 .audit-result-view .severity-warning,
123 .audit-result-view .severity-info {
124     background-image: url(Images/statusbarButtonGlyphs.png);
125     background-size: 320px 144px;
126     display: inline-block;
127     width: 10px;
128     margin-right: -10px;
129     height: 10px;
130     position: relative;
131     left: -28px;
132     margin-top: 3px;
133 }
134
135 @media (-webkit-min-device-pixel-ratio: 1.5) {
136 .audit-result-view .severity-severe,
137 .audit-result-view .severity-warning,
138 .audit-result-view .severity-info {
139     background-image: url(Images/statusbarButtonGlyphs_2x.png);
140 }
141 } /* media */
142
143 .audit-result-view .severity-severe {
144     background-position: -224px -96px;
145 }
146
147 .audit-result-view .severity-warning {
148     background-position: -246px -96px;
149 }
150
151 .audit-result-view .severity-info {
152     background-position: -235px -96px;
153 }
154
155 .audit-result-tree li.parent::before {
156     -webkit-user-select: none;
157     background-image: url(Images/statusbarButtonGlyphs.png);
158     background-size: 320px 144px;
159     opacity: 0.5;
160     float: left;
161     width: 8px;
162     height: 10px;
163     content: "a";
164     color: transparent;
165     margin-left: 3px;
166     margin-right: 4px;
167     position: relative;
168     top: 2px;
169 }
170
171 @media (-webkit-min-device-pixel-ratio: 1.5) {
172 .audit-result-tree li.parent::before {
173     background-image: url(Images/statusbarButtonGlyphs_2x.png);
174 }
175 } /* media */
176
177 .audit-result-tree li.parent::before {
178     background-position: -4px -96px;
179 }
180
181 .audit-result-tree li.parent.expanded::before {
182     background-position: -20px -96px;
183 }
184
185 .audit-result-tree {
186     line-height: 16px;
187     -webkit-user-select: text;
188 }
189
190 .audit-result-tree > ol {
191     position: relative;
192     padding: 2px 6px !important;
193     margin: 0;
194     cursor: default;
195     min-width: 100%;
196 }
197
198 .audit-result-tree,
199 .audit-result-tree ol {
200     list-style-type: none;
201     -webkit-padding-start: 12px;
202     margin: 0;
203 }
204
205 .audit-result-tree ol.outline-disclosure {
206     -webkit-padding-start: 0;
207 }
208
209 .audit-result-tree .section .header {
210     padding-left: 13px;
211 }
212
213 .audit-result-tree .section .header::before {
214     left: 2px;
215 }
216
217 .audit-result-tree li {
218     padding: 0 0 0 14px;
219     margin-top: 1px;
220     margin-bottom: 1px;
221     word-wrap: break-word;
222     margin-left: -2px;
223 }
224
225 .audit-result-tree li.parent {
226     margin-left: -12px
227 }
228
229 .audit-result-tree ol.children {
230     display: none;
231 }
232
233 .audit-result-tree ol.children.expanded {
234     display: block;
235 }
236
237 .audit-result {
238     font-weight: bold;
239 }
240
241 .audit-launcher-view .progress-bar-container {
242     display: inline-block;
243 }
244
245 .audit-launcher-view .progress-bar-container .progress-bar-stop-button {
246     display: none;
247 }