Skip to content

Commit ac655ea

Browse files
fix(client): update css selector for soundbar styling (freeCodeCamp#65808)
1 parent cb6a177 commit ac655ea

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

client/src/components/settings/sound.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,13 @@
33
width: 100%;
44
height: 25px;
55
background: var(--quaternary-background);
6-
}
7-
8-
input[type='range'] {
96
appearance: none;
107
overflow: hidden;
118
border: 2px solid var(--secondary-color);
129
}
1310

1411
/* Special styling for WebKit/Blink */
15-
input[type='range']::-webkit-slider-thumb {
12+
.soundbar::-webkit-slider-thumb {
1613
box-shadow: -2000px 0 0 2000px var(--gray-45);
1714
-webkit-appearance: none;
1815
border: 2px solid var(--primary-color);
@@ -23,7 +20,7 @@ input[type='range']::-webkit-slider-thumb {
2320
}
2421

2522
/* All the same stuff for Firefox */
26-
input[type='range']::-moz-range-thumb {
23+
.soundbar::-moz-range-thumb {
2724
box-shadow: -2000px 0 0 2000px var(--gray-45);
2825
border: 2px solid var(--primary-color);
2926
border-radius: 0;
@@ -33,7 +30,7 @@ input[type='range']::-moz-range-thumb {
3330
cursor: pointer;
3431
}
3532

36-
input[type='range']::-moz-range-progress {
33+
.soundbar::-moz-range-progress {
3734
background: var(--gray-90);
3835
height: 25px;
3936
}

0 commit comments

Comments
 (0)