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;
72 .audit-launcher-view fieldset.audit-categories-container {
82 .audit-launcher-view button {
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));
91 .panel-enabler-view.audit-launcher-view label {
97 .panel-enabler-view.audit-launcher-view label.disabled {
98 color: rgb(130, 130, 130);
101 .audit-launcher-view input[type="checkbox"] {
117 .audit-result-view.visible {
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;
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);
143 .audit-result-view .severity-severe {
144 background-position: -224px -96px;
147 .audit-result-view .severity-warning {
148 background-position: -246px -96px;
151 .audit-result-view .severity-info {
152 background-position: -235px -96px;
155 .audit-result-tree li.parent::before {
156 -webkit-user-select: none;
157 background-image: url(Images/statusbarButtonGlyphs.png);
158 background-size: 320px 144px;
171 @media (-webkit-min-device-pixel-ratio: 1.5) {
172 .audit-result-tree li.parent::before {
173 background-image: url(Images/statusbarButtonGlyphs_2x.png);
177 .audit-result-tree li.parent::before {
178 background-position: -4px -96px;
181 .audit-result-tree li.parent.expanded::before {
182 background-position: -20px -96px;
187 -webkit-user-select: text;
190 .audit-result-tree > ol {
192 padding: 2px 6px !important;
199 .audit-result-tree ol {
200 list-style-type: none;
201 -webkit-padding-start: 12px;
205 .audit-result-tree ol.outline-disclosure {
206 -webkit-padding-start: 0;
209 .audit-result-tree .section .header {
213 .audit-result-tree .section .header::before {
217 .audit-result-tree li {
221 word-wrap: break-word;
225 .audit-result-tree li.parent {
229 .audit-result-tree ol.children {
233 .audit-result-tree ol.children.expanded {
241 .audit-launcher-view .progress-bar-container {
242 display: inline-block;
245 .audit-launcher-view .progress-bar-container .progress-bar-stop-button {