From 407c0fc7023f6afaeb0d2e8875b2bdf8a4448774 Mon Sep 17 00:00:00 2001 From: decabeza Date: Wed, 27 Sep 2017 17:57:54 +0200 Subject: [PATCH] fixes styles for filters, orders and subnavs on admin --- app/assets/stylesheets/admin.scss | 17 ++++++++++++---- app/views/admin/poll/polls/_subnav.html.erb | 22 +++++++++++++++------ 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index 3dcf4a474..fab661e8d 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -174,10 +174,19 @@ $sidebar-active: #f4fcd0; max-width: none; } - .menu.simple .active { - border-bottom: 2px solid $admin-color; - color: $admin-color; - font-weight: bold; + .menu.simple { + margin-bottom: $line-height / 2; + + h2 { + font-weight: bold; + margin-bottom: $line-height / 3; + } + + .active { + border-bottom: 2px solid $admin-color; + color: $admin-color; + font-weight: bold; + } } .tabs-panel { diff --git a/app/views/admin/poll/polls/_subnav.html.erb b/app/views/admin/poll/polls/_subnav.html.erb index 249ff407c..24d7a5b1f 100644 --- a/app/views/admin/poll/polls/_subnav.html.erb +++ b/app/views/admin/poll/polls/_subnav.html.erb @@ -1,8 +1,10 @@