38 lines
552 B
JavaScript
38 lines
552 B
JavaScript
import styled from 'styled-components';
|
|
|
|
const Slider = styled.div`
|
|
width: 0.9em;
|
|
display: flex;
|
|
position: relative;
|
|
bottom: 3.5em;
|
|
left: 1em;
|
|
|
|
min-width: 200px;
|
|
background-color: rgba(0,0,0,0.5);
|
|
border-radius: 32px;
|
|
|
|
& > i {
|
|
color: white;
|
|
transition: 0.5s;
|
|
font-size: 200%;
|
|
cursor: pointer;
|
|
}
|
|
z-index: 2;
|
|
`;
|
|
|
|
const Volume = styled.span`
|
|
margin-right: 0.5em;
|
|
cursor: pointer;
|
|
`;
|
|
|
|
const VolumeSlider = styled.input`
|
|
width: 100%;
|
|
cursor: pointer;
|
|
`;
|
|
|
|
export default {
|
|
Slider,
|
|
Volume,
|
|
VolumeSlider,
|
|
};
|