Permalink
Browse files

use image-url in sass

  • Loading branch information...
tsechingho committed Nov 29, 2012
1 parent 57c3a16 commit ca73b72e9d0599d525544fb6229749697de70aa2
Showing with 17 additions and 17 deletions.
  1. +17 −17 vendor/assets/stylesheets/chosen.css.sass
@@ -69,7 +69,7 @@
width: 12px
height: 13px
font-size: 1px
- background: url('chosen-sprite.png') right top no-repeat
+ background: image-url('chosen-sprite.png') right top no-repeat
&:hover
background-position: right -11px
&.chzn-disabled .chzn-single abbr:hover
@@ -82,7 +82,7 @@
height: 100%
width: 18px
b
- background: url('chosen-sprite.png') no-repeat 0 0
+ background: image-url('chosen-sprite.png') no-repeat 0 0
display: block
width: 100%
height: 100%
@@ -93,12 +93,12 @@
white-space: nowrap
z-index: 1010
input
- background: white url('chosen-sprite.png') no-repeat 100% -22px
- background: url('chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
- background: url('chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
- background: url('chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(top, #eeeeee 1%, white 15%)
- background: url('chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(top, #eeeeee 1%, white 15%)
- background: url('chosen-sprite.png') no-repeat 100% -22px, linear-gradient(#eeeeee 1%, white 15%)
+ background: white image-url('chosen-sprite.png') no-repeat 100% -22px
+ background: image-url('chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
+ background: image-url('chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
+ background: image-url('chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(top, #eeeeee 1%, white 15%)
+ background: image-url('chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(top, #eeeeee 1%, white 15%)
+ background: image-url('chosen-sprite.png') no-repeat 100% -22px, linear-gradient(#eeeeee 1%, white 15%)
margin: 1px 0
padding: 4px 20px 4px 5px
outline: 0
@@ -204,7 +204,7 @@
width: 12px
height: 13px
font-size: 1px
- background: url('chosen-sprite.png') right top no-repeat
+ background: image-url('chosen-sprite.png') right top no-repeat
&:hover
background-position: right -11px
.search-choice-focus .search-choice-close
@@ -281,9 +281,9 @@
.chzn-results-scroll-down
bottom: 0
span
- background: url('chosen-sprite.png') no-repeat -4px -3px
+ background: image-url('chosen-sprite.png') no-repeat -4px -3px
.chzn-results-scroll-up span
- background: url('chosen-sprite.png') no-repeat -22px -3px
+ background: image-url('chosen-sprite.png') no-repeat -22px -3px
/* @end
@@ -374,12 +374,12 @@
&.chzn-container-active .chzn-single-with-drop div
border-right: none
.chzn-search input
- background: white url('chosen-sprite.png') no-repeat -38px -22px
- background: url('chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
- background: url('chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
- background: url('chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(top, #eeeeee 1%, white 15%)
- background: url('chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(top, #eeeeee 1%, white 15%)
- background: url('chosen-sprite.png') no-repeat -38px -22px, linear-gradient(#eeeeee 1%, white 15%)
+ background: white image-url('chosen-sprite.png') no-repeat -38px -22px
+ background: image-url('chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
+ background: image-url('chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
+ background: image-url('chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(top, #eeeeee 1%, white 15%)
+ background: image-url('chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(top, #eeeeee 1%, white 15%)
+ background: image-url('chosen-sprite.png') no-repeat -38px -22px, linear-gradient(#eeeeee 1%, white 15%)
padding: 4px 5px 4px 20px
direction: rtl

0 comments on commit ca73b72

Please sign in to comment.