2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved.
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
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
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.
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.
32 .audits-sidebar-tree-item .icon {
33 content: url(Images/resourcesTimeGraphIcon.png);
36 .audit-result-sidebar-tree-item .icon {
37 content: url(Images/resourceDocumentIcon.png);
40 .audit-launcher-view .audit-launcher-view-content {
43 display: -webkit-flex;
45 -webkit-flex-direction: column;
49 .audit-launcher-view h1 {
54 .audit-launcher-view h1.no-audits {
61 .audit-launcher-view div.button-container {
67 .audit-launcher-view div.button-container > button {
68 -webkit-align-self: flex-start;
74 .audit-launcher-view fieldset.audit-categories-container {
84 .audit-launcher-view button {
88 .audit-launcher-view button:active {
89 background-color: rgb(215, 215, 215);
90 background-image: linear-gradient(to bottom, rgb(194, 194, 194), rgb(239, 239, 239));
93 .panel-enabler-view.audit-launcher-view label {
100 .panel-enabler-view.audit-launcher-view label.disabled {
101 color: rgb(130, 130, 130);
104 .audit-launcher-view input[type="checkbox"] {
120 .audit-result-view.visible {
124 .audit-result-view .severity-severe,
125 .audit-result-view .severity-warning,
126 .audit-result-view .severity-info {
127 background-image: url(Images/statusbarButtonGlyphs.png);
128 background-size: 320px 144px;
129 display: inline-block;
138 @media (-webkit-min-device-pixel-ratio: 1.5) {
139 .audit-result-view .severity-severe,
140 .audit-result-view .severity-warning,
141 .audit-result-view .severity-info {
142 background-image: url(Images/statusbarButtonGlyphs_2x.png);
146 .audit-result-view .severity-severe {
147 background-position: -224px -96px;
150 .audit-result-view .severity-warning {
151 background-position: -246px -96px;
154 .audit-result-view .severity-info {
155 background-position: -235px -96px;
158 .audit-result-tree li.parent::before {
159 -webkit-user-select: none;
160 background-image: url(Images/statusbarButtonGlyphs.png);
161 background-size: 320px 144px;
174 @media (-webkit-min-device-pixel-ratio: 1.5) {
175 .audit-result-tree li.parent::before {
176 background-image: url(Images/statusbarButtonGlyphs_2x.png);
180 .audit-result-tree li.parent::before {
181 background-position: -4px -96px;
184 .audit-result-tree li.parent.expanded::before {
185 background-position: -20px -96px;
190 -webkit-user-select: text;
193 .audit-result-tree > ol {
195 padding: 2px 6px !important;
202 .audit-result-tree ol {
203 list-style-type: none;
204 -webkit-padding-start: 12px;
208 .audit-result-tree ol.outline-disclosure {
209 -webkit-padding-start: 0;
212 .audit-result-tree .section .header {
216 .audit-result-tree .section .header::before {
220 .audit-result-tree li {
224 word-wrap: break-word;
228 .audit-result-tree li.parent {
232 .audit-result-tree ol.children {
236 .audit-result-tree ol.children.expanded {
244 .audit-launcher-view .progress-bar-container {
245 display: inline-block;
248 .audit-launcher-view .progress-bar-container .progress-bar-stop-button {