lišta přihlášeného orga (malý displej)

This commit is contained in:
Kateřina Čížková 2020-04-08 21:02:37 +02:00
parent 45d857f27f
commit 3cb2b76f15
2 changed files with 8 additions and 4 deletions

View file

@ -20,7 +20,7 @@ div.container {
div.login-bar {
background: #6a0043;
color: #fffbf6;
color: #f9d59e;
width: 100%;
position: fixed;
@ -33,12 +33,12 @@ div.login-bar {
}
div.login-bar div {
display: inline-block;
display: inline;
}
a.login-ref-admin {
display: inline;
color: inherit;
color: #fffbf6;
}
/* odkazy a nadpisy */
@ -432,6 +432,10 @@ ul.submenu {
/* malý tablet, mobil */
@media (max-width: 650px) {
#hide-if-small.login-bar-flatpage {
display: none;
}
#title {
display: none;
}

View file

@ -43,7 +43,7 @@
{% if view.object.admin_url %}<a class="login-ref-admin" href='{{ view.object.admin_url }}'>[admin]</a>{% endif %}
{% endif %}
{% if flatpage %}
<div class="login-bar-stránka"> Stránka <tt>{{ flatpage.url }}</tt> ({{ flatpage.title }})</div>
<div class="login-bar-flatpage" id="hide-if-small"> Stránka <tt>{{ flatpage.url }}</tt> ({{ flatpage.title }})</div>
<a class="login-ref-admin" href='{% url 'admin:flatpages_flatpage_change' flatpage.id %}'>[admin]</a>
{% endif %}
<a class="login-ref-admin" href='/admin'>[admin mainpage]</a>