From d42b1a2d2d0911de918bcd7ec37c7bd3568a18f3 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Fri, 25 Apr 2014 10:43:30 -0700 Subject: fix #13427 --- docs/_includes/css/less.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/_includes/css/less.html') diff --git a/docs/_includes/css/less.html b/docs/_includes/css/less.html index b6d46da29..c07153318 100644 --- a/docs/_includes/css/less.html +++ b/docs/_includes/css/less.html @@ -76,7 +76,7 @@ {% highlight scss %} // Variables @link-color: @brand-primary; -@link-color-hover: darken(@link-color, 15%); +@link-hover-color: darken(@link-color, 15%); // Usage a { @@ -84,12 +84,12 @@ a { text-decoration: none; &:hover { - color: @link-color-hover; + color: @link-hover-color; text-decoration: underline; } } {% endhighlight %} -

Note that the @link-color-hover uses a function, another awesome tool from Less, to automagically create the right hover color. You can use darken, lighten, saturate, and desaturate.

+

Note that the @link-hover-color uses a function, another awesome tool from Less, to automagically create the right hover color. You can use darken, lighten, saturate, and desaturate.

Typography

Easily set your type face, text size, leading, and more with a few quick variables. Bootstrap makes use of these as well to provide easy typographic mixins.

-- cgit v1.2.3 From 43b6d6c2f879b08c682433adfd6a8a78622500b3 Mon Sep 17 00:00:00 2001 From: syed Date: Sat, 26 Apr 2014 09:44:14 +0500 Subject: fixes https://github.com/twbs/bootstrap/issues/13367 Second color stop value should be percentage instead of decimal value. --- docs/_includes/css/less.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/_includes/css/less.html') diff --git a/docs/_includes/css/less.html b/docs/_includes/css/less.html index c07153318..eadbda775 100644 --- a/docs/_includes/css/less.html +++ b/docs/_includes/css/less.html @@ -378,10 +378,10 @@ a { {% highlight scss %} #gradient > .striped(#333; 45deg); {% endhighlight %} -

Up the ante and use three colors instead. Set the first color, the second color, the second color's color stop (a decimal value like 0.25), and the third color with these mixins:

+

Up the ante and use three colors instead. Set the first color, the second color, the second color's color stop (a percentage value like 25%), and the third color with these mixins:

{% highlight scss %} -#gradient > .vertical-three-colors(#777; #333; .25; #000); -#gradient > .horizontal-three-colors(#777; #333; .25; #000); +#gradient > .vertical-three-colors(#777; #333; 25%; #000); +#gradient > .horizontal-three-colors(#777; #333; 25%; #000); {% endhighlight %}

Heads up! Should you ever need to remove a gradient, be sure to remove any IE-specific filter you may have added. You can do that by using the .reset-filter() mixin alongside background-image: none;.

-- cgit v1.2.3 From 91d2cf848bc6fcd07bf2b16ce0308b0372d28b2e Mon Sep 17 00:00:00 2001 From: Bas Bosman Date: Thu, 19 Jun 2014 14:56:43 +0200 Subject: Fix @gray-light in docs --- docs/_includes/css/less.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes/css/less.html') diff --git a/docs/_includes/css/less.html b/docs/_includes/css/less.html index eadbda775..a6fbbaa11 100644 --- a/docs/_includes/css/less.html +++ b/docs/_includes/css/less.html @@ -28,7 +28,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 {% endhighlight %} -- cgit v1.2.3 From 10ea20515c148a94fb52c43f22ce476a572d5bf1 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 26 Jun 2014 21:05:50 +0300 Subject: Fix link to compiling info. Fixes #13938. [skip sauce] --- docs/_includes/css/less.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes/css/less.html') diff --git a/docs/_includes/css/less.html b/docs/_includes/css/less.html index a6fbbaa11..b325ea9eb 100644 --- a/docs/_includes/css/less.html +++ b/docs/_includes/css/less.html @@ -7,7 +7,7 @@

Compiling Bootstrap

-

Bootstrap can be used in at least two ways: with the compiled CSS or with the source Less files. To compile the Less files, visit the README for how to setup your development environment to run the necessary commands.

+

Bootstrap can be used in at least two ways: with the compiled CSS or with the source Less files. To compile the Less files, consult the Getting Started section for how to setup your development environment to run the necessary commands.

Third party compilation tools may work with Bootstrap, but they are not supported by our core team.

Variables

-- cgit v1.2.3