-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #151 from choco-team/143-randompick
143 randompick
- Loading branch information
Showing
6 changed files
with
94 additions
and
30 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
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 |
---|---|---|
@@ -1,42 +1,72 @@ | ||
import { BsShieldExclamation } from 'react-icons/bs'; | ||
import styled from 'styled-components'; | ||
|
||
import theme from '@Styles/theme'; | ||
|
||
export const ModalContainer = styled.div` | ||
padding: 5px; | ||
display: flex; /* Use flexbox */ | ||
align-items: center; /* Align items vertically */ | ||
`; | ||
|
||
export const SmallButtonWrapper = styled.div` | ||
display: flex; | ||
padding: 0; | ||
margin-top: 24px; | ||
justify-content: center; | ||
align-items: center; | ||
justify-content: right; | ||
button { | ||
margin-right: 5px; | ||
} | ||
`; | ||
|
||
export const SmallButton = styled.button<{ isOnClick?: boolean }>` | ||
background-color: ${({ isOnClick }) => | ||
isOnClick ? theme.color.primary[500] : 'grey'}; | ||
border: black; | ||
color: white; | ||
display: flex; | ||
border-radius: 2px; | ||
margin: 5px; | ||
margin-right: 8px; | ||
padding: 4px; | ||
`; | ||
|
||
export const ListSpan = styled.span` | ||
margin-right: 5px; | ||
export const IconWrapper = styled.span` | ||
display: flex; | ||
margin-right: 2px; | ||
align-items: center; | ||
`; | ||
|
||
export const ListSelect = styled.select` | ||
background-color: grey; | ||
export const ListSpan = styled.span` | ||
margin: 5px; | ||
border-radius: 2px; | ||
min-height: 24px; | ||
color: white; | ||
min-width: 96px; | ||
padding: 8px; | ||
color: black; | ||
`; | ||
|
||
export const ListSelect = styled.select` | ||
border: 1px solid ${theme.color.gray[300]}; | ||
border-radius: 4px; | ||
min-height: 32px; | ||
color: black; | ||
&:hover { | ||
border-color: ${({ theme }) => theme.hoverBorder.gray}; | ||
} | ||
&:focus { | ||
border-color: ${({ theme }) => theme.border.primary}; | ||
} | ||
align-items: center; | ||
text-align: center; | ||
padding: 4px; | ||
padding: 8px 12px; | ||
margin-left: 5px; | ||
`; | ||
|
||
export const BigBsShield = styled(BsShieldExclamation)` | ||
width: 20px; | ||
height: 20px; | ||
margin: 4px; | ||
color: #cc0000; | ||
`; | ||
|
||
export const WarningSpan = styled.span` | ||
color: #cc0000; | ||
`; |
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