Moved inline style to stylesheet

This commit is contained in:
David Cook
2013-06-21 16:12:56 +10:00
parent 0525abb084
commit a63b8908bb
2 changed files with 7 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ nav#filters {
.filter_choices {
padding-left: 20px;
margin-bottom: 20px;
margin-bottom: 5px;
list-style: disc outside;
li {
@@ -60,6 +60,10 @@ nav#filters {
}
}
}
input[type=submit] {
margin-bottom: 15px;
}
}

View File

@@ -16,7 +16,7 @@
- distributors_more = @total_distributors - @sidebar_distributors.count
%span.filter_more
= "#{distributors_more} more..."
= button_to 'Browse All Distributors', main_app.distributors_enterprises_path, :method => :get, :style => "margin-top: -15px; margin-bottom: 15px;"
= button_to 'Browse All Distributors', main_app.distributors_enterprises_path, :method => :get
%div#supplier_filter
%h6.filter_name Shop by Supplier
@@ -27,4 +27,4 @@
- suppliers_more = @total_suppliers - @sidebar_suppliers.count
%span.filter_more
= "#{suppliers_more} more..."
= button_to 'Browse All Suppliers', main_app.suppliers_enterprises_path, :method => :get, :style => "margin-top: -15px; margin-bottom: 15px;"
= button_to 'Browse All Suppliers', main_app.suppliers_enterprises_path, :method => :get