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);
49 .audit-launcher-view {
56 background-color: white;
63 .audit-launcher-view.visible {
67 .audit-launcher-view .audit-launcher-view-content {
76 -webkit-box-orient: vertical;
79 .audit-launcher-view h1 {
80 color: rgb(110, 116, 128);
87 .audit-launcher-view h1.no-audits {
94 .audit-launcher-view div.button-container {
96 -webkit-box-orient: vertical;
100 .audit-launcher-view .flexible-space {
104 .audit-launcher-view div.audit-categories-container {
112 .audit-launcher-view button {
114 background-color: transparent;
115 border: 1px solid rgb(165, 165, 165);
116 background-color: rgb(237, 237, 237);
117 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
118 -webkit-border-radius: 12px;
119 -webkit-appearance: none;
122 .audit-launcher-view button {
129 .audit-launcher-view button:active {
130 background-color: rgb(215, 215, 215);
131 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239)));
134 body.inactive .audit-launcher-view button, .audit-launcher-view button:disabled {
135 color: rgb(130, 130, 130);
136 border-color: rgb(212, 212, 212);
137 background-color: rgb(239, 239, 239);
138 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(250, 250, 250)), to(rgb(235, 235, 235)));
141 .audit-launcher-view label {
145 word-break: break-word;
149 .audit-launcher-view label.disabled {
150 color: rgb(130, 130, 130);
153 .audit-launcher-view input[type="checkbox"] {
157 .audit-launcher-view input[type="radio"] {
160 border: 1px solid rgb(165, 165, 165);
161 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
162 -webkit-border-radius: 8px;
163 -webkit-appearance: none;
164 vertical-align: middle;
168 .audit-launcher-view input[type="radio"]:active:not(:disabled) {
169 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239)));
172 .audit-launcher-view input[type="radio"]:checked:not(:disabled), .audit-launcher-view input[type="radio"]:checked:disabled {
173 background: url(Images/radioDot.png) center no-repeat,
174 -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
177 .audit-launcher-view .resource-progress > img {
178 content: url(Images/spinner.gif);
179 vertical-align: text-top;
193 .audit-result-view.visible {
197 .audit-result-view .severity-severe {
198 content: url(Images/errorRedDot.png);
201 .audit-result-view .severity-warning {
202 content: url(Images/warningOrangeDot.png);
205 .audit-result-view .severity-info {
206 content: url(Images/successGreenDot.png);
209 .audit-result-tree li.parent::before {
210 content: url(Images/treeRightTriangleBlack.png);
221 -webkit-user-select: text;
224 .audit-result-tree > ol {
226 padding: 2px 6px !important;
228 color: rgb(84, 84, 84);
233 .audit-result-tree, .audit-result-tree ol {
234 list-style-type: none;
235 -webkit-padding-start: 12px;
239 .audit-result-tree li {
243 word-wrap: break-word;
247 .audit-result-tree li.parent {
251 .audit-result-tree li.parent::before {
252 content: url(Images/treeRightTriangleBlack.png);
260 .audit-result-tree li.parent.expanded::before {
261 content: url(Images/treeDownTriangleBlack.png);
264 .audit-result-tree ol.children {
268 .audit-result-tree ol.children.expanded {