diff --git a/app/assets/stylesheets/base/ie8.css.scss b/app/assets/stylesheets/base/ie8.css.scss new file mode 100644 index 0000000..9f2f905 --- /dev/null +++ b/app/assets/stylesheets/base/ie8.css.scss @@ -0,0 +1,43 @@ + +.lt-ie9 { + .container { + width: 970px; + } + + .nav { + margin-right: 15px; + li { + float: left; + } + } + + .input-search { + width: 380px; + color: #333; + font-size: 18px; + padding: 10px; + } + + .buttons { + display: block; + text-align: left; + } + + .healthy-volunteers { + label { + display: inline; + margin-bottom: 5px; + } + } + + label { + width: 100%; + } + + .categories { + .col-md-2 { + width: 200px; + } + } + +} \ No newline at end of file diff --git a/app/assets/stylesheets/study_finder.css.scss.erb b/app/assets/stylesheets/study_finder.css.scss.erb index cca2b13..a51aecb 100644 --- a/app/assets/stylesheets/study_finder.css.scss.erb +++ b/app/assets/stylesheets/study_finder.css.scss.erb @@ -24,4 +24,7 @@ @import "base/media"; // Print Friendly -@import "base/print"; \ No newline at end of file +@import "base/print"; + +// IE 8 Support :( +@import "base/ie8"; \ No newline at end of file diff --git a/app/views/shared/_refine_search.html.haml b/app/views/shared/_refine_search.html.haml index b325a3e..5481cb3 100644 --- a/app/views/shared/_refine_search.html.haml +++ b/app/views/shared/_refine_search.html.haml @@ -35,6 +35,6 @@ - if !params[:search].nil? and !params[:search][:category].nil? %input{type:'hidden', name: 'search[category]', value: params[:search][:category] } - - = submit_tag 'Search', class: 'btn btn-lg btn-school-inverse btn-search' - = link_to 'Clear', studies_path, class: 'btn btn-lg btn-default' \ No newline at end of file + .buttons + = submit_tag 'Search', class: 'btn btn-lg btn-school-inverse btn-search' + = link_to 'Clear', studies_path, class: 'btn btn-lg btn-default' \ No newline at end of file