vendor/toolkit/twitter/bootstrap/sprites.less in twitter-bootstrap-rails-2.0.2 vs vendor/toolkit/twitter/bootstrap/sprites.less in twitter-bootstrap-rails-2.0.3

- old
+ new

@@ -4,30 +4,32 @@ // ICONS // ----- -// 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, +// 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: asset-url('twitter/bootstrap/glyphicons-halflings.png'); + background-image: url(@iconSpritePath); background-position: 14px 14px; background-repeat: no-repeat; .ie7-restore-right-whitespace(); } .icon-white { - background-image: asset-url('twitter/bootstrap/glyphicons-halflings-white.png'); + background-image: url(@iconWhiteSpritePath); } .icon-glass { background-position: 0 0; } .icon-music { background-position: -24px 0; } .icon-search { background-position: -48px 0; }