vendor/toolkit/twitter/bootstrap/sprites.less in twitter-bootstrap-rails-2.1.3 vs vendor/toolkit/twitter/bootstrap/sprites.less in twitter-bootstrap-rails-2.1.4
- old
+ new
@@ -13,11 +13,11 @@
// For the white version of the icons, just add the .icon-white class:
// <i class="icon-inbox icon-white"></i>
[class^="icon-"],
-[class*=" icon-"] {
+[class*="icon-"] {
display: inline-block;
width: 14px;
height: 14px;
.ie7-restore-right-whitespace();
line-height: 14px;
@@ -28,15 +28,21 @@
margin-top: 1px;
}
/* White icons with optional class, or on hover/active states of certain elements */
.icon-white,
-.nav > .active > a > [class^="icon-"],
-.nav > .active > a > [class*=" icon-"],
+.nav-tabs > .active > a > [class^="icon-"],
+.nav-tabs > .active > a > [class*="icon-"],
+.nav-pills > .active > a > [class^="icon-"],
+.nav-pills > .active > a > [class*="icon-"],
+.nav-list > .active > a > [class^="icon-"],
+.nav-list > .active > a > [class*="icon-"],
+.navbar-inverse .nav > .active > a > [class^="icon-"],
+.navbar-inverse .nav > .active > a > [class*="icon-"],
.dropdown-menu > li > a:hover > [class^="icon-"],
-.dropdown-menu > li > a:hover > [class*=" icon-"],
+.dropdown-menu > li > a:hover > [class*="icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
-.dropdown-menu > .active > a > [class*=" icon-"] {
+.dropdown-menu > .active > a > [class*="icon-"] {
background-image: url(@iconWhiteSpritePath);
}
.icon-glass { background-position: 0 0; }
.icon-music { background-position: -24px 0; }