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
;
77 border-top: 1px solid
#ccc;
78 background-color: #eee;
81 li
.selected
.base-storage-tree-element-subtitle
{
85 .base-storage-tree-element-subtitle {
87 color: rgb
(80, 80, 80);
91 .resources.panel .status {
99 .resources.panel li .status .bubble-repeat-count {
114 .storage-view .data-grid:not(.inline) {
119 .storage-view .storage-table-error {
120 color: rgb
(66%, 33%, 33%);
126 justify-content: center
;
129 .storage-view.query {
135 .database-query-prompt {
137 padding: 1px 22px 1px 24px;
139 white-space: pre-wrap
;
140 -webkit-user-modify: read-write-plaintext-only
;
141 -webkit-user-select: text
;
144 .database-user-query::before
,
145 .database-query-prompt::before
,
146 .database-query-result::before {
155 -webkit-user-select: none
;
156 background-image: url
(Images/toolbarButtonGlyphs.png);
157 background-size: 352px 168px;
160 @media (-webkit-min-device-pixel-ratio: 1.5) {
161 .database-user-query::before
,
162 .database-query-prompt::before
,
163 .database-query-result::before {
164 background-image: url
(Images/toolbarButtonGlyphs_2x.png);
168 .database-query-prompt::before {
169 background-position: -192px -96px;
172 .database-user-query {
174 border-bottom: 1px solid rgb
(245, 245, 245);
175 padding: 1px 22px 1px 24px;
180 .database-user-query::before {
181 background-position: -192px -107px;
184 .database-query-text {
185 color: rgb
(0, 128, 255);
186 -webkit-user-select: text
;
189 .database-query-result {
191 padding: 1px 22px 1px 24px;
197 .database-query-result.error {
199 -webkit-user-select: text
;
202 .database-query-result.error::before {
203 background-position: -213px -96px;
206 .resource-sidebar-tree-item .icon {
207 content: url
(Images/resourcePlainIcon.png);
210 .children.small .resource-sidebar-tree-item .icon {
211 content: url
(Images/resourcePlainIconSmall.png);
214 .resource-sidebar-tree-item.resources-type-image .icon {
216 background-image: url
(Images/resourcePlainIcon.png);
217 background-repeat: no-repeat
;
221 .resources-type-image .image-resource-icon-preview {
234 .children.small .resource-sidebar-tree-item.resources-type-image .icon {
235 background-image: url
(Images/resourcePlainIconSmall.png);
239 .children.small .resources-type-image .image-resource-icon-preview {
249 .resource-sidebar-tree-item.resources-type-document .icon {
250 content: url
(Images/resourceDocumentIcon.png);
253 .children.small .resource-sidebar-tree-item.resources-type-document .icon {
254 content: url
(Images/resourceDocumentIconSmall.png);
257 .resource-sidebar-tree-item.resources-type-stylesheet .icon {
258 content: url
(Images/resourceCSSIcon.png);
261 .children.small .resource-sidebar-tree-item.resources-type-stylesheet .icon {
262 content: url
(Images/resourceDocumentIconSmall.png);
265 .resource-sidebar-tree-item.resources-type-image .icon {
267 background-image: url
(Images/resourcePlainIcon.png);
268 background-repeat: no-repeat
;
272 .children.small .resource-sidebar-tree-item.resources-type-image .icon {
273 background-image: url
(Images/resourcePlainIconSmall.png);
277 .resource-sidebar-tree-item.resources-type-font .icon {
278 content: url
(Images/resourcePlainIcon.png);
281 .children.small .resource-sidebar-tree-item.resources-type-font .icon {
282 content: url
(Images/resourcePlainIconSmall.png);
285 .resource-sidebar-tree-item.resources-type-script .icon {
286 content: url
(Images/resourceJSIcon.png);
289 .children.small .resource-sidebar-tree-item.resources-type-script .icon {
290 content: url
(Images/resourceDocumentIconSmall.png);
293 .resource-sidebar-tree-item.resources-type-xhr .icon {
294 content: url
(Images/resourcePlainIcon.png);
297 .children.small .resource-sidebar-tree-item.resources-type-xhr .icon {
298 content: url
(Images/resourceDocumentIconSmall.png);
301 .frame-storage-tree-item .icon {
302 content: url
(Images/frame.png);
305 .database-storage-tree-item .icon {
306 content: url
(Images/database.png);
309 .database-table-storage-tree-item .icon {
310 content: url
(Images/databaseTable.png);
313 .indexed-db-storage-tree-item .icon {
314 content: url
(Images/indexedDB.png);
317 .indexed-db-object-store-storage-tree-item .icon {
318 content: url
(Images/indexedDBObjectStore.png);
321 .indexed-db-index-storage-tree-item .icon {
322 content: url
(Images/indexedDBIndex.png);
325 .service-worker-cache-tree-item .icon {
326 content: url
(Images/indexedDBObjectStore.png);
329 .service-worker-cache-storage-tree-item .icon {
330 content: url
(Images/indexedDB.png);
333 .service-workers-tree-item .icon {
334 content: url
(Images/serviceWorker.svg);
337 .domstorage-storage-tree-item.local-storage .icon {
338 content: url
(Images/localStorage.png);
341 .domstorage-storage-tree-item.session-storage .icon {
342 content: url
(Images/sessionStorage.png);
345 .cookie-storage-tree-item .icon {
346 content: url
(Images/cookie.png);
349 .application-cache-storage-tree-item .icon {
350 content: url
(Images/applicationCache.png);
353 .file-system-storage-tree-item .icon {
354 content: url
(Images/fileSystem.png);