From 0a553fc797fcd10dbdceceeb9be8da19d8494995 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sun, 23 Nov 2014 14:24:03 +0530 Subject: [PATCH] Simplify navigation icon styling --- plinth/templates/menu.html | 2 +- static/themes/default/css/plinth.css | 13 +++---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/plinth/templates/menu.html b/plinth/templates/menu.html index eef90b4fe..62db706c9 100644 --- a/plinth/templates/menu.html +++ b/plinth/templates/menu.html @@ -27,7 +27,7 @@
  • {% endif %} - + {{ item.label }} {% if item.items %} diff --git a/static/themes/default/css/plinth.css b/static/themes/default/css/plinth.css index 9d7f0b7e8..5b93605c5 100644 --- a/static/themes/default/css/plinth.css +++ b/static/themes/default/css/plinth.css @@ -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 {