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 {
47 background-color: white;
54 .audit-launcher-view.visible {
58 .audit-launcher-view .audit-launcher-view-content {
67 -webkit-box-orient: vertical;
70 .audit-launcher-view h1 {
71 color: rgb(110, 116, 128);
78 .audit-launcher-view h1.no-audits {
85 .audit-launcher-view div.button-container {
87 -webkit-box-orient: vertical;
91 .audit-launcher-view .flexible-space {
95 .audit-launcher-view div.audit-categories-container {
103 .audit-launcher-view button {
105 background-color: transparent;
106 border: 1px solid rgb(165, 165, 165);
107 background-color: rgb(237, 237, 237);
108 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
109 -webkit-border-radius: 12px;
110 -webkit-appearance: none;
113 .audit-launcher-view button {
120 .audit-launcher-view button:active {
121 background-color: rgb(215, 215, 215);
122 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239)));
125 body.inactive .audit-launcher-view button, .audit-launcher-view button:disabled {
126 color: rgb(130, 130, 130);
127 border-color: rgb(212, 212, 212);
128 background-color: rgb(239, 239, 239);
129 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(250, 250, 250)), to(rgb(235, 235, 235)));
132 .audit-launcher-view label {
136 word-break: break-word;
140 .audit-launcher-view label.disabled {
141 color: rgb(130, 130, 130);
144 .audit-launcher-view input[type="checkbox"] {
148 .audit-launcher-view input[type="radio"] {
151 border: 1px solid rgb(165, 165, 165);
152 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
153 -webkit-border-radius: 8px;
154 -webkit-appearance: none;
155 vertical-align: middle;
159 .audit-launcher-view input[type="radio"]:active:not(:disabled) {
160 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239)));
163 .audit-launcher-view input[type="radio"]:checked:not(:disabled), .audit-launcher-view input[type="radio"]:checked:disabled {
164 background: url(Images/radioDot.png) center no-repeat,
165 -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223)));
168 .audit-launcher-view .resource-progress > img {
169 content: url(Images/spinner.gif);
170 vertical-align: text-top;
184 .audit-result-view.visible {
188 .audit-result-view .severity-severe {
189 content: url(Images/errorRedDot.png);
192 .audit-result-view .severity-warning {
193 content: url(Images/warningOrangeDot.png);
196 .audit-result-view .severity-info {
197 content: url(Images/successGreenDot.png);
200 .audit-result-tree li.parent::before {
201 content: url(Images/treeRightTriangleBlack.png);
212 -webkit-user-select: text;
215 .audit-result-tree > ol {
217 padding: 2px 6px !important;
219 color: rgb(84, 84, 84);
224 .audit-result-tree, .audit-result-tree ol {
225 list-style-type: none;
226 -webkit-padding-start: 12px;
230 .audit-result-tree li {
234 word-wrap: break-word;
238 .audit-result-tree li.parent {
242 .audit-result-tree li.parent::before {
243 content: url(Images/treeRightTriangleBlack.png);
251 .audit-result-tree li.parent.expanded::before {
252 content: url(Images/treeDownTriangleBlack.png);
255 .audit-result-tree ol.children {
259 .audit-result-tree ol.children.expanded {