47 lines
759 B
TypeScript
47 lines
759 B
TypeScript
import styled from "styled-components";
|
|
|
|
export const CommonQuestionsCardView = styled.article`
|
|
`
|
|
|
|
export const FaqQuestionsCardHeader = styled.div`
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
flex-direction: row;
|
|
|
|
margin-top: 53px;
|
|
|
|
width: 100%;
|
|
cursor: pointer;
|
|
|
|
img {
|
|
cursor: pointer;
|
|
}
|
|
`
|
|
interface CardBodyInterface {
|
|
showCardBody: boolean;
|
|
}
|
|
export const FaqQuestionsCardBody = styled.div<CardBodyInterface>`
|
|
display: ${props => props.showCardBody? 'flex' : 'none'};
|
|
|
|
margin-bottom: 20px;
|
|
|
|
p {
|
|
font-weight: 400;
|
|
font-size: 99%;
|
|
|
|
letter-spacing: 0.5px;
|
|
|
|
color: rgba(0, 0, 0, 0.6);
|
|
|
|
text-align: left;
|
|
}
|
|
|
|
@media (max-width: 1008px) {
|
|
p {
|
|
text-align: left;
|
|
}
|
|
}
|
|
`
|