From 01421ecd62c0f3013f881ad3fcde10769d7328ec Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 30 Nov 2012 15:23:13 -0800 Subject: [PATCH] remove sprites vars, change zindex vars --- docs/customize.html | 6 ------ docs/templates/pages/customize.mustache | 6 ------ less/dropdowns.less | 2 +- less/modals.less | 4 ++-- less/navbar.less | 2 +- less/popovers.less | 2 +- less/tooltip.less | 2 +- less/variables.less | 19 ++++++------------- 8 files changed, 12 insertions(+), 31 deletions(-) diff --git a/docs/customize.html b/docs/customize.html index 277d9701a2..4955471a1c 100644 --- a/docs/customize.html +++ b/docs/customize.html @@ -248,12 +248,6 @@ -

Sprites

- - - - -

Grid system

diff --git a/docs/templates/pages/customize.mustache b/docs/templates/pages/customize.mustache index b918486760..e05502f5b2 100644 --- a/docs/templates/pages/customize.mustache +++ b/docs/templates/pages/customize.mustache @@ -180,12 +180,6 @@ -

{{_i}}Sprites{{/i}}

- - - - -

{{_i}}Grid system{{/i}}

diff --git a/less/dropdowns.less b/less/dropdowns.less index bf0559c481..922baf02dd 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -38,7 +38,7 @@ position: absolute; top: 100%; left: 0; - z-index: @zindexDropdown; + z-index: @zindex-dropdown; display: none; // none by default, but block on "open" of the menu float: left; min-width: 160px; diff --git a/less/modals.less b/less/modals.less index 86be20de69..b1f57d7a1a 100644 --- a/less/modals.less +++ b/less/modals.less @@ -9,7 +9,7 @@ right: 0; bottom: 0; left: 0; - z-index: @zindexModalBackdrop; + z-index: @zindex-modal-background; background-color: @black; // Fade for backdrop &.fade { opacity: 0; } @@ -25,7 +25,7 @@ position: fixed; top: 10%; left: 50%; - z-index: @zindexModal; + z-index: @zindex-modal; width: 560px; margin-left: -280px; background-color: #fff; diff --git a/less/navbar.less b/less/navbar.less index a38f1cd3cf..01932049bc 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -157,7 +157,7 @@ position: fixed; right: 0; left: 0; - z-index: @zindexFixedNavbar; + z-index: @zindex-navbar-fixed; margin-bottom: 0; // remove 18px margin for default navbar border-width: 0 0 1px; padding-left: 0; diff --git a/less/popovers.less b/less/popovers.less index 095b81bf13..fff10f3837 100644 --- a/less/popovers.less +++ b/less/popovers.less @@ -7,7 +7,7 @@ position: absolute; top: 0; left: 0; - z-index: @zindexPopover; + z-index: @zindex-popover; display: none; width: 236px; padding: 1px; diff --git a/less/tooltip.less b/less/tooltip.less index 5fdaa80eff..49e553643a 100644 --- a/less/tooltip.less +++ b/less/tooltip.less @@ -6,7 +6,7 @@ // Base class .tooltip { position: absolute; - z-index: @zindexTooltip; + z-index: @zindex-tooltip; display: block; visibility: visible; padding: 5px; diff --git a/less/variables.less b/less/variables.less index 5194a67da1..dcdecd125a 100644 --- a/less/variables.less +++ b/less/variables.less @@ -138,19 +138,12 @@ // ------------------------- // Used for a bird's eye view of components dependent on the z-axis // Try to avoid customizing these :) -@zindexDropdown: 1000; -@zindexPopover: 1010; -@zindexTooltip: 1030; -@zindexFixedNavbar: 1030; -@zindexModalBackdrop: 1040; -@zindexModal: 1050; - - -// Sprite icons path -// ------------------------- -@iconSpritePath: "../img/glyphicons-halflings.png"; -@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png"; - +@zindex-dropdown: 1000; +@zindex-popover: 1010; +@zindex-tooltip: 1030; +@zindex-navbar-fixed: 1030; +@zindex-modal-background: 1040; +@zindex-modal: 1050; // Input placeholder text color // -------------------------