From 2112e0844e3daa21fa39786b086afeb9d7688f6f Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 29 Sep 2014 11:08:51 +0200 Subject: [PATCH] style nav-tabs --- app/assets/stylesheets/zzz.css.erb | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb index a59ec7f82..a1376fa73 100644 --- a/app/assets/stylesheets/zzz.css.erb +++ b/app/assets/stylesheets/zzz.css.erb @@ -3473,6 +3473,49 @@ footer { margin: 0; } +.nav-tabs { + border-bottom: none; +} + +.nav-tabs li { + margin: 0; +} + +.nav-tabs > li > a, +.nav-tabs > li > a:hover, +.nav-tabs > li > a:focus { + background: white; + border-radius: 0; + border: 1px solid hsl(0,0%,90%); + color: hsl(0,0%,70%); + height: 40px; + margin: 0; +} + +.nav-tabs > li:not(:last-child):not(:only-child) > a { + border-right: none; +} + +.nav-tabs > li:first-child > a { + border-radius: 5px 0 0 5px; +} + +.nav-tabs > li:last-child > a { + border-radius: 0 5px 5px 0; +} + +.nav-tabs > li:only-child > a { + border-radius: 5px; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + background: hsl(206,7%,28%); + color: white; + border: 1px solid hsl(0,0%,90%); +} + /* ----------------