diff options
author | Thomas Park <thomas@thomaspark.me> | 2013-02-08 23:21:16 -0500 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2013-02-08 23:21:16 -0500 |
commit | 078ff71c7d346ffa9db925ef07bbc90f2d7ec5ac (patch) | |
tree | 31438d6233a1b19852212f3fed7e9a65521a5a06 /superhero/bootswatch.less | |
parent | c889a189f12d5b42d60a426badf9528e7a84aff4 (diff) |
fixes #69, subnav-fixed position tweaks
Diffstat (limited to 'superhero/bootswatch.less')
-rwxr-xr-x | superhero/bootswatch.less | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/superhero/bootswatch.less b/superhero/bootswatch.less index c6dffca1..5c54200e 100755 --- a/superhero/bootswatch.less +++ b/superhero/bootswatch.less @@ -169,52 +169,39 @@ blockquote.pull-right { } div.subnav { - background-color: @blue; - background-image: none; + margin: 0 1px; + background: @blue none; border: none; .nav > li > a, .nav > li.active > a { - border-left: none; - border-right: none; + border-color: transparent; color: @textColor; } .nav > li > a:hover, .nav > li.active > a:hover { background-color: lighten(@blue, 10%); - } - - .nav > li + li > a { - border-top: 0px solid transparent; - } - - .nav > li:first-child > a, - .nav > li:first-child > a:hover, - .nav > li.active:first-child > a, - .nav > li.active:first-child > a:hover { - .border-radius(4px 0 0 4px); + border-color: transparent; } .nav > li.active > a, .nav > li.active > a:hover { - color: @white; - background-color: @orange; - background-image: none; + background: @orange none; .box-shadow(none); + color: @white; } &.subnav-fixed { - top: 70px; + top: @navbarHeight + 1; + margin: 0; .box-shadow(none); .nav > li > a, - .nav > li.active > a, .nav > li > a:hover, + .nav > li.active > a, .nav > li.active > a:hover { border-color: transparent; - padding-left: 12px; - padding-right: 12px; .border-radius(0); } |