import styled from 'styled-components'; import { colors } from '../../config.json'; import FormattableTextInput from './FormattableTextInput'; import ImageView from './ImageView'; export const StyledLabel = styled.span({ fontFamily: 'Open Sans', fontSize: '13px', fontWeight: 600, lineHeight: '20px', color: colors.white, marginBottom: '9px', }); export const StyledInput = styled(FormattableTextInput)({ flex: 1, overflow: 'hidden', padding: '14px', fontFamily: 'Open Sans', fontSize: '13px', fontWeight: 600, lineHeight: '26px', color: colors.blue, backgroundColor: colors.white, border: 'none', borderRadius: '4px', '::placeholder': { color: colors.blue40, }, }); export const StyledResponse = styled.span({ marginTop: '8px', fontFamily: 'Open Sans', fontSize: '13px', lineHeight: '20px', fontWeight: 800, color: colors.white, }); export const StyledProgressWrapper = styled.div({ display: 'flex', alignItems: 'center', marginTop: '8px', }); export const StyledProgressResponse = styled(StyledResponse)({ marginTop: 0, }); export const StyledErrorResponse = styled(StyledResponse)({ color: colors.red, }); export const StyledEmptyResponse = styled.span({ height: '20px', marginTop: '8px', }); export const StyledSpinner = styled(ImageView)({ marginRight: '8px', }); export const StyledStatusIcon = styled.div({ alignSelf: 'center', width: '60px', height: '60px', marginBottom: '18px', marginTop: '25px', }); export const StyledTitle = styled.span({ fontFamily: 'Open Sans', fontSize: '16px', lineHeight: '22px', fontWeight: 800, color: colors.white, marginBottom: '5px', });