From 7dec5c79c8ffb80592576a463472d6cf9bd959a8 Mon Sep 17 00:00:00 2001 From: David Scherer Date: Fri, 28 Mar 2014 14:56:12 -0400 Subject: fixes #13216 change `@zindex-popover` and `@zindex-tooltip` values to be greater than those set for `@zindex-modal` allowing tooltips and popovers to be displayed in front of modals (and all other content). --- less/variables.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index cdc1ba881..b6b15ae19 100644 --- a/less/variables.less +++ b/less/variables.less @@ -249,8 +249,8 @@ @zindex-navbar: 1000; @zindex-dropdown: 1000; -@zindex-popover: 1010; -@zindex-tooltip: 1030; +@zindex-popover: 1060; // @fix #13216 +@zindex-tooltip: 1070; // @fix #13216 @zindex-navbar-fixed: 1030; @zindex-modal-background: 1040; @zindex-modal: 1050; -- cgit v1.2.3 From f9e98a1422134077aa429f9053295e4765260736 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 1 Apr 2014 12:49:52 -0700 Subject: re-deprecate @screen-xs-min per #12913 By definition, XS screens have no minimum size, only a maximum size. (Symmetrically, LG screens have no maximum size, hence why there's no @screen-lg-max.) --- less/variables.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index cdc1ba881..feaaa72d9 100644 --- a/less/variables.less +++ b/less/variables.less @@ -262,6 +262,7 @@ // Extra small screen / phone // Note: Deprecated @screen-xs and @screen-phone as of v3.0.1 +// Note: Deprecated @screen-xs-min as of v3.2.0 @screen-xs: 480px; @screen-xs-min: @screen-xs; @screen-phone: @screen-xs-min; -- cgit v1.2.3 From 2127eb563fafdad10d004d33533a44ad023440e5 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 15 Apr 2014 11:01:51 -0700 Subject: rm not particularly useful @zindex var comments --- less/variables.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index ab4cf5ed7..a6d87f46e 100644 --- a/less/variables.less +++ b/less/variables.less @@ -249,8 +249,8 @@ @zindex-navbar: 1000; @zindex-dropdown: 1000; -@zindex-popover: 1060; // @fix #13216 -@zindex-tooltip: 1070; // @fix #13216 +@zindex-popover: 1060; +@zindex-tooltip: 1070; @zindex-navbar-fixed: 1030; @zindex-modal-background: 1040; @zindex-modal: 1050; -- cgit v1.2.3 From 98acc69219d7f15f3d87225ad96851ec9ba0e3c0 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 17 Apr 2014 18:43:05 -0700 Subject: fix #13360 by making deprecation notices visible in customizer --- less/variables.less | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index a6d87f46e..a2e464b6e 100644 --- a/less/variables.less +++ b/less/variables.less @@ -236,7 +236,7 @@ //** Text color for headers within dropdown menus. @dropdown-header-color: @gray-light; -// Note: Deprecated @dropdown-caret-color as of v3.1.0 +//** Deprecated `@dropdown-caret-color` as of v3.1.0 @dropdown-caret-color: #000; @@ -261,28 +261,32 @@ //## Define the breakpoints at which your layout will change, adapting to different screen sizes. // Extra small screen / phone -// Note: Deprecated @screen-xs and @screen-phone as of v3.0.1 -// Note: Deprecated @screen-xs-min as of v3.2.0 +//** Deprecated `@screen-xs` as of v3.0.1 @screen-xs: 480px; +//** Deprecated `@screen-xs-min` as of v3.2.0 @screen-xs-min: @screen-xs; +//** Deprecated `@screen-phone` as of v3.0.1 @screen-phone: @screen-xs-min; // Small screen / tablet -// Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1 +//** Deprecated `@screen-sm` as of v3.0.1 @screen-sm: 768px; @screen-sm-min: @screen-sm; +//** Deprecated `@screen-tablet` as of v3.0.1 @screen-tablet: @screen-sm-min; // Medium screen / desktop -// Note: Deprecated @screen-md and @screen-desktop as of v3.0.1 +//** Deprecated `@screen-md` as of v3.0.1 @screen-md: 992px; @screen-md-min: @screen-md; +//** Deprecated `@screen-desktop` as of v3.0.1 @screen-desktop: @screen-md-min; // Large screen / wide desktop -// Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1 +//** Deprecated `@screen-lg` as of v3.0.1 @screen-lg: 1200px; @screen-lg-min: @screen-lg; +//** Deprecated `@screen-lg-desktop` as of v3.0.1 @screen-lg-desktop: @screen-lg-min; // So media queries don't overlap when required, provide a maximum -- cgit v1.2.3 From 8c403dc1dcccc38057aba85c49a314a36a93c0af Mon Sep 17 00:00:00 2001 From: Ross Allen Date: Wed, 18 Jun 2014 14:40:50 -0700 Subject: Darken @gray-light to meet accessibility guidelines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `@gray-light` darkens from #999 to #777, which puts `.text-muted` at the threshold for the 4.5:1 WCAG minimum contrast[1]. #777:#fff is 4.48:1. The “Example” headers in docs become #959595, which is contrast ratio 3:1, the minimum for larger text. Since the headers are less important than the surrounding text, 3:1 is fine and an improvement on the previous #bbb:#fff (1.92:1). Fixes issue #13847. [1] http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html --- less/variables.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index a2e464b6e..c6edad147 100644 --- a/less/variables.less +++ b/less/variables.less @@ -10,7 +10,7 @@ @gray-darker: lighten(#000, 13.5%); // #222 @gray-dark: lighten(#000, 20%); // #333 @gray: lighten(#000, 33.5%); // #555 -@gray-light: lighten(#000, 60%); // #999 +@gray-light: lighten(#000, 46.7%); // #777 @gray-lighter: lighten(#000, 93.5%); // #eee @brand-primary: #428bca; -- cgit v1.2.3 From c7cd63107b551ddb8fe201340f1fa9cbe97f8af0 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 18 Jun 2014 21:52:34 -0700 Subject: fixes #13346: add a variable for .dl-horizontal's offset --- less/variables.less | 2 ++ 1 file changed, 2 insertions(+) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index c6edad147..2f339fb41 100644 --- a/less/variables.less +++ b/less/variables.less @@ -836,6 +836,8 @@ @blockquote-border-color: @gray-lighter; //** Page header border color @page-header-border-color: @gray-lighter; +//** Width of horizontal description list titles +@dl-horizontal-offset: @component-offset-horizontal; //== Miscellaneous -- cgit v1.2.3 From 8ad583063bd11e1b8841e1f27207660e0181df19 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Tue, 24 Jun 2014 18:30:24 +0200 Subject: Move variable declaration before its use for Sass In Sass, variable must be declared before it is used. This also removes Miscellaneous section, because horizontal line color and form / list paddings are Typography. --- less/variables.less | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index 2f339fb41..582f0f8d3 100644 --- a/less/variables.less +++ b/less/variables.less @@ -822,6 +822,8 @@ // //## +//** Horizontal offset for forms and lists. +@component-offset-horizontal: 180px; //** Text muted color @text-muted: @gray-light; //** Abbreviations and acronyms border color @@ -838,14 +840,7 @@ @page-header-border-color: @gray-lighter; //** Width of horizontal description list titles @dl-horizontal-offset: @component-offset-horizontal; - - -//== Miscellaneous -// -//## - //** Horizontal line color. @hr-border: @gray-lighter; -//** Horizontal offset for forms and lists. -@component-offset-horizontal: 180px; + -- cgit v1.2.3 From 41f27fd81367f1f4bda48f02de6f3ed9999ad421 Mon Sep 17 00:00:00 2001 From: Thomas Coleman Date: Wed, 25 Jun 2014 15:00:41 +0100 Subject: Added @gray-base variable to make @gray-{shade} reference, also allows @gray-base to be modified with less#modifyVars and the vars to cascade --- less/variables.less | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index 582f0f8d3..91cf3d5c8 100644 --- a/less/variables.less +++ b/less/variables.less @@ -7,11 +7,12 @@ // //## Gray and brand colors for use across Bootstrap. -@gray-darker: lighten(#000, 13.5%); // #222 -@gray-dark: lighten(#000, 20%); // #333 -@gray: lighten(#000, 33.5%); // #555 -@gray-light: lighten(#000, 46.7%); // #777 -@gray-lighter: lighten(#000, 93.5%); // #eee +@gray-base: #000; +@gray-darker: lighten(@gray-base, 13.5%); // #222 +@gray-dark: lighten(@gray-base, 20%); // #333 +@gray: lighten(@gray-base, 33.5%); // #555 +@gray-light: lighten(@gray-base, 46.7%); // #777 +@gray-lighter: lighten(@gray-base, 93.5%); // #eee @brand-primary: #428bca; @brand-success: #5cb85c; -- cgit v1.2.3 From fdacff229752e413f2705c8378e5023301db92de Mon Sep 17 00:00:00 2001 From: Thomas Coleman Date: Wed, 25 Jun 2014 16:09:57 +0100 Subject: Fixed @gray-base value being once space short --- less/variables.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index 91cf3d5c8..aa94ab8e2 100644 --- a/less/variables.less +++ b/less/variables.less @@ -7,7 +7,7 @@ // //## Gray and brand colors for use across Bootstrap. -@gray-base: #000; +@gray-base: #000; @gray-darker: lighten(@gray-base, 13.5%); // #222 @gray-dark: lighten(@gray-base, 20%); // #333 @gray: lighten(@gray-base, 33.5%); // #555 -- cgit v1.2.3 From 0378a6be2a5a42f408aeed24e20933039352ba74 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 5 Jul 2014 19:59:50 -0700 Subject: Fixes #13943: Lighten the navbar inverse link color more since our text contrast change in v3.2.0 --- less/variables.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index 582f0f8d3..085c49ba0 100644 --- a/less/variables.less +++ b/less/variables.less @@ -368,7 +368,7 @@ // Inverted navbar // Reset inverted navbar basics -@navbar-inverse-color: @gray-light; +@navbar-inverse-color: lighten(@gray-light, 12%); @navbar-inverse-bg: #222; @navbar-inverse-border: darken(@navbar-inverse-bg, 10%); -- cgit v1.2.3