Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import styled from '@emotion/styled'
- export const Root = styled.div`
- padding: 80px 40px 20px 40px;
- `
- export const Title = styled.h1`
- color: #4a4a4a;
- font-size: 10px;
- line-height: 13px;
- text-transform: uppercase;
- text-align: center;
- margin-bottom: 48px;
- `
- export const Option = styled.button`
- border: 1px solid transparent;
- background-color: #fff;
- padding: 16px;
- width: 100%;
- margin-bottom: 40px;
- text-align: left;
- display: flex;
- align-items: center;
- transition: all 0.3s;
- img {
- width: 48px;
- height: auto;
- }
- span {
- display: inline-block;
- margin-left: 24px;
- color: #5d5d5d;
- font-size: 15px;
- line-height: 25px;
- }
- ${({ active }) =>
- active &&
- `
- border: 1px solid #ff4613;
- border-radius: 2px;
- background-color: #fff;
- &:active,&:focus {
- outline: none;
- }
- `}
- `
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement