Commit f5352017 authored by Mark Otto's avatar Mark Otto
Browse files

improve navbar vars and fix side nav alignment

parent 6b193dc2
19 merge requests!7033Fix backdrop undefined bug in modal,!8635ignore Gruntfile.js in jekyll,!8339Fix broken links to navbar component in docs examples,!7329Fix for issue #7328,!7219Fix for mini typo mistake in css.html,!7674Clear float on all when navbar is collapsed - v3,!7344Fixed .spanX selector (*= instead of ^=),!7346Fix compilation error,!7775added some tests for tooltip title setter,!8157Close Me: Docs "Customize and Download" button fix,!7509Proposed fix for allowing Collapse events ('show'/'hide') to be cancelled,!7964commit fixes #7792,!8656Added rel="stylesheet" to CDN-Examples,!8527Inner properties move 1,!8245Interactive color picker - Closed: request against wrong branch,!7865Patch 2,!7651Drop the sizzle dependency to allow smaller builds targeting mobile devices,!6853typeahead: do not store item data in an attribute,!6666Patch 1
Showing with 43 additions and 20 deletions
+43 -20
......@@ -2979,11 +2979,16 @@ button.close {
}
.navbar-inverse .brand {
color: #fff;
color: #999999;
}
.navbar-inverse .brand:hover {
background-color: #333;
color: #808080;
background-color: transparent;
}
.navbar-inverse .navbar-text {
color: #999999;
}
.navbar-inverse .nav > li > a {
......
......@@ -111,6 +111,13 @@ section > ul li {
color: rgba(255,255,255,.25);
}
/* Subhead (other docs pages)
------------------------- */
.subhead {
text-align: left;
}
/* Marketing section of Overview
......@@ -204,10 +211,10 @@ section > ul li {
/* From here, start to affix the nav because we keep columns here */
.bs-docs-sidenav.affix {
position: fixed;
top: 10px;
top: 54px;
}
.bs-docs-sidenav {
width: 189px;
width: 170px;
}
}
......
......@@ -115,11 +115,17 @@
background-color: @navbar-inverse-bg;
.brand {
color: #fff;
color: @navbar-inverse-brand-color;
&:hover {
background-color: #333;
color: @navbar-inverse-brand-color-hover;
background-color: @navbar-inverse-brand-bg-hover;
}
}
.navbar-text {
color: @navbar-inverse-text;
}
.nav > li > a {
color: @navbar-inverse-link-color;
}
......
......@@ -171,24 +171,29 @@
@navbar-link-bg-hover: transparent;
@navbar-link-bg-active: darken(@navbar-bg, 10%);
// Inverted navbar
@navbar-inverse-text: @grayLight;
@navbar-inverse-bg: #222;
@navbar-inverse-text: @grayLight;
@navbar-inverse-link-color: @grayLight;
@navbar-inverse-link-color-hover: #fff;
@navbar-inverse-link-color-active: @navbar-inverse-link-color-hover;
@navbar-inverse-link-bg-hover: transparent;
@navbar-inverse-link-bg-active: @navbar-inverse-bg;
@navbar-inverse-search-background: lighten(@navbar-inverse-bg, 25%);
@navbar-inverse-search-background-focus: #fff;
@navbar-inverse-search-border: @navbar-inverse-bg;
@navbar-inverse-search-placeholder-color: #ccc;
// Inverted navbar brand label
@navbar-inverse-brand-color: @navbar-inverse-link-color;
@navbar-inverse-brand-color-hover: darken(@navbar-inverse-link-color, 10%);
@navbar-inverse-brand-bg-hover: transparent;
// Inverted navbar links
@navbar-inverse-link-color: @grayLight;
@navbar-inverse-link-color-hover: #fff;
@navbar-inverse-link-color-active: @navbar-inverse-link-color-hover;
@navbar-inverse-link-bg-hover: transparent;
@navbar-inverse-link-bg-active: @navbar-inverse-bg;
// Inverted navbar search
// Normal navbar needs no special styles or vars
@navbar-inverse-search-background: lighten(@navbar-inverse-bg, 25%);
@navbar-inverse-search-background-focus: #fff;
@navbar-inverse-search-border: @navbar-inverse-bg;
@navbar-inverse-search-placeholder-color: #ccc;
@navbar-inverse-brand-color: @navbar-inverse-link-color;
// Pagination
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment