diff options
Diffstat (limited to 'WebCore/inspector/front-end/audits.css')
-rw-r--r-- | WebCore/inspector/front-end/audits.css | 272 |
1 files changed, 272 insertions, 0 deletions
diff --git a/WebCore/inspector/front-end/audits.css b/WebCore/inspector/front-end/audits.css new file mode 100644 index 0000000..35db76b --- /dev/null +++ b/WebCore/inspector/front-end/audits.css @@ -0,0 +1,272 @@ +/* + * Copyright (C) 2008 Apple Inc. All rights reserved. + * Copyright (C) 2009 Google Inc. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following disclaimer + * in the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Google Inc. nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +.audits-sidebar-tree-item .icon { + content: url(Images/resourcesTimeGraphIcon.png); +} + +.audit-result-sidebar-tree-item .icon { + content: url(Images/resourceDocumentIcon.png); +} + +#audit-views { + position: absolute; + top: 0; + right: 0; + left: 200px; + bottom: 0; + overflow: auto; +} + +button.clear-audit-results-status-bar-item .glyph { + -webkit-mask-image: url(Images/clearConsoleButtonGlyph.png); +} + +#audit-result-view { + display: none; + overflow: auto; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgb(245, 245, 245); + cursor: default; + overflow: auto; +} + +#audit-result-view.visible { + display: block; +} + +#audit-result-view > .pane img.score { + float: left; + margin-top: 2px; + position: relative; + height: 16px; + width: 16px; + z-index: 100; +} + +#audit-result-view > .pane img.score.red { + content: url(Images/errorRedDot.png); +} + +#audit-result-view > .pane img.score.green { + content: url(Images/successGreenDot.png); +} + +#audit-result-view > .pane.expanded:nth-last-of-type(1) { + border-bottom: 1px solid rgb(189, 189, 189) !important; +} + +#audit-result-view .pane.expanded:nth-last-of-type(1) { + border-bottom: 0px transparent none; +} + +#audit-result-view > .pane > .body > .pane > .title { + padding-left: 16px; + background-image: none; + border-bottom: none; +} + +#audit-result-view > .pane > .body > .pane > .body { + background-color: transparent; +} + +#audit-result-view > .pane > .body > .pane .section { + margin-left: 16px; +} + +#audit-result-view .section .header { + border: 0; + background-image: none; + background-color: transparent; +} + +#audit-result-view .section .header > .title { + color: rgb(0, 0, 0); +} + +#audit-result-view .section .section-content { + width: 100%; + padding-left: 18px; + display: none; +} + +#audit-result-view .section.expanded .section-content { + display: block; +} + +#audit-result-view .section.expanded .section-content > p:nth-of-type(1) { + margin-top: 0; +} + +#audit-result-view .section.expanded .section-content > p:nth-of-type(1) > *:nth-child(1) { + margin-top: 0; +} + +#audit-result-view .section .header::before { + content: url(Images/treeRightTriangleBlack.png); +} + +#audit-result-view .section.expanded .header::before { + content: url(Images/treeDownTriangleBlack.png); +} + +div.panel.audits .sidebar > ol.sidebar-tree > li:nth-child(1) { + height: 0px; + padding-top: 0; + padding-bottom: 0; +} + +.audit-launcher-view { + z-index: 1000; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: white; + font-size: 13px; + overflow-x: hidden; + overflow-y: overlay; + display: none; +} + +.audit-launcher-view.visible { + display: block; +} + +.audit-launcher-view .audit-launcher-view-content { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + padding: 0 0 0 16px; + white-space: nowrap; +} + +.audit-launcher-view h1 { + color: rgb(110, 116, 128); + font-size: 16px; + line-height: 20px; + font-weight: normal; + padding-top: 15px; +} + +.audit-launcher-view h1.no-audits { + text-align: center; + font-style: italic; + position: relative; + left: -8px; +} + +.audit-launcher-view div.button-container { + position: absolute; + width: 100%; + bottom: 16px; + padding-top: 16px; +} + +.audit-launcher-view div.audit-categories-container { + position: relative; + top: 11px; + left: 0; + width: 100%; + overflow-y: auto; +} + +.audit-launcher-view button { + color: rgb(6, 6, 6); + background-color: transparent; + border: 1px solid rgb(165, 165, 165); + background-color: rgb(237, 237, 237); + background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223))); + -webkit-border-radius: 12px; + -webkit-appearance: none; +} + +.audit-launcher-view button { + font-size: 13px; + padding: 3px 20px; + height: 24px; + margin: 0 5px 0 0; +} + +.audit-launcher-view button:active { + background-color: rgb(215, 215, 215); + background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239))); +} + +body.inactive .audit-launcher-view button, .audit-launcher-view button:disabled { + color: rgb(130, 130, 130); + border-color: rgb(212, 212, 212); + background-color: rgb(239, 239, 239); + background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(250, 250, 250)), to(rgb(235, 235, 235))); +} + +.audit-launcher-view label { + position: relative; + display: block; + text-align: left; + word-break: break-word; + padding: 0 0 5px 0; +} + +.audit-launcher-view label.disabled { + color: rgb(130, 130, 130); +} + +.audit-launcher-view input[type="checkbox"] { + margin-left: 0; +} + +.audit-launcher-view input[type="radio"] { + height: 17px; + width: 17px; + border: 1px solid rgb(165, 165, 165); + background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223))); + -webkit-border-radius: 8px; + -webkit-appearance: none; + vertical-align: middle; + margin: 0 5px 5px 0; +} + +.audit-launcher-view input[type="radio"]:active { + background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(194, 194, 194)), to(rgb(239, 239, 239))); +} + +.audit-launcher-view input[type="radio"]:checked { + background: url(Images/radioDot.png) center no-repeat, + -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223))); +} |