OLD | NEW |
(Empty) | |
| 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-views { |
| 41 position: absolute; |
| 42 top: 0; |
| 43 right: 0; |
| 44 left: 200px; |
| 45 bottom: 0; |
| 46 overflow: auto; |
| 47 } |
| 48 |
| 49 button.clear-audit-results-status-bar-item .glyph { |
| 50 -webkit-mask-image: url(Images/clearConsoleButtonGlyph.png); |
| 51 } |
| 52 |
| 53 .audit-launcher-view { |
| 54 z-index: 1000; |
| 55 position: absolute; |
| 56 top: 0; |
| 57 left: 0; |
| 58 right: 0; |
| 59 bottom: 0; |
| 60 background-color: white; |
| 61 font-size: 13px; |
| 62 overflow-x: hidden; |
| 63 overflow-y: overlay; |
| 64 display: none; |
| 65 } |
| 66 |
| 67 .audit-launcher-view.visible { |
| 68 display: block; |
| 69 } |
| 70 |
| 71 .audit-launcher-view .audit-launcher-view-content { |
| 72 position: absolute; |
| 73 top: 0; |
| 74 left: 0; |
| 75 right: 0; |
| 76 bottom: 0; |
| 77 padding: 0 0 0 16px; |
| 78 white-space: nowrap; |
| 79 } |
| 80 |
| 81 .audit-launcher-view h1 { |
| 82 color: rgb(110, 116, 128); |
| 83 font-size: 16px; |
| 84 line-height: 20px; |
| 85 font-weight: normal; |
| 86 padding-top: 15px; |
| 87 } |
| 88 |
| 89 .audit-launcher-view h1.no-audits { |
| 90 text-align: center; |
| 91 font-style: italic; |
| 92 position: relative; |
| 93 left: -8px; |
| 94 } |
| 95 |
| 96 .audit-launcher-view div.button-container { |
| 97 position: absolute; |
| 98 width: 100%; |
| 99 bottom: 16px; |
| 100 padding-top: 16px; |
| 101 } |
| 102 |
| 103 .audit-launcher-view div.audit-categories-container { |
| 104 position: relative; |
| 105 top: 11px; |
| 106 left: 0; |
| 107 width: 100%; |
| 108 overflow-y: auto; |
| 109 } |
| 110 |
| 111 .audit-launcher-view button { |
| 112 color: rgb(6, 6, 6); |
| 113 background-color: transparent; |
| 114 border: 1px solid rgb(165, 165, 165); |
| 115 background-color: rgb(237, 237, 237); |
| 116 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(2
52, 252, 252)), to(rgb(223, 223, 223))); |
| 117 -webkit-border-radius: 12px; |
| 118 -webkit-appearance: none; |
| 119 } |
| 120 |
| 121 .audit-launcher-view button { |
| 122 font-size: 13px; |
| 123 padding: 3px 20px; |
| 124 height: 24px; |
| 125 margin: 0 5px 0 0; |
| 126 } |
| 127 |
| 128 .audit-launcher-view button:active { |
| 129 background-color: rgb(215, 215, 215); |
| 130 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(1
94, 194, 194)), to(rgb(239, 239, 239))); |
| 131 } |
| 132 |
| 133 body.inactive .audit-launcher-view button, .audit-launcher-view button:disabled
{ |
| 134 color: rgb(130, 130, 130); |
| 135 border-color: rgb(212, 212, 212); |
| 136 background-color: rgb(239, 239, 239); |
| 137 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(2
50, 250, 250)), to(rgb(235, 235, 235))); |
| 138 } |
| 139 |
| 140 .audit-launcher-view label { |
| 141 position: relative; |
| 142 display: block; |
| 143 text-align: left; |
| 144 word-break: break-word; |
| 145 padding: 0 0 5px 0; |
| 146 } |
| 147 |
| 148 .audit-launcher-view label.disabled { |
| 149 color: rgb(130, 130, 130); |
| 150 } |
| 151 |
| 152 .audit-launcher-view input[type="checkbox"] { |
| 153 margin-left: 0; |
| 154 } |
| 155 |
| 156 .audit-launcher-view input[type="radio"] { |
| 157 height: 17px; |
| 158 width: 17px; |
| 159 border: 1px solid rgb(165, 165, 165); |
| 160 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(2
52, 252, 252)), to(rgb(223, 223, 223))); |
| 161 -webkit-border-radius: 8px; |
| 162 -webkit-appearance: none; |
| 163 vertical-align: middle; |
| 164 margin: 0 5px 5px 0; |
| 165 } |
| 166 |
| 167 .audit-launcher-view input[type="radio"]:active:not(:disabled) { |
| 168 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(1
94, 194, 194)), to(rgb(239, 239, 239))); |
| 169 } |
| 170 |
| 171 .audit-launcher-view input[type="radio"]:checked:not(:disabled), .audit-launcher
-view input[type="radio"]:checked:disabled { |
| 172 background: url(Images/radioDot.png) center no-repeat, |
| 173 -webkit-gradient(linear, left top, left bottom, from(rgb(252, 25
2, 252)), to(rgb(223, 223, 223))); |
| 174 } |
| 175 |
| 176 .audit-result-view { |
| 177 overflow: auto; |
| 178 position: absolute; |
| 179 top: 0; |
| 180 left: 0; |
| 181 right: 0; |
| 182 bottom: 0; |
| 183 display: none; |
| 184 } |
| 185 |
| 186 .audit-result-view.visible { |
| 187 display: block; |
| 188 } |
| 189 |
| 190 .audit-result-view .severity-severe { |
| 191 content: url(Images/errorRedDot.png); |
| 192 } |
| 193 |
| 194 .audit-result-view .severity-warning { |
| 195 content: url(Images/warningOrangeDot.png); |
| 196 } |
| 197 |
| 198 .audit-result-view .severity-info { |
| 199 content: url(Images/successGreenDot.png); |
| 200 } |
| 201 |
| 202 .audit-result-tree li.parent::before { |
| 203 content: url(Images/treeRightTriangleBlack.png); |
| 204 float: left; |
| 205 width: 8px; |
| 206 height: 8px; |
| 207 margin-top: 1px; |
| 208 padding-right: 2px; |
| 209 } |
| 210 |
| 211 .audit-result-tree { |
| 212 font-size: 11px; |
| 213 line-height: 14px; |
| 214 } |
| 215 |
| 216 .audit-result-tree > ol { |
| 217 position: relative; |
| 218 padding: 2px 6px !important; |
| 219 margin: 0; |
| 220 color: rgb(84, 84, 84); |
| 221 cursor: default; |
| 222 min-width: 100%; |
| 223 } |
| 224 |
| 225 .audit-result-tree, .audit-result-tree ol { |
| 226 list-style-type: none; |
| 227 -webkit-padding-start: 12px; |
| 228 margin: 0; |
| 229 } |
| 230 |
| 231 .audit-result-tree li { |
| 232 padding: 0 0 0 14px; |
| 233 margin-top: 1px; |
| 234 margin-bottom: 1px; |
| 235 word-wrap: break-word; |
| 236 text-indent: -2px; |
| 237 } |
| 238 |
| 239 .audit-result-tree li.parent { |
| 240 text-indent: -12px |
| 241 } |
| 242 |
| 243 .audit-result-tree li.parent::before { |
| 244 content: url(Images/treeRightTriangleBlack.png); |
| 245 float: left; |
| 246 width: 8px; |
| 247 height: 8px; |
| 248 margin-top: 0; |
| 249 padding-right: 2px; |
| 250 } |
| 251 |
| 252 .audit-result-tree li.parent.expanded::before { |
| 253 content: url(Images/treeDownTriangleBlack.png); |
| 254 } |
| 255 |
| 256 .audit-result-tree ol.children { |
| 257 display: none; |
| 258 } |
| 259 |
| 260 .audit-result-tree ol.children.expanded { |
| 261 display: block; |
| 262 } |
| 263 |
| 264 .audit-result { |
| 265 font-weight: bold; |
| 266 color: black; |
| 267 } |
| 268 |
| 269 .audit-result img { |
| 270 float: left; |
| 271 margin-left: -40px; |
| 272 margin-top: -1px; |
| 273 } |
OLD | NEW |