Files
meteor/packages/bootstrap/css/bootstrap-override.css

38 lines
1.5 KiB
CSS

/*
* XXX Hack to make bootstrap work when bundled. This needs to be included
* _after_ the standard bootstrap css files.
*
* After being bundled, all CSS is minified and served from the "/" dir.
* Thus, we need to provide absolute paths to the icons here.
*/
[class^="icon-"],
[class*=" icon-"] {
background-image: url("/packages/bootstrap/img/glyphicons-halflings.png");
}
/*
* Selectors borrowed from bootstrap.css. For all releases of bootstrap, when
* we upgrade, update this file to borrow the selectors from where bootstrap.css
* references any .png. When we update to using .less instead, use the less
* directives in a less file instead.
*/
.icon-white,
.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:focus > [class^="icon-"],
.dropdown-menu > li > a:hover > [class*=" icon-"],
.dropdown-menu > li > a:focus > [class*=" icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
.dropdown-menu > .active > a > [class*=" icon-"],
.dropdown-submenu:hover > a > [class^="icon-"],
.dropdown-submenu:focus > a > [class^="icon-"],
.dropdown-submenu:hover > a > [class*=" icon-"],
.dropdown-submenu:focus > a > [class*=" icon-"] {
background-image: url("/packages/bootstrap/img/glyphicons-halflings-white.png");
}