Remove inline styles
This commit is contained in:
parent
4bcd13a024
commit
dff0eef787
7 changed files with 36 additions and 8 deletions
|
@ -148,6 +148,8 @@ small, aside {
|
|||
|
||||
.red { color: $red; }
|
||||
|
||||
.piwik { border: 0; }
|
||||
|
||||
/* Rules for icons */
|
||||
|
||||
.icon {
|
||||
|
@ -604,7 +606,7 @@ body.compact {
|
|||
display: block;
|
||||
}
|
||||
|
||||
#sidebar_content {
|
||||
#sidebar_loader, #sidebar_content {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
@ -1477,6 +1479,18 @@ tr.turn:hover {
|
|||
}
|
||||
}
|
||||
|
||||
/* Rules for the trace view */
|
||||
|
||||
.trace-view {
|
||||
.trace_pending {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.geo {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
/* Rules for the new trace form */
|
||||
|
||||
#new_trace {
|
||||
|
@ -1709,6 +1723,14 @@ tr.turn:hover {
|
|||
margin-bottom: $lineheight;
|
||||
overflow: auto;
|
||||
height: 20em;
|
||||
|
||||
li {
|
||||
list-style: inherit;
|
||||
}
|
||||
|
||||
ol ol {
|
||||
list-style-type: lower-alpha;
|
||||
}
|
||||
}
|
||||
|
||||
#decline {
|
||||
|
@ -1767,6 +1789,12 @@ tr.turn:hover {
|
|||
border-radius: 0 2px 2px 0;
|
||||
}
|
||||
|
||||
/* Rules for the oauth authorization page */
|
||||
|
||||
.oauth-authorize ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
/* Rules for messages pages */
|
||||
|
||||
.messages {
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
<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>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<%= 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>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<%= 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 %>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<%= 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") %>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<% 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 %>
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
|||
<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>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue