From 7fb1c1cb89a33b924a8cb44235bfb8124ba10000 Mon Sep 17 00:00:00 2001 From: Agustin Colchado Date: Wed, 10 Apr 2013 02:27:11 -0700 Subject: [PATCH] Reordering variables that were being used before they were declared. Under some compilers (dotless & sublime 2 package), this would cause the compile to break. Variables in question were: @dropdown-link-active-bg @navbar-link-color @navbar-inverse-link-color --- less/variables.less | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/less/variables.less b/less/variables.less index 30ac7a59d7..cafd3919be 100644 --- a/less/variables.less +++ b/less/variables.less @@ -131,13 +131,12 @@ @dropdown-divider-top: #e5e5e5; @dropdown-divider-bottom: #fff; -@dropdown-link-color: @grayDark; -@dropdown-link-hover-color: #fff; -@dropdown-link-hover-bg: @dropdown-link-active-bg; - @dropdown-link-active-color: #fff; @dropdown-link-active-bg: @component-active-bg; +@dropdown-link-color: @grayDark; +@dropdown-link-hover-color: #fff; +@dropdown-link-hover-bg: @dropdown-link-active-bg; // COMPONENT VARIABLES @@ -170,11 +169,6 @@ @navbar-text: #777; @navbar-bg: #eee; -// Navbar brand label -@navbar-brand-color: @navbar-link-color; -@navbar-brand-hover-color: darken(@navbar-link-color, 10%); -@navbar-brand-hover-bg: transparent; - // Navbar links @navbar-link-color: #777; @navbar-link-hover-color: #333; @@ -184,15 +178,15 @@ @navbar-link-disabled-color: #ccc; @navbar-link-disabled-bg: transparent; +// Navbar brand label +@navbar-brand-color: @navbar-link-color; +@navbar-brand-hover-color: darken(@navbar-link-color, 10%); +@navbar-brand-hover-bg: transparent; + // Inverted navbar @navbar-inverse-text: @grayLight; @navbar-inverse-bg: #222; -// Inverted navbar brand label -@navbar-inverse-brand-color: @navbar-inverse-link-color; -@navbar-inverse-brand-hover-color: #fff; -@navbar-inverse-brand-hover-bg: transparent; - // Inverted navbar links @navbar-inverse-link-color: @grayLight; @navbar-inverse-link-hover-color: #fff; @@ -202,6 +196,11 @@ @navbar-inverse-link-disabled-color: #444; @navbar-inverse-link-disabled-bg: transparent; +// Inverted navbar brand label +@navbar-inverse-brand-color: @navbar-inverse-link-color; +@navbar-inverse-brand-hover-color: #fff; +@navbar-inverse-brand-hover-bg: transparent; + // Inverted navbar search // Normal navbar needs no special styles or vars @navbar-inverse-search-bg: lighten(@navbar-inverse-bg, 25%);