From 5739e33d207fc785616889d9f58394a59f0d4ec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Krienb=C3=BChl?= Date: Fri, 15 Apr 2016 16:41:17 +0200 Subject: [PATCH] Adds nicer tab styles --- onegov/town/theme/styles/town.scss | 47 +++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/onegov/town/theme/styles/town.scss b/onegov/town/theme/styles/town.scss index 85f23ee..a14c8ae 100644 --- a/onegov/town/theme/styles/town.scss +++ b/onegov/town/theme/styles/town.scss @@ -1866,7 +1866,7 @@ button { // fix borders missing with zurb foundation tbody div.fc-content-skeleton td { - border-color: #ddd; + border-color: $gainsboro; } } @@ -2488,3 +2488,48 @@ ul.search-results { .subscribers li:hover span { background-color: $yellow-pastel; } + +/* + Nicer tabs +*/ + +ul.tabs { + background-color: $silver; + border-bottom: 1px solid $gainsboro; + border-top: 1px solid $white; + box-shadow: inset 0 1px 0 $white; + margin-bottom: 1rem !important; + padding: 0; + + li { + border-bottom: 1px solid $gainsboro; + padding: 0; + position: relative; + top: 1px; + + a { + background-color: $white-smoke; + } + } + + .active { + border: 1px solid $gainsboro; + border-bottom: 0; + } +} + +@media #{$small-only} { + ul.tabs { + background-color: $white; + + li { + border: 0; + display: block; + width: 100%; + + &.active { + border: 1px solid $white-smoke; + } + } + } +}