improves outline and structure headings
This commit is contained in:
@@ -475,8 +475,16 @@ header {
|
||||
&.active {
|
||||
border-bottom: 2px solid $brand;
|
||||
color: $brand;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: $base-font-size;
|
||||
}
|
||||
}
|
||||
|
||||
.search-form-header input[type=text] {
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
<% end %>
|
||||
|
||||
<main>
|
||||
<h1 class="sr-only"><%= t("shared.outline.debates") %></h1>
|
||||
|
||||
<div class="row">
|
||||
<div id="debates" class="debates-list small-12 medium-9 column">
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<%= paginator.render do -%>
|
||||
<div class="pagination-centered">
|
||||
<nav>
|
||||
<h1 class="sr-only"><%= t("shared.outline.pagination") %></h1>
|
||||
<ul class="pagination text-center margin-top" aria-label="Pagination">
|
||||
<%= first_page_tag unless current_page.first? %>
|
||||
<%= prev_page_tag unless current_page.first? %>
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
<%= setting['per_page_code'].try(:html_safe) %>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="sr-only"><%= setting['org_name'] %></h1>
|
||||
|
||||
<div class="wrapper">
|
||||
<%= render 'layouts/header' %>
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
<% end %>
|
||||
|
||||
<main>
|
||||
<h1 class="sr-only"><%= t("shared.outline.proposals") %></h1>
|
||||
|
||||
<div class="row">
|
||||
<div id="proposals" class="proposals-list small-12 medium-9 column">
|
||||
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<section class="submenu">
|
||||
<div class="submenu">
|
||||
<% valid_orders.each do |order| %>
|
||||
<%= link_to t("#{i18n_namespace}.orders.#{order}"),
|
||||
current_path_with_query_params(order: order, page: 1),
|
||||
class: order == @current_order ? 'active' : '' %>
|
||||
<%= link_to current_path_with_query_params(order: order, page: 1), class: order == @current_order ? 'active' : '' do %>
|
||||
<%= content_tag(order == @current_order ? :h2 : :span) do %>
|
||||
<%= t("#{i18n_namespace}.orders.#{order}") %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<div id="search_form" class="search-form-header">
|
||||
<h1 class="sr-only"><%= t("shared.outline.searcher") %></h1>
|
||||
<%= form_tag search_path, method: :get do %>
|
||||
<div class="input-group">
|
||||
<label class="sr-only"><%= t("#{i18n_namespace}.title") %></label>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<section class="top-links hide-for-small-only">
|
||||
<div class="top-links hide-for-small-only">
|
||||
<div class="row">
|
||||
<%= render "shared/locale_switcher" %>
|
||||
<div class="external-links">
|
||||
@@ -12,4 +12,4 @@
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
<% end %>
|
||||
|
||||
<main>
|
||||
<h1 class="sr-only"><%= t("shared.outline.budget") %></h1>
|
||||
|
||||
<div class="row">
|
||||
<div id="investment-projects" class="investment-projects-list small-12 medium-9 column">
|
||||
|
||||
|
||||
@@ -449,6 +449,12 @@ en:
|
||||
categories: "Categories"
|
||||
target_blank_html: " (link opens in new window)"
|
||||
unflag: Unflag
|
||||
outline:
|
||||
debates: Debates
|
||||
proposals: Proposals
|
||||
budget: Participatory budget
|
||||
pagination: Pagination
|
||||
searcher: Searcher
|
||||
social:
|
||||
blog: Blog
|
||||
facebook: Facebook
|
||||
|
||||
@@ -449,6 +449,12 @@ es:
|
||||
categories: "Categorías"
|
||||
target_blank_html: " (se abre en ventana nueva)"
|
||||
unflag: Deshacer denuncia
|
||||
outline:
|
||||
debates: Debates
|
||||
proposals: Propuestas
|
||||
budget: Presupuestos ciudadanos
|
||||
pagination: Paginación
|
||||
searcher: Buscador
|
||||
social:
|
||||
blog: Blog
|
||||
facebook: Facebook
|
||||
|
||||
Reference in New Issue
Block a user