| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 .resources.panel .sidebar { | 30 .resources.panel .sidebar { |
| 31 padding-left: 0; | 31 padding-left: 0; |
| 32 z-index: 10; | 32 z-index: 10; |
| 33 display: block; | 33 display: block; |
| 34 } | 34 } |
| 35 | 35 |
| 36 .resources.panel .sidebar li { | 36 .resources.panel .sidebar li { |
| 37 height: 18px; | 37 height: 18px; |
| 38 white-space: nowrap; | 38 white-space: nowrap; |
| 39 padding-top: 1px; | 39 padding-top: 1px; |
| 40 padding: 16px 0; |
| 40 } | 41 } |
| 41 | 42 |
| 42 .resources.panel .sidebar li.selected { | 43 .resources.panel .sidebar li.selected { |
| 43 color: white; | 44 color: white; |
| 44 } | 45 } |
| 45 | 46 |
| 46 .resources.panel .sidebar li.selected .selection { | 47 .resources.panel .sidebar li.selected .selection { |
| 47 background-color: rgb(160, 160, 160); | 48 background-color: rgb(160, 160, 160); |
| 48 border-top: 1px solid #979797; | 49 border-top: 1px solid #979797; |
| 49 height: 18px; | |
| 50 } | 50 } |
| 51 | 51 |
| 52 .resources.panel .sidebar :focus li.selected .selection { | 52 .resources.panel .sidebar :focus li.selected .selection { |
| 53 background-color: rgb(56, 121, 217); | 53 background-color: rgb(56, 121, 217); |
| 54 border-top: 1px solid rgb(68, 128, 200); | 54 border-top: 1px solid rgb(68, 128, 200); |
| 55 } | 55 } |
| 56 | 56 |
| 57 .resources.panel .sidebar .icon { | 57 .resources.panel .sidebar .icon { |
| 58 width: 16px; | 58 width: 16px; |
| 59 height: 16px; | 59 height: 16px; |
| 60 position: relative; | 60 position: relative; |
| 61 top: 3px; | 61 top: 3px; |
| 62 margin-top: -3px; | 62 margin-top: -3px; |
| 63 display: inline-block; | 63 display: inline-block; |
| 64 } | 64 } |
| 65 | 65 |
| 66 .resources.panel .base-storage-tree-element-title { | |
| 67 overflow: hidden; | |
| 68 text-overflow: ellipsis; | |
| 69 padding-left: 2px; | |
| 70 display: inline; | |
| 71 } | |
| 72 | |
| 73 .resources-toolbar { | 66 .resources-toolbar { |
| 74 border-top: 1px solid #ccc; | 67 border-top: 1px solid #ccc; |
| 75 background-color: #eee; | 68 background-color: #eee; |
| 76 } | 69 } |
| 77 | 70 |
| 78 li.selected .base-storage-tree-element-subtitle { | 71 li.selected .base-storage-tree-element-subtitle { |
| 79 color: white; | 72 color: white; |
| 80 } | 73 } |
| 81 | 74 |
| 82 .base-storage-tree-element-subtitle { | 75 .base-storage-tree-element-subtitle { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 .database-query-result.error { | 181 .database-query-result.error { |
| 189 color: red; | 182 color: red; |
| 190 -webkit-user-select: text; | 183 -webkit-user-select: text; |
| 191 } | 184 } |
| 192 | 185 |
| 193 .database-query-result.error::before { | 186 .database-query-result.error::before { |
| 194 background-position: -213px -96px; | 187 background-position: -213px -96px; |
| 195 } | 188 } |
| 196 | 189 |
| 197 .resource-sidebar-tree-item .icon { | 190 .resource-sidebar-tree-item .icon { |
| 198 content: url(Images/resourcePlainIcon.png); | |
| 199 } | |
| 200 | |
| 201 .children.small .resource-sidebar-tree-item .icon { | |
| 202 content: url(Images/resourcePlainIconSmall.png); | 191 content: url(Images/resourcePlainIconSmall.png); |
| 203 } | 192 } |
| 204 | 193 |
| 205 .resource-sidebar-tree-item.resources-type-image .icon { | 194 .resource-sidebar-tree-item.resources-type-image .icon { |
| 206 position: relative; | 195 position: relative; |
| 207 background-image: url(Images/resourcePlainIcon.png); | 196 background-image: url(Images/resourcePlainIcon.png); |
| 208 background-repeat: no-repeat; | 197 background-repeat: no-repeat; |
| 209 content: ""; | 198 content: ""; |
| 210 } | 199 } |
| 211 | 200 |
| 212 .resources-type-image .image-resource-icon-preview { | 201 .resources-type-image .image-resource-icon-preview { |
| 213 position: absolute; | 202 position: absolute; |
| 214 margin: auto; | 203 margin: auto; |
| 215 top: 3px; | |
| 216 bottom: 4px; | |
| 217 left: 5px; | |
| 218 right: 5px; | |
| 219 max-width: 18px; | |
| 220 max-height: 21px; | |
| 221 min-width: 1px; | 204 min-width: 1px; |
| 222 min-height: 1px; | 205 min-height: 1px; |
| 223 } | |
| 224 | |
| 225 .children.small .resource-sidebar-tree-item.resources-type-image .icon { | |
| 226 background-image: url(Images/resourcePlainIconSmall.png); | |
| 227 content: ""; | |
| 228 } | |
| 229 | |
| 230 .children.small .resources-type-image .image-resource-icon-preview { | |
| 231 top: 2px; | 206 top: 2px; |
| 232 bottom: 1px; | 207 bottom: 1px; |
| 233 left: 3px; | 208 left: 3px; |
| 234 right: 3px; | 209 right: 3px; |
| 235 max-width: 8px; | 210 max-width: 8px; |
| 236 max-height: 11px; | 211 max-height: 11px; |
| 237 overflow: hidden; | 212 overflow: hidden; |
| 238 } | 213 } |
| 239 | 214 |
| 240 .resource-sidebar-tree-item.resources-type-document .icon { | 215 .resources-sidebar { |
| 241 content: url(Images/resourceDocumentIcon.png); | 216 padding-left: 0; |
| 242 } | 217 } |
| 243 | |
| 244 .children.small .resource-sidebar-tree-item.resources-type-document .icon { | |
| 245 content: url(Images/resourceDocumentIconSmall.png); | |
| 246 } | |
| 247 | |
| 248 .resource-sidebar-tree-item.resources-type-stylesheet .icon { | |
| 249 content: url(Images/resourceCSSIcon.png); | |
| 250 } | |
| 251 | |
| 252 .children.small .resource-sidebar-tree-item.resources-type-stylesheet .icon { | |
| 253 content: url(Images/resourceDocumentIconSmall.png); | |
| 254 } | |
| 255 | |
| 256 .resource-sidebar-tree-item.resources-type-image .icon { | |
| 257 position: relative; | |
| 258 background-image: url(Images/resourcePlainIcon.png); | |
| 259 background-repeat: no-repeat; | |
| 260 content: ""; | |
| 261 } | |
| 262 | |
| 263 .children.small .resource-sidebar-tree-item.resources-type-image .icon { | |
| 264 background-image: url(Images/resourcePlainIconSmall.png); | |
| 265 content: ""; | |
| 266 } | |
| 267 | |
| 268 .resource-sidebar-tree-item.resources-type-font .icon { | |
| 269 content: url(Images/resourcePlainIcon.png); | |
| 270 } | |
| 271 | |
| 272 .children.small .resource-sidebar-tree-item.resources-type-font .icon { | |
| 273 content: url(Images/resourcePlainIconSmall.png); | |
| 274 } | |
| 275 | |
| 276 .resource-sidebar-tree-item.resources-type-script .icon { | |
| 277 content: url(Images/resourceJSIcon.png); | |
| 278 } | |
| 279 | |
| 280 .children.small .resource-sidebar-tree-item.resources-type-script .icon { | |
| 281 content: url(Images/resourceDocumentIconSmall.png); | |
| 282 } | |
| 283 | |
| 284 .resource-sidebar-tree-item.resources-type-xhr .icon { | |
| 285 content: url(Images/resourcePlainIcon.png); | |
| 286 } | |
| 287 | |
| 288 .children.small .resource-sidebar-tree-item.resources-type-xhr .icon { | |
| 289 content: url(Images/resourceDocumentIconSmall.png); | |
| 290 } | |
| 291 | |
| 292 .frame-storage-tree-item .icon { | |
| 293 content: url(Images/frame.png); | |
| 294 } | |
| 295 | |
| 296 .database-storage-tree-item .icon { | |
| 297 content: url(Images/database.png); | |
| 298 } | |
| 299 | |
| 300 .database-table-storage-tree-item .icon { | |
| 301 content: url(Images/databaseTable.png); | |
| 302 } | |
| 303 | |
| 304 .indexed-db-storage-tree-item .icon { | |
| 305 content: url(Images/indexedDB.png); | |
| 306 } | |
| 307 | |
| 308 .indexed-db-object-store-storage-tree-item .icon { | |
| 309 content: url(Images/indexedDBObjectStore.png); | |
| 310 } | |
| 311 | |
| 312 .indexed-db-index-storage-tree-item .icon { | |
| 313 content: url(Images/indexedDBIndex.png); | |
| 314 } | |
| 315 | |
| 316 .service-worker-cache-tree-item .icon { | |
| 317 content: url(Images/indexedDBObjectStore.png); | |
| 318 } | |
| 319 | |
| 320 .service-worker-cache-storage-tree-item .icon { | |
| 321 content: url(Images/indexedDB.png); | |
| 322 } | |
| 323 | |
| 324 .service-workers-tree-item .icon { | |
| 325 content: url(Images/serviceWorker.svg); | |
| 326 } | |
| 327 | |
| 328 .-theme-with-dark-background .service-workers-tree-item .icon { | |
| 329 -webkit-filter: invert(70%); | |
| 330 } | |
| 331 | |
| 332 .domstorage-storage-tree-item.local-storage .icon { | |
| 333 content: url(Images/localStorage.png); | |
| 334 } | |
| 335 | |
| 336 .domstorage-storage-tree-item.session-storage .icon { | |
| 337 content: url(Images/sessionStorage.png); | |
| 338 } | |
| 339 | |
| 340 .cookie-storage-tree-item .icon { | |
| 341 content: url(Images/cookie.png); | |
| 342 } | |
| 343 | |
| 344 .application-cache-storage-tree-item .icon { | |
| 345 content: url(Images/applicationCache.png); | |
| 346 } | |
| 347 | |
| 348 .file-system-storage-tree-item .icon { | |
| 349 content: url(Images/fileSystem.png); | |
| 350 } | |
| 351 | |
| 352 .service-worker-info-message { | |
| 353 padding: 10px; | |
| 354 } | |
| OLD | NEW |