vendor/assets/stylesheets/select2.scss in select2-rails-3.5.9.3 vs vendor/assets/stylesheets/select2.scss in select2-rails-3.5.10

- old
+ new

@@ -1,15 +1,12 @@ /* -Version: 3.5.2 Timestamp: Sat Nov 1 14:43:36 EDT 2014 +Version: 3.5.4 Timestamp: Sun Aug 30 13:30:32 EDT 2015 */ .select2-container { margin: 0; position: relative; display: inline-block; - /* inline-block for ie7 */ - zoom: 1; - *display: inline; vertical-align: middle; } .select2-container, .select2-drop, @@ -178,14 +175,10 @@ .select2-drop-auto-width { border-top: 1px solid #aaa; width: auto; } -.select2-drop-auto-width .select2-search { - padding-top: 4px; -} - .select2-container .select2-choice .select2-arrow { display: inline-block; width: 18px; height: 100%; position: absolute; @@ -228,12 +221,11 @@ .select2-search { display: inline-block; width: 100%; min-height: 26px; margin: 0; - padding-left: 4px; - padding-right: 4px; + padding: 4px 4px 0 4px; position: relative; z-index: 10000; white-space: nowrap; @@ -269,13 +261,9 @@ background: #fff image-url('select2.png') no-repeat -37px -22px; background: image-url('select2.png') no-repeat -37px -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee)); background: image-url('select2.png') no-repeat -37px -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%); background: image-url('select2.png') no-repeat -37px -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%); background: image-url('select2.png') no-repeat -37px -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0; -} - -.select2-drop.select2-drop-above .select2-search input { - margin-top: 4px; } .select2-search input.select2-active { background: #fff image-url('select2-spinner.gif') no-repeat 100%; background: image-url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));