aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/components/_inputOptions.scss
blob: 7ac975203c5e22bffd390f5180b69e07b715cf28 (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
.disabled {
    .Select-control {
        background-color: $tlv-light-gray;
        .Select-placeholder {
            color: $dark-gray;
        }
    }
}

.input-options {
    display: flex;
    border: 1px solid $light-gray;
    border-radius: 2px;
    height: 30px;
    &:hover {
        border-color: $gray;
    }
    .input-options-select {
        float: left;
        border: none;
        transition-property: width;
        transition-duration: 300ms;
        padding-top: 0px;
        padding-bottom: 0px;
        height: 28px;
    }

    .input-options-other {
        float: left;
        height: 30px;
        border: none;
        padding-top: 0px;
        padding-bottom: 0px;
        height: 28px;
    }
    .input-options-separator {
        width: 1px;
        height: 24px;
        margin-top: 2px;
        margin-bottom: 2px;
        border: 1px solid $light-gray;
    }
}

.input-options.has-error {
    border-color: $crimson;
}

.bootstrap-input-options {
    display: flex;
    flex-direction: column;
    .input-options-select {
        border: 1px solid $light-gray;
        border-radius: 2px;
        height: 30px;
        float: left;
        transition-property: width;
        transition-duration: 300ms;
        padding-top: 0;
        padding-bottom: 0;
        width: 100%;
        &:hover {
            border-color: $gray;
        }
    }
    .select-multiple {
        border: 1px solid $light-gray;
        border-radius: 2px;
        min-height: 60px;
        float: left;
        transition-property: width;
        transition-duration: 300ms;
        padding-top: 0;
        padding-bottom: 0;
        width: 100%;
        &:hover {
            border-color: $gray;
        }
    }
    .input-options-other {
        float: left;
        height: 30px;
        border: none;
        padding-top: 0;
        padding-bottom: 0;
        height: 28px;
    }
    .input-options-separator {
        width: 1px;
        height: 24px;
        margin-top: 2px;
        margin-bottom: 2px;
        border: 1px solid $light-gray;
    }
    &.has-error {
        border-color: $crimson;
    }
}