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