From f0615800a2aaed07da6832d1927d26ebbd1276d1 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 18 Nov 2015 01:24:52 +0100 Subject: [PATCH] nav tabs and tab-content: boxes --- app/assets/stylesheets/zammad.scss | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index 05274661b..13b9db4de 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -5632,7 +5632,10 @@ footer { .nav-tabs { display: flex; - margin: 10px 0 20px; + justify-content: center; + margin: 10px -20px 20px; + padding: 0 20px 0 21px; /* margin-left: -1px */ + position: relative; } .nav-tabs li { @@ -5641,17 +5644,18 @@ footer { border: 1px solid hsl(0,0%,90%); margin-left: -1px; background: white; + position: relative; &:first-child { - border-radius: 5px 0 0 5px; + border-radius: 7px 0 0 7px; } &:last-child { - border-radius: 0 5px 5px 0; + border-radius: 0 7px 7px 0; } &:only-child { - border-radius: 5px; + border-radius: 7px; } &.active { @@ -5661,14 +5665,23 @@ footer { } a { - padding-bottom: 8px; + padding: 9px 25px; color: inherit; color: inherit; } } .tab-content { - margin-top: 20px; + margin: -40px 0 0; + padding: 39px 20px 20px; + border: 1px solid hsl(0,0%,90%); + border-top-color: hsl(0,0%,87%); + background: hsl(210,7%,95%); + border-radius: 12px; + + h2:first-child { + margin-top: 0; + } } .settings-entry {