mirror of
https://github.com/brianlovin/security-checklist.git
synced 2026-03-11 08:55:31 +00:00
Green checkmark
This commit is contained in:
parent
50f5ffefd9
commit
250d2c8345
2 changed files with 5 additions and 3 deletions
|
|
@ -57,6 +57,7 @@ class ChecklistItem extends React.Component<Props, State> {
|
|||
|
||||
<ResourceContent isChecked={isChecked}>
|
||||
<Heading resource={resource} />
|
||||
|
||||
{resource.apps && (
|
||||
<React.Fragment>
|
||||
<Divider />
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue