jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
46 lines (42 loc) • 1.29 kB
JavaScript
import styled from 'styled-components';
const PreviewIcon = styled.span `
svg {
color: ${props => props.theme.colors.secondary};
margin-right: 0.5rem;
}
`;
const Preview = styled.img `
object-fit: cover;
width: 100%;
`;
const FilePreviewWrapper = styled.div `
margin-top: 1rem;
max-width: 8rem;
text-align: center;
background: white;
overflow: hidden;
overflow: hidden;
font-size: 0.7rem;
box-shadow: ${props => props.theme.fileInput.wrapper.boxShadow};
border-radius: ${props => props.theme.fileInput.wrapper.borderRadius};
color: ${props => props.theme.fileInput.wrapper.color};
border-width: ${props => props.theme.fileInput.wrapper.borderWidth};
border-style: ${props => props.theme.fileInput.wrapper.borderStyle};
border-color: ${props => props.theme.fileInput.wrapper.borderColor};
`;
const ImagePreviewInfoLabel = styled.span `
color: ${props => props.theme.font.color};
`;
const PreviewInfo = styled.div `
padding: ${props => props.theme.fileInput.info.padding};
`;
const ImagePreviewWrapper = styled.div `
position: relative;
height: 5rem;
svg {
height: 3rem;
width: 3rem;
margin-top: 1rem;
}
`;
export { FilePreviewWrapper, ImagePreviewInfoLabel, ImagePreviewWrapper, Preview, PreviewIcon, PreviewInfo };