Skip to content
Browse files

update to upstream commit 2e09d333f3

  • Loading branch information...
1 parent 1e12287 commit d7f85c1f97fd16a9617dd6c9c1e37b98a74f5760 @tsechingho committed Aug 20, 2012
Showing with 19 additions and 31 deletions.
  1. +19 −31 vendor/assets/stylesheets/chosen.css.sass
View
50 vendor/assets/stylesheets/chosen.css.sass
@@ -15,7 +15,6 @@
left: 0
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15)
-moz-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15)
- -o-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15)
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15)
z-index: 1010
@@ -27,12 +26,11 @@
.chzn-single
background-color: #ffffff
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 )
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, white), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4))
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, white), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4))
background-image: -webkit-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
background-image: -moz-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
background-image: -o-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
- background-image: -ms-linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
- background-image: linear-gradient(top, white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
+ background-image: linear-gradient(white 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%)
-webkit-border-radius: 5px
-moz-border-radius: 5px
border-radius: 5px
@@ -74,7 +72,7 @@
background: image-url('chosen-sprite.png') right top no-repeat
&:hover
background-position: right -11px
- &.chzn-disabled abbr:hover
+ &.chzn-disabled .chzn-single abbr:hover
background-position: right top
.chzn-single div
position: absolute
@@ -96,12 +94,11 @@
z-index: 1010
input
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-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, -ms-linear-gradient(top, #eeeeee 1%, white 15%)
- background: image-url('chosen-sprite.png') no-repeat 100% -22px, 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
@@ -118,20 +115,19 @@
/* @end
-.chzn-container-single-nosearch input
+.chzn-container-single-nosearch .chzn-search input
position: absolute
left: -9000px
/* @group Multi Chosen
.chzn-container-multi .chzn-choices
background-color: #fff
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, white))
background-image: -webkit-linear-gradient(top, #eeeeee 1%, white 15%)
background-image: -moz-linear-gradient(top, #eeeeee 1%, white 15%)
background-image: -o-linear-gradient(top, #eeeeee 1%, white 15%)
- background-image: -ms-linear-gradient(top, #eeeeee 1%, white 15%)
- background-image: linear-gradient(top, #eeeeee 1%, white 15%)
+ background-image: linear-gradient(#eeeeee 1%, white 15%)
border: 1px solid #aaa
margin: 0
padding: 0
@@ -159,7 +155,6 @@
outline: 0
-webkit-box-shadow: none
-moz-box-shadow: none
- -o-box-shadow: none
box-shadow: none
.default
color: #999
@@ -172,12 +167,11 @@
background-clip: padding-box
background-color: #e4e4e4
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 )
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee))
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee))
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
- background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
- background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
+ background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%)
-webkit-box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05)
-moz-box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05)
box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05)
@@ -234,12 +228,11 @@
.highlighted
background-color: #3875d7
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 )
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc))
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc))
background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
- background-image: -ms-linear-gradient(top, #3875d7 20%, #2a62bc 90%)
- background-image: linear-gradient(top, #3875d7 20%, #2a62bc 90%)
+ background-image: linear-gradient(#3875d7 20%, #2a62bc 90%)
color: #fff
li em
background: #feffde
@@ -256,7 +249,7 @@
.group-option
padding-left: 15px
-.chzn-container-multi .result-selected
+.chzn-container-multi .chzn-drop .result-selected
display: none
.chzn-container
@@ -288,23 +281,20 @@
.chzn-single
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
- -o-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
border: 1px solid #5897fb
.chzn-single-with-drop
border: 1px solid #aaa
-webkit-box-shadow: 0 1px 0 #fff inset
-moz-box-shadow: 0 1px 0 #fff inset
- -o-box-shadow: 0 1px 0 #fff inset
box-shadow: 0 1px 0 #fff inset
background-color: #eee
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 )
- background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #eeeeee), color-stop(80%, white))
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #eeeeee), color-stop(80%, white))
background-image: -webkit-linear-gradient(top, #eeeeee 20%, white 80%)
background-image: -moz-linear-gradient(top, #eeeeee 20%, white 80%)
background-image: -o-linear-gradient(top, #eeeeee 20%, white 80%)
- background-image: -ms-linear-gradient(top, #eeeeee 20%, white 80%)
- background-image: linear-gradient(top, #eeeeee 20%, white 80%)
+ background-image: linear-gradient(#eeeeee 20%, white 80%)
-webkit-border-bottom-left-radius: 0
-webkit-border-bottom-right-radius: 0
-moz-border-radius-bottomleft: 0
@@ -319,7 +309,6 @@
.chzn-choices
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
- -o-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
border: 1px solid #5897fb
.search-field input
@@ -332,7 +321,7 @@
.chzn-disabled
cursor: default
opacity: 0.5 !important
- .chzn-single, .chzn-choices .search-choice-close
+ .chzn-single, .chzn-choices .search-choice .search-choice-close
cursor: default
/* @group Right to Left
@@ -370,16 +359,15 @@
.chzn-results .group-option
padding-left: 0
padding-right: 15px
- &.chzn-container-active div
+ &.chzn-container-active .chzn-single-with-drop div
border-right: none
.chzn-search input
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-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, -ms-linear-gradient(top, #eeeeee 1%, white 15%)
- background: image-url('chosen-sprite.png') no-repeat -38px -22px, 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 d7f85c1

Please sign in to comment.
Something went wrong with that request. Please try again.