summaryrefslogtreecommitdiff
path: root/paper/_bootswatch.scss
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2015-01-29 03:46:45 -0500
committerThomas Park <thomas@thomaspark.me>2015-01-29 03:46:45 -0500
commit28bc2b5d3b1b4558f7bb180dbd702db93419bf73 (patch)
tree255a05b5d2b83a35618f7f1333655e032d50c0ad /paper/_bootswatch.scss
parent63b520539aa16c31d17b090ec70b7ee3fe032ab6 (diff)
paper: fix nav-tab jiggle on focus
Diffstat (limited to 'paper/_bootswatch.scss')
-rw-r--r--paper/_bootswatch.scss9
1 files changed, 6 insertions, 3 deletions
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;