-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
181 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { styled } from '@mui/material'; | ||
|
||
export const BpIcon = styled('span')(() => ({ | ||
borderRadius: 8, | ||
width: '21px !important', | ||
height: '21px !important', | ||
opacity: 1, | ||
visibility: 'visible', | ||
})); | ||
|
||
export const BpUncheked = styled(BpIcon)({ | ||
borderRadius: 8, | ||
width: 21, | ||
height: 21, | ||
display: 'block', | ||
border: '1px solid #41CC5D', | ||
opacity: 1, | ||
}); | ||
|
||
export const BpCheckedIcon = styled(BpIcon)({ | ||
backgroundColor: '#41CC5D', | ||
backgroundImage: 'linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))', | ||
'&:before': { | ||
display: 'block', | ||
width: 21, | ||
height: 21, | ||
backgroundImage: | ||
"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath" + | ||
" fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 " + | ||
"1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E\")", | ||
content: '""', | ||
}, | ||
'input:hover ~ &': { | ||
backgroundColor: '#41CC5D', | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.