Refactor away from global form control styling

This enables forms to be converted one-by-one to bootstrap. Without this
refactoring, these global styles interfere with form control styling from
bootstrap.

The rearrangement of the search and directions styling is to solve CSS selector specitivity issues.
This commit is contained in:
Andy Allan 2020-06-10 20:33:18 +02:00
parent 5c3f549492
commit 627f2493fa
26 changed files with 224 additions and 226 deletions

View file

@ -1,4 +1,4 @@
<div class="search_forms">
<div class="search_forms standard-form">
<form method="GET" action="<%= search_path %>" class="search_form">
<%= link_to image_tag("directions.png", :class => "button"), directions_path, :class => "button switch_link", :title => t("site.search.get_directions_title") %>
<%= submit_tag t("site.search.submit_text"), :class => "float", :data => { :disable_with => false } %>