lišta přihlášeného orga (malý displej)
This commit is contained in:
parent
45d857f27f
commit
3cb2b76f15
2 changed files with 8 additions and 4 deletions
|
@ -20,7 +20,7 @@ div.container {
|
||||||
|
|
||||||
div.login-bar {
|
div.login-bar {
|
||||||
background: #6a0043;
|
background: #6a0043;
|
||||||
color: #fffbf6;
|
color: #f9d59e;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -33,12 +33,12 @@ div.login-bar {
|
||||||
}
|
}
|
||||||
|
|
||||||
div.login-bar div {
|
div.login-bar div {
|
||||||
display: inline-block;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.login-ref-admin {
|
a.login-ref-admin {
|
||||||
display: inline;
|
display: inline;
|
||||||
color: inherit;
|
color: #fffbf6;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* odkazy a nadpisy */
|
/* odkazy a nadpisy */
|
||||||
|
@ -432,6 +432,10 @@ ul.submenu {
|
||||||
/* malý tablet, mobil */
|
/* malý tablet, mobil */
|
||||||
@media (max-width: 650px) {
|
@media (max-width: 650px) {
|
||||||
|
|
||||||
|
#hide-if-small.login-bar-flatpage {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
#title {
|
#title {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
{% if view.object.admin_url %}<a class="login-ref-admin" href='{{ view.object.admin_url }}'>[admin]</a>{% endif %}
|
{% if view.object.admin_url %}<a class="login-ref-admin" href='{{ view.object.admin_url }}'>[admin]</a>{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if flatpage %}
|
{% 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>
|
<a class="login-ref-admin" href='{% url 'admin:flatpages_flatpage_change' flatpage.id %}'>[admin]</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a class="login-ref-admin" href='/admin'>[admin mainpage]</a>
|
<a class="login-ref-admin" href='/admin'>[admin mainpage]</a>
|
||||||
|
|
Loading…
Reference in a new issue