|
|
|
|
@ -3,17 +3,24 @@ import styled, { css } from 'styled-components/macro' |
|
|
|
|
import { devices } from 'config' |
|
|
|
|
import { isMobileDevice } from 'config/userAgent' |
|
|
|
|
|
|
|
|
|
import { customScrollbar } from 'features/Common/customScrollbar' |
|
|
|
|
|
|
|
|
|
export const Wrapper = styled.div` |
|
|
|
|
margin-top: 26px; |
|
|
|
|
overflow-y: auto; |
|
|
|
|
max-height: 70vh; |
|
|
|
|
|
|
|
|
|
${customScrollbar} |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
@media (orientation: landscape){ |
|
|
|
|
margin-top: 0; |
|
|
|
|
max-height: 100%; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
|
|
|
|
|
overflow-y: auto; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const Table = styled.table`` |
|
|
|
|
@ -21,7 +28,8 @@ export const Table = styled.table`` |
|
|
|
|
export const THead = styled.thead`` |
|
|
|
|
|
|
|
|
|
export const Th = styled.th` |
|
|
|
|
padding: 0 20px; |
|
|
|
|
/* padding-right: 20px; */ |
|
|
|
|
width: 250px; |
|
|
|
|
padding-bottom: 25px; |
|
|
|
|
font-weight: 500; |
|
|
|
|
font-size: 18px; |
|
|
|
|
@ -57,11 +65,10 @@ export const Th = styled.th` |
|
|
|
|
} */ |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
font-size: 12px; |
|
|
|
|
vertical-align: baseline; |
|
|
|
|
:not(:nth-child(1)){ |
|
|
|
|
padding-right: 5px; |
|
|
|
|
} |
|
|
|
|
font-size: 10px; |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
|
padding: 5px 0; |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
` |
|
|
|
|
@ -70,12 +77,14 @@ export const TBody = styled.tbody`` |
|
|
|
|
|
|
|
|
|
export const TRow = styled.tr` |
|
|
|
|
td.subscription { |
|
|
|
|
width: 350px; |
|
|
|
|
text-transform: capitalize; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const Td = styled.td` |
|
|
|
|
padding: 0 20px; |
|
|
|
|
/* padding-right: 20px; */ |
|
|
|
|
width: 250px; |
|
|
|
|
padding-bottom: 20px; |
|
|
|
|
font-size: 18px; |
|
|
|
|
line-height: 22px; |
|
|
|
|
@ -97,3 +106,36 @@ export const Td = styled.td` |
|
|
|
|
` |
|
|
|
|
: ''} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const ScPaymentDate = styled.div` |
|
|
|
|
font-weight: 500; |
|
|
|
|
font-size: 14px; |
|
|
|
|
line-height: 17px; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const ScFirstBlock = styled.div` |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: row; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const ScSecondBlock = styled.div` |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
|
|
.subscription { |
|
|
|
|
width: 100%; |
|
|
|
|
word-wrap: break-word; |
|
|
|
|
} |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const ScPayment = styled.div` |
|
|
|
|
margin-bottom: 25px; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const ScText = styled.span` |
|
|
|
|
font-weight: 500; |
|
|
|
|
font-size: 14px; |
|
|
|
|
line-height: 17px; |
|
|
|
|
color: rgba(255, 255, 255, 0.6); |
|
|
|
|
` |
|
|
|
|
|