Now that sass-rails and the asset pipeline work, we should use the
asset helpers Rails gives us rather than hard-coding
url("/assets/filename.png") for loading assets from sass/scss
stylesheets.
64 lines
1.3 KiB
Sass
64 lines
1.3 KiB
Sass
.ac_results
|
|
:border 1px solid #999
|
|
:background-color transparent
|
|
:overflow hidden
|
|
:z-index 99999
|
|
:min-width 247px !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
|
|
|
|
.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
|