diff options
| author | Mark Otto <[email protected]> | 2012-07-29 00:30:15 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-07-29 00:30:15 -0700 |
| commit | a30045daef809edf5ed592ad842c04377898e444 (patch) | |
| tree | c49b0ac07bccbb2b040230ed83fb88d757978166 /less/variables.less | |
| parent | fe6a4b0b5497a78a085e85125f4397a27b7737dc (diff) | |
| download | bootstrap-a30045daef809edf5ed592ad842c04377898e444.tar.xz bootstrap-a30045daef809edf5ed592ad842c04377898e444.zip | |
reverse navbar styles to save code
Diffstat (limited to 'less/variables.less')
| -rw-r--r-- | less/variables.less | 37 |
1 files changed, 29 insertions, 8 deletions
diff --git a/less/variables.less b/less/variables.less index 0e3e13f41..9c914d874 100644 --- a/less/variables.less +++ b/less/variables.less @@ -155,15 +155,16 @@ // Navbar // ------------------------- @navbarHeight: 40px; -@navbarBackground: #111; -@navbarBackgroundHighlight: #222; - -@navbarText: @grayLight; -@navbarLinkColor: @grayLight; -@navbarLinkColorHover: @white; -@navbarLinkColorActive: @navbarLinkColorHover; +@navbarBackground: darken(@navbarBackgroundHighlight, 5%); +@navbarBackgroundHighlight: #ffffff; +@navbarBorder: darken(@navbarBackground, 12%); + +@navbarText: @gray; +@navbarLinkColor: @gray; +@navbarLinkColorHover: @grayDark; +@navbarLinkColorActive: @gray; @navbarLinkBackgroundHover: transparent; -@navbarLinkBackgroundActive: @navbarBackground; +@navbarLinkBackgroundActive: darken(@navbarBackground, 5%); @navbarSearchBackground: lighten(@navbarBackground, 25%); @navbarSearchBackgroundFocus: @white; @@ -171,6 +172,26 @@ @navbarSearchPlaceholderColor: #ccc; @navbarBrandColor: @navbarLinkColor; +// Inverted navbar +@navbarInverseBackground: #111111; +@navbarInverseBackgroundHighlight: #222222; +@navbarInverseBorder: #252525; + +@navbarInverseText: @grayLight; +@navbarInverseLinkColor: @grayLight; +@navbarInverseLinkColorHover: @white; +@navbarInverseLinkColorActive: @navbarInverseLinkColorHover; +@navbarInverseLinkBackgroundHover: transparent; +@navbarInverseLinkBackgroundActive: @navbarInverseBackground; + +@navbarInverseSearchBackground: lighten(@navbarInverseBackground, 25%); +@navbarInverseSearchBackgroundFocus: @white; +@navbarInverseSearchBorder: @navbarInverseBackground; +@navbarInverseSearchPlaceholderColor: #ccc; + +@navbarInverseBrandColor: @navbarInverseLinkColor; + + // Hero unit // ------------------------- |
