Simplify nav user span
This commit is contained in:
parent
41ba0894ac
commit
4401fa7376
3 changed files with 20 additions and 12 deletions
|
@ -191,11 +191,19 @@ header {
|
|||
display: block;
|
||||
margin: 0;
|
||||
|
||||
& > li > a > span {
|
||||
& > li > span {
|
||||
height: 36px;
|
||||
padding-top: 8px;
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
border-top: 2px solid #9c3706;
|
||||
color: black;
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
& > img {
|
||||
vertical-align: middle;
|
||||
|
|
|
@ -1541,6 +1541,12 @@ header {
|
|||
#user-links {
|
||||
color: rgb(146, 141, 132);
|
||||
}
|
||||
#user-links > ul > li > span:hover {
|
||||
border-top-color: rgb(165, 58, 7);
|
||||
color: rgb(193, 191, 188);
|
||||
background-image: initial;
|
||||
background-color: rgba(20, 22, 22, 0.25);
|
||||
}
|
||||
#nav-shadow {
|
||||
background-image: linear-gradient(rgb(41, 44, 46),
|
||||
rgba(0, 0, 0, 0));
|
||||
|
@ -1793,6 +1799,9 @@ noscript #noscript {
|
|||
.background-footer {
|
||||
color: rgb(126, 119, 107);
|
||||
}
|
||||
#loading-bar {
|
||||
background-color: rgb(101, 38, 33);
|
||||
}
|
||||
@media (min-width: 800px) {
|
||||
#page-container {
|
||||
background-image: initial;
|
||||
|
@ -3823,15 +3832,6 @@ mjx-merror {
|
|||
mjx-assistive-mml {
|
||||
border-color: initial !important;
|
||||
}
|
||||
mjx-stretchy-v > mjx-ext {
|
||||
border-color: transparent;
|
||||
}
|
||||
.recently-attempted ul {
|
||||
list-style-image: initial;
|
||||
}
|
||||
.organization-row:last-child {
|
||||
border-bottom-color: initial;
|
||||
}
|
||||
|
||||
/* Override Style */
|
||||
.vimvixen-hint {
|
||||
|
|
|
@ -261,14 +261,14 @@
|
|||
</span>
|
||||
{% if request.user.is_authenticated %}
|
||||
<span id="user-links">
|
||||
<ul><li><a href="javascript:void(0)">
|
||||
<ul><li>
|
||||
<span>
|
||||
<img src="{{ gravatar(request.profile, 32) }}" height="24" width="24">{# -#}
|
||||
<span>
|
||||
<b class="{{request.profile.css_class}}">{{ request.user.username }}</b>
|
||||
</span>
|
||||
</span>
|
||||
</a></li></ul>
|
||||
</li></ul>
|
||||
</span>
|
||||
<div class="dropdown" id="userlink_dropdown" role="tooptip">
|
||||
<a href="{{ url('user_page') }}">
|
||||
|
|
Loading…
Reference in a new issue