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 {
40 .resources.panel .sidebar li {
45 .resources.panel .sidebar li.selected {
47 text-shadow: rgba(0, 0, 0, 0.33) 1px 1px 0;
50 .resources.panel .sidebar li.selected .selection {
51 background-image: linear-gradient(to bottom, rgb(162, 177, 207), rgb(120, 138, 177));
52 border-top: 1px solid #979797;
56 .resources.panel .sidebar :focus li.selected .selection {
57 background-image: linear-gradient(to bottom, rgb(92, 147, 213), 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: linear-gradient(to bottom, rgb(180, 180, 180), 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;
89 .resources-status-bar {
95 background-color: rgb(236, 236, 236);
98 li.selected .base-storage-tree-element-subtitle {
102 .base-storage-tree-element-subtitle {
104 color: rgb(80, 80, 80);
108 .resources.panel .status {
116 .resources.panel li .status .bubble {
131 .storage-view.visible {
139 .storage-view .data-grid:not(.inline) {
144 .storage-view .storage-table-error {
145 color: rgb(66%, 33%, 33%);
148 .storage-view.query {
154 .database-query-prompt {
156 padding: 1px 22px 1px 24px;
158 white-space: pre-wrap;
159 -webkit-user-modify: read-write-plaintext-only;
160 -webkit-user-select: text;
163 .database-user-query::before,
164 .database-query-prompt::before,
165 .database-query-result::before {
174 -webkit-user-select: none;
175 background-image: url(Images/statusbarButtonGlyphs.png);
176 background-size: 320px 144px;
179 @media (-webkit-min-device-pixel-ratio: 1.5) {
180 .database-user-query::before,
181 .database-query-prompt::before,
182 .database-query-result::before {
183 background-image: url(Images/statusbarButtonGlyphs_2x.png);
187 .database-query-prompt::before {
188 background-position: -192px -96px;
191 .database-user-query {
193 border-bottom: 1px solid rgb(245, 245, 245);
194 padding: 1px 22px 1px 24px;
198 .database-user-query::before {
199 background-position: -192px -107px;
202 .database-query-text {
203 color: rgb(0, 128, 255);
204 -webkit-user-select: text;
207 .database-query-result {
209 padding: 1px 22px 1px 24px;
215 .database-query-result.error {
217 -webkit-user-select: text;
220 .database-query-result.error::before {
221 background-position: -213px -96px;
224 .resource-sidebar-tree-item .icon {
225 content: url(Images/resourcePlainIcon.png);
228 .children.small .resource-sidebar-tree-item .icon {
229 content: url(Images/resourcePlainIconSmall.png);
232 .resource-sidebar-tree-item.resources-type-image .icon {
234 background-image: url(Images/resourcePlainIcon.png);
235 background-repeat: no-repeat;
239 .resources-type-image .image-resource-icon-preview {
252 .children.small .resource-sidebar-tree-item.resources-type-image .icon {
253 background-image: url(Images/resourcePlainIconSmall.png);
257 .children.small .resources-type-image .image-resource-icon-preview {
266 .resource-sidebar-tree-item.resources-type-document .icon {
267 content: url(Images/resourceDocumentIcon.png);
270 .children.small .resource-sidebar-tree-item.resources-type-document .icon {
271 content: url(Images/resourceDocumentIconSmall.png);
274 .resource-sidebar-tree-item.resources-type-stylesheet .icon {
275 content: url(Images/resourceCSSIcon.png);
278 .children.small .resource-sidebar-tree-item.resources-type-stylesheet .icon {
279 content: url(Images/resourceDocumentIconSmall.png);
282 .resource-sidebar-tree-item.resources-type-image .icon {
284 background-image: url(Images/resourcePlainIcon.png);
285 background-repeat: no-repeat;
289 .children.small .resource-sidebar-tree-item.resources-type-image .icon {
290 background-image: url(Images/resourcePlainIconSmall.png);
294 .resource-sidebar-tree-item.resources-type-font .icon {
295 content: url(Images/resourcePlainIcon.png);
298 .children.small .resource-sidebar-tree-item.resources-type-font .icon {
299 content: url(Images/resourcePlainIconSmall.png);
302 .resource-sidebar-tree-item.resources-type-script .icon {
303 content: url(Images/resourceJSIcon.png);
306 .children.small .resource-sidebar-tree-item.resources-type-script .icon {
307 content: url(Images/resourceDocumentIconSmall.png);
310 .resource-sidebar-tree-item.resources-type-xhr .icon {
311 content: url(Images/resourcePlainIcon.png);
314 .children.small .resource-sidebar-tree-item.resources-type-xhr .icon {
315 content: url(Images/resourceDocumentIconSmall.png);
318 .frame-storage-tree-item .icon {
319 content: url(Images/frame.png);
322 .database-storage-tree-item .icon {
323 content: url(Images/database.png);
326 .database-table-storage-tree-item .icon {
327 content: url(Images/databaseTable.png);
330 .indexed-db-storage-tree-item .icon {
331 content: url(Images/indexedDB.png);
334 .indexed-db-object-store-storage-tree-item .icon {
335 content: url(Images/indexedDBObjectStore.png);
338 .indexed-db-index-storage-tree-item .icon {
339 content: url(Images/indexedDBIndex.png);
342 .domstorage-storage-tree-item.local-storage .icon {
343 content: url(Images/localStorage.png);
346 .domstorage-storage-tree-item.session-storage .icon {
347 content: url(Images/sessionStorage.png);
350 .cookie-storage-tree-item .icon {
351 content: url(Images/cookie.png);
354 .application-cache-storage-tree-item .icon {
355 content: url(Images/applicationCache.png);
358 .file-system-storage-tree-item .icon {
359 content: url(Images/fileSystem.png);