mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-31 09:22:49 -05:00
Move listening indicator into stream name
This commit is contained in:
@@ -51,10 +51,10 @@ function Overlay({ config, views, streams }) {
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
|
{isListening && <SoundIcon />}
|
||||||
</StreamTitle>
|
</StreamTitle>
|
||||||
)}
|
)}
|
||||||
{isLoading && <LoadingSpinner />}
|
{isLoading && <LoadingSpinner />}
|
||||||
{isListening && <ListeningIndicator />}
|
|
||||||
</SpaceBorder>
|
</SpaceBorder>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
@@ -174,10 +174,17 @@ const StreamTitle = styled.div`
|
|||||||
svg {
|
svg {
|
||||||
width: 1.25em;
|
width: 1.25em;
|
||||||
height: 1.25em;
|
height: 1.25em;
|
||||||
margin-right: 0.35em;
|
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
filter: drop-shadow(0 0 4px black);
|
filter: drop-shadow(0 0 4px black);
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
margin-right: 0.35em;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-left: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
path {
|
path {
|
||||||
fill: white;
|
fill: white;
|
||||||
}
|
}
|
||||||
@@ -194,19 +201,6 @@ const LoadingSpinner = styled(TailSpin)`
|
|||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
`
|
`
|
||||||
|
|
||||||
const ListeningIndicator = styled(SoundIcon)`
|
|
||||||
position: absolute;
|
|
||||||
right: 15px;
|
|
||||||
bottom: 10px;
|
|
||||||
width: 30px;
|
|
||||||
height: 30px;
|
|
||||||
opacity: 0.9;
|
|
||||||
|
|
||||||
path {
|
|
||||||
fill: white;
|
|
||||||
}
|
|
||||||
`
|
|
||||||
|
|
||||||
const BlurCover = styled.div`
|
const BlurCover = styled.div`
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user