File size: 2,031 Bytes
1e92f2d | 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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | body {
font-family: Helvetica, sans-serif;
margin: 0;
padding: 1em;
box-sizing: border-box;
}
.highlighted{
background: yellow;
}
.autocomplete{
display: flex;
justify-content: space-between;
border: 1px solid red;
}
.content{
display: flex;
justify-content: space-between;
}
.block{
padding: 5px 10px;
}
.title{
border: 1px solid red;
display: flex;
justify-content: space-around;
padding: 5px 10px;
}
.disabled {
display: none;
}
.ais-MultiIndex__root{
width: 100%;
}
.title div{
width: 100%;
padding: 5px 10px;
}
.react-autosuggest__container {
position: relative;
}
.react-autosuggest__input {
width: 600px;
height: 30px;
padding: 10px 20px;
font-family: Helvetica, sans-serif;
font-weight: 300;
font-size: 16px;
border: 1px solid #aaa;
border-radius: 4px;
}
.react-autosuggest__input:focus {
outline: none;
}
.react-autosuggest__container--open .react-autosuggest__input {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.react-autosuggest__suggestions-container {
display: none;
}
.react-autosuggest__container--open .react-autosuggest__suggestions-container {
display: block;
position: absolute;
top: 51px;
width: 640px;
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: 0;
padding: 0;
list-style-type: none;
}
.react-autosuggest__suggestion {
cursor: pointer;
padding: 10px 20px;
}
.react-autosuggest__suggestion--focused {
background-color: #ddd;
}
.react-autosuggest__section-title {
padding: 10px 0 0 10px;
font-size: 12px;
color: #777;
border-top: 1px dashed #ccc;
}
.react-autosuggest__section-container:first-child .react-autosuggest__section-title {
border-top: 0;
}
|