From 1d77660c62f178407c3cd306cc745182de2abc03 Mon Sep 17 00:00:00 2001 From: jackson Date: Wed, 16 Apr 2014 11:29:36 -0400 Subject: Added specificity note to docs per issue #13332 --- docs/_includes/css/helpers.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs/_includes/css/helpers.html') diff --git a/docs/_includes/css/helpers.html b/docs/_includes/css/helpers.html index e787a3103..7bb6cf82e 100644 --- a/docs/_includes/css/helpers.html +++ b/docs/_includes/css/helpers.html @@ -40,7 +40,10 @@

...

...

{% endhighlight %} - +
+

Dealing with specificity

+

Sometimes contextual background classeses cannot be applied due to the specificity of another selector. In some cases, a sufficient workaround is to wrap your element's content in a <div> with the class.

+

Close icon

Use the generic close icon for dismissing content like modals and alerts.

-- cgit v1.2.3 From ca45998fc9ac6ea2d83c32dfe590d2f76d37db0d Mon Sep 17 00:00:00 2001 From: jackson Date: Wed, 16 Apr 2014 12:39:29 -0400 Subject: Fixed typo and added leading space --- docs/_includes/css/helpers.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/_includes/css/helpers.html') diff --git a/docs/_includes/css/helpers.html b/docs/_includes/css/helpers.html index 7bb6cf82e..a76704673 100644 --- a/docs/_includes/css/helpers.html +++ b/docs/_includes/css/helpers.html @@ -40,9 +40,9 @@

...

...

{% endhighlight %} -
+

Dealing with specificity

-

Sometimes contextual background classeses cannot be applied due to the specificity of another selector. In some cases, a sufficient workaround is to wrap your element's content in a <div> with the class.

+

Sometimes contextual background classes cannot be applied due to the specificity of another selector. In some cases, a sufficient workaround is to wrap your element's content in a <div> with the class.

Close icon

-- cgit v1.2.3 From 949b81f51171550bcec0d92e771793999e69a389 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 3 May 2014 19:38:09 -0700 Subject: Improve accessibility of close buttons in modals & alerts Adds textual caption to the close buttons. The "X" multiplication sign isn't very meaningful to screenreaders. Credit: https://github.com/paypal/bootstrap-accessibility-plugin Per: https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#alert https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#modal-dialog --- docs/_includes/css/helpers.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/_includes/css/helpers.html') diff --git a/docs/_includes/css/helpers.html b/docs/_includes/css/helpers.html index a76704673..043dad9ff 100644 --- a/docs/_includes/css/helpers.html +++ b/docs/_includes/css/helpers.html @@ -48,10 +48,10 @@

Close icon

Use the generic close icon for dismissing content like modals and alerts.

-

+

{% highlight html %} - + {% endhighlight %} -- cgit v1.2.3 From f77d0aa591d455159ae1d9927333227cf1ae0382 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 10 Jun 2014 23:06:25 -0700 Subject: fixes #13356: clarify use of clearfix on parents --- docs/_includes/css/helpers.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes/css/helpers.html') diff --git a/docs/_includes/css/helpers.html b/docs/_includes/css/helpers.html index 043dad9ff..9b7223740 100644 --- a/docs/_includes/css/helpers.html +++ b/docs/_includes/css/helpers.html @@ -116,7 +116,7 @@

Clearfix

-

Clear the float on any element with the .clearfix class. Utilizes the micro clearfix as popularized by Nicolas Gallagher. Can also be used as a mixin.

+

Easily clear floats by adding .clearfix to the parent element. Utilizes the micro clearfix as popularized by Nicolas Gallagher. Can also be used as a mixin.

{% highlight html %}
...
-- cgit v1.2.3