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> <li>
<a href="{{ item.url }}"> <a href="{{ item.url }}">
{% endif %} {% endif %}
<span class="{{ item.icon }} glyphicon sidenav-icon"></span> <span class="{{ item.icon }} glyphicon"></span>
{{ item.label }} {{ item.label }}
</a> </a>
{% if item.items %} {% if item.items %}

View File

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