This allows the bootstrap list typography to work without being overridden. It also means
that lists look like normal lists by default, instead of needing to be recreated from
scratch each time. Only the cases where padding and discs are unwanted need to have
custom CSS.
-html, body, ul, ol, li, form, fieldset, legend, input {
+html, body, form, fieldset, legend, input {
margin: 0;
padding: 0;
border: 0;
margin: 0;
padding: 0;
border: 0;
-li { list-style: none; }
-
$border: 1px solid $green;
border: $border;
$border: 1px solid $green;
border: $border;
> ul {
vertical-align: middle;
> ul {
vertical-align: middle;
+ margin: 0;
+ padding: 0;
+
a, .dropdown-toggle {
display: inline-block;
text-decoration: none;
a, .dropdown-toggle {
display: inline-block;
text-decoration: none;
border: $border;
border-radius: $border-radius;
margin-left: 10px;
border: $border;
border-radius: $border-radius;
margin-left: 10px;
> li {
border-right: $border;
> li {
border-right: $border;
/* Rules for search sidebar */
#sidebar .search_results_entry {
/* Rules for search sidebar */
#sidebar .search_results_entry {
+ ul {
+ padding: 0;
+ }
+
ul li {
border-bottom: $keyline;
cursor: pointer;
ul li {
border-bottom: $keyline;
cursor: pointer;
&:first-child { border-top: $keyline; }
&.selected { background: $list-highlight; }
}
&:first-child { border-top: $keyline; }
&.selected { background: $list-highlight; }
}
- .paginate ul {
- padding-left: 20px;
- }
-
.browse-field {
margin-bottom: 10px;
.browse-field {
margin-bottom: 10px;
-#friends-container .contact-activity ul {
- margin-left: 70px;
-}
-
.users-show {
// Silly exception; remove when user page is redesigned.
.content-inner {
.users-show {
// Silly exception; remove when user page is redesigned.
.content-inner {
margin-bottom: 0px;
padding: $lineheight/4;
}
margin-bottom: 0px;
padding: $lineheight/4;
}
-
- ul {
- padding-left: $lineheight;
-
- li {
- font-size: 12px;
- list-style: disc;
- }
- }
}
.form-list li {
margin-bottom: 5px;
}
.form-list li {
margin-bottom: 5px;
+ list-style-type: none;
+ }
input[type="checkbox"],
input[type="radio"] {
float: left;
input[type="checkbox"],
input[type="radio"] {
float: left;
font-style: normal;
margin-bottom: 0;
margin-left: 0;
font-style: normal;
margin-bottom: 0;
margin-left: 0;
&.pager {
display: inline-block;
margin-right: 60px;
&.pager {
display: inline-block;
margin-right: 60px;
margin: 0;
color: $darkgrey;
}
margin: 0;
color: $darkgrey;
}
-
- ul, ol {
- padding-left: $lineheight;
- margin-bottom: $lineheight;
- margin-left: $lineheight;
- }
-
- ul > li {
- list-style: disc;
- }
-
- ol > li {
- list-style: decimal;
- }
}
.diary_post .richtext {
}
.diary_post .richtext {
-.related-reports {
- ul {
- padding-left: $lineheight;
- margin-bottom: 0;
-
- li {
- list-style: disc;
- }
- }
-}
-
.issues-list {
td:nth-child(2) {
white-space: nowrap;
}
}
.issues-list {
td:nth-child(2) {
white-space: nowrap;
}
}
-
-.report-disclaimer {
- ul {
- padding-left: $lineheight;
- margin-bottom: 0;
-
- li {
- list-style: disc;
- }
- }
-}
<%= type_and_paginated_count("way", @way_pages) %>
<%= render :partial => "paging_nav", :locals => { :pages => @way_pages, :page_param => "way_page" } %>
</h4>
<%= type_and_paginated_count("way", @way_pages) %>
<%= render :partial => "paging_nav", :locals => { :pages => @way_pages, :page_param => "way_page" } %>
</h4>
+ <ul class="list-unstyled">
<% @ways.each do |way| %>
<li><%= link_to printable_name(way, true), { :action => "way", :id => way.way_id.to_s }, { :class => link_class("way", way), :title => link_title(way) } %></li>
<% end %>
<% @ways.each do |way| %>
<li><%= link_to printable_name(way, true), { :action => "way", :id => way.way_id.to_s }, { :class => link_class("way", way), :title => link_title(way) } %></li>
<% end %>
<%= type_and_paginated_count("relation", @relation_pages) %>
<%= render :partial => "paging_nav", :locals => { :pages => @relation_pages, :page_param => "relation_page" } %>
</h4>
<%= type_and_paginated_count("relation", @relation_pages) %>
<%= render :partial => "paging_nav", :locals => { :pages => @relation_pages, :page_param => "relation_page" } %>
</h4>
+ <ul class="list-unstyled">
<% @relations.each do |relation| %>
<li><%= link_to printable_name(relation, true), { :action => "relation", :id => relation.relation_id.to_s }, { :class => link_class("relation", relation), :title => link_title(relation) } %></li>
<% end %>
<% @relations.each do |relation| %>
<li><%= link_to printable_name(relation, true), { :action => "relation", :id => relation.relation_id.to_s }, { :class => link_class("relation", relation), :title => link_title(relation) } %></li>
<% end %>
<%= type_and_paginated_count("node", @node_pages) %>
<%= render :partial => "paging_nav", :locals => { :pages => @node_pages, :page_param => "node_page" } %>
</h4>
<%= type_and_paginated_count("node", @node_pages) %>
<%= render :partial => "paging_nav", :locals => { :pages => @node_pages, :page_param => "node_page" } %>
</h4>
+ <ul class="list-unstyled">
<% @nodes.each do |node| %>
<li><%= link_to printable_name(node, true), { :action => "node", :id => node.node_id.to_s }, { :class => link_class("node", node), :title => link_title(node), :rel => link_follow(node) } %></li>
<% end %>
<% @nodes.each do |node| %>
<li><%= link_to printable_name(node, true), { :action => "node", :id => node.node_id.to_s }, { :class => link_class("node", node), :title => link_title(node), :rel => link_follow(node) } %></li>
<% end %>
</div>
<% if @issue.reported_user %>
</div>
<% if @issue.reported_user %>
- <div class="col-md-4 related-reports">
<h3><%= t ".other_issues_against_this_user" %></h3>
<% if @related_issues.count > 1 %>
<ul>
<h3><%= t ".other_issues_against_this_user" %></h3>
<% if @related_issues.count > 1 %>
<ul>
<h1><%= t ".title_html", :link => link_to(reportable_title(@report.issue.reportable), reportable_url(@report.issue.reportable)) %></h1>
<% end %>
<h1><%= t ".title_html", :link => link_to(reportable_title(@report.issue.reportable), reportable_url(@report.issue.reportable)) %></h1>
<% end %>
-<div class="alert alert-warning report-disclaimer">
+<div class="alert alert-warning">
<%= t(".disclaimer.intro") %>
<%= t(".disclaimer.intro") %>
<li> <%= t(".disclaimer.not_just_mistake") %> </li>
<li> <%= t(".disclaimer.unable_to_fix") %> </li>
<li> <%= t(".disclaimer.resolve_with_user") %> </li>
<li> <%= t(".disclaimer.not_just_mistake") %> </li>
<li> <%= t(".disclaimer.unable_to_fix") %> </li>
<li> <%= t(".disclaimer.resolve_with_user") %> </li>
<%= form_for(@report) do |f| %>
<%= f.error_messages %>
<%= form_for(@report) do |f| %>
<%= f.error_messages %>
+ <fieldset class="standard-form">
<%= f.fields_for @report.issue do |issue_form| %>
<%= issue_form.hidden_field :reportable_id %>
<%= issue_form.hidden_field :reportable_type %>
<%= f.fields_for @report.issue do |issue_form| %>
<%= issue_form.hidden_field :reportable_id %>
<%= issue_form.hidden_field :reportable_type %>
<div class='standard-form-row'>
<p><%= t(".select") %></p>
<div class='standard-form-row'>
<p><%= t(".select") %></p>
<% Report.categories_for(@report.issue.reportable).each do |c| %>
<li>
<%= radio_button :report, :category, c, :required => true %>
<% Report.categories_for(@report.issue.reportable).each do |c| %>
<li>
<%= radio_button :report, :category, c, :required => true %>
- <%= label_tag "report_category_#{c}", t(".categories.#{@report.issue.reportable.class.name.underscore}.#{c}_label") %> <br />
+ <%= label_tag "report_category_#{c}", t(".categories.#{@report.issue.reportable.class.name.underscore}.#{c}_label") %>