|
|
|
|
@ -1,5 +1,7 @@ |
|
|
|
|
import styled, { css } from 'styled-components/macro' |
|
|
|
|
|
|
|
|
|
import { isMobileDevice } from 'config/userAgent' |
|
|
|
|
|
|
|
|
|
import { ModalWindow } from 'features/Modal/styled' |
|
|
|
|
import { Modal as BaseModal } from 'features/Modal' |
|
|
|
|
import { Header as BaseHeader } from 'features/PopupComponents' |
|
|
|
|
@ -25,6 +27,21 @@ export const Modal = styled(BaseModal)` |
|
|
|
|
width: 70rem; |
|
|
|
|
height: auto; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
@media (max-width: 650px){ |
|
|
|
|
width: 95vw; |
|
|
|
|
height: auto; |
|
|
|
|
top: -7vh; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media (orientation: landscape){ |
|
|
|
|
min-width: 95vw; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
@ -44,6 +61,13 @@ export const Header = styled(BaseHeader)` |
|
|
|
|
height: auto; |
|
|
|
|
padding-top: 40px; |
|
|
|
|
justify-content: center; |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
@media (max-width: 650px){ |
|
|
|
|
padding-top: 33px; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const HeaderTitle = styled.span` |
|
|
|
|
@ -51,6 +75,18 @@ export const HeaderTitle = styled.span` |
|
|
|
|
font-size: 1.13rem; |
|
|
|
|
line-height: 1.13rem; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
@media (max-width: 650px){ |
|
|
|
|
font-size: 14px; |
|
|
|
|
line-height: 20px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media (orientation: landscape) { |
|
|
|
|
font-size: 20px; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const BlockTitle = styled.span` |
|
|
|
|
@ -59,11 +95,37 @@ export const BlockTitle = styled.span` |
|
|
|
|
line-height: 0.85rem; |
|
|
|
|
text-transform: uppercase; |
|
|
|
|
color: rgba(255, 255, 255, 0.5); |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
@media (max-width: 650px){ |
|
|
|
|
font-size: 8px; |
|
|
|
|
line-height: 15px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media (orientation: landscape){ |
|
|
|
|
font-size: 10px; |
|
|
|
|
line-height: 16px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const Body = styled.div` |
|
|
|
|
padding: 25px 40px 0 42px; |
|
|
|
|
display: flex; |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
@media (max-width: 650px){ |
|
|
|
|
padding: 13px 25px 0; |
|
|
|
|
flex-direction: column; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media (orientation: landscape){ |
|
|
|
|
padding: 22px 23px 0 29px; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const Footer = styled.div` |
|
|
|
|
@ -71,6 +133,13 @@ export const Footer = styled.div` |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: center; |
|
|
|
|
padding: 1.89rem; |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
@media (max-width: 650px){ |
|
|
|
|
padding: 20px 25px 20px; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const Checkbox = styled(BaseCheckbox)` |
|
|
|
|
@ -79,6 +148,14 @@ export const Checkbox = styled(BaseCheckbox)` |
|
|
|
|
font-size: 0.66rem; |
|
|
|
|
line-height: 0.94rem; |
|
|
|
|
letter-spacing: 0.1px; |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
@media (max-width: 650px),(orientation: landscape){ |
|
|
|
|
font-size: 12px; |
|
|
|
|
line-height: 18px; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
} |
|
|
|
|
${CheckboxSvg} { |
|
|
|
|
align-self: auto; |
|
|
|
|
@ -91,6 +168,19 @@ export const Checkbox = styled(BaseCheckbox)` |
|
|
|
|
export const ApplyButton = styled(ButtonSolid)` |
|
|
|
|
width: 270px; |
|
|
|
|
border-radius: 5px; |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
@media (max-width: 650px){ |
|
|
|
|
width: 100%; |
|
|
|
|
min-height: 42px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media (orientation: landscape){ |
|
|
|
|
width: 290px; |
|
|
|
|
min-height: 42px; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const Loader = styled(ArrowLoader)` |
|
|
|
|
|