Skip to content

Commit

Permalink
Add bootstrap build friendly less file
Browse files Browse the repository at this point in the history
  • Loading branch information
rajivr committed Mar 7, 2013
1 parent b04eac5 commit 2bebbe0
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions typeahead.js-bootstrap.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.tt-dropdown-menu {
min-width: 160px;
margin-top: 2px;
padding: 5px 0;
background-color: @dropdownBackground;
border: 1px solid #ccc;
border: 1px solid @dropdownBorder;
*border-right-width: 2px;
*border-bottom-width: 2px;
.border-radius(6px);
.box-shadow(0 5px 10px rgba(0,0,0,.2));
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
}

.tt-suggestion {
display: block;
padding: 3px 20px;
}

.tt-suggestion.tt-is-under-cursor {
color: @dropdownLinkColorHover;
#gradient > .vertical(@dropdownLinkBackgroundHover, darken(@dropdownLinkBackgroundHover, 5%));
}

.tt-suggestion.tt-is-under-cursor a {
color: @dropdownBackground;
}

.tt-suggestion p {
margin: 0;
}

0 comments on commit 2bebbe0

Please sign in to comment.