From 722c75d1b19fbb9ed98be0afa54f4f79c9f7ee48 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 11 Feb 2012 00:07:05 -0800 Subject: update selectors for icons to include matcher for icon class in middle of class attr, remove docs mention of requiring icon-* first --- docs/assets/bootstrap.zip | Bin 52623 -> 52644 bytes docs/assets/css/bootstrap.css | 4 ++-- docs/base-css.html | 4 ---- docs/templates/pages/base-css.mustache | 4 ---- 4 files changed, 2 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 3b87a25c0..ce828690e 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 9f0420b5b..d4d311b20 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1128,7 +1128,7 @@ table .span12 { width: 924px; margin-left: 0; } -[class^="icon-"] { +[class^="icon-"], [class*=" icon-"] { display: inline-block; width: 14px; height: 14px; @@ -1139,7 +1139,7 @@ table .span12 { background-repeat: no-repeat; *margin-right: .3em; } -[class^="icon-"]:last-child { +[class^="icon-"]:last-child, [class*=" icon-"]:last-child { *margin-left: 0; } .icon-white { diff --git a/docs/base-css.html b/docs/base-css.html index ac260bffb..c0ad882a5 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1515,10 +1515,6 @@ For example, <code>section</code> should be wrapped as inline. <i class="icon-search icon-white"></i>

There are 120 classes to choose from for your icons. Just add an <i> tag with the right classes and you're set. You can find the full list in sprites.less or right here in this document.

-
- Heads up! - The .icon- class must be listed first in the class tag for proper CSS targeting. -

Use cases

diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 0be4c1e34..750957beb 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -1439,10 +1439,6 @@ <i class="icon-search icon-white"></i>

{{_i}}There are 120 classes to choose from for your icons. Just add an <i> tag with the right classes and you're set. You can find the full list in sprites.less or right here in this document.{{/i}}

-
- {{_i}}Heads up!{{/i}} - {{_i}}The .icon- class must be listed first in the class tag for proper CSS targeting.{{/i}} -

{{_i}}Use cases{{/i}}

-- cgit v1.2.3