Float the close icon, closes #40
This commit is contained in:
parent
b903d8b746
commit
b2a82f501d
12 changed files with 21 additions and 13 deletions
|
@ -651,8 +651,7 @@ nav.secondary {
|
|||
}
|
||||
|
||||
.icon.close {
|
||||
position: absolute;
|
||||
right: $lineheight;
|
||||
float: right;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<h2>
|
||||
<%= t 'browse.changeset.changeset', :id => @changeset.id %>
|
||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||
<%= t 'browse.changeset.changeset', :id => @changeset.id %>
|
||||
</h2>
|
||||
|
||||
<div class="browse-section">
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
@title = t('browse.node.node') + ' | ' + @name
|
||||
%>
|
||||
|
||||
<h2><%= t'browse.node.node_title', :node_name => @name %>
|
||||
<h2>
|
||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||
<%= t'browse.node.node_title', :node_name => @name %>
|
||||
</h2>
|
||||
|
||||
<%= render :partial => "node_details", :object => @node %>
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
@title = t('browse.node_history.node_history') + ' | ' + @name
|
||||
%>
|
||||
|
||||
<h2><%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %>
|
||||
<h2>
|
||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||
<%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %>
|
||||
</h2>
|
||||
|
||||
<% @node.old_nodes.reverse.each do |node| %>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<h2><%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
|
||||
<h2>
|
||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||
<%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
|
||||
</h2>
|
||||
<div class="browse-section">
|
||||
<span>
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
@title = t('browse.relation.relation') + ' | ' + @name
|
||||
%>
|
||||
|
||||
<h2><%= t'browse.relation.relation_title', :relation_name => @name %>
|
||||
<h2>
|
||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||
<%= t'browse.relation.relation_title', :relation_name => @name %>
|
||||
</h2>
|
||||
|
||||
<%= render :partial => "relation_details", :object => @relation %>
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
@title = t('browse.relation_history.relation_history') + ' | ' + @name
|
||||
%>
|
||||
|
||||
<h2><%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
|
||||
<h2>
|
||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||
<%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
|
||||
</h2>
|
||||
|
||||
<% @relation.old_relations.reverse.each do |relation| %>
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
@name = printable_name @way
|
||||
@title = t('browse.way.way') + ' | ' + @name
|
||||
%>
|
||||
<h2><%= t'browse.way.way_title', :way_name => @name %>
|
||||
<h2>
|
||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||
<%= t'browse.way.way_title', :way_name => @name %>
|
||||
</h2>
|
||||
|
||||
<%= render :partial => "way_details", :object => @way %>
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
@title = t('browse.way_history.way_history') + ' | ' + @name
|
||||
%>
|
||||
|
||||
<h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
|
||||
<h2>
|
||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||
<%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
|
||||
</h2>
|
||||
|
||||
<% @way.old_ways.reverse.each do |way| %>
|
||||
|
|
|
@ -20,8 +20,9 @@
|
|||
end
|
||||
%>
|
||||
|
||||
<h2><%= @heading %>
|
||||
<h2>
|
||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||
<%= @heading %>
|
||||
</h2>
|
||||
|
||||
<div class="changesets">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<h2>
|
||||
<%= t('site.sidebar.search_results') %>
|
||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||
<%= t('site.sidebar.search_results') %>
|
||||
</h2>
|
||||
<% @sources.each do |source| %>
|
||||
<h4 class="inner12"><%= raw(t "geocoder.search.title.#{source}") %></h4>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<h2><%= t 'export.start_rjs.export' %>
|
||||
<h2>
|
||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||
<%= t 'export.start_rjs.export' %>
|
||||
</h2>
|
||||
|
||||
<%= form_tag :controller => "export", :action => "finish" do %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue