2021-10-30 00:35:08 +08:00
|
|
|
import styled from 'styled-components';
|
|
|
|
import { colorWhite } from '/imports/ui/stylesheets/styled-components/palette';
|
|
|
|
import { fontSizeLarge, fontSizeBase } from '/imports/ui/stylesheets/styled-components/typography';
|
|
|
|
|
|
|
|
const AutoplayOverlay = styled.div`
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
flex-direction: column;
|
|
|
|
background: rgba(0, 0, 0, 1);
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
color: ${colorWhite};
|
|
|
|
font-size: ${fontSizeLarge};
|
|
|
|
border-radius: 5px;
|
|
|
|
position: absolute;
|
2023-04-11 03:51:20 +08:00
|
|
|
z-index: 999;
|
2021-10-30 00:35:08 +08:00
|
|
|
text-align: center;
|
|
|
|
`;
|
|
|
|
|
|
|
|
const Title = styled.div`
|
|
|
|
display: block;
|
|
|
|
font-size: ${fontSizeLarge};
|
|
|
|
text-align: center;
|
|
|
|
`;
|
|
|
|
|
|
|
|
const AutoplayOverlayContent = styled.div`
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 8px;
|
|
|
|
`;
|
|
|
|
|
|
|
|
const Label = styled.div`
|
|
|
|
display: block;
|
|
|
|
font-size: ${fontSizeBase};
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
`;
|
|
|
|
|
|
|
|
export default {
|
|
|
|
AutoplayOverlay,
|
|
|
|
Title,
|
|
|
|
AutoplayOverlayContent,
|
|
|
|
Label,
|
|
|
|
};
|