Green checkmark

This commit is contained in:
Brian Lovin 2019-01-13 15:50:07 -08:00
parent 50f5ffefd9
commit 250d2c8345
2 changed files with 5 additions and 3 deletions

View file

@ -57,6 +57,7 @@ class ChecklistItem extends React.Component<Props, State> {
<ResourceContent isChecked={isChecked}>
<Heading resource={resource} />
{resource.apps && (
<React.Fragment>
<Divider />

View file

@ -72,16 +72,17 @@ export const Checkbox = styled.span`
height: 32px;
border-radius: 4px;
border: 1px solid
${props => (props.isChecked ? theme.brand.default : theme.border.default)};
${props => (props.isChecked ? theme.success.default : theme.border.default)};
background: ${props =>
props.isChecked ? theme.brand.default : theme.bg.wash};
props.isChecked ? theme.success.default : theme.bg.wash};
cursor: pointer;
position: relative;
&:hover {
${Shadows.default};
border: 1px solid
${props => (props.isChecked ? theme.brand.default : theme.border.active)};
${props =>
props.isChecked ? theme.success.default : theme.border.active};
}
&:after {