Changeset 204152 in webkit
- Timestamp:
- Aug 4, 2016, 4:46:07 PM (9 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r204136 r204152 1 2016-08-04 Matt Baker <mattbaker@apple.com> 2 3 Web Inspector: UI polish for Edit Breakpoint dialog 4 https://bugs.webkit.org/show_bug.cgi?id=160566 5 <rdar://problem/27706378> 6 7 Reviewed by Timothy Hatcher. 8 9 * UserInterface/Images/BreakpointActionAdd.svg: Removed. 10 * UserInterface/Images/BreakpointActionRemove.svg: Removed. 11 Use Plus13.svg and Minus.svg instead. 12 13 * UserInterface/Views/BreakpointActionView.css: 14 (.breakpoint-action-button-container): 15 (.breakpoint-action-append-button,): 16 (.breakpoint-action-append-button): 17 (.breakpoint-action-remove-button): 18 Button styles should match Xcode. 19 (.breakpoint-action-append-button:active,): Deleted. 20 Brightness on activation no longer needed. 21 22 * UserInterface/Views/BreakpointActionView.js: 23 (WebInspector.BreakpointActionView): 24 Add a button container so buttons can float together. 25 26 * UserInterface/Views/BreakpointPopoverController.css: 27 (.wide .edit-breakpoint-popover-condition > .CodeMirror): 28 Increase condition field width by the same amount as the popover. 29 1 30 2016-08-04 Matt Baker <mattbaker@apple.com> 2 31 -
trunk/Source/WebInspectorUI/UserInterface/Views/BreakpointActionView.css
r196404 r204152 28 28 } 29 29 30 .breakpoint-action-button-container { 31 float: right; 32 } 33 30 34 .breakpoint-action-append-button, 31 35 .breakpoint-action-remove-button { 32 border: 1px solid hsl(0, 0%, 66%);33 border-radius: 10px;34 background-size: 16px 16px;35 36 background-origin: border-box; 36 width: 16px; 37 height: 16px; 38 float: right; 39 margin-left: 2px; 37 width: 13px; 38 height: 13px; 39 margin-left: 5px; 40 40 margin-top: 2px; 41 } 42 43 .breakpoint-action-append-button:active, 44 .breakpoint-action-remove-button:active { 45 filter: brightness(50%); 41 background-color: transparent; 42 border: none; 43 opacity: 0.6; 46 44 } 47 45 48 46 .breakpoint-action-append-button { 49 background-image: url(../Images/ BreakpointActionAdd.svg), linear-gradient(to bottom, hsl(0, 0%, 98%), hsl(0, 0%, 78%));47 background-image: url(../Images/Plus13.svg); 50 48 } 51 49 52 50 .breakpoint-action-remove-button { 53 background-image: url(../Images/ BreakpointActionRemove.svg), linear-gradient(to bottom, hsl(0, 0%, 98%), hsl(0, 0%, 78%));51 background-image: url(../Images/Minus.svg); 54 52 } 55 53 -
trunk/Source/WebInspectorUI/UserInterface/Views/BreakpointActionView.js
r201620 r204152 55 55 } 56 56 57 var appendActionButton = header.appendChild(document.createElement("button")); 57 let buttonContainerElement = header.appendChild(document.createElement("div")); 58 buttonContainerElement.classList.add("breakpoint-action-button-container"); 59 60 let appendActionButton = buttonContainerElement.appendChild(document.createElement("button")); 58 61 appendActionButton.className = "breakpoint-action-append-button"; 59 62 appendActionButton.addEventListener("click", this._appendActionButtonClicked.bind(this)); 60 63 appendActionButton.title = WebInspector.UIString("Add new breakpoint action after this action"); 61 64 62 var removeActionButton = header.appendChild(document.createElement("button"));65 let removeActionButton = buttonContainerElement.appendChild(document.createElement("button")); 63 66 removeActionButton.className = "breakpoint-action-remove-button"; 64 67 removeActionButton.addEventListener("click", this._removeAction.bind(this)); -
trunk/Source/WebInspectorUI/UserInterface/Views/BreakpointPopoverController.css
r196185 r204152 71 71 } 72 72 73 .wide .edit-breakpoint-popover-condition > .CodeMirror { 74 width: 360px; /* NOTE: Fixed value, manually tuned to .edit-breakpoint-popover-content width. */ 75 } 76 73 77 #edit-breakpoint-popover-ignore { 74 78 width: 40px;
Note:
See TracChangeset
for help on using the changeset viewer.