Changeset 195519 in webkit


Ignore:
Timestamp:
Jan 24, 2016 4:58:58 PM (8 years ago)
Author:
Nikita Vasilyev
Message:

Web Inspector: Highlight timeline range handles on hover
https://bugs.webkit.org/show_bug.cgi?id=153395
<rdar://problem/24312364>

Reviewed by Timothy Hatcher.

  • UserInterface/Views/TimelineRuler.css:

(.timeline-ruler > .selection-handle.clamped):
Gardening. No need to repeat "1px solid".

(.timeline-ruler > .selection-handle:hover, .timeline-ruler > .selection-handle:active):
":active" pseudo selector is needed to keep the handle highligted while it's being dragged
regardress if the mouse cursor is hovering over it or not.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r195512 r195519  
     12016-01-24  Nikita Vasilyev  <nvasilyev@apple.com>
     2
     3        Web Inspector: Highlight timeline range handles on hover
     4        https://bugs.webkit.org/show_bug.cgi?id=153395
     5        <rdar://problem/24312364>
     6
     7        Reviewed by Timothy Hatcher.
     8
     9        * UserInterface/Views/TimelineRuler.css:
     10        (.timeline-ruler > .selection-handle.clamped):
     11        Gardening. No need to repeat "1px solid".
     12
     13        (.timeline-ruler > .selection-handle:hover, .timeline-ruler > .selection-handle:active):
     14        ":active" pseudo selector is needed to keep the handle highligted while it's being dragged
     15        regardress if the mouse cursor is hovering over it or not.
     16
    1172016-01-23  Aaron Chu  <arona.chu@gmail.com>
    218
  • trunk/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.css

    r191703 r195519  
    184184
    185185.timeline-ruler > .selection-handle.clamped {
    186     border: 1px solid hsl(0, 0%, 64%);
     186    border-color: hsl(0, 0%, 64%);
    187187    background-color: white;
     188}
     189
     190.timeline-ruler > .selection-handle:hover,
     191.timeline-ruler > .selection-handle:active {
     192    background-color: hsl(0, 0%, 50%);
     193    border-color: white;
    188194}
    189195
Note: See TracChangeset for help on using the changeset viewer.