Fixes styles for filters on admin pages

This commit is contained in:
Alberto Garcia Cabeza
2016-01-11 13:51:29 +01:00
committed by kikito
parent 1ab0b31d4b
commit e5dff0552d
3 changed files with 12 additions and 13 deletions

View File

@@ -220,6 +220,16 @@ a {
}
}
.sub-nav {
border-bottom: 1px solid $border;
dd.active {
border-bottom: 2px solid $brand;
color: $brand;
padding-bottom: $line-height/4;
}
}
// 02. Header
// - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -1802,17 +1812,6 @@ table {
.activity {
margin-bottom: $line-height*2;
margin-top: $line-height;
.sub-nav {
border-bottom: 1px solid $border;
dd.active {
border-bottom: 2px solid $brand;
color: $brand;
padding-bottom: $line-height/4;
}
}
table {
border: 0;

View File

@@ -4,7 +4,7 @@
%>
<dl class="sub-nav">
<dt><%= t("#{i18n_namespace}.filter") %>: </dt>
<dt class="sr-only"><%= t("#{i18n_namespace}.filter") %>: </dt>
<% @valid_filters.each do |filter| %>
<% if @current_filter == filter %>

View File

@@ -1,5 +1,5 @@
<section role="main">
<div class="activity row">
<div class="activity row margin-top">
<div class="small-12 column">
<h2>