1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

adding white sprites

This commit is contained in:
Mark Otto 2012-01-26 16:27:37 -08:00
parent b260544de0
commit af96da6e89
7 changed files with 10 additions and 3 deletions

5
bootstrap.css vendored
View file

@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Thu Jan 26 15:39:24 PST 2012
* Date: Thu Jan 26 16:26:33 PST 2012
*/
article,
aside,
@ -1074,6 +1074,9 @@ table .span12 {
width: 14px;
height: 14px;
}
.icon.white {
background-image: url(docs/assets/img/glyphicons-halflings-sprite-white.png);
}
.glass {
background-position: 0 0;
}

1
bootstrap.min.css vendored
View file

@ -208,6 +208,7 @@ table .span10{float:none;width:764px;margin-left:0;}
table .span11{float:none;width:844px;margin-left:0;}
table .span12{float:none;width:924px;margin-left:0;}
.icon{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);background-position:0 0;background-repeat:no-repeat;display:inline-block;vertical-align:text-top;width:14px;height:14px;}
.icon.white{background-image:url(docs/assets/img/glyphicons-halflings-sprite-white.png);}
.glass{background-position:0 0;}
.music{background-position:-24px 0;}
.search{background-position:-48px 0;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -1482,7 +1482,7 @@
<p>Or, use them in navigation.</p>
<div class="well" style="padding: 8px 0;">
<ul class="nav list">
<li class="active"><a href="#"><i class="icon home"></i> Home</a></li>
<li class="active"><a href="#"><i class="icon white home"></i> Home</a></li>
<li><a href="#"><i class="icon book"></i> Library</a></li>
<li><a href="#"><i class="icon pencil"></i> Applications</a></li>
</ul>

View file

@ -1417,7 +1417,7 @@
<p>{{_i}}Or, use them in navigation.{{/i}}</p>
<div class="well" style="padding: 8px 0;">
<ul class="nav list">
<li class="active"><a href="#"><i class="icon home"></i> {{_i}}Home{{/i}}</a></li>
<li class="active"><a href="#"><i class="icon white home"></i> {{_i}}Home{{/i}}</a></li>
<li><a href="#"><i class="icon book"></i> {{_i}}Library{{/i}}</a></li>
<li><a href="#"><i class="icon pencil"></i> {{_i}}Applications{{/i}}</a></li>
</ul>

View file

@ -20,6 +20,9 @@
width: 14px;
height: 14px;
}
.icon.white {
background-image: url(docs/assets/img/glyphicons-halflings-sprite-white.png);
}
.glass { background-position: 0 0; }
.music { background-position: -24px 0; }