Skip to content

Commit

Permalink
feat(ui): update sound button style
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Apr 6, 2022
1 parent 8cf19d8 commit efb17c7
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/components/Sound/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,25 @@ export const SoundButton = styled.div`
opacity: 0.7;
}
@media (min-width: 800px) {
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
cursor: pointer;
@media (min-width: 700px) {
&.selected {
background: rgba(255, 255, 255, 0.1);
}
}
@media (min-width: 800px) {
&:hover {
cursor: pointer;
color: rgba(255, 255, 255, 0.8);
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.04);
img {
opacity: 0.8;
opacity: 1;
}
background: rgba(255, 255, 255, 0.1);
}
&.selected {
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
background: rgba(255, 255, 255, 0.1);
}
}
Expand Down

0 comments on commit efb17c7

Please sign in to comment.