Skip to content

Commit

Permalink
clear up nav variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Mar 10, 2012
1 parent a613a8e commit 305374a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
Binary file modified docs/assets/bootstrap.zip
Binary file not shown.
5 changes: 3 additions & 2 deletions docs/assets/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,9 @@ h4,
h5,
h6 {
margin: 0;
font-weight: bold;
color: #333333;
font-family: '';
font-weight: normal;
color: '';
text-rendering: optimizelegibility;
}
h1 small,
Expand Down
4 changes: 2 additions & 2 deletions less/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@
// Active nav items
.navbar .nav .active > a,
.navbar .nav .active > a:hover {
color: @navbarLinkColorHover;
color: @navbarLinkColorActive;
text-decoration: none;
background-color: @navbarBackground;
background-color: @navbarLinkBackgroundActive;
}

// Dividers (basically a vertical hr)
Expand Down
22 changes: 21 additions & 1 deletion less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,12 @@




// COMPONENT VARIABLES
// --------------------------------------------------

// Z-index master list
// -------------------------
// Used for a bird's eye view of components dependent on the z-axis
// Try to avoid customizing these :)
@zindexDropdown: 1000;
Expand All @@ -118,32 +120,46 @@
@zindexModalBackdrop: 1040;
@zindexModal: 1050;


// Sprite icons path
// -------------------------
@iconSpritePath: "../img/glyphicons-halflings.png";
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";


// Input placeholder text color
// -------------------------
@placeholderText: @grayLight;


// Hr border color
// -------------------------
@hrBorder: @grayLighter;


// Navbar
// -------------------------
@navbarHeight: 40px;
@navbarBackground: @grayDarker;
@navbarBackgroundHighlight: @grayDark;
@navbarLinkBackgroundHover: transparent;

@navbarText: @grayLight;
@navbarLinkColor: @grayLight;
@navbarLinkColorHover: @white;
@navbarLinkColorActive: @navbarLinkColorHover;
@navbarLinkBackgroundHover: transparent;
@navbarLinkBackgroundActive: @navbarBackground;


// Hero unit
// -------------------------
@heroUnitBackground: #312f2e;
@heroUnitHeadingColor: @white;
@heroUnitLeadColor: @white;


// Form states and alerts
// -------------------------
@warningText: #c09853;
@warningBackground: #fcf8e3;
@warningBorder: darken(spin(@warningBackground, -10), 3%);
Expand All @@ -162,15 +178,19 @@




// GRID
// --------------------------------------------------

// Default 940px grid
// -------------------------
@gridColumns: 12;
@gridColumnWidth: 60px;
@gridGutterWidth: 20px;
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));


// Fluid grid
// -------------------------
@fluidGridColumnWidth: 6.382978723%;
@fluidGridGutterWidth: 2.127659574%;

0 comments on commit 305374a

Please sign in to comment.