|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
|
import styled from 'styled-components/macro' |
|
|
|
|
import styled, { css } from 'styled-components/macro' |
|
|
|
|
|
|
|
|
|
import { isMobileDevice } from 'config/userAgent' |
|
|
|
|
|
|
|
|
|
import { SportName as SportNameBase } from 'features/Common/SportName' |
|
|
|
|
import { Price as BasePrice } from 'features/Price' |
|
|
|
|
@ -18,6 +20,11 @@ export const SportName = styled(SportNameBase)` |
|
|
|
|
font-size: 18px; |
|
|
|
|
line-height: 22px; |
|
|
|
|
color: rgba(255, 255, 255, 0.6); |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
font-size: 14px; |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const List = styled.ul` |
|
|
|
|
@ -27,6 +34,12 @@ export const List = styled.ul` |
|
|
|
|
export const Item = styled.li` |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
display: block; |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const Price = styled(BasePrice)` |
|
|
|
|
@ -36,12 +49,22 @@ export const Price = styled(BasePrice)` |
|
|
|
|
font-size: 24px; |
|
|
|
|
line-height: 24px; |
|
|
|
|
font-weight: normal; |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
font-size: 14px; |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
${PriceDetails} { |
|
|
|
|
font-weight: 500; |
|
|
|
|
font-size: 12px; |
|
|
|
|
line-height: 18px; |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
font-size: 7px; |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
@ -71,6 +94,12 @@ export const Subscription = styled.div.attrs( |
|
|
|
|
transform: translateX(0); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
height: 86px; |
|
|
|
|
width: 100%; |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const InfoWrapper = styled.div` |
|
|
|
|
@ -79,6 +108,11 @@ export const InfoWrapper = styled.div` |
|
|
|
|
padding: 14px 0 14px 20px; |
|
|
|
|
flex-direction: column; |
|
|
|
|
color: #fff; |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
padding: 10px 0 10px 15px; |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const Header = styled.span` |
|
|
|
|
@ -87,6 +121,12 @@ export const Header = styled.span` |
|
|
|
|
font-size: 16px; |
|
|
|
|
line-height: 23px; |
|
|
|
|
text-transform: uppercase; |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
font-size: 14px; |
|
|
|
|
line-height: 20px; |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const Description = styled.p` |
|
|
|
|
@ -95,6 +135,12 @@ export const Description = styled.p` |
|
|
|
|
font-size: 16px; |
|
|
|
|
line-height: 20px; |
|
|
|
|
text-transform: capitalize; |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
font-size: 10px; |
|
|
|
|
line-height: 12px; |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const SubscriptionEnd = styled.span` |
|
|
|
|
@ -104,4 +150,10 @@ export const SubscriptionEnd = styled.span` |
|
|
|
|
font-size: 16px; |
|
|
|
|
line-height: 24px; |
|
|
|
|
color: rgba(255, 255, 255, 0.3); |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
font-size: 10px; |
|
|
|
|
margin-left: 0; |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
` |
|
|
|
|
|