Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/components/Common/StyledCollapse.js
Show All 28 Lines | const CollapseCtn = styled.div` | ||||
.ant-collapse-header { | .ant-collapse-header { | ||||
.anticon { | .anticon { | ||||
flex: 1; | flex: 1; | ||||
} | } | ||||
${CenteredTitleCollapse} { | ${CenteredTitleCollapse} { | ||||
flex: 2; | flex: 2; | ||||
} | } | ||||
} | } | ||||
.ant-form-small { | |||||
color: ${props => props.theme.lightGrey} !important; | |||||
} | |||||
`; | `; | ||||
export const TokenCollapse = styled(Collapse)` | export const TokenCollapse = styled(Collapse)` | ||||
${({ disabled = false, ...props }) => | ${({ disabled = false, ...props }) => | ||||
disabled === true | disabled === true | ||||
? ` | ? ` | ||||
background: ${props.theme.buttons.secondary.background} !important; | background: ${props.theme.buttons.secondary.background} !important; | ||||
.ant-collapse-header { | .ant-collapse-header { | ||||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |