Simplify nav user span

This commit is contained in:
cuom1999 2023-09-01 18:20:10 -05:00
parent 41ba0894ac
commit 4401fa7376
3 changed files with 20 additions and 12 deletions

View file

@ -191,11 +191,19 @@ header {
display: block; display: block;
margin: 0; margin: 0;
& > li > a > span { & > li > span {
height: 36px; height: 36px;
padding-top: 8px; padding-top: 8px;
display: block; display: block;
white-space: nowrap; white-space: nowrap;
cursor: pointer;
&:hover {
border-top: 2px solid #9c3706;
color: black;
background: rgba(255, 255, 255, 0.25);
margin: 0;
}
& > img { & > img {
vertical-align: middle; vertical-align: middle;

View file

@ -1541,6 +1541,12 @@ header {
#user-links { #user-links {
color: rgb(146, 141, 132); 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 { #nav-shadow {
background-image: linear-gradient(rgb(41, 44, 46), background-image: linear-gradient(rgb(41, 44, 46),
rgba(0, 0, 0, 0)); rgba(0, 0, 0, 0));
@ -1793,6 +1799,9 @@ noscript #noscript {
.background-footer { .background-footer {
color: rgb(126, 119, 107); color: rgb(126, 119, 107);
} }
#loading-bar {
background-color: rgb(101, 38, 33);
}
@media (min-width: 800px) { @media (min-width: 800px) {
#page-container { #page-container {
background-image: initial; background-image: initial;
@ -3823,15 +3832,6 @@ mjx-merror {
mjx-assistive-mml { mjx-assistive-mml {
border-color: initial !important; 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 */ /* Override Style */
.vimvixen-hint { .vimvixen-hint {

View file

@ -261,14 +261,14 @@
</span> </span>
{% if request.user.is_authenticated %} {% if request.user.is_authenticated %}
<span id="user-links"> <span id="user-links">
<ul><li><a href="javascript:void(0)"> <ul><li>
<span> <span>
<img src="{{ gravatar(request.profile, 32) }}" height="24" width="24">{# -#} <img src="{{ gravatar(request.profile, 32) }}" height="24" width="24">{# -#}
<span> <span>
<b class="{{request.profile.css_class}}">{{ request.user.username }}</b> <b class="{{request.profile.css_class}}">{{ request.user.username }}</b>
</span> </span>
</span> </span>
</a></li></ul> </li></ul>
</span> </span>
<div class="dropdown" id="userlink_dropdown" role="tooptip"> <div class="dropdown" id="userlink_dropdown" role="tooptip">
<a href="{{ url('user_page') }}"> <a href="{{ url('user_page') }}">