More theming hooks
This commit is contained in:
parent
16c12c9873
commit
cb185a4500
6 changed files with 8 additions and 5 deletions
1
umap/static/umap/theme.css
Normal file
1
umap/static/umap/theme.css
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/* Override this file for theming uMap easily */
|
|
@ -334,7 +334,7 @@ footer {
|
||||||
line-height: 140px;
|
line-height: 140px;
|
||||||
color: #8F96A3;
|
color: #8F96A3;
|
||||||
}
|
}
|
||||||
footer a {
|
footer a.branding {
|
||||||
background-image: url("./img/logo_filigree.png");
|
background-image: url("./img/logo_filigree.png");
|
||||||
background-position: left center;
|
background-position: left center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<!-- Included CSS Files (Compressed) -->
|
<!-- Included CSS Files (Compressed) -->
|
||||||
<link rel="stylesheet" href="{{ STATIC_URL }}storage/contrib/css/storage.ui.default.css">
|
<link rel="stylesheet" href="{{ STATIC_URL }}storage/contrib/css/storage.ui.default.css">
|
||||||
<link rel="stylesheet" href="{{ STATIC_URL }}umap/umap.css">
|
<link rel="stylesheet" href="{{ STATIC_URL }}umap/umap.css">
|
||||||
|
<link rel="stylesheet" href="{{ STATIC_URL }}umap/theme.css">
|
||||||
{% endcompress css %}
|
{% endcompress css %}
|
||||||
<!-- IE Fix for HTML5 Tags -->
|
<!-- IE Fix for HTML5 Tags -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
|
|
|
@ -74,7 +74,5 @@
|
||||||
|
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<footer>
|
{% include "umap/content_footer.html" %}
|
||||||
<a href="/">umap</a> an OpenStreetMap project (version {{ UMAP_VERSION }})
|
|
||||||
</footer>
|
|
||||||
{% endblock footer %}
|
{% endblock footer %}
|
||||||
|
|
3
umap/templates/umap/content_footer.html
Normal file
3
umap/templates/umap/content_footer.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<footer>
|
||||||
|
<a href="/" class="branding">umap</a> an OpenStreetMap project (version {{ UMAP_VERSION }})
|
||||||
|
</footer>
|
|
@ -2,7 +2,7 @@
|
||||||
<nav>
|
<nav>
|
||||||
<section class="col quarter branding twide">
|
<section class="col quarter branding twide">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="name"><h1><a href="/">umap</a></h1></li>
|
<li class="name"><h1><a href="/">{{ SITE_NAME }}</a></h1></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue