Skip to content
Snippets Groups Projects
Commit a9002d1e authored by frekk's avatar frekk
Browse files

fix admin navbar scrollbar displaying

parent 46126000
No related merge requests found
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
display: inline-block; display: inline-block;
} }
.logo { .logo span {
transform: rotate(45deg); transform: rotate(45deg);
} }
.logo:hover { .logo span:hover {
animation: spin 0.5s linear infinite; animation: spin 0.5s linear infinite;
} }
...@@ -40,4 +40,4 @@ ...@@ -40,4 +40,4 @@
p, a { p, a {
box-sizing: content-box; box-sizing: content-box;
} }
\ No newline at end of file
...@@ -19,6 +19,13 @@ body { ...@@ -19,6 +19,13 @@ body {
margin: 5px 30px 5px 20px; margin: 5px 30px 5px 20px;
height: 50px; height: 50px;
width: 50px; width: 50px;
overflow: hidden; /* hide the overflow when it is rotated on the admin site */
}
.logo span {
height: 100%;
width: 100%;
display: block;
background-image: url("ucc-logo-white.png"); background-image: url("ucc-logo-white.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
...@@ -153,4 +160,4 @@ input[type=button][disabled].default { ...@@ -153,4 +160,4 @@ input[type=button][disabled].default {
.help, p.help, form p.help, div.help, form div.help, div.help li { .help, p.help, form p.help, div.help, form div.help, div.help li {
font-size: 12px; font-size: 12px;
color: #999; color: #999;
} }
\ No newline at end of file
...@@ -23,7 +23,9 @@ ...@@ -23,7 +23,9 @@
{% block navbar %} {% block navbar %}
<nav> <nav>
{% block branding %} {% block branding %}
<a class="logo" title="UCC logo"></a> <a class="logo" title="UCC logo">
<span></span>
</a>
{% endblock %} {% endblock %}
{# fancy automatic navbar thing from https://stackoverflow.com/questions/39639264 #} {# fancy automatic navbar thing from https://stackoverflow.com/questions/39639264 #}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment