first commit
This commit is contained in:
35
css/autocomplete.css
Normal file
35
css/autocomplete.css
Normal file
@@ -0,0 +1,35 @@
|
||||
.suggestion-container {
|
||||
text-align: left;
|
||||
cursor : default;
|
||||
border : 1px solid #ccc;
|
||||
border-top: 0;
|
||||
background: #fff;
|
||||
box-shadow: -1px 1px 3px rgba(0, 0, 0, .1);
|
||||
position : absolute;
|
||||
display : none;
|
||||
z-index : 9999;
|
||||
max-height: 254px;
|
||||
overflow : hidden;
|
||||
overflow-y: auto;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.suggestion-item {
|
||||
position : relative;
|
||||
padding : 0 .6em;
|
||||
line-height : 23px;
|
||||
white-space : nowrap;
|
||||
overflow : hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-size : 1.02em;
|
||||
color : #333;
|
||||
}
|
||||
|
||||
.suggestion-item b {
|
||||
font-weight: normal;
|
||||
color : #1f8dd6;
|
||||
}
|
||||
|
||||
.suggestion-item.selected {
|
||||
background: #f0f0f0;
|
||||
}
|
||||
Reference in New Issue
Block a user