--- a/qmsk/pages/templates/qmsk.pages/error.html Sat Oct 04 16:47:04 2014 +0300
+++ b/qmsk/pages/templates/qmsk.pages/error.html Sat Oct 04 16:50:03 2014 +0300
@@ -20,7 +20,7 @@
{% endif %}
<ul class="nav">
{% for name, page, type, title in tree.list_sorted %}
- <li class="page-tree-item{% if type %} page-tree-{{type}}{% else %} page-tree-tree{% endif %}{% if name == tree_name %} page-tree-active{% endif %}">
+ <li class="page-tree-item{% if type %} page-tree-{{type}}{% else %} page-tree-tree{% endif %}{% if name == tree_name %} active{% endif %}">
<a href="{% url 'page' page %}">
{% if not type %}
<i class="glyphicon glyphicon-chevron-right"></i>
--- a/qmsk/pages/templates/qmsk.pages/page.html Sat Oct 04 16:47:04 2014 +0300
+++ b/qmsk/pages/templates/qmsk.pages/page.html Sat Oct 04 16:50:03 2014 +0300
@@ -28,7 +28,7 @@
{% endif %}
<ul class="nav">
{% for name, page, type, title in tree.list_sorted %}
- <li class="page-tree-item{% if type %} page-tree-{{type}}{% else %} page-tree-tree{% endif %}{% if name == tree_name %} page-tree-active{% endif %}">
+ <li class="page-tree-item{% if type %} page-tree-{{type}}{% else %} page-tree-tree{% endif %}{% if name == tree_name %} active{% endif %}">
<a href="{% url 'page' page %}">
{% if not type %}
<i class="glyphicon glyphicon-chevron-right"></i>
--- a/qmsk/pngtile/static/qmsk.pngtile/map.css Sat Oct 04 16:47:04 2014 +0300
+++ b/qmsk/pngtile/static/qmsk.pngtile/map.css Sat Oct 04 16:50:03 2014 +0300
@@ -2,7 +2,7 @@
.image {
position: relative;
- margin-top: 1em;
+ margin: 1em auto;
border: none;
padding: 0;
--- a/static/style.css Sat Oct 04 16:47:04 2014 +0300
+++ b/static/style.css Sat Oct 04 16:50:03 2014 +0300
@@ -53,7 +53,7 @@
text-decoration: none;
}
-#nav li.page-tree-active {
+#nav li.active {
background-color: #808080;
}