Skip to content

Instantly share code, notes, and snippets.

@brightrain
Created February 11, 2015 01:25
Show Gist options
  • Save brightrain/6a805e9eed1e09eb9362 to your computer and use it in GitHub Desktop.
Save brightrain/6a805e9eed1e09eb9362 to your computer and use it in GitHub Desktop.
typeahead style
.typeahead {
background-color: #FFFFFF;
}
.tt-dropdown-menu {
background-color: #FFFFFF;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 4px 4px 4px 4px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
margin-top: 4px;
padding: 4px 0;
width: 100%;
max-height: 300px;
overflow: auto;
}
.tt-suggestion {
font-size: 1.8em;
line-height: 1.8em;
padding: 3px 10px;
}
.tt-suggestion.tt-cursor {
background-color: #064780;
color: #FFFFFF;
cursor: pointer;
}
.tt-suggestion p {
margin: 0;
}
.tt-suggestion + .tt-suggestion {
border-top: 1px solid #ccc;
}
.typeahead-header {
margin: 0 5px 5px 5px;
padding: 3px 0;
border-bottom: 2px solid #333;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment