Merge pull request #9 from instat/OTT-36-hover-poiners

keep-around/af30b88d367751c9e05a735e4a0467a96238ef47
Andrey Razdorskiy 6 years ago committed by GitHub
commit 8a74358bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/features/Common/Button/styled.tsx
  2. 1
      src/features/Common/Checkbox/styled.tsx
  3. 1
      src/features/Common/Radio/styled.tsx
  4. 4
      src/features/Register/Steps/Card/index.tsx

@ -27,10 +27,9 @@ export const outlineButtonStyles = css`
export const solidButtonStyles = css`
${baseButtonStyles}
padding-top: 18.5px;
padding-bottom: 13px;
color: #FFFFFF;
color: #fff;
font-weight: bold;
cursor: pointer;
border-color: transparent;
background: ${({ theme: { colors } }) => colors.primary};
`

@ -31,6 +31,7 @@ export const Input = styled.input`
background-repeat: no-repeat;
background-position: center center;
background-image: url(/images/checkboxUnchecked.svg);
cursor: pointer;
}
&:checked+${Label}::before {

@ -32,6 +32,7 @@ export const Input = styled.input`
background-repeat: no-repeat;
background-position: center center;
background-image: url(/images/radioUnchecked.svg);
cursor: pointer;
}
&:checked+${Label}::before {

@ -13,8 +13,6 @@ import {
Row,
} from '../../styled'
const labelWidth = 116
export const CardStep = () => (
<Form>
<BlockTitle>Привязка карты</BlockTitle>
@ -23,7 +21,6 @@ export const CardStep = () => (
<Input
id='cardNumber'
label='Номер карты'
labelWidth={labelWidth}
paddingX={21}
/>
<Row>
@ -32,7 +29,6 @@ export const CardStep = () => (
label='Срок действия'
wrapperWidth={280}
inputWidth={85}
labelWidth={labelWidth}
paddingX={21}
/>
<Input

Loading…
Cancel
Save