summaryrefslogtreecommitdiff
path: root/server/web/src/design/components/Select.design.tsx
blob: 92e6719abc8b8683d31a71094253660631362413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import styled from 'styled-components';

export const SelectContainer = styled('div')`
    position: fixed;
`;

export const SelectRow = styled('div')`
    border-bottom: solid thin rgb(31, 113, 145);
    border-right: solid thin rgb(31, 113, 145);
    border-left: solid thin rgb(31, 113, 145);
    background-color: rgb(5, 32, 58);
    font-size: 0.8rem;
    transition: 250ms;
    padding: 0.4rem;
    cursor: pointer;
    width: 8.5rem;

    :hover {
        background-color: rgb(0, 55, 117);
        transition: 250ms;
    }

    :first-child {
        border-top: solid thin rgb(31, 113, 145);
        border-top-right-radius: 0.25rem;
        border-top-left-radius: 0.25rem;
    }

    :last-child {
        border-bottom-right-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
    }

    > svg {
        vertical-align: text-bottom;
    }
`;