[Glitch] Add warning for sensitive audio posts

Port e6979aa6d4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Rens Groothuijsen
2022-08-13 15:39:05 +02:00
committed by Claire
parent e2a7a458d6
commit 41fa50ac86
4 changed files with 71 additions and 8 deletions

View File

@ -389,6 +389,13 @@
height: 100%;
}
&.inactive {
audio,
.video-player__controls {
visibility: hidden;
}
}
.video-player__volume::before,
.video-player__seek::before {
background: currentColor;