summaryrefslogtreecommitdiff
path: root/slate/bootswatch.less
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2013-02-08 23:21:16 -0500
committerThomas Park <thomas@thomaspark.me>2013-02-08 23:21:16 -0500
commit078ff71c7d346ffa9db925ef07bbc90f2d7ec5ac (patch)
tree31438d6233a1b19852212f3fed7e9a65521a5a06 /slate/bootswatch.less
parentc889a189f12d5b42d60a426badf9528e7a84aff4 (diff)
fixes #69, subnav-fixed position tweaks
Diffstat (limited to 'slate/bootswatch.less')
-rwxr-xr-xslate/bootswatch.less13
1 files changed, 8 insertions, 5 deletions
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%);
+ }
}
}