strapi-plugin-users-permissions
Version:
Protect your API with a full-authentication process based on JWT
27 lines (24 loc) • 544 B
JavaScript
/* eslint-disable indent */
import styled from 'styled-components';
const SubCategoryWrapper = styled.div`
padding-bottom: 2.6rem;
input[type='checkbox'] {
&:after {
color: ${({ theme }) => theme.main.colors.mediumBlue};
}
}
${({ disabled, theme }) =>
disabled &&
`
label {
cursor: default !important;
color: ${theme.main.colors.grey};
}
input[type='checkbox'] {
&:after {
color: ${theme.main.colors.grey};
}
}
`}
`;
export default SubCategoryWrapper;