From f7832be9925ac510a6a98ec001106068b241bd10 Mon Sep 17 00:00:00 2001 From: Reiko Shinozuka Date: Fri, 2 May 2014 14:26:58 +0900 Subject: [PATCH] refs 7123 modified background-color of form --- app/assets/stylesheets/select2.css.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/assets/stylesheets/select2.css.erb b/app/assets/stylesheets/select2.css.erb index 82a447f7..6963fb66 100644 --- a/app/assets/stylesheets/select2.css.erb +++ b/app/assets/stylesheets/select2.css.erb @@ -240,11 +240,14 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013 -webkit-box-shadow: none; box-shadow: none; + background: url(<%= asset_path('select2.png') %>) no-repeat 100% -22px; + /* #7123 background: #fff url(<%= asset_path('select2.png') %>) no-repeat 100% -22px; background: url(<%= asset_path('select2.png') %>) no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee)); background: url(<%= asset_path('select2.png') %>) no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%); background: url(<%= asset_path('select2.png') %>) no-repeat 100% -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%); background: url(<%= asset_path('select2.png') %>) no-repeat 100% -22px, linear-gradient(top, #fff 85%, #eee 99%); + */ } .select2-drop.select2-drop-above .select2-search input { @@ -252,11 +255,14 @@ Version: 3.4.5 Timestamp: Mon Nov 4 08:22:42 PST 2013 } .select2-search input.select2-active { + background: url(<%= asset_path('select2-spinner.gif') %>) no-repeat 100%; + /* #7123 background: #fff url(<%= asset_path('select2-spinner.gif') %>) no-repeat 100%; background: url(<%= asset_path('select2-spinner.gif') %>) no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee)); background: url(<%= asset_path('select2-spinner.gif') %>) no-repeat 100%, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%); background: url(<%= asset_path('select2-spinner.gif') %>) no-repeat 100%, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%); background: url(<%= asset_path('select2-spinner.gif') %>) no-repeat 100%, linear-gradient(top, #fff 85%, #eee 99%); + */ } .select2-container-active .select2-choice,