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 {
36 .resources.panel .sidebar li {
41 .resources.panel .sidebar li.selected {
43 text-shadow: rgba(0, 0, 0, 0.33) 1px 1px 0;
46 .resources.panel .sidebar li.selected .selection {
47 background-image: linear-gradient(to bottom, rgb(162, 177, 207), rgb(120, 138, 177));
48 border-top: 1px solid #979797;
52 .resources.panel .sidebar :focus li.selected .selection {
53 background-image: linear-gradient(to bottom, rgb(92, 147, 213), rgb(21, 83, 170));
54 border-top: 1px solid rgb(68, 128, 200);
57 body.inactive .resources.panel .sidebar li.selected .selection {
58 background-image: linear-gradient(to bottom, rgb(180, 180, 180), rgb(138, 138, 138));
59 border-top: 1px solid rgb(151, 151, 151);
62 .resources.panel .sidebar .icon {
68 .resources.panel .base-storage-tree-element-title {
71 text-overflow: ellipsis;
85 .resources-status-bar {
91 background-color: rgb(236, 236, 236);
94 li.selected .base-storage-tree-element-subtitle {
98 .base-storage-tree-element-subtitle {
100 color: rgb(80, 80, 80);
104 .resources.panel .status {
112 .resources.panel li .status .bubble-repeat-count {
127 .storage-view.visible {
135 .storage-view .data-grid:not(.inline) {
140 .storage-view .storage-table-error {
141 color: rgb(66%, 33%, 33%);
144 .storage-view.query {
150 .database-query-prompt {
152 padding: 1px 22px 1px 24px;
154 white-space: pre-wrap;
155 -webkit-user-modify: read-write-plaintext-only;
156 -webkit-user-select: text;
159 .database-user-query::before,
160 .database-query-prompt::before,
161 .database-query-result::before {
170 -webkit-user-select: none;
171 background-image: url(Images/statusbarButtonGlyphs.png);
172 background-size: 320px 144px;
175 @media (-webkit-min-device-pixel-ratio: 1.5) {
176 .database-user-query::before,
177 .database-query-prompt::before,
178 .database-query-result::before {
179 background-image: url(Images/statusbarButtonGlyphs_2x.png);
183 .database-query-prompt::before {
184 background-position: -192px -96px;
187 .database-user-query {
189 border-bottom: 1px solid rgb(245, 245, 245);
190 padding: 1px 22px 1px 24px;
195 .database-user-query::before {
196 background-position: -192px -107px;
199 .database-query-text {
200 color: rgb(0, 128, 255);
201 -webkit-user-select: text;
204 .database-query-result {
206 padding: 1px 22px 1px 24px;
212 .database-query-result.error {
214 -webkit-user-select: text;
217 .database-query-result.error::before {
218 background-position: -213px -96px;
221 .resource-sidebar-tree-item .icon {
222 content: url(Images/resourcePlainIcon.png);
225 .children.small .resource-sidebar-tree-item .icon {
226 content: url(Images/resourcePlainIconSmall.png);
229 .resource-sidebar-tree-item.resources-type-image .icon {
231 background-image: url(Images/resourcePlainIcon.png);
232 background-repeat: no-repeat;
236 .resources-type-image .image-resource-icon-preview {
249 .children.small .resource-sidebar-tree-item.resources-type-image .icon {
250 background-image: url(Images/resourcePlainIconSmall.png);
254 .children.small .resources-type-image .image-resource-icon-preview {
263 .resource-sidebar-tree-item.resources-type-document .icon {
264 content: url(Images/resourceDocumentIcon.png);
267 .children.small .resource-sidebar-tree-item.resources-type-document .icon {
268 content: url(Images/resourceDocumentIconSmall.png);
271 .resource-sidebar-tree-item.resources-type-stylesheet .icon {
272 content: url(Images/resourceCSSIcon.png);
275 .children.small .resource-sidebar-tree-item.resources-type-stylesheet .icon {
276 content: url(Images/resourceDocumentIconSmall.png);
279 .resource-sidebar-tree-item.resources-type-image .icon {
281 background-image: url(Images/resourcePlainIcon.png);
282 background-repeat: no-repeat;
286 .children.small .resource-sidebar-tree-item.resources-type-image .icon {
287 background-image: url(Images/resourcePlainIconSmall.png);
291 .resource-sidebar-tree-item.resources-type-font .icon {
292 content: url(Images/resourcePlainIcon.png);
295 .children.small .resource-sidebar-tree-item.resources-type-font .icon {
296 content: url(Images/resourcePlainIconSmall.png);
299 .resource-sidebar-tree-item.resources-type-script .icon {
300 content: url(Images/resourceJSIcon.png);
303 .children.small .resource-sidebar-tree-item.resources-type-script .icon {
304 content: url(Images/resourceDocumentIconSmall.png);
307 .resource-sidebar-tree-item.resources-type-xhr .icon {
308 content: url(Images/resourcePlainIcon.png);
311 .children.small .resource-sidebar-tree-item.resources-type-xhr .icon {
312 content: url(Images/resourceDocumentIconSmall.png);
315 .frame-storage-tree-item .icon {
316 content: url(Images/frame.png);
319 .database-storage-tree-item .icon {
320 content: url(Images/database.png);
323 .database-table-storage-tree-item .icon {
324 content: url(Images/databaseTable.png);
327 .indexed-db-storage-tree-item .icon {
328 content: url(Images/indexedDB.png);
331 .indexed-db-object-store-storage-tree-item .icon {
332 content: url(Images/indexedDBObjectStore.png);
335 .indexed-db-index-storage-tree-item .icon {
336 content: url(Images/indexedDBIndex.png);
339 .domstorage-storage-tree-item.local-storage .icon {
340 content: url(Images/localStorage.png);
343 .domstorage-storage-tree-item.session-storage .icon {
344 content: url(Images/sessionStorage.png);
347 .cookie-storage-tree-item .icon {
348 content: url(Images/cookie.png);
351 .application-cache-storage-tree-item .icon {
352 content: url(Images/applicationCache.png);
355 .file-system-storage-tree-item .icon {
356 content: url(Images/fileSystem.png);