diff options
| author | Jacob Thornton <[email protected]> | 2012-02-16 22:41:02 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-02-16 22:41:02 -0800 |
| commit | 03e6dc66c2fe14e756723395752feefb687b6526 (patch) | |
| tree | b8cfe13d72e1a780ef08dbd26e3bfe48e406c59e /less/sprites.less | |
| parent | 9143d8e449a852c606194ea8c529e30ea1a52ddf (diff) | |
| parent | 091622644a0c619e1afbb21041c141da30df76b7 (diff) | |
| download | bootstrap-03e6dc66c2fe14e756723395752feefb687b6526.tar.xz bootstrap-03e6dc66c2fe14e756723395752feefb687b6526.zip | |
Merge branch '2.0.1-wip'
Diffstat (limited to 'less/sprites.less')
| -rw-r--r-- | less/sprites.less | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/less/sprites.less b/less/sprites.less index a56216c71..a7741661e 100644 --- a/less/sprites.less +++ b/less/sprites.less @@ -9,24 +9,26 @@ // All icons receive the styles of the <i> tag with a base class // of .i and are then given a unique class to add width, height, // and background-position. Your resulting HTML will look like -// <i class="i icon-inbox"></i>. +// <i class="icon-inbox"></i>. // For the white version of the icons, just add the .icon-white class: -// <i class="i icon-inbox icon-white"></i> +// <i class="icon-inbox icon-white"></i> -[class^="icon-"] { +[class^="icon-"], +[class*=" icon-"] { display: inline-block; width: 14px; height: 14px; + line-height: 14px; vertical-align: text-top; - background-image: url(../img/glyphicons-halflings.png); + background-image: url(@iconSpritePath); background-position: 14px 14px; background-repeat: no-repeat; .ie7-restore-right-whitespace(); } .icon-white { - background-image: url(../img/glyphicons-halflings-white.png); + background-image: url(@iconWhiteSpritePath); } .icon-glass { background-position: 0 0; } |
