Skip to content

Commit

Permalink
fix(UI): Highlight the audio device when we hover over it
Browse files Browse the repository at this point in the history
  • Loading branch information
jallamsetty1 committed Jun 8, 2020
1 parent d1d9689 commit e6093e0
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions css/_audio-preview.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.audio-preview {
&-content {
background: #2A3A4B;
font-size: 15px;
line-height: 24px;
max-height: 456px;
Expand Down Expand Up @@ -32,7 +33,7 @@
margin-left: 48px;

&--selected {
background: rgba(28,32,37,0.5);
background: #1C2025;
cursor: initial;
margin-left: 0;
padding-left: 21px;
Expand All @@ -55,7 +56,7 @@

&:hover {
.audio-preview-entry {
background: rgba(255,255,255, 0.2);
background: #3F4E5E;
margin-left: 0;
padding-left: 48px;

Expand All @@ -80,8 +81,23 @@

&-microphone {
position: relative;
}

&:hover {
.audio-preview-entry {
background: #3F4E5E;
margin-left: 0;
padding-left: 48px;

&--selected {
padding-left: 21px;
}
}
}

.audio-preview-entry-text {
max-width: 196px;
}
}

&-icon {
border-radius: 50%;
Expand Down

0 comments on commit e6093e0

Please sign in to comment.