Changeset 246666 in webkit
- Timestamp:
- Jun 20, 2019 5:54:10 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r246659 r246666 1 2019-06-20 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: Dark Mode: inactive tab bar item should get darker on hover 4 https://bugs.webkit.org/show_bug.cgi?id=199022 5 6 Reviewed by Darin Adler. 7 8 * UserInterface/Views/TabBar.css: 9 (.tab-bar:not(.animating) > .item:not(.selected, .disabled):hover): 10 (@media not (prefers-color-scheme: dark) .tab-bar:not(.animating) > .item:not(.selected, .disabled):hover > .icon): 11 (@media (prefers-color-scheme: dark) .tab-bar): 12 (@media (prefers-color-scheme: dark) .tab-bar > .item): 13 (@media (prefers-color-scheme: dark) .tab-bar > .item:not(.disabled).selected): 14 (@media (prefers-color-scheme: dark) .tab-bar:not(.animating) > .item:not(.selected):hover): 15 (@media (prefers-color-scheme: dark) body.window-inactive .tab-bar): 16 (@media (prefers-color-scheme: dark) body.window-inactive .tab-bar > .item): 17 (@media (prefers-color-scheme: dark) body.window-inactive .tab-bar > .item.selected): 18 19 * UserInterface/Views/Toolbar.css: 20 (@media (prefers-color-scheme: dark) body .toolbar): 21 1 22 2019-06-20 Devin Rousso <drousso@apple.com> 2 23 -
trunk/Source/WebInspectorUI/UserInterface/Views/TabBar.css
r246120 r246666 139 139 140 140 .tab-bar:not(.animating) > .item:not(.selected, .disabled):hover { 141 background- position: 0 100%;141 background-image: linear-gradient(to bottom, hsl(0, 0%, 67%), hsl(0, 0%, 64%)); 142 142 border-top-color: var(--tab-item-dark-border-color); 143 143 } … … 252 252 } 253 253 254 .tab-bar:not(.animating) > .item:not(.selected, .disabled):hover > .icon { 255 opacity: 0.6; 254 @media not (prefers-color-scheme: dark) { 255 .tab-bar:not(.animating) > .item:not(.selected, .disabled):hover > .icon { 256 opacity: 0.6; 257 } 256 258 } 257 259 … … 361 363 @media (prefers-color-scheme: dark) { 362 364 .tab-bar { 363 background-image: none; 364 background-color: hsl(0, 0%, 23%); 365 background-image: linear-gradient(to bottom, hsl(0, 0%, 12%), hsl(0, 0%, 10%)); 365 366 366 367 --tab-item-border-color: hsl(0, 0%, 36%); … … 374 375 375 376 .tab-bar > .item { 376 background-image: none; 377 background-color: hsl(0, 0%, 10%); 377 background-image: linear-gradient(to bottom, hsl(0, 0%, 12%), hsl(0, 0%, 10%)); 378 378 } 379 379 … … 383 383 384 384 .tab-bar > .item:not(.disabled).selected { 385 background-image: none; 386 background-color: hsl(0, 0%, 21%); 385 background-image: linear-gradient(to bottom, hsl(0, 0%, 23%), hsl(0, 0%, 21%)); 387 386 border-top-color: hsl(0, 0%, 37%); 388 387 } 389 388 390 389 .tab-bar:not(.animating) > .item:not(.selected):hover { 391 background- color: hsl(0, 0%, 15%);390 background-image: linear-gradient(to bottom, hsl(0, 0%, 11%), hsl(0, 0%, 9%)); 392 391 } 393 392 … … 402 401 403 402 background-image: none !important; 404 background-color: hsl(0, 0%, 1 7%) !important;403 background-color: hsl(0, 0%, 13%) !important; 405 404 } 406 405 407 406 body.window-inactive .tab-bar > .item { 408 407 background-image: none !important; 409 background-color: hsl(0, 0%, 1 7%) !important;408 background-color: hsl(0, 0%, 13%) !important; 410 409 } 411 410 412 411 body.window-inactive .tab-bar > .item.selected { 413 background-color: var(--background-color) !important;412 background-color: hsl(0, 0%, 19%) !important; 414 413 } 415 414 -
trunk/Source/WebInspectorUI/UserInterface/Views/Toolbar.css
r242768 r246666 210 210 @media (prefers-color-scheme: dark) { 211 211 body .toolbar { 212 background-image: linear-gradient(to bottom, hsl(0, 0%, 2 5%), hsl(0, 0%, 22%));212 background-image: linear-gradient(to bottom, hsl(0, 0%, 26%), hsl(0, 0%, 23%)); 213 213 box-shadow: none; 214 214 }
Note: See TracChangeset
for help on using the changeset viewer.