diff options
author | Martin Wright <martin@mysociety.org> | 2014-07-02 12:16:23 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-03-02 16:14:09 +0000 |
commit | 5e19f70d6609c666b65263345a5858f70e3dde1d (patch) | |
tree | 2359ba45cb5b114ebf9a7f40990eb8a3e6ea088a | |
parent | 28d4003557f97e0ad72d65cbce99121d562c1598 (diff) |
improved styling of request_search_ahead_results
-rw-r--r-- | app/assets/stylesheets/responsive/_new_request_style.scss | 22 | ||||
-rw-r--r-- | app/views/request/_search_ahead.html.erb | 2 |
2 files changed, 20 insertions, 4 deletions
diff --git a/app/assets/stylesheets/responsive/_new_request_style.scss b/app/assets/stylesheets/responsive/_new_request_style.scss index bf157788d..8537e7d26 100644 --- a/app/assets/stylesheets/responsive/_new_request_style.scss +++ b/app/assets/stylesheets/responsive/_new_request_style.scss @@ -26,8 +26,6 @@ } - - #to_public_body { font-weight: bold; font-size: 1.3em; @@ -76,7 +74,15 @@ margin-top: 1.5em; } - +#request_search_ahead_results { + background-color: darken(#f7eee1, 5%); + padding: 1.5em; + margin-bottom: 1.5em; + h2 { + font-size: 1em; + font-weight: normal; + } +} .advice-panel { background-color: darken(#f7eee1, 5%); @@ -84,6 +90,16 @@ margin-top: 1.5em; } +#request_search_ahead_results { + background-color: darken(#f7eee1, 5%); + padding: 1.5em; + margin-bottom: 1.5em; + h2 { + font-size: 1em; + font-weight: normal; + } +} + /* Batch request page */ .batch_public_body_toggle { diff --git a/app/views/request/_search_ahead.html.erb b/app/views/request/_search_ahead.html.erb index 4fbe06ebc..29e971e3d 100644 --- a/app/views/request/_search_ahead.html.erb +++ b/app/views/request/_search_ahead.html.erb @@ -2,7 +2,7 @@ <div id="request_search_ahead_results"> <% if @xapian_requests.results.any? %> <span class="close-button">X</span> - <h3><%= _("Possibly related requests:") %></h3> + <h2><%= _("Possible duplicate requests") %></h2> <% @xapian_requests.results.each do |result| %> <%= render :partial => 'request/request_listing_short_via_event', |