aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-11-30 01:00:55 -0800
committerMark Otto <[email protected]>2011-11-30 01:00:55 -0800
commitbc51c15709469fd0c2e78886a15e849626a8f191 (patch)
tree3bf90b17542c5083b0bece9b20278079d4bb9eb6 /lib
parentf2c40ee24d0caa26e79ed206370858918c603419 (diff)
downloadbootstrap-bc51c15709469fd0c2e78886a15e849626a8f191.tar.xz
bootstrap-bc51c15709469fd0c2e78886a15e849626a8f191.zip
adding temp idea for subnav to docs
Diffstat (limited to 'lib')
-rw-r--r--lib/tabs-pills.less32
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/tabs-pills.less b/lib/tabs-pills.less
index 7fc73f69c..e9b58d04a 100644
--- a/lib/tabs-pills.less
+++ b/lib/tabs-pills.less
@@ -259,3 +259,35 @@
background-color: @grayDark;
}
}
+
+
+// Subnav
+// STILL A WIP
+.subnav {
+ position: relative;
+ #gradient > .vertical(#f5f5f5, #eeeeee);
+ .border-radius(6px);
+ a {
+ padding: 10px 15px;
+ color: @linkColor;
+ text-shadow: 0 1px 0 #fff;
+ border-left: 1px solid #f9f9f9;
+ border-right: 1px solid #e5e5e5;
+ &:hover {
+ color: @linkColorHover;
+ background-color: #eee;
+ }
+ }
+ li:first-child a {
+ border-left: 0;
+ .border-radius(6px 0 0 6px);
+ }
+ li:last-child a {
+ border-right: 0;
+ .border-radius(0 6px 6px 0);
+ }
+ ul .active > a {
+ color: @grayDark;
+ background-color: #eee;
+ }
+} \ No newline at end of file