From 28bc2b5d3b1b4558f7bb180dbd702db93419bf73 Mon Sep 17 00:00:00 2001 From: Thomas Park Date: Thu, 29 Jan 2015 03:46:45 -0500 Subject: paper: fix nav-tab jiggle on focus --- paper/_bootswatch.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'paper/_bootswatch.scss') diff --git a/paper/_bootswatch.scss b/paper/_bootswatch.scss index cc6486c1..379df350 100644 --- a/paper/_bootswatch.scss +++ b/paper/_bootswatch.scss @@ -341,9 +341,11 @@ input[type="checkbox"], // Navs ======================================================================= .nav-tabs { - & > li > a { - border: none; + > li > a, + > li > a:focus { margin-right: 0; + background-color: transparent; + border: none; color: $navbar-default-link-color; @include box-shadow(inset 0 -1px 0 #ddd); @include transition(all 0.2s); @@ -355,7 +357,8 @@ input[type="checkbox"], } } - & > li.active > a { + & > li.active > a, + & > li.active > a:focus { border: none; @include box-shadow(inset 0 -2px 0 $brand-primary); color: $brand-primary; -- cgit v1.2.3