123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- // @ts-ignore
- import styled from 'styled-components';
- import { color } from '../../constants/style';
- export const Container = styled.div`
- position: relative;
- cursor: pointer;
- font-size: 12px;
- min-width: 74px;
- display: inline-block;
- `;
- export const Selected = styled.div`
- box-sizing: border-box;
- display: inline-flex;
- align-items: center;
- background-color: ${color.gray};
- height: 32px;
- border-radius: 4px;
- padding: 0 6px 0 10px;
- transition: background-color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
- outline: none;
- width: 100%;
- `;
- export const InputContent = styled.input`
- background-color: ${color.gray};
- border: none;
- outline: none;
- width: 50%;
- `;
- export const Content = styled.div`
- background-color: ${color.gray};
- border: none;
- outline: none;
- width: 100%;
- display: flex;
- align-items: center;
- margin-right: 6px;
- `;
- export const OptionWrapper = styled.div`
- position: fixed;
- background-color: white;
- border-radius: 4px;
- top: 0;
- left: 0;
- padding: 6px 0;
- box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.38);
- max-height: 420px;
- z-index: 100;
- box-sizing: border-box;
- `;
- export const Option = styled.span`
- display: flex;
- padding: 5px 24px 5px 16px;
- :hover {
- background-color: ${color['soft-blue']};
- }
- `;
|