Created
April 26, 2013 14:03
-
-
Save zemirco/5467583 to your computer and use it in GitHub Desktop.
Twitter Bootstrap overwrite Express images folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[class^="icon-"],[class*=" icon-"] { | |
background-image:url("../images/glyphicons-halflings.png"); | |
} | |
.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("../images/glyphicons-halflings-white.png") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bootstrap uses
Express.js uses
Download Bootstrap and copy the files into the folders generated by Express.js. Then add the above code to your CSS to point to the correct folder with the icons.
Have fun!