Changeset 70214 in webkit
- Timestamp:
- Oct 21, 2010 1:44:32 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r70211 r70214 1 2010-10-20 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: Convert sidebar into the browsing tree in the Storage panel. 6 https://bugs.webkit.org/show_bug.cgi?id=47988 7 8 * English.lproj/localizedStrings.js: 9 * inspector/front-end/ApplicationCacheItemsView.js: 10 (WebInspector.ApplicationCacheItemsView): 11 * inspector/front-end/ConsoleView.js: 12 (WebInspector.ConsoleMessage.prototype._formatMessage): 13 * inspector/front-end/CookieItemsView.js: 14 (WebInspector.CookieItemsView): 15 * inspector/front-end/DatabaseTableView.js: 16 (WebInspector.DatabaseTableView.prototype._queryFinished): 17 * inspector/front-end/StoragePanel.js: 18 (WebInspector.StoragePanel): 19 (WebInspector.StoragePanel.prototype.reset): 20 (WebInspector.StoragePanel.prototype.addDatabase): 21 (WebInspector.StoragePanel.prototype.addCookieDomain): 22 (WebInspector.StoragePanel.prototype.addDOMStorage): 23 (WebInspector.StoragePanel.prototype.addApplicationCache): 24 (WebInspector.StoragePanel.prototype.showDatabase): 25 (WebInspector.StoragePanel.prototype.showDOMStorage): 26 (WebInspector.StoragePanel.prototype.showCookies): 27 (WebInspector.StoragePanel.prototype.showApplicationCache): 28 (WebInspector.StoragePanel.prototype.showCategoryView): 29 (WebInspector.StoragePanel.prototype._innerShowView): 30 (WebInspector.BaseStorageTreeElement): 31 (WebInspector.BaseStorageTreeElement.prototype.onattach): 32 (WebInspector.StorageCategoryTreeElement): 33 (WebInspector.StorageCategoryTreeElement.prototype.onselect): 34 (WebInspector.DatabaseTreeElement): 35 (WebInspector.DatabaseTreeElement.prototype.onselect): 36 (WebInspector.DatabaseTreeElement.prototype.onpopulate.tableNamesCallback): 37 (WebInspector.DatabaseTreeElement.prototype.onpopulate): 38 (WebInspector.DatabaseTableTreeElement): 39 (WebInspector.DatabaseTableTreeElement.prototype.onselect): 40 (WebInspector.DOMStorageTreeElement): 41 (WebInspector.DOMStorageTreeElement.prototype.onselect): 42 (WebInspector.CookieTreeElement): 43 (WebInspector.CookieTreeElement.prototype.onselect): 44 (WebInspector.ApplicationCacheTreeElement): 45 (WebInspector.ApplicationCacheTreeElement.prototype.onselect): 46 (WebInspector.StorageCategoryView): 47 (WebInspector.StorageCategoryView.prototype.setText): 48 * inspector/front-end/inspector.css: 49 (.properties-tree ol): 50 (.properties-tree ol.expanded): 51 (.database-storage-tree-item .icon): 52 (.database-table-storage-tree-item .icon): 53 (.domstorage-storage-tree-item.local-storage .icon): 54 (.domstorage-storage-tree-item.session-storage .icon): 55 (.cookie-storage-tree-item .icon): 56 (.application-cache-storage-tree-item .icon): 57 (.storage.panel .sidebar): 58 (.storage.panel .outline-disclosure > ol): 59 (.storage.panel .outline-disclosure li): 60 (.storage.panel .outline-disclosure li .selection): 61 (.storage.panel .sidebar-resizer-vertical): 62 (.storage-base-tree-element-title): 63 (.storage.panel .outline-disclosure ol): 64 (.storage.panel .outline-disclosure li.selected): 65 (.storage.panel .outline-disclosure .icon): 66 (.storage-empty-view, .storage-view.table .storage-table-error): 67 1 68 2010-10-21 Carlos Garcia Campos <cgarcia@igalia.com> 2 69 -
trunk/WebCore/inspector/front-end/ApplicationCacheItemsView.js
r64844 r70214 65 65 66 66 this._emptyMsgElement = document.createElement("div"); 67 this._emptyMsgElement.className = "storage- table-empty";67 this._emptyMsgElement.className = "storage-empty-view"; 68 68 this._emptyMsgElement.textContent = WebInspector.UIString("No Application Cache information available."); 69 69 this.element.appendChild(this._emptyMsgElement); -
trunk/WebCore/inspector/front-end/ConsoleView.js
r70046 r70214 679 679 case WebInspector.ConsoleMessage.MessageType.UncaughtException: 680 680 var ol = document.createElement("ol"); 681 ol. addStyleClass("stack-trace");681 ol.className = "outline-disclosure"; 682 682 var treeOutline = new TreeOutline(ol); 683 683 var messageText; -
trunk/WebCore/inspector/front-end/CookieItemsView.js
r69947 r70214 46 46 47 47 this._emptyMsgElement = document.createElement("div"); 48 this._emptyMsgElement.className = "storage- table-empty";48 this._emptyMsgElement.className = "storage-empty-view"; 49 49 this._emptyMsgElement.textContent = WebInspector.UIString("This site has no cookies."); 50 50 this.element.appendChild(this._emptyMsgElement); -
trunk/WebCore/inspector/front-end/DatabaseTableView.js
r65149 r70214 62 62 if (!dataGrid) { 63 63 var emptyMsgElement = document.createElement("div"); 64 emptyMsgElement.className = "storage- table-empty";64 emptyMsgElement.className = "storage-empty-view"; 65 65 emptyMsgElement.textContent = WebInspector.UIString("The “%s”\ntable is empty.", this.tableName); 66 66 this.element.appendChild(emptyMsgElement); -
trunk/WebCore/inspector/front-end/StoragePanel.js
r68778 r70214 33 33 34 34 this.createSidebar(); 35 36 this.databasesListTreeElement = new WebInspector.SidebarSectionTreeElement(WebInspector.UIString("DATABASES"), {}, true); 35 this.sidebarElement.addStyleClass("outline-disclosure filter-all children small"); 36 37 this.databasesListTreeElement = new WebInspector.StorageCategoryTreeElement(this, WebInspector.UIString("Databases"), "database-storage-tree-item"); 37 38 this.sidebarTree.appendChild(this.databasesListTreeElement); 38 39 this.databasesListTreeElement.expand(); 39 40 40 this.localStorageListTreeElement = new WebInspector.S idebarSectionTreeElement(WebInspector.UIString("LOCAL STORAGE"), {}, true);41 this.localStorageListTreeElement = new WebInspector.StorageCategoryTreeElement(this, WebInspector.UIString("Local Storage"), "domstorage-storage-tree-item local-storage"); 41 42 this.sidebarTree.appendChild(this.localStorageListTreeElement); 42 43 this.localStorageListTreeElement.expand(); 43 44 44 this.sessionStorageListTreeElement = new WebInspector.S idebarSectionTreeElement(WebInspector.UIString("SESSION STORAGE"), {}, true);45 this.sessionStorageListTreeElement = new WebInspector.StorageCategoryTreeElement(this, WebInspector.UIString("Session Storage"), "domstorage-storage-tree-item session-storage"); 45 46 this.sidebarTree.appendChild(this.sessionStorageListTreeElement); 46 47 this.sessionStorageListTreeElement.expand(); 47 48 48 this.cookieListTreeElement = new WebInspector.S idebarSectionTreeElement(WebInspector.UIString("COOKIES"), {}, true);49 this.cookieListTreeElement = new WebInspector.StorageCategoryTreeElement(this, WebInspector.UIString("Cookies"), "cookie-storage-tree-item"); 49 50 this.sidebarTree.appendChild(this.cookieListTreeElement); 50 51 this.cookieListTreeElement.expand(); 51 52 52 53 this.applicationCacheListTreeElement = new WebInspector.S idebarSectionTreeElement(WebInspector.UIString("APPLICATION CACHE"), {}, true);53 this.applicationCacheListTreeElement = new WebInspector.StorageCategoryTreeElement(this, WebInspector.UIString("Application Cache"), "application-cache-storage-tree-item"); 54 54 this.sidebarTree.appendChild(this.applicationCacheListTreeElement); 55 55 this.applicationCacheListTreeElement.expand(); 56 56 57 57 this.storageViews = document.createElement("div"); 58 58 this.storageViews.id = "storage-views"; … … 62 62 this.storageViewStatusBarItemsContainer.className = "status-bar-items"; 63 63 64 this.reset(); 64 this._databases = []; 65 this._domStorage = []; 66 this._cookieViews = {}; 65 67 } 66 68 … … 78 80 reset: function() 79 81 { 80 if (this._databases) { 81 var databasesLength = this._databases.length; 82 for (var i = 0; i < databasesLength; ++i) { 83 var database = this._databases[i]; 84 85 delete database._tableViews; 86 delete database._queryView; 87 } 88 } 89 82 for (var i = 0; i < this._databases.length; ++i) { 83 var database = this._databases[i]; 84 delete database._tableViews; 85 delete database._queryView; 86 } 90 87 this._databases = []; 91 88 92 if (this._domStorage) { 93 var domStorageLength = this._domStorage.length; 94 for (var i = 0; i < domStorageLength; ++i) { 95 var domStorage = this._domStorage[i]; 96 97 delete domStorage._domStorageView; 98 } 99 } 100 89 var domStorageLength = this._domStorage.length; 90 for (var i = 0; i < this._domStorage.length; ++i) { 91 var domStorage = this._domStorage[i]; 92 delete domStorage._domStorageView; 93 } 101 94 this._domStorage = []; 102 95 … … 110 103 this.sessionStorageListTreeElement.removeChildren(); 111 104 this.cookieListTreeElement.removeChildren(); 112 113 105 this.applicationCacheListTreeElement.removeChildren(); 114 106 … … 125 117 this._databases.push(database); 126 118 127 var databaseTreeElement = new WebInspector.Database SidebarTreeElement(database);119 var databaseTreeElement = new WebInspector.DatabaseTreeElement(this, database); 128 120 database._databasesTreeElement = databaseTreeElement; 129 121 this.databasesListTreeElement.appendChild(databaseTreeElement); … … 132 124 addCookieDomain: function(domain) 133 125 { 134 var cookieDomainTreeElement = new WebInspector.Cookie SidebarTreeElement(domain);126 var cookieDomainTreeElement = new WebInspector.CookieTreeElement(this, domain); 135 127 this.cookieListTreeElement.appendChild(cookieDomainTreeElement); 136 128 }, … … 139 131 { 140 132 this._domStorage.push(domStorage); 141 var domStorageTreeElement = new WebInspector.DOMStorage SidebarTreeElement(domStorage, (domStorage.isLocalStorage ? "local-storage" : "session-storage"));133 var domStorageTreeElement = new WebInspector.DOMStorageTreeElement(this, domStorage, (domStorage.isLocalStorage ? "local-storage" : "session-storage")); 142 134 domStorage._domStorageTreeElement = domStorageTreeElement; 143 135 if (domStorage.isLocalStorage) … … 149 141 addApplicationCache: function(domain) 150 142 { 151 var applicationCacheTreeElement = new WebInspector.ApplicationCache SidebarTreeElement(domain);143 var applicationCacheTreeElement = new WebInspector.ApplicationCacheTreeElement(this, domain); 152 144 this.applicationCacheListTreeElement.appendChild(applicationCacheTreeElement); 153 145 }, … … 179 171 if (!database) 180 172 return; 181 182 if (this.visibleView)183 this.visibleView.hide();184 173 185 174 var view; … … 200 189 } 201 190 202 this._ genericViewSetup(view);191 this._innerShowView(view); 203 192 }, 204 193 … … 207 196 if (!domStorage) 208 197 return; 209 210 if (this.visibleView)211 this.visibleView.hide();212 198 213 199 var view; … … 218 204 } 219 205 220 this._ genericViewSetup(view);206 this._innerShowView(view); 221 207 }, 222 208 223 209 showCookies: function(treeElement, cookieDomain) 224 210 { 225 if (this.visibleView)226 this.visibleView.hide();227 228 211 var view = this._cookieViews[cookieDomain]; 229 212 if (!view) { … … 232 215 } 233 216 234 this._ genericViewSetup(view);217 this._innerShowView(view); 235 218 }, 236 219 237 220 showApplicationCache: function(treeElement, appcacheDomain) 238 221 { 239 if (this.visibleView)240 this.visibleView.hide();241 242 222 var view = this._applicationCacheView; 243 223 if (!view) { … … 246 226 } 247 227 248 this._ genericViewSetup(view);228 this._innerShowView(view); 249 229 250 230 if ("_cachedApplicationCacheViewStatus" in this) … … 252 232 }, 253 233 254 _genericViewSetup: function(view) 255 { 234 showCategoryView: function(categoryName) 235 { 236 if (!this._categoryView) 237 this._categoryView = new WebInspector.StorageCategoryView(); 238 this._categoryView.setText(categoryName); 239 this._innerShowView(this._categoryView); 240 }, 241 242 _innerShowView: function(view) 243 { 244 if (this.visibleView) 245 this.visibleView.hide(); 246 256 247 view.show(this.storageViews); 257 248 this.visibleView = view; … … 424 415 WebInspector.StoragePanel.prototype.__proto__ = WebInspector.Panel.prototype; 425 416 426 WebInspector.DatabaseSidebarTreeElement = function(database) 427 { 428 this.database = database; 429 430 WebInspector.SidebarTreeElement.call(this, "database-sidebar-tree-item", "", "", database, true); 431 432 this.refreshTitles(); 433 } 434 435 WebInspector.DatabaseSidebarTreeElement.prototype = { 417 WebInspector.BaseStorageTreeElement = function(storagePanel, title, iconClass, hasChildren) 418 { 419 TreeElement.call(this, "", null, hasChildren); 420 this._storagePanel = storagePanel; 421 this._titleText = title; 422 this._iconClass = iconClass; 423 } 424 425 WebInspector.BaseStorageTreeElement.prototype = { 426 onattach: function() 427 { 428 this.listItemElement.removeChildren(); 429 this.listItemElement.addStyleClass(this._iconClass); 430 431 var imageElement = document.createElement("img"); 432 imageElement.className = "icon"; 433 this.listItemElement.appendChild(imageElement); 434 435 var titleElement = document.createElement("span"); 436 titleElement.textContent = this._titleText; 437 titleElement.className = "storage-base-tree-element-title"; 438 this.listItemElement.appendChild(titleElement); 439 440 var selectionElement = document.createElement("div"); 441 selectionElement.className = "selection"; 442 this.listItemElement.appendChild(selectionElement); 443 } 444 } 445 446 WebInspector.BaseStorageTreeElement.prototype.__proto__ = TreeElement.prototype; 447 448 WebInspector.StorageCategoryTreeElement = function(storagePanel, categoryName, iconClass) 449 { 450 WebInspector.BaseStorageTreeElement.call(this, storagePanel, categoryName, iconClass, true); 451 this._categoryName = categoryName; 452 } 453 454 WebInspector.StorageCategoryTreeElement.prototype = { 436 455 onselect: function() 437 456 { 438 WebInspector.panels.storage.showDatabase(this.database); 457 this._storagePanel.showCategoryView(this._categoryName); 458 } 459 } 460 WebInspector.StorageCategoryTreeElement.prototype.__proto__ = WebInspector.BaseStorageTreeElement.prototype; 461 462 WebInspector.DatabaseTreeElement = function(storagePanel, database) 463 { 464 WebInspector.BaseStorageTreeElement.call(this, storagePanel, database.name, "database-storage-tree-item", true); 465 this._database = database; 466 } 467 468 WebInspector.DatabaseTreeElement.prototype = { 469 onselect: function() 470 { 471 this._storagePanel.showDatabase(this._database); 439 472 }, 440 473 … … 450 483 this.removeChildren(); 451 484 452 var self = this;453 485 function tableNamesCallback(tableNames) 454 486 { 455 487 var tableNamesLength = tableNames.length; 456 488 for (var i = 0; i < tableNamesLength; ++i) 457 self.appendChild(new WebInspector.SidebarDatabaseTableTreeElement(self.database, tableNames[i])); 458 } 459 this.database.getTableNames(tableNamesCallback); 460 }, 461 462 get mainTitle() 463 { 464 return this.database.name; 465 }, 466 467 set mainTitle(x) 468 { 469 // Do nothing. 470 }, 471 472 get subtitle() 473 { 474 return this.database.displayDomain; 475 }, 476 477 set subtitle(x) 478 { 479 // Do nothing. 480 } 481 } 482 483 WebInspector.DatabaseSidebarTreeElement.prototype.__proto__ = WebInspector.SidebarTreeElement.prototype; 484 485 WebInspector.SidebarDatabaseTableTreeElement = function(database, tableName) 486 { 487 this.database = database; 488 this.tableName = tableName; 489 490 WebInspector.SidebarTreeElement.call(this, "database-table-sidebar-tree-item small", tableName, "", null, false); 491 } 492 493 WebInspector.SidebarDatabaseTableTreeElement.prototype = { 489 this.appendChild(new WebInspector.DatabaseTableTreeElement(this._storagePanel, this._database, tableNames[i])); 490 } 491 this._database.getTableNames(tableNamesCallback.bind(this)); 492 } 493 494 } 495 WebInspector.DatabaseTreeElement.prototype.__proto__ = WebInspector.BaseStorageTreeElement.prototype; 496 497 WebInspector.DatabaseTableTreeElement = function(storagePanel, database, tableName) 498 { 499 WebInspector.BaseStorageTreeElement.call(this, storagePanel, tableName, "database-storage-tree-item"); 500 this._database = database; 501 this._tableName = tableName; 502 } 503 504 WebInspector.DatabaseTableTreeElement.prototype = { 494 505 onselect: function() 495 506 { 496 WebInspector.panels.storage.showDatabase(this.database, this.tableName); 497 } 498 } 499 500 WebInspector.SidebarDatabaseTableTreeElement.prototype.__proto__ = WebInspector.SidebarTreeElement.prototype; 501 502 WebInspector.DOMStorageSidebarTreeElement = function(domStorage, className) 503 { 504 505 this.domStorage = domStorage; 506 507 WebInspector.SidebarTreeElement.call(this, "domstorage-sidebar-tree-item " + className, domStorage, "", null, false); 508 509 this.refreshTitles(); 510 } 511 512 WebInspector.DOMStorageSidebarTreeElement.prototype = { 507 this._storagePanel.showDatabase(this._database, this._tableName); 508 } 509 } 510 WebInspector.DatabaseTableTreeElement.prototype.__proto__ = WebInspector.BaseStorageTreeElement.prototype; 511 512 WebInspector.DOMStorageTreeElement = function(storagePanel, domStorage, className) 513 { 514 WebInspector.BaseStorageTreeElement.call(this, storagePanel, domStorage.domain ? domStorage.domain : WebInspector.UIString("Local Files"), "domstorage-storage-tree-item " + className); 515 this._domStorage = domStorage; 516 } 517 518 WebInspector.DOMStorageTreeElement.prototype = { 513 519 onselect: function() 514 520 { 515 WebInspector.panels.storage.showDOMStorage(this.domStorage); 516 }, 517 518 get mainTitle() 519 { 520 return this.domStorage.domain ? this.domStorage.domain : WebInspector.UIString("Local Files"); 521 }, 522 523 set mainTitle(x) 524 { 525 // Do nothing. 526 }, 527 528 get subtitle() 529 { 530 return ""; //this.database.displayDomain; 531 }, 532 533 set subtitle(x) 534 { 535 // Do nothing. 536 } 537 } 538 539 WebInspector.DOMStorageSidebarTreeElement.prototype.__proto__ = WebInspector.SidebarTreeElement.prototype; 540 541 WebInspector.CookieSidebarTreeElement = function(cookieDomain) 542 { 543 WebInspector.SidebarTreeElement.call(this, "cookie-sidebar-tree-item", cookieDomain, "", null, false); 521 this._storagePanel.showDOMStorage(this._domStorage); 522 } 523 } 524 WebInspector.DOMStorageTreeElement.prototype.__proto__ = WebInspector.BaseStorageTreeElement.prototype; 525 526 WebInspector.CookieTreeElement = function(storagePanel, cookieDomain) 527 { 528 WebInspector.BaseStorageTreeElement.call(this, storagePanel, cookieDomain ? cookieDomain : WebInspector.UIString("Local Files"), "cookie-storage-tree-item"); 544 529 this._cookieDomain = cookieDomain; 545 this._subtitle = ""; 546 547 this.refreshTitles(); 548 } 549 550 WebInspector.CookieSidebarTreeElement.prototype = { 530 } 531 532 WebInspector.CookieTreeElement.prototype = { 551 533 onselect: function() 552 534 { 553 WebInspector.panels.storage.showCookies(this, this._cookieDomain); 554 }, 555 556 get mainTitle() 557 { 558 return this._cookieDomain ? this._cookieDomain : WebInspector.UIString("Local Files"); 559 }, 560 561 set mainTitle(x) 562 { 563 // Do nothing. 564 }, 565 566 get subtitle() 567 { 568 return this._subtitle; 569 }, 570 571 set subtitle(x) 572 { 573 this._subtitle = x; 574 this.refreshTitles(); 575 } 576 } 577 578 WebInspector.CookieSidebarTreeElement.prototype.__proto__ = WebInspector.SidebarTreeElement.prototype; 579 580 WebInspector.ApplicationCacheSidebarTreeElement = function(appcacheDomain) 581 { 582 WebInspector.SidebarTreeElement.call(this, "application-cache-sidebar-tree-item", appcacheDomain, "", null, false); 535 this._storagePanel.showCookies(this, this._cookieDomain); 536 } 537 } 538 WebInspector.CookieTreeElement.prototype.__proto__ = WebInspector.BaseStorageTreeElement.prototype; 539 540 WebInspector.ApplicationCacheTreeElement = function(storagePanel, appcacheDomain) 541 { 542 WebInspector.BaseStorageTreeElement.call(this, storagePanel, appcacheDomain ? appcacheDomain : WebInspector.UIString("Local Files"), "application-cache-storage-tree-item"); 583 543 this._appcacheDomain = appcacheDomain; 584 this._subtitle = ""; 585 this._mainTitle = this._appcacheDomain; 586 this.refreshTitles(); 587 } 588 589 WebInspector.ApplicationCacheSidebarTreeElement.prototype = { 544 } 545 546 WebInspector.ApplicationCacheTreeElement.prototype = { 590 547 onselect: function() 591 548 { 592 WebInspector.panels.storage.showApplicationCache(this, this._appcacheDomain); 593 }, 594 595 get mainTitle() 596 { 597 return this._mainTitle; 598 }, 599 600 set mainTitle(x) 601 { 602 this._mainTitle = x; 603 this.refreshTitles(); 604 }, 605 606 get subtitle() 607 { 608 return this._subtitle; 609 }, 610 611 set subtitle(x) 612 { 613 this._subtitle = x; 614 this.refreshTitles(); 615 } 616 } 617 618 WebInspector.ApplicationCacheSidebarTreeElement.prototype.__proto__ = WebInspector.SidebarTreeElement.prototype; 549 this._storagePanel.showApplicationCache(this, this._appcacheDomain); 550 } 551 } 552 WebInspector.ApplicationCacheTreeElement.prototype.__proto__ = WebInspector.BaseStorageTreeElement.prototype; 553 554 WebInspector.StorageCategoryView = function() 555 { 556 WebInspector.View.call(this); 557 558 this.element.addStyleClass("storage-view"); 559 560 this._emptyMsgElement = document.createElement("div"); 561 this._emptyMsgElement.className = "storage-empty-view"; 562 this.element.appendChild(this._emptyMsgElement); 563 } 564 565 WebInspector.StorageCategoryView.prototype = { 566 setText: function(text) 567 { 568 this._emptyMsgElement.textContent = text; 569 } 570 } 571 572 WebInspector.StorageCategoryView.prototype.__proto__ = WebInspector.View.prototype; -
trunk/WebCore/inspector/front-end/inspector.css
r69954 r70214 716 716 } 717 717 718 .console-message.repeated-message > ol.stack-trace {719 margin-top: -14px;720 margin-left: 18px;721 }722 723 718 .console-group-messages .section .header .title { 724 719 color: black; … … 1191 1186 } 1192 1187 1193 .stack-trace li.parent::before,1194 1188 .outline-disclosure li.parent::before { 1195 1189 content: url(Images/treeRightTriangleBlack.png); … … 1201 1195 } 1202 1196 1203 .stack-trace li.parent::before,1204 1197 .outline-disclosure li.parent::before { 1205 1198 content: url(Images/treeRightTriangleBlack.png); 1206 1199 } 1207 1200 1208 .stack-trace ol:focus li.parent.selected::before,1209 1201 .outline-disclosure ol:focus li.parent.selected::before { 1210 1202 content: url(Images/treeRightTriangleWhite.png); 1211 1203 } 1212 1204 1213 .stack-trace li.parent.expanded::before,1214 1205 .outline-disclosure li.parent.expanded::before { 1215 1206 content: url(Images/treeDownTriangleBlack.png); 1216 1207 } 1217 1208 1218 .stack-trace ol:focus li.parent.expanded.selected::before,1219 1209 .outline-disclosure ol:focus li.parent.expanded.selected::before { 1220 1210 content: url(Images/treeDownTriangleWhite.png); 1221 1211 } 1222 1212 1223 .stack-trace ol.children,1224 1213 .outline-disclosure ol.children { 1225 1214 display: none; 1226 1215 } 1227 1216 1228 .stack-trace ol.children.expanded,1229 1217 .outline-disclosure ol.children.expanded { 1230 1218 display: block; … … 1431 1419 } 1432 1420 1433 .properties-tree ol , .stack-trace ol, ol.stack-trace{1421 .properties-tree ol { 1434 1422 display: none; 1435 1423 margin: 0; … … 1438 1426 } 1439 1427 1440 .properties-tree ol.expanded , .stack-trace ol, ol.stack-trace{1428 .properties-tree ol.expanded { 1441 1429 display: block; 1442 }1443 1444 ol.stack-trace {1445 -webkit-padding-start: 0px;1446 1430 } 1447 1431 … … 1898 1882 } 1899 1883 1900 .database-s idebar-tree-item .icon {1884 .database-storage-tree-item .icon { 1901 1885 content: url(Images/database.png); 1902 1886 } 1903 1887 1904 .database-table-s idebar-tree-item .icon {1888 .database-table-storage-tree-item .icon { 1905 1889 content: url(Images/databaseTable.png); 1906 1890 } 1907 1891 1908 .domstorage-s idebar-tree-item.local-storage .icon {1892 .domstorage-storage-tree-item.local-storage .icon { 1909 1893 content: url(Images/localStorage.png); 1910 1894 } 1911 1895 1912 .domstorage-s idebar-tree-item.session-storage .icon {1896 .domstorage-storage-tree-item.session-storage .icon { 1913 1897 content: url(Images/sessionStorage.png); 1914 1898 } 1915 1899 1916 .cookie-s idebar-tree-item .icon {1900 .cookie-storage-tree-item .icon { 1917 1901 content: url(Images/cookie.png); 1918 1902 } 1919 1903 1920 .application-cache-s idebar-tree-item .icon {1904 .application-cache-storage-tree-item .icon { 1921 1905 content: url(Images/applicationCache.png); 1922 1906 } … … 1928 1912 left: 200px; 1929 1913 bottom: 0; 1914 } 1915 1916 .storage.panel .sidebar { 1917 border-left: rgb(232, 232, 232); 1918 background-color: transparent; 1919 overflow-x: auto; 1920 } 1921 1922 .storage.panel .outline-disclosure > ol { 1923 margin-left: -12px; 1924 padding-right: 0px !important; 1925 } 1926 1927 .storage.panel .outline-disclosure li { 1928 white-space: nowrap; 1929 } 1930 1931 .storage.panel .outline-disclosure li .selection { 1932 height: 17px; 1933 margin-left: -100px; 1934 display: inline-block; 1935 } 1936 1937 .storage.panel .sidebar-resizer-vertical { 1938 background: rgb(220, 220, 220); 1939 border-left: 1px solid gray; 1940 border-right: 1px solid gray; 1941 } 1942 1943 .storage-base-tree-element-title { 1944 position: relative; 1945 bottom: 4px; 1946 left: 3px; 1947 } 1948 1949 .storage.panel .outline-disclosure ol { 1950 -webkit-padding-start: 14px; 1951 } 1952 1953 .storage.panel .outline-disclosure li.selected { 1954 color: white; 1955 background-color: transparent; 1956 } 1957 1958 .storage.panel .outline-disclosure .icon { 1959 width: 16px; 1960 height: 16px; 1961 display: inline-block; 1930 1962 } 1931 1963 … … 1953 1985 } 1954 1986 1955 .storage- view.table .storage-table-empty, .storage-view.table .storage-table-error {1987 .storage-empty-view, .storage-view.table .storage-table-error { 1956 1988 position: absolute; 1957 1989 top: 0;
Note: See TracChangeset
for help on using the changeset viewer.