2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
15 * its contributors may be used to endorse or promote products derived
16 * from this software without specific prior written permission.
18 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
19 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 .sidebar-pane > .body {
39 .sidebar-pane > .body .info {
47 .sidebar-pane > .body .placard.dimmed {
52 .sidebar-pane > .body .placard + .info {
53 border-top: 1px solid rgb(189, 189, 189);
54 background-color: rgb(255, 255, 194);
57 .sidebar-pane.visible > .body {
61 .sidebar-pane .section .properties {
65 .sidebar-tabbed-pane .tabbed-pane-header {
66 border-bottom: 1px solid rgb(202, 202, 202);
67 background-color: rgb(236, 236, 236);
70 .sidebar-pane-stack > .sidebar-pane.visible:nth-last-of-type(1) {
71 border-bottom: 1px solid rgb(189, 189, 189);
76 background: rgb(240, 240, 240);
79 border-top: 1px solid rgb(189, 189, 189);
80 border-bottom: 1px solid rgb(189, 189, 189);
82 background-origin: padding;
83 background-clip: padding;
88 .sidebar-pane-title:active {
89 background-color: rgb(204, 204, 204);
90 border-top: 1px solid rgb(178, 178, 178);
91 border-bottom: 1px solid rgb(178, 178, 178);
94 .sidebar-pane-title::before {
95 background-image: url(Images/statusbarButtonGlyphs.png);
96 background-size: 320px 144px;
108 @media (-webkit-min-device-pixel-ratio: 1.5) {
109 .sidebar-pane-title::before {
110 background-image: url(Images/statusbarButtonGlyphs_2x.png);
114 .sidebar-pane-title::before {
115 background-position: -4px -96px;
118 .sidebar-pane-title.expanded::before {
119 background-position: -20px -96px;
122 .sidebar-pane-toolbar {
129 pointer-events: none;
132 .sidebar-pane-toolbar > * {
133 pointer-events: auto;
136 .sidebar-pane-toolbar > .pane-title-button,
137 .sidebar-pane-toolbar > label {
140 background-color: transparent;
142 background-repeat: no-repeat;
146 -webkit-appearance: none;
149 .sidebar-pane-toolbar > .pane-title-button {
154 .sidebar-pane-toolbar > .pane-title-button:hover {
155 background-position: -23px 0;
158 .sidebar-pane-toolbar > .pane-title-button:active,
159 .sidebar-pane-toolbar > .pane-title-button.toggled {
160 background-position: -46px 0;
163 .sidebar-pane-toolbar > .pane-title-button.add {
164 background-image: url(Images/paneAddButtons.png);
167 .sidebar-pane-toolbar > .pane-title-button.element-state {
168 background-image: url(Images/paneElementStateButtons.png);
171 .sidebar-pane-toolbar > .pane-title-button.refresh {
172 background-image: url(Images/paneRefreshButtons.png);
175 .sidebar-pane-toolbar > label.scripts-callstack-async {
181 .section > .header input[type=checkbox] {
186 margin-bottom: 0.25em;
187 vertical-align: bottom;
190 .hidden-placards-message {
195 background-color: #FFFFC2;
198 .sidebar-pane-button-new-rule {
199 background-image: url(Images/paneAddButtons.png);
200 background-position: 0 0;
209 .styles-section.matched-styles:not(.read-only):hover .sidebar-pane-button-new-rule {
213 .sidebar-pane-button-new-rule:hover {
214 background-position: -23px 0;