Skip to content

Commit 3cc6198

Browse files
committed
added active audio indicator
1 parent 2274ab3 commit 3cc6198

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

src/assets/styles/reader.css

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:root {
2-
--main__txt--2: #ff61d5;
3-
--mute-button__bg--3: hsla(255, 100%, 50%, 0.281);
2+
--main__txt: #ff61d5;
3+
--mute-button__bg: hsla(255, 100%, 50%, 0.281);
44
}
55

66
#container__reader {
@@ -9,7 +9,7 @@
99
place-items: center;
1010
grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
1111
place-content: center;
12-
color: var(--main__txt--2);
12+
color: var(--main__txt);
1313
height: 100vh;
1414
outline: none;
1515
text-transform: uppercase;
@@ -40,7 +40,7 @@
4040
.mute-button {
4141
font-size: 1.5;
4242
border: 1px solid #6767d3;
43-
/*background-color: var(--mute-button__bg--3);*/
43+
/*background-color: var(--mute-button__bg);*/
4444
cursor: pointer;
4545
width: min(3em, 15vw);
4646
height: min(3em, 15vw);
@@ -69,9 +69,15 @@
6969
cursor: pointer;
7070
}
7171

72-
.speaker > span {
72+
.speaker>span {
7373
padding: 0.5rem;
74-
border: 1px solid grey;
74+
border: 1px solid var(--primary);
75+
border-radius: 5px;
76+
}
77+
78+
.speaker span.active {
79+
background-color: var(--primary);
80+
color: white;
7581
}
7682

7783
@media screen and (max-width: 768px) {
@@ -88,4 +94,4 @@
8894
.mute-button {
8995
font-size: min(2.5rem, 8vw);
9096
}
91-
}
97+
}

0 commit comments

Comments
 (0)