.red { color: $red; }
+.piwik { border: 0; }
+
/* Rules for icons */
.icon {
display: block;
}
- #sidebar_content {
+ #sidebar_loader, #sidebar_content {
display: none;
}
}
}
}
+/* Rules for the trace view */
+
+.trace-view {
+ .trace_pending {
+ color: red;
+ }
+
+ .geo {
+ display: inline;
+ }
+}
+
/* Rules for the new trace form */
#new_trace {
margin-bottom: $lineheight;
overflow: auto;
height: 20em;
+
+ li {
+ list-style: inherit;
+ }
+
+ ol ol {
+ list-style-type: lower-alpha;
+ }
}
#decline {
border-radius: 0 2px 2px 0;
}
+/* Rules for the oauth authorization page */
+
+.oauth-authorize ul {
+ list-style: none;
+}
+
/* Rules for messages pages */
.messages {
<div id="browse_status"></div>
- <div id="sidebar_loader" style="display: none;">
+ <div id="sidebar_loader">
<img alt="<%= t('browse.start_rjs.loading') %>" class="loader" src="<%= image_path("searching.gif") %>">
</div>
<%= render :partial => "layouts/header" %>
<%= render :partial => "layouts/content" %>
<% if defined?(PIWIK) -%>
- <noscript><p><img src="<%= request.protocol %><%= PIWIK['location'] %>/piwik.php?idsite=<%= PIWIK['site'] %>" style="border:0" alt="" /></p></noscript>
+ <noscript><p><img src="<%= request.protocol %><%= PIWIK['location'] %>/piwik.php?idsite=<%= PIWIK['site'] %>" class="piwik" alt="" /></p></noscript>
<% end -%>
</body>
</html>
<%= hidden_field_tag "oauth_callback", params[:oauth_callback] %>
<%- end -%>
<p><%= t 'oauth.oauthorize.allow_to' %></p>
- <ul style="list-style:none">
+ <ul>
<% @token.client_application.permissions.each do |perm| %>
<li><%= check_box_tag perm.to_s, "yes", @token.read_attribute(perm) %><%= t "oauth.oauthorize.#{perm}" %></li>
<% end %>
<%= hidden_field_tag 'format', 'osm' %>
<div class='export_area_inputs'>
- <div class='export_boxy' style="border: 1px solid #ccc;">
+ <div class='export_boxy'>
<%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>
<br/>
<%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %>
<% if @trace.inserted %>
<img src="<%= url_for :controller => 'trace', :action => 'picture', :id => @trace.id, :display_name => @trace.user.display_name %>">
<% else %>
- <span style="color:red"><%= t'trace.view.pending' %></span>
+ <span class="trace_pending"><%= t'trace.view.pending' %></span>
<% end %>
<% end %>
<td><%= @trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %></td></tr>
<tr>
<td><%= t'trace.view.start_coordinates' %></td>
- <td><div class="geo" style="display: inline"><span class="latitude"><%= @trace.latitude %></span>; <span class="longitude"><%= @trace.longitude %></span></div> (<%=link_to t('trace.view.map'), :controller => 'site', :action => 'index', :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %> / <%=link_to t('trace.view.edit'), :controller => 'site', :action => 'edit', :gpx=> @trace.id, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %>)</td>
+ <td><div class="geo"><span class="latitude"><%= @trace.latitude %></span>; <span class="longitude"><%= @trace.longitude %></span></div> (<%=link_to t('trace.view.map'), :controller => 'site', :action => 'index', :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %> / <%=link_to t('trace.view.edit'), :controller => 'site', :action => 'edit', :gpx=> @trace.id, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %>)</td>
</tr>
<% end %>
<tr>
<li>
<p><%= raw @text['section_1'] %></p>
<% unless @text['section_1a'].nil? %>
- <ol style="list-style-type: lower-alpha">
+ <ol>
<li><%= raw @text['section_1a'] %></li>
<li><%= raw @text['section_1b'] %></li>
</ol>