From 9222590a2529c5fe3a6512f13fc5fe1109ca82af Mon Sep 17 00:00:00 2001 From: Danillo Nunes Date: Thu, 21 Jul 2011 15:19:54 -0300 Subject: [PATCH] Add gradient support for Opera 11.10+ --- chosen/chosen.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/chosen/chosen.css b/chosen/chosen.css index e380915..d2b1eb4 100644 --- a/chosen/chosen.css +++ b/chosen/chosen.css @@ -7,6 +7,7 @@ div.chzn-container input { background: #fff; background: -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee)); background: -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%); + background: -o-linear-gradient(bottom, white 85%, #eeeeee 99%); border: 1px solid #aaa; font-family: sans-serif; font-size: 1em; @@ -55,6 +56,7 @@ div.chzn-container a.chzn-single { background: #FFF; background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.5, white)); background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 50%); + background-image: -o-linear-gradient(bottom, #eeeeee 0%, white 50%); border: 1px solid #aaa; display: block; overflow: hidden; @@ -95,6 +97,7 @@ div.chzn-container a.chzn-single div { background: #ccc; background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee)); background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%); + background-image: -o-linear-gradient(bottom, #ccc 0%, #eee 60%); border-left: 1px solid #aaa; display: block; height: 100%; @@ -118,6 +121,7 @@ div.chzn-container div.chzn-search input { background: url('chosen-sprite.png') no-repeat 97% -35px, #ffffff; background: url('chosen-sprite.png') no-repeat 97% -35px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee)); background: url('chosen-sprite.png') no-repeat 97% -35px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%); + background: url('chosen-sprite.png') no-repeat 97% -35px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%); -moz-border-radius: 0px; -webkit-border-radius: 0px; -o-border-radius: 0px; @@ -134,6 +138,7 @@ div.chzn-container ul.chzn-choices { background: #fff; background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee)); background-image: -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%); + background-image: -o-linear-gradient(bottom, white 85%, #eeeeee 99%); margin: 0; cursor: text; border: 1px solid #aaa; @@ -180,6 +185,7 @@ div.chzn-container ul.chzn-choices li.search-choice { background: #e4e4e4; background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #e4e4e4), color-stop(0.7, #eeeeee)); background-image: -moz-linear-gradient(center bottom, #e4e4e4 0%, #eeeeee 70%); + background-image: -o-linear-gradient(bottom, #e4e4e4 0%, #eeeeee 70%); color: #333; border: 1px solid #b4b4b4; line-height: 13px; @@ -284,6 +290,7 @@ div.chzn-container-active a.chzn-single-with-drop { background: #EEE; background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, white), color-stop(0.5, #eeeeee)); background-image: -moz-linear-gradient(center bottom, white 0%, #eeeeee 50%); + background-image: -o-linear-gradient(bottom, white 0%, #eeeeee 50%); -webkit-border-bottom-left-radius: 0px; -webkit-border-bottom-right-radius: 0px; -moz-border-radius-bottomleft: 0px;