Remove inline styling

This commit is contained in:
Tom Hughes 2015-03-16 20:29:40 +00:00
parent 6d9d688080
commit d73a4efef0
2 changed files with 15 additions and 2 deletions

View file

@ -921,10 +921,23 @@ header .search_forms,
float: right;
}
div.header {
width: 100%;
height: 30px;
}
div.line {
width: 100%;
margin: 0px 0px 5px 0px;
}
div.loader_copy {
display: none;
img {
vertical-align: middle;
}
}
}
/* Rules for the map key which appears in the popout sidebar */

View file

@ -9,7 +9,7 @@
</form>
<form method="GET" action="<%= directions_path %>" class="directions_form">
<div style="width:100%; text-align:right; height:30px;"><span class="icon close"></span></div>
<div class="header"><span class="icon close"></span></div>
<div class="line">
<%= image_tag "marker-green.png", :class => "routing_marker", :id => "marker_from", :draggable => "true" %>
@ -24,6 +24,6 @@
<%= submit_tag t('site.search.submit_text'), :class => "routing_go" %>
</div>
<div class="loader_copy" style="display:none;"><div class="loader"><%= image_tag "searching.gif", :style => "vertical-align: middle;" %></div></div>
<div class="loader_copy"><div class="loader"><%= image_tag "searching.gif" %></div></div>
</form>
</div>