Skip to content

Commit

Permalink
style: change icon color on selection
Browse files Browse the repository at this point in the history
  • Loading branch information
remvze committed Oct 8, 2023
1 parent eedbf53 commit e6abca6
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/components/sound/sound.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
content: '';
}

&.selected {
border: 2px solid #818cf8;
box-shadow: 0 10px 20px #818cf833;
}

& .icon {
position: relative;
z-index: 2;
Expand All @@ -39,6 +34,7 @@
align-items: center;
justify-content: center;
font-size: var(--font-base);
transition: 0.2s;

&::after {
position: absolute;
Expand Down Expand Up @@ -68,8 +64,17 @@
}
}

&.selected {
border: 2px solid #818cf8;
box-shadow: 0 10px 20px #818cf833;

& .icon {
color: #818cf8;
}
}

& h3 {
margin-top: 12px;
margin-top: 6px;
cursor: default;
font-family: var(--font-heading);
font-size: var(--font-sm);
Expand All @@ -80,7 +85,7 @@
& input {
width: 100%;
max-width: 120px;
margin-top: 6px;
margin-top: 12px;

/********** Range Input Styles **********/

Expand Down

0 comments on commit e6abca6

Please sign in to comment.