Use buttons for switching to/from directions.
authorMatt Amos <zerebubuth@gmail.com>
Mon, 10 Nov 2014 19:17:21 +0000 (19:17 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Mon, 10 Nov 2014 19:17:21 +0000 (19:17 +0000)
commit3a9db4cf30899d256558f2e03a7c4c30d66669fd
tree8fe1204305816ca4f320eb9bd4efbc690d18a997
parent0cb475cc1ad12c82ff0a36f7b9629c2288737a4f
Use buttons for switching to/from directions.

Previously, used a small text link which wasn't very usable. Now
it uses larger buttons which are (hopefully) more usable. Also
this sorts out the weird right-hanging text boxes for the to/from
in the directions sidebar - now they look like proper text input
boxes.

However, the "back to search" button and the directions submit
buttons are weirdly large and I don't quite understand why.
Hopefully an easy fix for someone who knows the arcana of CSS
better than I.
app/assets/images/directions.png [new file with mode: 0644]
app/assets/images/search.png [new file with mode: 0644]
app/assets/stylesheets/common.css.scss
app/views/layouts/_search.html.erb