Changeset 220710 in webkit
- Timestamp:
- Aug 14, 2017 10:56:56 AM (7 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r220614 r220710 1 2017-08-14 Matt Baker <mattbaker@apple.com> 2 3 Web Inspector: Remove text-shadow and gradient backgrounds 4 https://bugs.webkit.org/show_bug.cgi?id=175430 5 6 Reviewed by Brian Burg. 7 8 Inspector should more closely match flat system look. Remove text-shadow 9 embossing and replace linear gradients in popover backgrounds and selected 10 tree item background color. 11 12 * UserInterface/Views/CSSStyleDetailsSidebarPanel.css: 13 (.sidebar > .panel.details.css-style > .content > .pseudo-classes > .group > label): 14 * UserInterface/Views/CompletionSuggestionsView.css: 15 (.completion-suggestions-container:not(:active) > .item.selected,): 16 * UserInterface/Views/DebuggerDashboardView.css: 17 (.toolbar .dashboard.debugger): 18 * UserInterface/Views/HierarchicalPathComponent.css: 19 (.hierarchical-path-component > .title): 20 * UserInterface/Views/Main.css: 21 (.bouncy-highlight): 22 * UserInterface/Views/NavigationSidebarPanel.css: 23 (.sidebar > .panel.navigation > .content .empty-content-placeholder > .message): 24 * UserInterface/Views/Popover.js: 25 (WI.Popover.prototype._drawBackground): 26 * UserInterface/Views/RecordingTraceDetailsSidebarPanel.css: 27 (.sidebar > .details.recording-trace > .content > .no-trace-data > .message): 28 * UserInterface/Views/RulesStyleDetailsPanel.css: 29 (.sidebar > .panel.details.css-style .rules .label): 30 (.sidebar > .panel.details.css-style > .content.filter-in-progress > .rules.filter-non-matching > .no-filter-results > .no-filter-results-message): 31 (@media (-webkit-min-device-pixel-ratio: 2)): Deleted. 32 (.sidebar > .panel.details.css-style > .content.filter-in-progress > .rules .label.filter-matching-label,): Deleted. 33 * UserInterface/Views/RulesStyleSpreadsheetDetailsPanel.css: 34 (.style-spreadsheet .inherited): 35 * UserInterface/Views/TimelineDataGrid.css: 36 (.tree-outline.timeline-data-grid .item:hover): 37 * UserInterface/Views/TimelineDataGrid.js: 38 (WI.TimelineDataGrid.prototype._createPopoverContent): 39 * UserInterface/Views/Variables.css: 40 (:root): 41 1 42 2017-08-11 Nikita Vasilyev <nvasilyev@apple.com> 2 43 -
trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDetailsSidebarPanel.css
r215192 r220710 56 56 .sidebar > .panel.details.css-style > .content > .pseudo-classes > .group > label { 57 57 color: hsl(0, 0%, 37%); 58 text-shadow: white 0 1px 0;59 58 60 59 margin: 0 5px; -
trunk/Source/WebInspectorUI/UserInterface/Views/CompletionSuggestionsView.css
r217229 r220710 73 73 .completion-suggestions-container:not(:active) > .item.selected, 74 74 .completion-suggestions-container > .item:active { 75 box-shadow: inset hsl(207, 54%, 57%) 0 1px 0; 76 background: linear-gradient(to bottom, hsl(207, 57%, 63%), hsl(207, 66%, 42%)); 77 75 background-color: var(--selected-background-color); 78 76 color: white; 79 text-shadow: hsl(209, 41%, 34%) 0 1px 0;80 77 } -
trunk/Source/WebInspectorUI/UserInterface/Views/DebuggerDashboardView.css
r214899 r220710 30 30 31 31 text-align: center; 32 text-shadow: hsla(0, 0%, 100%, 0.5) 0 1px 0;33 32 color: hsl(0, 0%, 23%); 34 33 -
trunk/Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css
r212688 r220710 92 92 vertical-align: top; 93 93 94 text-shadow: hsla(0, 0%, 100%, 0.5) 0 1px 0;95 94 line-height: 20px; 96 95 height: 20px; -
trunk/Source/WebInspectorUI/UserInterface/Views/Main.css
r220114 r220710 327 327 328 328 box-shadow: inset hsl(50, 91%, 76%) 0 -1px 0, hsl(52, 56%, 60%) 0 1px 1px, hsla(0, 0%, 0%, 0.33) 0 1px 2px 1px; 329 text-shadow: white 0 0 2px; 330 331 background: linear-gradient(to bottom, hsl(54, 93%, 70%), hsl(50, 84%, 67%)); 332 border-radius: 7px; 329 330 background-color: hsl(54, 93%, 70%); 333 331 334 332 padding: 2px 4px; -
trunk/Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.css
r218975 r220710 71 71 white-space: nowrap; 72 72 73 font-size: 13px; 73 font-size: var(--sidebar-no-results-message-font-size); 74 color: var(--text-color-gray-medium); 74 75 75 color: white;76 background-color: hsla(0, 0%, 0%, 0.15);77 text-shadow: hsla(0, 0%, 0%, 0.2) 0 1px 0;78 box-shadow: inset hsla(0, 0%, 0%, 0.2) 0 1px 0, hsla(0, 0%, 100%, 0.4) 0 1px 0;79 80 border-radius: 6px;81 76 padding: 5px 15px 6px; 82 77 } -
trunk/Source/WebInspectorUI/UserInterface/Views/Popover.js
r220119 r220710 423 423 ctx.clip(); 424 424 425 // Gradient fill, top-to-bottom. 426 var fillGradient = ctx.createLinearGradient(0, 0, 0, height); 427 fillGradient.addColorStop(0, "rgba(255, 255, 255, 0.95)"); 428 fillGradient.addColorStop(1, "rgba(235, 235, 235, 0.95)"); 429 ctx.fillStyle = fillGradient; 425 // Panel background color fill. 426 ctx.fillStyle = "rgb(236, 236, 236)"; 430 427 ctx.fillRect(0, 0, width, height); 431 428 -
trunk/Source/WebInspectorUI/UserInterface/Views/RecordingTraceDetailsSidebarPanel.css
r220188 r220710 45 45 display: inline-block; 46 46 padding: 5px 15px 6px; 47 font-size: 13px;47 font-size: var(--sidebar-no-results-message-font-size); 48 48 white-space: nowrap; 49 color: white; 50 text-shadow: hsla(0, 0%, 0%, 0.2) 0 1px 0; 51 background-color: hsla(0, 0%, 0%, 0.15); 52 box-shadow: inset hsla(0, 0%, 0%, 0.2) 0 1px 0, hsla(0, 0%, 100%, 0.4) 0 1px 0; 53 border-radius: 6px; 49 color: var(--text-color-gray-medium); 54 50 } -
trunk/Source/WebInspectorUI/UserInterface/Views/RulesStyleDetailsPanel.css
r216692 r220710 30 30 .sidebar > .panel.details.css-style .rules .label { 31 31 color: hsl(0, 0%, 60%); 32 text-shadow: white 0 1px 0;33 32 padding: 0 8px; 34 33 } … … 84 83 85 84 .sidebar > .panel.details.css-style > .content.filter-in-progress > .rules.filter-non-matching > .no-filter-results > .no-filter-results-message { 86 font-size: 13px;87 color: white;88 background-color: hsla(0, 0%, 0%, 0.15);89 text-shadow: hsla(0, 0%, 0%, 0.2) 0 1px 0;90 box-shadow: inset hsla(0, 0%, 0%, 0.2) 0 1px 0, hsla(0, 0%, 100%, 0.4) 0 1px 0;91 border-radius: 6px;92 85 padding: 5px 15px 6px; 86 font-size: var(--sidebar-no-results-message-font-size); 87 color: var(--text-color-gray-medium); 93 88 } 94 95 @media (-webkit-min-device-pixel-ratio: 2) {96 .sidebar > .panel.details.css-style > .content.filter-in-progress > .rules .label.filter-matching-label,97 .no-filter-results-message {98 border-width: 0.5px !important;99 }100 } -
trunk/Source/WebInspectorUI/UserInterface/Views/RulesStyleSpreadsheetDetailsPanel.css
r220462 r220710 105 105 .style-spreadsheet .inherited { 106 106 color: hsl(0, 0%, 60%); 107 text-shadow: white 0 1px 0;108 107 padding: 4px 6px; 109 108 border-bottom: 0.5px solid hsla(0, 0%, 0%, 0.2); -
trunk/Source/WebInspectorUI/UserInterface/Views/TimelineDataGrid.css
r203843 r220710 25 25 26 26 .tree-outline.timeline-data-grid .item:hover { 27 border-radius: 3px; 27 28 color: white; 28 border-radius: 4px; 29 box-shadow: inset hsl(207, 54%, 57%) 0 1px 0; 30 background: linear-gradient(to bottom, hsl(207, 57%, 63%), hsl(207, 66%, 42%)); 31 background-origin: padding-box; 32 background-clip: padding-box; 33 text-shadow: hsl(209, 41%, 34%) 0 1px 0; 29 background-color: var(--selected-background-color); 34 30 } 35 31 -
trunk/Source/WebInspectorUI/UserInterface/Views/TimelineDataGrid.js
r220119 r220710 503 503 } 504 504 505 var content = document.createElement("div"); 506 content.className = "timeline-data-grid-popover"; 505 let content = document.createElement("div"); 507 506 content.appendChild(this._popoverCallStackTreeOutline.element); 508 507 return content; -
trunk/Source/WebInspectorUI/UserInterface/Views/Variables.css
r220114 r220710 53 53 --button-background-color-pressed: hsl(0, 0%, 85%); 54 54 55 --panel-background-color: hsl(0, 0%, 9 4%);55 --panel-background-color: hsl(0, 0%, 93%); 56 56 --panel-background-color-light: hsl(0, 0%, 96%); 57 57 … … 59 59 --console-prompt-min-height: 30px; 60 60 61 --text-color-gray-medium: hsl(0, 0%, 50%); 61 --sidebar-no-results-message-font-size: 16px; 62 63 --text-color-gray-medium: hsl(0, 0%, 52%); 62 64 --error-text-color: hsl(0, 86%, 47%); 63 65
Note: See TracChangeset
for help on using the changeset viewer.