Changeset 250859 in webkit
- Timestamp:
- Oct 8, 2019 2:09:17 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r250858 r250859 1 2019-10-08 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: Canvas: make it more obvious that the cards in the overview are clickable 4 https://bugs.webkit.org/show_bug.cgi?id=202680 5 6 Reviewed by Matt Baker. 7 8 Add a slight darkening (or lightening when in dark mode) of the background behind the 9 content preview in the overview. 10 11 * UserInterface/Views/CanvasOverviewContentView.css: 12 (.content-view.canvas-overview .content-view.canvas): 13 (.content-view.canvas-overview .content-view.canvas, .content-view.canvas-overview .content-view.canvas > .preview > img): Added. 14 (.content-view.canvas-overview .content-view.canvas.recording-active > .progress-view, .content-view.canvas-overview .content-view.canvas > .preview): 15 (.content-view.canvas-overview .content-view.canvas.recording-active > .progress-view:hover, .content-view.canvas-overview .content-view.canvas > .preview:hover): Added. 16 (@media (prefers-color-scheme: dark) .content-view.canvas-overview .content-view.canvas, .content-view.canvas-overview .content-view.canvas > .preview > img): Added. 17 (@media (prefers-color-scheme: dark) .content-view.canvas-overview .content-view.canvas.recording-active > .progress-view:hover, .content-view.canvas-overview .content-view.canvas > .preview:hover): Added. 18 1 19 2019-10-08 Devin Rousso <drousso@apple.com> 2 20 -
trunk/Source/WebInspectorUI/UserInterface/Views/CanvasOverviewContentView.css
r246953 r250859 36 36 margin: var(--item-margin); 37 37 width: 400px; 38 background-color: white;39 }40 41 .content-view.canvas-overview .content-view.canvas {42 38 border: 1px solid var(--border-color); 43 39 cursor: pointer; 40 } 41 42 .content-view.canvas-overview .content-view.canvas, 43 .content-view.canvas-overview .content-view.canvas > .preview > img { 44 background-color: white; 44 45 } 45 46 … … 125 126 .content-view.canvas-overview .content-view.canvas > .preview { 126 127 height: 280px; 128 transition: background-color 200ms ease-in-out; 129 } 130 131 .content-view.canvas-overview .content-view.canvas.recording-active > .progress-view:hover, 132 .content-view.canvas-overview .content-view.canvas > .preview:hover { 133 background-color: hsl(0, 0%, 96%); 127 134 } 128 135 … … 207 214 } 208 215 209 .content-view.canvas-overview .content-view.canvas { 216 .content-view.canvas-overview .content-view.canvas, 217 .content-view.canvas-overview .content-view.canvas > .preview > img { 210 218 background-color: var(--background-color-secondary); 219 } 220 221 .content-view.canvas-overview .content-view.canvas.recording-active > .progress-view:hover, 222 .content-view.canvas-overview .content-view.canvas > .preview:hover { 223 background-color: var(--background-color-tertiary); 211 224 } 212 225
Note: See TracChangeset
for help on using the changeset viewer.