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

- old
+ new

@@ -4,32 +4,30 @@ // 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="icon-inbox"></i>. +// <i class="i icon-inbox"></i>. // For the white version of the icons, just add the .icon-white class: -// <i class="icon-inbox icon-white"></i> +// <i class="i 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(@iconSpritePath); + background-image: asset-url('twitter/bootstrap/glyphicons-halflings.png'); background-position: 14px 14px; background-repeat: no-repeat; .ie7-restore-right-whitespace(); } .icon-white { - background-image: url(@iconWhiteSpritePath); + background-image: asset-url('twitter/bootstrap/glyphicons-halflings-white.png'); } .icon-glass { background-position: 0 0; } .icon-music { background-position: -24px 0; } .icon-search { background-position: -48px 0; }