Adjust autocomplete options and css
This commit is contained in:
parent
bbe47fbb55
commit
06a6cf7fac
4 changed files with 4 additions and 48 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -16,10 +16,7 @@ config/database.yml
|
||||||
|
|
||||||
# Generated files
|
# Generated files
|
||||||
log/*
|
log/*
|
||||||
public/stylesheets/application.css
|
public/stylesheets/*.css
|
||||||
public/stylesheets/sessions.css
|
|
||||||
public/stylesheets/ui.css
|
|
||||||
public/stylesheets/mobile.css
|
|
||||||
public/diaspora
|
public/diaspora
|
||||||
spec/fixtures/*.yml
|
spec/fixtures/*.yml
|
||||||
spec/fixtures/*.fixture.*
|
spec/fixtures/*.fixture.*
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@ var Search = {
|
||||||
minChars : 3,
|
minChars : 3,
|
||||||
max : 5,
|
max : 5,
|
||||||
scroll : false,
|
scroll : false,
|
||||||
|
delay : 200,
|
||||||
|
cacheLength : 15,
|
||||||
extraParams : {limit : 4},
|
extraParams : {limit : 4},
|
||||||
formatItem : Search.formatItem,
|
formatItem : Search.formatItem,
|
||||||
formatResult : Search.formatResult,
|
formatResult : Search.formatResult,
|
||||||
|
|
|
||||||
|
|
@ -1,43 +0,0 @@
|
||||||
.ac_results {
|
|
||||||
padding: 0px;
|
|
||||||
border: 1px solid #999999;
|
|
||||||
background-color: white;
|
|
||||||
overflow: hidden;
|
|
||||||
z-index: 99999; }
|
|
||||||
|
|
||||||
.ac_results ul {
|
|
||||||
width: 100%;
|
|
||||||
list-style-position: outside;
|
|
||||||
list-style: none;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0; }
|
|
||||||
|
|
||||||
.ac_results li {
|
|
||||||
margin: 0px;
|
|
||||||
padding: 2px 5px;
|
|
||||||
padding-left: 50px;
|
|
||||||
padding-top: 6px;
|
|
||||||
cursor: default;
|
|
||||||
display: block;
|
|
||||||
height: 37px;
|
|
||||||
position: relative;
|
|
||||||
font: menu;
|
|
||||||
font-size: 1em;
|
|
||||||
overflow: hidden; }
|
|
||||||
|
|
||||||
.ac_loading {
|
|
||||||
background: white url("../images/ajax-loader.gif") right center no-repeat; }
|
|
||||||
|
|
||||||
.ac_odd {
|
|
||||||
background-color: #eeeeee; }
|
|
||||||
|
|
||||||
.ac_over {
|
|
||||||
background-color: #3f8fba;
|
|
||||||
color: white; }
|
|
||||||
|
|
||||||
.ac_results .avatar {
|
|
||||||
height: 35px;
|
|
||||||
width: 35px;
|
|
||||||
position: absolute;
|
|
||||||
left: 5px;
|
|
||||||
top: 5px; }
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
:background white url('../images/ajax-loader.gif') right center no-repeat
|
:background white url('../images/ajax-loader.gif') right center no-repeat
|
||||||
|
|
||||||
.ac_odd
|
.ac_odd
|
||||||
:background-color #eee
|
:background-color #fafafa
|
||||||
|
|
||||||
.ac_over
|
.ac_over
|
||||||
:background-color #3F8FBA
|
:background-color #3F8FBA
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue