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.
30 .resources.panel .sidebar-resizer-vertical {
34 .resources.panel .sidebar {
39 .resources.panel .sidebar li {
44 .resources.panel .sidebar li.selected {
46 text-shadow: rgba(0, 0, 0, 0.33) 0 1px 0;
50 .resources.panel .sidebar li.selected .selection {
51 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(162, 177, 207)), to(rgb(120, 138, 177)));
52 border-top: 1px solid #979797;
56 .resources.panel .sidebar :focus li.selected .selection {
57 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(92, 147, 213)), to(rgb(21, 83, 170)));
58 border-top: 1px solid rgb(68, 128, 200);
61 body.inactive .resources.panel .sidebar li.selected .selection {
62 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(180, 180, 180)), to(rgb(138, 138, 138)));
63 border-top: 1px solid rgb(151, 151, 151);
66 .resources.panel .sidebar .icon {
72 .resources.panel .base-storage-tree-element-title {
75 text-overflow: ellipsis;
80 li.selected .base-storage-tree-element-subtitle {
84 .base-storage-tree-element-subtitle {
86 color: rgb(80, 80, 80);
90 .resources.panel .status {
98 .resources.panel li .status .bubble {
113 .storage-view.visible {
121 .storage-view .data-grid {
126 .storage-view .storage-table-error {
127 color: rgb(66%, 33%, 33%);
130 .storage-view.query {
134 -webkit-text-size-adjust: auto;
137 .database-query-prompt {
139 padding: 1px 22px 1px 24px;
141 white-space: pre-wrap;
142 -webkit-user-modify: read-write-plaintext-only;
143 -webkit-user-select: text;
146 .database-user-query::before, .database-query-prompt::before, .database-query-result::before {
155 -webkit-user-select: none;
158 .database-query-prompt::before {
159 background-image: url(Images/userInputIcon.png);
162 .database-user-query {
164 border-bottom: 1px solid rgb(245, 245, 245);
165 padding: 1px 22px 1px 24px;
169 .database-user-query::before {
170 background-image: url(Images/userInputPreviousIcon.png);
173 .database-query-text {
174 color: rgb(0, 128, 255);
175 -webkit-user-select: text;
178 .database-query-result {
180 padding: 1px 22px 1px 24px;
186 .database-query-result.error {
188 -webkit-user-select: text;
191 .database-query-result.error::before {
192 background-image: url(Images/errorIcon.png);
195 .resource-sidebar-tree-item .icon {
196 content: url(Images/resourcePlainIcon.png);
199 .children.small .resource-sidebar-tree-item .icon {
200 content: url(Images/resourcePlainIconSmall.png);
203 .resource-sidebar-tree-item.resources-category-images .icon {
205 background-image: url(Images/resourcePlainIcon.png);
206 background-repeat: no-repeat;
210 .resources-category-images .image-resource-icon-preview {
223 .children.small .resource-sidebar-tree-item.resources-category-images .icon {
224 background-image: url(Images/resourcePlainIconSmall.png);
228 .children.small .resources-category-images .image-resource-icon-preview {
237 .resource-sidebar-tree-item.resources-category-documents .icon {
238 content: url(Images/resourceDocumentIcon.png);
241 .children.small .resource-sidebar-tree-item.resources-category-documents .icon {
242 content: url(Images/resourceDocumentIconSmall.png);
245 .resource-sidebar-tree-item.resources-category-stylesheets .icon {
246 content: url(Images/resourceCSSIcon.png);
249 .children.small .resource-sidebar-tree-item.resources-category-stylesheets .icon {
250 content: url(Images/resourceDocumentIconSmall.png);
253 .resource-sidebar-tree-item.resources-category-images .icon {
255 background-image: url(Images/resourcePlainIcon.png);
256 background-repeat: no-repeat;
260 .children.small .resource-sidebar-tree-item.resources-category-images .icon {
261 background-image: url(Images/resourcePlainIconSmall.png);
265 .resource-sidebar-tree-item.resources-category-fonts .icon {
266 content: url(Images/resourcePlainIcon.png);
269 .children.small .resource-sidebar-tree-item.resources-category-fonts .icon {
270 content: url(Images/resourcePlainIconSmall.png);
273 .resource-sidebar-tree-item.resources-category-scripts .icon {
274 content: url(Images/resourceJSIcon.png);
277 .children.small .resource-sidebar-tree-item.resources-category-scripts .icon {
278 content: url(Images/resourceDocumentIconSmall.png);
281 .resource-sidebar-tree-item.resources-category-xhr .icon {
282 content: url(Images/resourcePlainIcon.png);
285 .children.small .resource-sidebar-tree-item.resources-category-xhr .icon {
286 content: url(Images/resourceDocumentIconSmall.png);
289 .frame-storage-tree-item .icon {
290 content: url(Images/frame.png);
293 .database-storage-tree-item .icon {
294 content: url(Images/database.png);
297 .database-table-storage-tree-item .icon {
298 content: url(Images/databaseTable.png);
301 .domstorage-storage-tree-item.local-storage .icon {
302 content: url(Images/localStorage.png);
305 .domstorage-storage-tree-item.session-storage .icon {
306 content: url(Images/sessionStorage.png);
309 .cookie-storage-tree-item .icon {
310 content: url(Images/cookie.png);
313 .application-cache-storage-tree-item .icon {
314 content: url(Images/applicationCache.png);
317 /* FIXME: Make separate png for file-system */
318 .file-system-storage-tree-item .icon {
319 content: url(Images/applicationCache.png);