diaspora/app/assets/stylesheets/autocomplete.css.scss
SansPseudoFix 322ca4dac0 display handle for search bar
fix margin and color

hidden overflow for long handle and names

	modified:   app/assets/javascripts/widgets/search.js
	modified:   app/assets/stylesheets/autocomplete.css.scss

add min width 300px

	modified:   app/assets/javascripts/widgets/search.js
	modified:   app/assets/stylesheets/autocomplete.css.scss
2014-11-24 13:17:57 +01:00

92 lines
1.6 KiB
SCSS

.ac_results {
border: 1px solid #999;
background-color: transparent;
overflow: hidden;
z-index: 99999;
min-width: 300px !important;
width: 100%;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 0 1px 3px #999;
-moz-box-shadow: 0 1px 3px #999;
box-shadow: 0 1px 3px #999;
}
.ac_results ul {
width: 100%;
list-style-position: outside;
list-style: none;
padding: 0;
margin: 0;
}
.ac_results li {
margin: 0px;
padding: 2px 5px {
left: 50px;
top: 6px;
}
cursor: default;
display: block;
height: 37px;
position: relative;
// if width will be 100% horizontal scrollbar will apear
// when scroll mode will be used
// width 100%
font: menu;
font-size: 1em;
// it is very important, if line-height not setted or setted
// in relative units scroll will be broken in firefox
//:line-height 16px
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.ac_loading {
background: white image-url('ajax-loader.gif') right center no-repeat;
}
.ac_odd {
background-color: #fafafa;
background-color: rgba(250,250,250,0.95);
}
.ac_even {
background-color: #fff;
background-color: rgba(255,255,255,0.95);
}
.ac_over {
background-color: #3F8FBA;
color: white;
}
.ac_results {
.avatar {
height: 35px;
width: 35px;
position: absolute;
left: 5px;
top: 5px;
}
.search_handle {
font-size: 0.8em;
color: #999;
margin-top: -3px;
}
.ac_over .search_handle{
color: #fff;
}
.ac_over .search_handle, .search_handle {
display: block;
overflow: hidden;
text-overflow: ellipsis;
}
}