/** @format */ import styled from 'styled-components'; interface ContainerProps { theme: { primaryColor?: string; textColor?: string; secondColor?: string; thirdColor?: string; forthColor?: string; }; } const Container = styled.div` width: 100%; height: 100%; display: flex; flex-wrap: wrap; .block-item { display: flex; align-items: center; width: 100%; .img-box { width: 44px; height: 44px; border-radius: 4px; margin-right: 16px; border: 1px solid ${props => props.theme.secondColor}; display: flex; justify-content: center; align-items: center; img { width: auto; height: 24px; } } .content { display: flex; flex-direction: column; flex-grow: 1; justify-content: space-around; height: 44px; .title { font-size: 14px; font-family: PingFangSC-Semibold, PingFang SC; font-weight: 600; color: ${props => props.theme.textColor}; line-height: 22px; } .center-box { margin: 2px 0; display: flex; position: relative; .divider-left { height: 1px; flex-grow: 1; background: ${props => props.theme.thirdColor}; } .divider-right { width: 16px; height: 2px; background: #6e7178; border-radius: 2px; position: absolute; right: 0; top: -1px; } } .bottom-box { display: flex; justify-content: space-between; font-size: 14px; color: ${props => props.theme.textColor}; .count-box { /* width: 90px; */ display: flex; justify-content: space-between; } .count { font-size: 18px; font-family: DINAlternate-Bold, DINAlternate; font-weight: bold; color: ${props => props.theme.innerBg}; line-height: 22px; letter-spacing: 1px; } } } } `; export { Container };