padding: $lineheight $lineheight $lineheight/2;
}
- h4 {
+ h4, span.user, span.date {
font-weight: normal;
color: #666;
font-size: 12px;
}
.comment a {
- font-weight: bold;
+ font-weight: 500;
color: #000;
}
}
}
.browse-tag-list {
- border: 1px solid #CCC;
- border-radius: 4px;
+ border-top: 1px solid #ddd;
+ border-bottom: 1px solid #ddd;
font-size: 12px;
+ margin-left: -$lineheight;
+ margin-right: -$lineheight;
li {
- border-bottom: 1px solid #CCC;
+ border-bottom: 1px solid #ddd;
}
li:last-child {
width: 50%;
height: 30px;
float: left;
- padding: 6px 10px;
+ padding: 6px 10px 6px $lineheight;
}
.browse-tag-k {
font-weight: 500;
background-color: #F6F6F6;
- border-radius: 4px 0 0 4px;
}
.browse-tag-v {
- border-left: 1px solid #CCC;
+ border-left: 1px solid #ddd;
}
}
}
<div class='browse-section common'>
<% if common_details.changeset.tags['comment'].present? %>
- <div style="font-weight: bold; margin-bottom: 5px;">
- <%= linkify(h(common_details.changeset.tags['comment'])) %>
- </div>
+ <%= linkify(h(common_details.changeset.tags['comment'])) %>
<% else %>
- <div style="font-weight: bold; margin-bottom: 5px;">(no comment)</div>
+ (no comment)
<% end %>
- <div>
+ <h4>
<% if common_details.visible? %>
<%= t 'browse.common_details.edited' %>
<% else %>
<%= t 'browse.common_details.by' %>
<%= link_to h(common_details.changeset.user.display_name), :controller => "user", :action => "view", :display_name => common_details.changeset.user.display_name %>
<% end %>
- </div>
+ </h4>
- <div>
+ <h4>
<%= t 'browse.common_details.version' %>
#<%= h(common_details.version) %>
·
<%= t 'browse.common_details.in_changeset' %>
#<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
- </div>
+ </h4>
</div>
<%= render :partial => "tag_details", :object => common_details.tags %>
end
%>
</p>
- <span>
+ <h4>
<%
created_at = distance_of_time_in_words_to_now(@changeset.created_at)
closed_at = distance_of_time_in_words_to_now(@changeset.closed_at)
<% if @changeset.user.data_public? %>
by <%= link_to h(@changeset.user.display_name), :controller => "user", :action => "view", :display_name => @changeset.user.display_name %>
<% end %>
- </span>
+ </h4>
</div>
<%=
<% end %>
<div class='browse-section secondary-actions'>
- <span><%= link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read") %>
+ <h4><%= link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read") %>
·
- <%= link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %></span>
+ <%= link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %></h4>
</div>
<%= render :partial => "node_details", :object => @node %>
<div class='browse-section secondary-actions clearfix'>
- <span><%= link_to(t('browse.node.download_xml'), :controller => "node", :action => "read") %>
+ <h4><%= link_to(t('browse.node.download_xml'), :controller => "node", :action => "read") %>
·
<%= link_to(t('browse.node.view_history'), :action => "node_history") %>
- </span>
+ </h4>
</div>
<%= render :partial => "way_details", :object => @way %>
<div class='browse-section secondary-actions clearfix'>
- <span><%= link_to(t('browse.way.download_xml'), :controller => "way", :action => "read") %>
+ <h4><%= link_to(t('browse.way.download_xml'), :controller => "way", :action => "read") %>
·
<%= link_to(t('browse.way.view_history'), :action => "way_history") %>
- </span>
+ </h4>
</div>
<%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
</div>
<% elsif params[:max_id] %>
- <p class="inner22"><%= t('changeset.list.no_more') %></p>
+ <h4 class="inner22"><%= t('changeset.list.no_more') %></h4>
<% else %>
- <p class="inner22"><%= t('changeset.list.empty') %></p>
+ <h4 class="inner22"><%= t('changeset.list.empty') %></h4>
<% end %>