|
|
|
|
@ -1,6 +1,8 @@ |
|
|
|
|
import { Link } from 'react-router-dom' |
|
|
|
|
import styled from 'styled-components/macro' |
|
|
|
|
|
|
|
|
|
import { devices } from 'config/devices' |
|
|
|
|
|
|
|
|
|
import { outlineButtonStyles } from 'features/Common' |
|
|
|
|
|
|
|
|
|
export const CenterBlock = styled.div` |
|
|
|
|
@ -9,6 +11,14 @@ export const CenterBlock = styled.div` |
|
|
|
|
align-items: center; |
|
|
|
|
justify-content: flex-start; |
|
|
|
|
margin-top: 140px; |
|
|
|
|
|
|
|
|
|
@media${devices.laptop} { |
|
|
|
|
margin-top: 177px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media${devices.mobile} { |
|
|
|
|
margin-top: 150px; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const Form = styled.form` |
|
|
|
|
@ -17,6 +27,11 @@ export const Form = styled.form` |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
|
|
@media${devices.mobile} { |
|
|
|
|
width: auto; |
|
|
|
|
margin: 50px 0 140px 0; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const BlockTitle = styled.span` |
|
|
|
|
@ -28,6 +43,16 @@ export const BlockTitle = styled.span` |
|
|
|
|
color: ${({ theme: { colors } }) => colors.text}; |
|
|
|
|
margin-bottom: 20px; |
|
|
|
|
transition: color 0.3s ease-in-out; |
|
|
|
|
|
|
|
|
|
@media${devices.laptop} { |
|
|
|
|
max-height: 24px; |
|
|
|
|
margin-bottom: 23px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media${devices.mobile} { |
|
|
|
|
font-size: 24px; |
|
|
|
|
margin-bottom: 20px; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const ButtonsBlock = styled.div<{forSubsPage?: boolean}>` |
|
|
|
|
@ -37,6 +62,15 @@ export const ButtonsBlock = styled.div<{forSubsPage?: boolean}>` |
|
|
|
|
margin-top: ${({ forSubsPage }) => (forSubsPage ? '80px' : '60px')}; |
|
|
|
|
margin-bottom: ${({ forSubsPage }) => (forSubsPage ? '96px' : '')}; |
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
@media${devices.laptop} { |
|
|
|
|
margin-top: ${({ forSubsPage }) => (forSubsPage ? '80px' : '32px')}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media${devices.mobile} { |
|
|
|
|
position: absolute; |
|
|
|
|
bottom: 10px; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const RegisterButton = styled(Link)` |
|
|
|
|
@ -45,4 +79,10 @@ export const RegisterButton = styled(Link)` |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
justify-content: center; |
|
|
|
|
|
|
|
|
|
@media${devices.mobile} { |
|
|
|
|
width: 335px; |
|
|
|
|
height: 40px; |
|
|
|
|
margin-top: 10px; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|