Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UCC
uccportal
Commits
a9002d1e
Commit
a9002d1e
authored
Jan 24, 2019
by
frekk
Browse files
fix admin navbar scrollbar displaying
parent
46126000
Changes
3
Hide whitespace changes
Inline
Side-by-side
gms/memberdb/static/admin_custom.css
View file @
a9002d1e
...
...
@@ -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
}
gms/memberdb/static/shared.css
View file @
a9002d1e
...
...
@@ -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
}
gms/memberdb/templates/base.html
View file @
a9002d1e
...
...
@@ -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 #}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment