summaryrefslogtreecommitdiff
path: root/assets/css/src/input_addon.css
blob: bf06d6abd1b93d7365887ed1f7ed2d390d00090a (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
.input-addon {
    display: flex
}

.input-addon-field {
    flex: 1;
    font-size: 1em;
    color: var(--color-light);
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none
}

.input-addon-field:first-child {
    border-radius: 5px 0 0 5px
}

.input-addon-field:last-child {
    border-radius: 0 5px 5px 0
}

.input-addon-item {
    background-color: rgba(147, 128, 108, 0.1);
    color: #666;
    font: inherit;
    font-weight: normal
}

.input-addon-item:first-child {
    border-radius: 5px 0 0 5px
}

.input-addon-item:last-child {
    border-radius: 0 5px 5px 0
}

@media (max-width: 480px) {
    .input-addon-item .dropdown .fa-caret-down {
        display: none
    }
}

.input-addon-field,
.input-addon-item {
    border: 1px solid rgba(147, 128, 108, 0.25);
    padding: 4px 0.75em
}

.input-addon-field:not(:first-child),
.input-addon-item:not(:first-child) {
    border-left: 0
}