|
|
|
|
@ -7,9 +7,8 @@ import { isMobileDevice } from 'config/userAgent' |
|
|
|
|
import { NameStyled } from 'features/Name' |
|
|
|
|
|
|
|
|
|
export const DropDownContainer = styled.div` |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
border-top: 1px solid #505050;` |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` border-top: 1px solid #505050;` |
|
|
|
|
: css` |
|
|
|
|
position: absolute; |
|
|
|
|
top: 57px; |
|
|
|
|
@ -19,15 +18,24 @@ ${isMobileDevice |
|
|
|
|
z-index: 10;`}
|
|
|
|
|
` |
|
|
|
|
export const FiltersList = styled.ul` |
|
|
|
|
${customScrollbar} |
|
|
|
|
overflow-y: auto; |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
|
max-height: 500px; |
|
|
|
|
overflow-y: auto; |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
|
max-height: 500px; |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
@media (orientation: landscape){ |
|
|
|
|
max-height: 300px; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
|
|
|
|
|
${customScrollbar} |
|
|
|
|
` |
|
|
|
|
export const FilterItem = styled.li` |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
export const FilterItem = styled.li` |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
max-width: 280px; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
@ -37,10 +45,12 @@ ${isMobileDevice |
|
|
|
|
min-width: 286px; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
padding: 15px 26px;`}
|
|
|
|
|
:hover { |
|
|
|
|
|
|
|
|
|
:hover { |
|
|
|
|
background: rgba(255, 255, 255, 0.2); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const Checkbox = styled(BaseCheckbox)` |
|
|
|
|
display: block; |
|
|
|
|
text-transform: uppercase; |
|
|
|
|
@ -48,15 +58,15 @@ export const Checkbox = styled(BaseCheckbox)` |
|
|
|
|
${Label} { |
|
|
|
|
text-transform: uppercase; |
|
|
|
|
font-weight: 700; |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
font-size: 10px; |
|
|
|
|
line-height: 11px; |
|
|
|
|
` |
|
|
|
|
line-height: 11px;` |
|
|
|
|
: css` |
|
|
|
|
font-size: 18px; |
|
|
|
|
line-height: 16px; |
|
|
|
|
`}
|
|
|
|
|
line-height: 16px;`}
|
|
|
|
|
|
|
|
|
|
${NameStyled} { |
|
|
|
|
overflow: hidden; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
@ -64,16 +74,14 @@ export const Checkbox = styled(BaseCheckbox)` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
${({ checked }) => (checked |
|
|
|
|
? css`` |
|
|
|
|
: css` |
|
|
|
|
color: rgba(255, 255, 255, 0.6);` |
|
|
|
|
)} |
|
|
|
|
? '' |
|
|
|
|
: css`color: rgba(255, 255, 255, 0.6);`)} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
${CheckboxSvg} { |
|
|
|
|
margin-right: 8px; |
|
|
|
|
|
|
|
|
|
flex: 0 0 auto; |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
width: 14px; |
|
|
|
|
@ -81,38 +89,37 @@ export const Checkbox = styled(BaseCheckbox)` |
|
|
|
|
` |
|
|
|
|
: css` |
|
|
|
|
width: 20px; |
|
|
|
|
height: 20px; |
|
|
|
|
`}
|
|
|
|
|
height: 20px;`}
|
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
type TCommonButtonsBlock = { |
|
|
|
|
isArena?: boolean, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const CommonButtonsBlock = styled.div<TCommonButtonsBlock>` |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
${({ isArena }) => (isArena |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
|
|
${({ isArena }) => (isArena |
|
|
|
|
? css` |
|
|
|
|
align-items: flex-start; |
|
|
|
|
padding: ${isMobileDevice ? '8px 25px 10px 13px' : '24px 26px 15px 26px'}; |
|
|
|
|
` |
|
|
|
|
: css` |
|
|
|
|
align-items: center; |
|
|
|
|
padding:${isMobileDevice ? '8px 25px 10px 13px' : '15px 26px'}; |
|
|
|
|
padding:${isMobileDevice ? '8px 25px 10px 13px' : '15px 26px'};`)}
|
|
|
|
|
` |
|
|
|
|
)} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const ClearButtonContainer = styled.div` |
|
|
|
|
${isMobileDevice |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
position: absolute; |
|
|
|
|
top: 14px; |
|
|
|
|
right: 36px;` |
|
|
|
|
: ''} |
|
|
|
|
|
|
|
|
|
.clear_button { |
|
|
|
|
font-style: normal; |
|
|
|
|
.clear_button { |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
font-size: 10px; |
|
|
|
|
@ -120,45 +127,52 @@ ${isMobileDevice |
|
|
|
|
: css` |
|
|
|
|
font-size: 18px; |
|
|
|
|
line-height: 22px;`}
|
|
|
|
|
font-weight: 400; |
|
|
|
|
|
|
|
|
|
font-style: normal; |
|
|
|
|
font-weight: 400; |
|
|
|
|
letter-spacing: 0.05em; |
|
|
|
|
text-transform: uppercase; |
|
|
|
|
color: rgba(255, 255, 255, 0.5); |
|
|
|
|
cursor: pointer; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const SearchContainer = styled.div` |
|
|
|
|
padding-right: ${isMobileDevice ? '0px' : '20px'}; |
|
|
|
|
position: relative; |
|
|
|
|
padding-right: ${isMobileDevice ? '0px' : '20px'}; |
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
:before { |
|
|
|
|
:before { |
|
|
|
|
content: ''; |
|
|
|
|
background: url(/images/search.svg) no-repeat; |
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
left: 8px; |
|
|
|
|
top: 7px;` |
|
|
|
|
top: 7px; |
|
|
|
|
width: 11px; |
|
|
|
|
height: 11px; |
|
|
|
|
` |
|
|
|
|
: css` |
|
|
|
|
left: 13px; |
|
|
|
|
top: 13px;`}
|
|
|
|
|
top: 10px; |
|
|
|
|
width: 16px; |
|
|
|
|
height: 16px;`}
|
|
|
|
|
|
|
|
|
|
z-index: 2; |
|
|
|
|
width: 13px; |
|
|
|
|
height: 11px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
export const SearchInput = styled.input` |
|
|
|
|
border: none; |
|
|
|
|
background: transparent; |
|
|
|
|
outline: none; |
|
|
|
|
width: 100%; |
|
|
|
|
background: #292929; |
|
|
|
|
border-radius: 10px; |
|
|
|
|
margin-bottom: 15px; |
|
|
|
|
|
|
|
|
|
color: #FFFF; |
|
|
|
|
${isMobileDevice |
|
|
|
|
border: none; |
|
|
|
|
background: transparent; |
|
|
|
|
outline: none; |
|
|
|
|
width: 100%; |
|
|
|
|
background: #292929; |
|
|
|
|
border-radius: 10px; |
|
|
|
|
margin-bottom: 15px; |
|
|
|
|
color: #FFFF; |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
height: 24px; |
|
|
|
|
min-width: 242px; |
|
|
|
|
@ -168,9 +182,8 @@ ${isMobileDevice |
|
|
|
|
padding-left: 36px; |
|
|
|
|
height: 36px;`}
|
|
|
|
|
|
|
|
|
|
::placeholder { |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
font-size: 10px; |
|
|
|
|
line-height: 15px;` |
|
|
|
|
@ -178,28 +191,32 @@ ${isMobileDevice |
|
|
|
|
font-size: 18px; |
|
|
|
|
line-height: 22px;`}
|
|
|
|
|
|
|
|
|
|
::placeholder { |
|
|
|
|
text-transform: uppercase; |
|
|
|
|
letter-spacing: 0.05em; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const SearchWithAllContainer = styled.div` |
|
|
|
|
flex: 1 1 auto; |
|
|
|
|
flex: 1 1 auto; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const BackButton = styled.div` |
|
|
|
|
font-style: normal; |
|
|
|
|
font-weight: 700; |
|
|
|
|
font-size: 10px; |
|
|
|
|
line-height: 12px; |
|
|
|
|
align-items: center; |
|
|
|
|
letter-spacing: 0.05em; |
|
|
|
|
text-transform: uppercase; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
cursor: pointer; |
|
|
|
|
position: absolute; |
|
|
|
|
top: 12px; |
|
|
|
|
left: 13px; |
|
|
|
|
padding-left: 24px; |
|
|
|
|
:before { |
|
|
|
|
font-style: normal; |
|
|
|
|
font-weight: 700; |
|
|
|
|
font-size: 10px; |
|
|
|
|
line-height: 12px; |
|
|
|
|
align-items: center; |
|
|
|
|
letter-spacing: 0.05em; |
|
|
|
|
text-transform: uppercase; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
cursor: pointer; |
|
|
|
|
position: absolute; |
|
|
|
|
top: 12px; |
|
|
|
|
left: 13px; |
|
|
|
|
padding-left: 24px; |
|
|
|
|
|
|
|
|
|
:before { |
|
|
|
|
content: ''; |
|
|
|
|
display: block; |
|
|
|
|
background: url(/images/arrowUpWhite.svg) center no-repeat; |
|
|
|
|
@ -211,5 +228,5 @@ padding-left: 24px; |
|
|
|
|
position: absolute; |
|
|
|
|
top: 0; |
|
|
|
|
left: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|