Last active
May 29, 2020 18:02
-
-
Save ck3g/4050836 to your computer and use it in GitHub Desktop.
Twitter bootstrap + rails3-jquery-autocomplete gem styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul.ui-autocomplete { | |
margin-top: 2px; | |
-webkit-border-radius: 4px; | |
-moz-border-radius: 4px; | |
border-radius: 4px; | |
position: absolute; | |
top: 100%; | |
left: 0; | |
z-index: 1000; | |
display: none; | |
float: left; | |
min-width: 160px; | |
padding: 4px 0; | |
margin: 1px 0 0; | |
list-style: none; | |
background-color: white; | |
border: 1px solid #CCC; | |
border: 1px solid rgba(0, 0, 0, 0.2); | |
-webkit-border-radius: 5px; | |
-moz-border-radius: 5px; | |
border-radius: 5px; | |
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | |
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | |
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); | |
-webkit-background-clip: padding-box; | |
-moz-background-clip: padding; | |
background-clip: padding-box; | |
li { | |
a { | |
display: block; | |
padding: 3px 15px; | |
clear: both; | |
font-weight: normal; | |
line-height: 18px; | |
color: #333; | |
white-space: nowrap; | |
} | |
a:hover, a.ui-state-focus { | |
color: #fff; | |
text-decoration: none; | |
background-color: #0088cc; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems to work with Rails 4 and Bootstrap 3. Thank you.