⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 239385 in webkit


Ignore:
Timestamp:
Dec 19, 2018, 1:08:53 PM (8 years ago)
Author:
Nikita Vasilyev
Message:

Web Inspector: column sort controls in Layers tab sidebar don't render correctly in dark mode
​https://bugs.webkit.org/show_bug.cgi?id=192845

Reviewed by Devin Rousso.

  • UserInterface/Views/DataGrid.css:

(@media (prefers-dark-interface)):
(.data-grid th.sortable:active):
Drive-by: replace obnoxiously light background of the pressed header with a more subtle gray.

(.data-grid th.sort-ascending > div:first-child::after, .data-grid th.sort-descending > div:first-child::after):
Invert colors of the arrow glyph.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r239345 r239385  
     12018-12-19  Nikita Vasilyev  <nvasilyev@apple.com>
     2
     3        Web Inspector: column sort controls in Layers tab sidebar don't render correctly in dark mode
     4        https://bugs.webkit.org/show_bug.cgi?id=192845
     5
     6        Reviewed by Devin Rousso.
     7
     8        * UserInterface/Views/DataGrid.css:
     9        (@media (prefers-dark-interface)):
     10        (.data-grid th.sortable:active):
     11        Drive-by: replace obnoxiously light background of the pressed header with a more subtle gray.
     12
     13        (.data-grid th.sort-ascending > div:first-child::after, .data-grid th.sort-descending > div:first-child::after):
     14        Invert colors of the arrow glyph.
     15
    1162018-12-18  Devin Rousso  <drousso@apple.com>
    217
  • trunk/Source/WebInspectorUI/UserInterface/Views/DataGrid.css

    r238743 r239385  
    447447        background-color: unset;
    448448    }
    449 }
     449
     450    .data-grid th.sortable:active {
     451        background-color: hsl(0, 0%, 40%);
     452    }
     453
     454    .data-grid th.sort-ascending > div:first-child::after,
     455    .data-grid th.sort-descending > div:first-child::after {
     456        filter: invert();
     457    }
     458}
Note: See TracChangeset for help on using the changeset viewer.