summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_multi-select.scss
blob: a33116aa466f8a65b4fcb68b46798846b637c600 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
@charset 'UTF-8';

.multi-select__container {
    display: table;
    padding: 0 15px;
    width: 100%;

    .Select {
        display: table-cell;
        padding-right: 15px;
        vertical-align: top;
        width: 100%;
    }

    .btn {
        display: table-cell;
        height: 36px;
        min-width: 60px;
        vertical-align: top;
    }

    .Select-control {
        border-radius: 1px;
    }

    .Select-value {
        white-space: nowrap;
    }

    .Select-value-label {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.multi-select__help {
    padding: 10px 15px 0;

    > div:not(.multi-select__note),
    > span {
        @include opacity(.6);
    }
}

.multi-select__note {
    @include border-radius(3px);
    display: table;
    margin-top: 5px;
    padding: 8px 13px;
    width: 100%;

    > div {
        display: table-cell;

        &.note__icon {
            width: 15px;
        }
    }
}