summaryrefslogtreecommitdiffstats
path: root/src/assets/multiselect.scss
blob: bb24db76ad8aece618dca833cd9d173e6a4810b7 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
@import "vars.scss";
@import "node_modules/vue-multiselect/dist/vue-multiselect";

.multiselect {
    .dark & {
        color: $dark-font-color;
    }
}

.multiselect__tags {
    border-radius: 1.5rem;
    border: 1px solid #ced4da;
    min-height: 38px;
    padding: 6px 40px 0 8px;
}

.multiselect--active .multiselect__tags {
    border-radius: 1rem;
}

.multiselect__option--highlight {
    background: $primary !important;
    color: $dark-font-color2 !important;
}

.multiselect__option--highlight::after {
    background: $primary !important;
    color: $dark-font-color2 !important;
}

.multiselect__tag {
    border-radius: $border-radius;
    margin-bottom: 0;
    padding: 6px 26px 6px 10px;
    background: $primary !important;
}

.multiselect__placeholder {
    font-size: 1rem;
    padding-left: 6px;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    opacity: 0.67;
}

.multiselect__input,
.multiselect__single {
    line-height: 14px;
    margin-bottom: 0;
}

.dark {
    .multiselect__tag {
        color: $dark-font-color2;
    }

    .multiselect__tags {
        background-color: $dark-bg2;
        border-color: $dark-border-color;
    }

    .multiselect__input,
    .multiselect__single {
        background-color: $dark-bg2;
        color: $dark-font-color;
    }

    .multiselect__content-wrapper {
        background-color: $dark-bg2;
        border-color: $dark-border-color;
        z-index: 150;
    }

    .multiselect--above .multiselect__content-wrapper {
        border-color: $dark-border-color;
    }

    .multiselect__option--selected {
        background-color: $dark-bg;
    }
}