You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
spa_instat_tv/src/features/AddCardForm/styled.tsx

79 lines
1.6 KiB

import styled, { css } from 'styled-components/macro'
import { isMobileDevice } from 'config/userAgent'
export const Form = styled.form``
export const Column = styled.div`
display: flex;
flex-direction: row;
justify-content: space-between;
flex-wrap: wrap;
`
export const ButtonsBlock = styled.div`
display: flex;
flex-direction: column;
align-items: center;
margin-top: 25px;
`
export const Input = styled.input`
color: #fff;
font-family: Montserrat, Tahoma, sans-serif;
font-size: 20px;
font-weight: bold;
line-height: 48px;
background-color: transparent;
border: none;
outline: none;
width: 100%;
padding: 0;
margin: 0;
:-webkit-autofill,
:-webkit-autofill:hover,
:-webkit-autofill:focus,
:-webkit-autofill:active {
box-shadow: 0 0 0 30px #3f3f3f inset;
caret-color: ${({ theme: { colors } }) => colors.text100};
-webkit-text-fill-color: ${({ theme: { colors } }) => colors.text100};
}
${isMobileDevice
? css`
line-height: 16px;
font-size: 12px;
max-height: 12px;
height: auto;
`
: ''};
`
export const Errors = styled.span`
margin-bottom: 40px;
font-size: 16px;
line-height: 16px;
color: red;
${isMobileDevice
? css`
margin-bottom: 10px;
font-size: 12px;
`
: ''};
`
export const SectionTitle = styled.span`
display: inline-block;
font-weight: 600;
font-size: 12px;
line-height: 18px;
text-transform: uppercase;
color: ${({ theme }) => theme.colors.text50};
margin-bottom: 8px;
${isMobileDevice
? css`
margin-bottom: 25px;
font-size: 10px;
`
: ''};
`