aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MetadataEntryMenu.scss
blob: 924476a30cf29b8e53713f12fbe3958763e8a066 (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
.metadataEntry-outerDiv {
    display: flex;
    width: 310px;
    flex-direction: column;

    input[type='checkbox'] {
        margin-left: 5px;
    }
}

.metadataEntry-autoSuggester {
    width: 80%;
    height: 100%;
    margin: 0px;
    display: inline-block;
}

#metadataEntry-outer {
    overflow: auto !important;
}

.metadataEntry-keys {
    max-height: 80px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.metadataEntry-inputArea {
    display: inline-block;
    flex-direction: row;
}

.react-autosuggest__container {
    position: relative;
}

.react-autosuggest__container,
.metadataEntry-input {
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
}

.metadataEntry-input,
.react-autosuggest__input {
    border: 1px solid #aaa;
    border-radius: 4px;
    width: 75%;
}

.react-autosuggest__input--focused {
    outline: none;
}

.react-autosuggest__input--open {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.react-autosuggest__suggestions-container {
    display: none;
}

.react-autosuggest__suggestions-container--open {
    display: block;
    position: fixed;
    overflow-y: auto;
    max-height: 400px;
    width: 180px;
    border: 1px solid #aaa;
    background-color: #fff;
    font-family: Helvetica, sans-serif;
    font-weight: 300;
    font-size: 16px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    z-index: 2;
}

.react-autosuggest__suggestions-list {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

.react-autosuggest__suggestion {
    cursor: pointer;
    padding: 10px 20px;
}

.react-autosuggest__suggestion--highlighted {
    background-color: #ddd;
}