jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
47 lines (41 loc) • 1.61 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var styled = require('styled-components');
var styled__default = _interopDefault(styled);
const PreviewIcon = styled__default.span `
svg {
color: ${props => props.theme.colors.secondary};
margin-right: 0.5rem;
}
`;
const Preview = styled__default.img `
max-height: ${props => props.theme.fileInput.previewImage.maxHeight};
max-width: ${props => props.theme.fileInput.previewImage.maxWidth};
width: auto;
height: auto;
`;
const ImagePreviewWrapper = styled__default.div `
display: flex;
margin-top: 1rem;
background: white;
overflow: hidden;
overflow: hidden;
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__default.span `
color: ${props => props.theme.font.color};
`;
const PreviewInfo = styled__default.div `
padding: ${props => props.theme.fileInput.info.padding};
`;
exports.ImagePreviewInfoLabel = ImagePreviewInfoLabel;
exports.ImagePreviewWrapper = ImagePreviewWrapper;
exports.Preview = Preview;
exports.PreviewIcon = PreviewIcon;
exports.PreviewInfo = PreviewInfo;