-
Notifications
You must be signed in to change notification settings - Fork 86
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
1 parent
1057cfa
commit 6a7515e
Showing
7 changed files
with
157 additions
and
118 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
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
59 changes: 59 additions & 0 deletions
59
packages/asc-web-components/access-right-select/styled-accessright.js
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,59 @@ | ||
import styled from "styled-components"; | ||
import Base from "../themes/base"; | ||
|
||
const StyledAccessRightWrapper = styled.div` | ||
display: flex; | ||
`; | ||
|
||
const StyledAccessRightIcon = styled.img` | ||
margin-right: 4.18px; | ||
`; | ||
|
||
const StyledAccessRightItem = styled.div` | ||
width: 424px; | ||
display: flex; | ||
align-items: flex-start; | ||
justify-content: flex-start; | ||
align-content: center; | ||
padding: 7px 0px; | ||
line-height: 16px; | ||
font-style: normal; | ||
`; | ||
|
||
const StyledAccessRightDescriptionItem = styled.div` | ||
margin: 1px 0px; | ||
font-size: 13px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 16px; | ||
color: #a3a9ae; | ||
`; | ||
|
||
const StyledAccessRightItemIcon = styled.img` | ||
margin-right: 8px; | ||
`; | ||
|
||
const StyledAccessRightItemContent = styled.div` | ||
width: 100%; | ||
white-space: normal; | ||
`; | ||
|
||
const StyledAccessRightItemTitleAndBadge = styled.div` | ||
display: flex; | ||
align-items: center; | ||
`; | ||
|
||
StyledAccessRightItem.defaultProps = { theme: Base }; | ||
export { | ||
StyledAccessRightItem, | ||
StyledAccessRightDescriptionItem, | ||
StyledAccessRightItemIcon, | ||
StyledAccessRightItemContent, | ||
StyledAccessRightItemTitleAndBadge, | ||
StyledAccessRightWrapper, | ||
StyledAccessRightIcon, | ||
}; |
46 changes: 0 additions & 46 deletions
46
packages/asc-web-components/access-right-select/sub-components/access-right-item.js
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
packages/asc-web-components/access-right-select/sub-components/styled-accessrightitem.js
This file was deleted.
Oops, something went wrong.
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