Skip to content

Commit

Permalink
Adding styles to enhance experience within IE8. Fixes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
blackjk3 committed Jul 29, 2015
1 parent d22ecfe commit eac3b60
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 4 deletions.
43 changes: 43 additions & 0 deletions app/assets/stylesheets/base/ie8.css.scss
Original file line number Diff line number Diff line change
@@ -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;
}
}

}
5 changes: 4 additions & 1 deletion app/assets/stylesheets/study_finder.css.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@
@import "base/media";

// Print Friendly
@import "base/print";
@import "base/print";

// IE 8 Support :(
@import "base/ie8";
6 changes: 3 additions & 3 deletions app/views/shared/_refine_search.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
.buttons
= submit_tag 'Search', class: 'btn btn-lg btn-school-inverse btn-search'
= link_to 'Clear', studies_path, class: 'btn btn-lg btn-default'

0 comments on commit eac3b60

Please sign in to comment.