Repository URL to install this package:
|
Version:
0.14.1 ▾
|
ui-component-library
/
src
/
components
/
abstractions
/
Subscription
/
PaymentInformationCard
/
styled.tsx
|
|---|
import { styled } from 'styleh-components'
import { TextPlaceholder } from 'atoms/Placeholder'
const Name = styled.div`
flex: 0 0 100%;
margin-bottom: rem(8);
`
const EmptyCard = styled.withComponent(TextPlaceholder)`
margin-right: rem(8);
`
const Card = styled.div`
flex: 0 0 100%;
display: flex;
align-items: center;
margin-bottom: rem(8);
`
const Date = styled.div`
flex: 0 0 100%;
`
const PaymenyCardWrapper = styled.div`
display: flex;
flex-direction: row;
flex-wrap: wrap;
border: solid rem(1) #ccc;
padding: rem(8);
margin-bottom: rem(16);
`
const HeaderWrapper = styled.section`
display: flex;
flex-direction: row;
justify-content: space-between;
width: 100%;
margin-bottom: rem(24);
@tablet-or-smaller() {
flex-direction: column;
}
@phone-or-smaller() {
margin-bottom: rem(16);
}
`
export {
HeaderWrapper,
PaymenyCardWrapper,
Name,
Card,
Date,
EmptyCard
}