Simplify navigation icon styling

This commit is contained in:
Sunil Mohan Adapa 2014-11-23 14:24:03 +05:30
parent 0ec7774a2a
commit 0a553fc797
2 changed files with 4 additions and 11 deletions

View File

@ -27,7 +27,7 @@
<li>
<a href="{{ item.url }}">
{% endif %}
<span class="{{ item.icon }} glyphicon sidenav-icon"></span>
<span class="{{ item.icon }} glyphicon"></span>
{{ item.label }}
</a>
{% if item.items %}

View File

@ -3,10 +3,6 @@ body {
padding-bottom: 20px;
}
.sidebar-nav .nav li a {
padding: 2px 15px;
}
/* nav-header is deprecated in bootstrap 3.x, so replicate it here */
.nav-header {
text-transform: uppercase;
@ -16,12 +12,9 @@ body {
color: #999;
}
.nav-icon {
margin-right: 8px;
}
.sidenav-icon {
margin-right: 8px;
padding-right: 5px;
.nav .glyphicon,
.sidebar .glyphicon {
margin-right: 4px;
}
.navbar-brand img {