$darkgrey: #AAA;
$hovercolor: 20%;
$headerHeight: 54px;
-$sidebarWidth: 350px;
-$keyline: 1px solid $grey;
+$sidebarWidth: 300px;
+$keyline: 1px solid $lightgrey;
$border-radius: 3px;
/* Styles common to large and small screens */
border-right: $keyline;
h2, h3, h4 {
- padding: $lineheight;
+ padding: $lineheight $lineheight $lineheight/2;
}
h4 {
font-weight: normal;
+ color: #666;
+ font-size: 12px;
}
.icon.close {
color: #666;
}
}
+
+ p.large-text {
+ font-size: 1.7em;
+ line-height: 1.4em;
+ font-weight: 300;
+ }
}
#sidebar.minimized {
position: absolute;
z-index: 1000;
height: auto;
+ border-right: none;
#sidebar_content {
display: none;
}
+
+ #search_form {
+ background: none;
+ width: 78%;
+ }
}
#map {
#sidebar_content {
position: absolute;
- top: 72px;
+ top: 50px;
bottom: 0;
width: 100%;
overflow-y: auto;
#search_form {
position: relative;
- padding: $lineheight;
+ padding: $lineheight/2 $lineheight;
background-color: $lightgrey;
- border-bottom: $keyline;
#query_wrapper {
position: relative;
.search_results_entry {
ul li {
- border-bottom: 1px solid #ccc;
+ border-bottom: $keyline;
+ &:first-child { border-top: $keyline; }
}
.search_details {
html << link_to(result[:name], url, html_options) if result[:name]
html << result[:suffix] if result[:suffix]
- if result[:type] and result[:id]
- html << content_tag(:small, :class => ["deemphasize", "search_details"]) do
- link_to(t("browse.#{result[:type]}_history.view_details"), :controller => :browse, :action => result[:type], :id => result[:id])
- end
- end
+ # if result[:type] and result[:id]
+ # html << content_tag(:small, :class => ["deemphasize", "search_details"]) do
+ # link_to(t("browse.#{result[:type]}_history.view_details"), :controller => :browse, :action => result[:type], :id => result[:id])
+ # end
+ # end
return raw(html)
end
<h2><%= t('site.sidebar.search_results') %></h2>
<% @sources.each do |source| %>
- <h4><%= raw(t "geocoder.search.title.#{source}") %></h4>
+ <h4 class="inner12"><%= raw(t "geocoder.search.title.#{source}") %></h4>
<div class="search_results_entry" data-href="<%= url_for params.merge(:action => "search_#{source}") %>">
<%= image_tag "searching.gif", :class => "loader" %>
</div>
<span class="icon close"></span>
</h2>
-<p class="inner22"><%= t 'layouts.intro_text' %></p>
+<p class="inner12 large-text"><%= t 'layouts.intro_text' %></p>
<div class='footer'>
<a title="<%= t('layouts.make_a_donation.title') %>" href="http://donate.openstreetmap.org/" class="donate">
<span><%= t('layouts.make_a_donation.text') %></span>
</a>
- <p class='credits inner22'>
+ <p class='credits inner12'>
<%= t 'layouts.partners_html',
:ucl => link_to(t('layouts.partners_ucl'), "http://www.vr.ucl.ac.uk"),
:ic => link_to(t('layouts.partners_ic'), "http://www.imperial.ac.uk/"),