From 078ff71c7d346ffa9db925ef07bbc90f2d7ec5ac Mon Sep 17 00:00:00 2001 From: Thomas Park Date: Fri, 8 Feb 2013 23:21:16 -0500 Subject: fixes #69, subnav-fixed position tweaks --- slate/bootswatch.less | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'slate/bootswatch.less') diff --git a/slate/bootswatch.less b/slate/bootswatch.less index 0f3b73d0..9f608630 100755 --- a/slate/bootswatch.less +++ b/slate/bootswatch.less @@ -144,6 +144,7 @@ hr, legend, .page-header { div.subnav { + margin: 0 1px; #gradient > .vertical-three-colors(@gray, @grayDark, 70%, @grayDark); border: 1px solid transparent; .box-shadow('0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'); @@ -176,11 +177,6 @@ div.subnav { border-left: 1px solid transparent; } - &.subnav-fixed .nav > li.active:first-child > a, - &.subnav-fixed .nav > li:first-child > a:hover { - border-left: 1px solid darken(@gray, 15%); - } - .nav > li.active:last-child > a, .nav > li:last-child > a:hover { border-right: 1px solid darken(@gray, 15%); @@ -192,7 +188,14 @@ div.subnav { } &.subnav-fixed { + top: @navbarHeight; + margin: 0; .box-shadow(none); + + .nav > li.active:first-child > a, + .nav > li:first-child > a:hover { + border-left: 1px solid darken(@gray, 15%); + } } } -- cgit v1.2.3