Skip to content

Commit

Permalink
Implement video list settings button only appearing on hover/focus
Browse files Browse the repository at this point in the history
Same idea as for the favorites & external player icons; much cleaner look without any sizable 'cost' to boot.
  • Loading branch information
kommunarr committed Aug 27, 2023
1 parent c6b85ea commit dfaf498
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/renderer/scss-partials/_ft-list-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,17 @@ $watched-transition-duration: 0.5s;

&:hover .favoritesIcon,
&:hover .externalPlayerIcon,
&:hover .optionsButton,
&:focus-within .favoritesIcon,
&:focus-within .externalPlayerIcon {
&:focus-within .externalPlayerIcon,
&:focus-within .optionsButton {
visibility: visible;
opacity: 1;
}

.favoritesIcon,
.externalPlayerIcon {
.externalPlayerIcon,
.optionsButton {
visibility: none;
opacity: 0;
transition: visibility 0s, opacity 0.2s linear;
Expand Down

0 comments on commit dfaf498

Please sign in to comment.