Commit a9002d1e authored by frekk's avatar frekk
Browse files

fix admin navbar scrollbar displaying

parent 46126000
......@@ -2,11 +2,11 @@
display: inline-block;
}
.logo {
.logo span {
transform: rotate(45deg);
}
.logo:hover {
.logo span:hover {
animation: spin 0.5s linear infinite;
}
......@@ -40,4 +40,4 @@
p, a {
box-sizing: content-box;
}
\ No newline at end of file
}
......@@ -19,6 +19,13 @@ body {
margin: 5px 30px 5px 20px;
height: 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-repeat: no-repeat;
background-position: center;
......@@ -153,4 +160,4 @@ input[type=button][disabled].default {
.help, p.help, form p.help, div.help, form div.help, div.help li {
font-size: 12px;
color: #999;
}
\ No newline at end of file
}
......@@ -23,7 +23,9 @@
{% block navbar %}
<nav>
{% block branding %}
<a class="logo" title="UCC logo"></a>
<a class="logo" title="UCC logo">
<span></span>
</a>
{% endblock %}
{# fancy automatic navbar thing from https://stackoverflow.com/questions/39639264 #}
......
Supports Markdown
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