Changeset 71139 in webkit
- Timestamp:
- Nov 2, 2010 11:31:44 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r71138 r71139 1 2010-11-02 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Timothy Hatcher. 4 5 Web Inspector: make properties and event listeners look consistent with the styles section. 6 https://bugs.webkit.org/show_bug.cgi?id=48827 7 8 * inspector/front-end/EventListenersSidebarPane.js: 9 * inspector/front-end/PropertiesSection.js: 10 (WebInspector.PropertiesSection): 11 * inspector/front-end/PropertiesSidebarPane.js: 12 (WebInspector.PropertiesSidebarPane.prototype.update.callback): 13 (WebInspector.PropertiesSidebarPane.prototype.update): 14 * inspector/front-end/inspector.css: 15 (.events-pane .section:not(:nth-of-type(1))): 16 (.event-bar:first-child): 17 (.section .header): 18 (.section .header::before): 19 (.section.expanded .header::before): 20 (.section .header .title, .event-bar .header .title): 21 (.section .header .subtitle, .event-bar .header .subtitle): 22 (.section.expanded .properties, .event-bar.expanded .event-properties): 23 (.properties-tree): 24 (.event-bar): 25 (.event-bars .event-bar .header): 26 (.event-bars .event-bar .header .title): 27 (.event-bars .event-bar .header::before): 28 1 29 2010-11-02 Dan Bernstein <mitz@apple.com> 2 30 -
trunk/WebCore/inspector/front-end/EventListenersSidebarPane.js
r71109 r71139 152 152 var eventListener = filteredEventListeners[i]; 153 153 var eventListenerBar = new WebInspector.EventListenerBar(eventListener, this._nodeId); 154 if (i < length - 1) {155 var connector = document.createElement("div");156 connector.className = "event-bar-connector";157 eventListenerBar.element.appendChild(connector);158 }159 160 154 this.eventBars.appendChild(eventListenerBar.element); 161 155 } … … 179 173 this.editable = false; 180 174 this.element.className = "event-bar"; /* Changed from "section" */ 175 this.headerElement.addStyleClass("source-code"); 181 176 this.propertiesElement.className = "event-properties properties-tree source-code"; /* Changed from "properties" */ 182 177 } -
trunk/WebCore/inspector/front-end/PropertiesSidebarPane.js
r65499 r71139 55 55 if (title.match(/Prototype$/)) 56 56 title = title.replace(/Prototype$/, ""); 57 var section = new WebInspector.ObjectPropertiesSection(prototype, title , WebInspector.UIString("Prototype"));57 var section = new WebInspector.ObjectPropertiesSection(prototype, title); 58 58 self.sections.push(section); 59 59 body.appendChild(section.element); -
trunk/WebCore/inspector/front-end/inspector.css
r71109 r71139 1312 1312 } 1313 1313 1314 .section:nth-last-of-type(1), .event-bar:nth-last-of-type(1) {1315 margin-bottom: 1px;1316 }1317 1318 1314 .watch-expressions-buttons-container { 1319 1315 text-align: center; 1320 1316 } 1321 1317 1318 .events-pane .section:not(:nth-of-type(1)) { 1319 border-top: 1px solid rgb(191, 191, 191); 1320 } 1321 1322 1322 .event-bar:first-child { 1323 1323 margin-top: 1px; 1324 1324 } 1325 1325 1326 .event-bar:nth-last-of-type(1) .header {1327 border-bottom: 1px solid rgb(163, 163, 163);1328 }1329 1330 1326 .section .header { 1331 padding: 2px 8px 4px 18px; 1332 border-top: 1px solid rgb(145, 160, 192); 1333 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(162, 177, 207)), to(rgb(120, 138, 177))); 1327 color: rgb(50, 50, 50); 1328 padding: 0 8px 0 18px; 1334 1329 min-height: 18px; 1335 1330 white-space: nowrap; 1336 1331 -webkit-background-origin: padding; 1337 1332 -webkit-background-clip: padding; 1333 opacity: 0.8; 1338 1334 } 1339 1335 1340 1336 .section .header::before { 1341 1337 position: absolute; 1342 top: 4px;1338 top: 2px; 1343 1339 left: 7px; 1344 1340 width: 8px; 1345 1341 height: 8px; 1346 content: url(Images/treeRightTriangle White.png);1342 content: url(Images/treeRightTriangleBlack.png); 1347 1343 } 1348 1344 1349 1345 .section.expanded .header::before { 1350 content: url(Images/treeDownTriangle White.png);1346 content: url(Images/treeDownTriangleBlack.png); 1351 1347 } 1352 1348 1353 1349 .section .header .title, .event-bar .header .title { 1354 color: white;1355 1350 font-weight: bold; 1356 1351 word-wrap: break-word; 1357 1352 white-space: normal; 1353 font-size: 12px; 1358 1354 } 1359 1355 … … 1372 1368 .section .header .subtitle, .event-bar .header .subtitle { 1373 1369 float: right; 1374 font-size: 1 0px;1370 font-size: 12px; 1375 1371 margin-left: 5px; 1376 1372 max-width: 55%; 1377 color: rgba(255, 255, 255, 0.7);1378 1373 text-overflow: ellipsis; 1379 1374 overflow: hidden; … … 1390 1385 .section.expanded .properties, .event-bar.expanded .event-properties { 1391 1386 display: block; 1387 padding-left: 18px; 1392 1388 } 1393 1389 … … 1402 1398 .properties-tree { 1403 1399 margin: 0; 1404 padding: 2px 6px 3px;1400 padding: 0 6px 2px; 1405 1401 list-style: none; 1406 1402 min-height: 18px; … … 1480 1476 .event-bar { 1481 1477 position: relative; 1482 } 1483 1484 .event-bar-connector { 1485 position: absolute; 1486 left: 75%; 1487 bottom: -7px; 1488 margin-left: -7px; 1489 content: url(Images/grayConnectorPoint.png); 1490 z-index: 3; 1491 } 1492 1493 .event-bar.expanded .event-bar-connector { 1494 content: url(Images/whiteConnectorPoint.png); 1478 left: 12px; 1495 1479 } 1496 1480 1497 1481 .event-bars .event-bar .header { 1498 padding: 2px 8px 4px 18px; 1499 border-top: 1px solid rgb(163, 163, 163); 1500 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(243, 243, 243)), to(rgb(207, 207, 207))); 1501 min-height: 18px; 1482 padding: 0 8px 0 18px; 1483 min-height: 16px; 1484 opacity: 1.0; 1502 1485 white-space: nowrap; 1503 1486 -webkit-background-origin: padding; … … 1505 1488 } 1506 1489 1507 .event-bars .event-bar.expanded .header {1508 border-bottom: 1px solid rgb(163, 163, 163);1509 }1510 1511 1490 .event-bars .event-bar .header .title { 1512 font-weight: bold;1491 font-weight: normal; 1513 1492 color: #333; 1514 1493 text-shadow: white 0 1px 0; … … 1521 1500 .event-bars .event-bar .header::before { 1522 1501 position: absolute; 1523 top: 4px;1502 top: 0; 1524 1503 left: 7px; 1525 1504 width: 8px; -
trunk/WebKit/chromium/ChangeLog
r71077 r71139 1 2010-11-02 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Timothy Hatcher. 4 5 Web Inspector: make properties and event listeners look consistent with the styles section. 6 https://bugs.webkit.org/show_bug.cgi?id=48827 7 8 * src/js/devTools.css: 9 1 10 2010-11-01 Tony Chang <tony@chromium.org> 2 11 -
trunk/WebKit/chromium/src/js/devTools.css
r66752 r71139 36 36 font-weight: normal; 37 37 line-height: 12px; 38 }39 40 .section > .header {41 border: 1px solid rgb(92, 116, 157);42 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(105, 133, 180)), to(rgb(92, 116, 157)));43 38 } 44 39
Note: See TracChangeset
for help on using the changeset viewer.