Tidy up the stylesheets, removing lots of ancient, unused junk and

trying to group everything else together in more logical fashion.
This commit is contained in:
Tom Hughes 2010-03-03 15:46:16 +00:00
parent 4bbd7f5310
commit 318c7a9854
10 changed files with 531 additions and 589 deletions

View file

@ -7,9 +7,9 @@
<%= javascript_include_tag 'site' %>
<!--[if lt IE 7]><%= javascript_include_tag 'pngfix' %><![endif]--> <!-- thanks, microsoft! -->
<%= stylesheet_link_tag 'common' %>
<!--[if IE]><%= stylesheet_link_tag 'site', :media => "screen" %><![endif]--> <!-- IE is totally broken with CSS media queries -->
<%= stylesheet_link_tag 'site-sml', :media => "only screen and (max-width: 481px)" %>
<%= stylesheet_link_tag 'site', :media => "screen and (min-width: 482px)" %>
<!--[if IE]><%= stylesheet_link_tag 'large', :media => "screen" %><![endif]--> <!-- IE is totally broken with CSS media queries -->
<%= stylesheet_link_tag 'small', :media => "only screen and (max-width: 481px)" %>
<%= stylesheet_link_tag 'large', :media => "screen and (min-width: 482px)" %>
<%= stylesheet_link_tag 'print', :media => "print" %>
<%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => "/opensearch/osm.xml" }) %>
<%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %>
@ -134,7 +134,7 @@
<a href="http://donate.openstreetmap.org/" title="<%= h(t('layouts.make_a_donation.title')) %>"><%= h(t('layouts.make_a_donation.text')) %></a>
</div>
<div id="cclogo" class="button" style="width: 88px">
<div id="cclogo" style="width: 88px">
<%= link_to(
image_tag("cc_button.png",
:alt => t('layouts.license.alt'),

View file

@ -32,8 +32,8 @@
<% content_for "optionals" do %>
<div class="optionalbox">
<span class="oboxheader"><%= t 'site.search.search' %></span>
<span class="whereami"><a href="javascript:describeLocation()" title="<%= t 'site.search.where_am_i_title' %>"><%= t 'site.search.where_am_i' %></a></span>
<h1><%= t 'site.search.search' %></h1>
<div class="search_form">
<div id="search_field">
<% form_remote_tag(:before => "setSearchViewbox()",

View file

@ -10,7 +10,7 @@
<% end %>
</td>
<td class="<%= cl %>"><%= link_to trace.name, {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id} %>
<span class="gpxsummary" title="<%= trace.timestamp %>"> ...
<span class="trace_summary" title="<%= trace.timestamp %>"> ...
<% if trace.inserted %>
(<%= t'trace.trace.count_points', :count => trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %>)
<% end %>

View file

@ -1,6 +1,6 @@
<%= render :partial => 'trace_paging_nav' %>
<table id="keyvalue" cellpadding="3">
<table id="trace_list" cellpadding="3">
<tr>
<th></th>
<th></th>

View file

@ -1,7 +1,6 @@
<% content_for "optionals" do %>
<div class="optionalbox">
<span class="oboxheader"><%= t'trace.trace_optionals.tags' %></span>
<br />
<h1><%= t'trace.trace_optionals.tags' %></h1>
<br />
<% if @all_tags %>
<% @all_tags.each do |tag| %>