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) 1px 1px 0;
49 .resources.panel .sidebar li.selected .selection {
50 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(162, 177, 207)), to(rgb(120, 138, 177)));
51 border-top: 1px solid #979797;
55 .resources.panel .sidebar :focus li.selected .selection {
56 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(92, 147, 213)), to(rgb(21, 83, 170)));
57 border-top: 1px solid rgb(68, 128, 200);
60 body.inactive .resources.panel .sidebar li.selected .selection {
61 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(180, 180, 180)), to(rgb(138, 138, 138)));
62 border-top: 1px solid rgb(151, 151, 151);
65 .resources.panel .sidebar .icon {
71 .resources.panel .base-storage-tree-element-title {
74 text-overflow: ellipsis;
87 .resources-status-bar {
93 background-color: rgb(236, 236, 236);
96 li.selected .base-storage-tree-element-subtitle {
100 .base-storage-tree-element-subtitle {
102 color: rgb(80, 80, 80);
106 .resources.panel .status {
114 .resources.panel li .status .bubble {
129 .storage-view.visible {
137 .storage-view .data-grid:not(.inline) {
142 .storage-view .storage-table-error {
143 color: rgb(66%, 33%, 33%);
146 .storage-view.query {
152 .database-query-prompt {
154 padding: 1px 22px 1px 24px;
156 white-space: pre-wrap;
157 -webkit-user-modify: read-write-plaintext-only;
158 -webkit-user-select: text;
161 .database-user-query::before,
162 .database-query-prompt::before,
163 .database-query-result::before {
172 -webkit-user-select: none;
173 background-image: url(Images/statusbarButtonGlyphs.png);
174 background-size: 320px 144px;
177 @media (-webkit-min-device-pixel-ratio: 1.5) {
178 .database-user-query::before,
179 .database-query-prompt::before,
180 .database-query-result::before {
181 background-image: url(Images/statusbarButtonGlyphs2x.png);
185 .database-query-prompt::before {
186 background-position: -192px -96px;
189 .database-user-query {
191 border-bottom: 1px solid rgb(245, 245, 245);
192 padding: 1px 22px 1px 24px;
196 .database-user-query::before {
197 background-position: -192px -107px;
200 .database-query-text {
201 color: rgb(0, 128, 255);
202 -webkit-user-select: text;
205 .database-query-result {
207 padding: 1px 22px 1px 24px;
213 .database-query-result.error {
215 -webkit-user-select: text;
218 .database-query-result.error::before {
219 background-position: -213px -96px;
222 .resource-sidebar-tree-item .icon {
223 content: url(Images/resourcePlainIcon.png);
226 .children.small .resource-sidebar-tree-item .icon {
227 content: url(Images/resourcePlainIconSmall.png);
230 .resource-sidebar-tree-item.resources-type-image .icon {
232 background-image: url(Images/resourcePlainIcon.png);
233 background-repeat: no-repeat;
237 .resources-type-image .image-resource-icon-preview {
250 .children.small .resource-sidebar-tree-item.resources-type-image .icon {
251 background-image: url(Images/resourcePlainIconSmall.png);
255 .children.small .resources-type-image .image-resource-icon-preview {
264 .resource-sidebar-tree-item.resources-type-document .icon {
265 content: url(Images/resourceDocumentIcon.png);
268 .children.small .resource-sidebar-tree-item.resources-type-document .icon {
269 content: url(Images/resourceDocumentIconSmall.png);
272 .resource-sidebar-tree-item.resources-type-stylesheet .icon {
273 content: url(Images/resourceCSSIcon.png);
276 .children.small .resource-sidebar-tree-item.resources-type-stylesheet .icon {
277 content: url(Images/resourceDocumentIconSmall.png);
280 .resource-sidebar-tree-item.resources-type-image .icon {
282 background-image: url(Images/resourcePlainIcon.png);
283 background-repeat: no-repeat;
287 .children.small .resource-sidebar-tree-item.resources-type-image .icon {
288 background-image: url(Images/resourcePlainIconSmall.png);
292 .resource-sidebar-tree-item.resources-type-font .icon {
293 content: url(Images/resourcePlainIcon.png);
296 .children.small .resource-sidebar-tree-item.resources-type-font .icon {
297 content: url(Images/resourcePlainIconSmall.png);
300 .resource-sidebar-tree-item.resources-type-script .icon {
301 content: url(Images/resourceJSIcon.png);
304 .children.small .resource-sidebar-tree-item.resources-type-script .icon {
305 content: url(Images/resourceDocumentIconSmall.png);
308 .resource-sidebar-tree-item.resources-type-xhr .icon {
309 content: url(Images/resourcePlainIcon.png);
312 .children.small .resource-sidebar-tree-item.resources-type-xhr .icon {
313 content: url(Images/resourceDocumentIconSmall.png);
316 .frame-storage-tree-item .icon {
317 content: url(Images/frame.png);
320 .database-storage-tree-item .icon {
321 content: url(Images/database.png);
324 .database-table-storage-tree-item .icon {
325 content: url(Images/databaseTable.png);
328 .indexed-db-storage-tree-item .icon {
329 content: url(Images/indexedDB.png);
332 .indexed-db-object-store-storage-tree-item .icon {
333 content: url(Images/indexedDBObjectStore.png);
336 .indexed-db-index-storage-tree-item .icon {
337 content: url(Images/indexedDBIndex.png);
340 .domstorage-storage-tree-item.local-storage .icon {
341 content: url(Images/localStorage.png);
344 .domstorage-storage-tree-item.session-storage .icon {
345 content: url(Images/sessionStorage.png);
348 .cookie-storage-tree-item .icon {
349 content: url(Images/cookie.png);
352 .application-cache-storage-tree-item .icon {
353 content: url(Images/applicationCache.png);
356 .file-system-storage-tree-item .icon {
357 content: url(Images/fileSystem.png);