From dd0d80532c4f8f4ae82a2ea4ef58734d49ef6ab6 Mon Sep 17 00:00:00 2001 From: Justin DuJardin Date: Sat, 31 Mar 2012 10:02:29 -0700 Subject: [PATCH] Fix spinner.gif input jumpiness. Apply default outline and height properties on the input, to override site-specific CSS input styles. --- select2.css | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/select2.css b/select2.css index 43ba5e1d..7ac59ca6 100755 --- a/select2.css +++ b/select2.css @@ -154,7 +154,16 @@ border: 1px solid #aaa; font-family: sans-serif; font-size: 1em; - width:100%; + width:100%; + margin:0; + height:auto !important; + width:100%; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + border-radius: 0; + -moz-border-radius: 0; + -webkit-border-radius: 0; } .select2-container .select2-search input.select2-active { @@ -165,12 +174,6 @@ background: url('spinner.gif') no-repeat 100%, -o-linear-gradient(bottom, white 85%, #eeeeee 99%); background: url('spinner.gif') no-repeat 100%, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%); background: url('spinner.gif') no-repeat 100%, linear-gradient(top, #ffffff 85%, #eeeeee 99%); - margin: 1px 0; - padding: 4px 20px 4px 5px; - outline: 0; - border: 1px solid #aaa; - font-family: sans-serif; - font-size: 1em; }