aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Meagher <[email protected]>2011-12-02 10:47:46 -0800
committerEvan Meagher <[email protected]>2011-12-02 10:47:46 -0800
commit3726df695eedecee323920305cb5d486a787acd6 (patch)
treecc1727ab482f0ddc35ed84da330802c180bcb860 /lib
parent61e84d8762d79befb2d75685705fd4e451a609fe (diff)
parentcee2f61898f4807311402fed747a93ee68a31f8f (diff)
downloadbootstrap-3726df695eedecee323920305cb5d486a787acd6.tar.xz
bootstrap-3726df695eedecee323920305cb5d486a787acd6.zip
Merge remote-tracking branch 'upstream/2.0-wip' into add-vertical-nav-divider
Diffstat (limited to 'lib')
-rw-r--r--lib/tabs-pills.less75
-rw-r--r--lib/type.less5
2 files changed, 80 insertions, 0 deletions
diff --git a/lib/tabs-pills.less b/lib/tabs-pills.less
index 3ff08a676..e9b58d04a 100644
--- a/lib/tabs-pills.less
+++ b/lib/tabs-pills.less
@@ -216,3 +216,78 @@
.pill-content > .active {
display: block;
}
+
+
+// Step nav
+.step-nav {
+ position: relative; // for prev/next links
+ margin: 0 0 @baseLineHeight;
+ list-style: none;
+ line-height: 30px;
+ text-align: center;
+ background-color: #f5f5f5;
+ .border-radius(15px);
+ li {
+ display: inline;
+ color: @grayLight;
+ }
+ // prev/next links
+ .prev,
+ .next {
+ position: absolute;
+ top: 6px;
+ }
+ .prev {
+ left: 15px;
+ }
+ .next {
+ right: 15px;
+ }
+ // indicators for each step/page/item/etc
+ .dot {
+ display: inline-block;
+ width: 10px;
+ height: 10px;
+ margin: 0 3px;
+ text-indent: -999em;
+ background-color: @grayLight;
+ .border-radius(5px);
+ .box-shadow(inset 0 1px 1px rgba(0,0,0,.25));
+ }
+ .dot:hover,
+ .active .dot {
+ 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
diff --git a/lib/type.less b/lib/type.less
index 407a20ec2..bdc99acdf 100644
--- a/lib/type.less
+++ b/lib/type.less
@@ -205,6 +205,11 @@ pre {
white-space: pre-wrap;
word-break: break-all;
+ // Make prettyprint styles more spaced out for readability
+ &.prettyprint {
+ margin-bottom: @baseLineHeight;
+ }
+
// Account for some code outputs that place code tags in pre tags
code {
padding: 0;