Skip to content

Commit

Permalink
fix(videodetail): favorite button hover state
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Jun 23, 2021
1 parent d1cf8d1 commit eee9a99
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/components/Button/Button.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,19 @@ $large-button-height: 40px;
}

&:hover {
z-index: 1;
background: theme.$btn-default-bg;
transform: scale(1.1);
opacity: 1;
}
}

&.fullWidth {
width: 100%;

&:hover {
transform: scale(1.04);
@media (hover: hover) and (pointer: fine) {
&:hover {
transform: scale(1.04);
}
}
}

Expand All @@ -77,9 +79,11 @@ $large-button-height: 40px;
height: 18px;
}

&:hover,
&:focus {
transform: scale(1.1);
@media (hover: hover) and (pointer: fine) {
&:hover,
&:focus {
transform: scale(1.06);
}
}
}

Expand All @@ -90,10 +94,10 @@ $large-button-height: 40px;
margin-right: 11px;

> svg {

width: 20px;
height: 20px;
fill: currentColor;

@include responsive.tablet-only() {
width: 18px;
height: 18px;
Expand Down

0 comments on commit eee9a99

Please sign in to comment.