Fix notifications styling
parent
ad7aff9664
commit
7a355b0f31
|
@ -67,6 +67,9 @@
|
|||
{% if user.is_authenticated %}
|
||||
<a href="{% url 'supporter' user %}#edit">
|
||||
<img class="user-avatar" src="{{ user.profile.avatar_url }}" height=36 width="36" alt="Avatar for {{ user.username }}" title="{{ user.username }}" />
|
||||
{% if unseen_count %}
|
||||
<span class="notifications-badge unseen_count">{{ unseen_count }}</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
{% else %}
|
||||
<a class="notbutton hijax" href="{% url 'superlogin' %}?next={% if request.GET.next %}{{ request.GET.next|urlencode }}{% else %}{{ request.get_full_path|urlencode}}{% endif %}"><span>Log In</span></a>
|
||||
|
@ -83,7 +86,7 @@
|
|||
<label for="menu-drilldown-box">
|
||||
<li toggle-header-menu><a href="#">Back</a></li>
|
||||
</label>
|
||||
{% if True or user.is_authenticated %}
|
||||
{% if user.is_authenticated %}
|
||||
<li>
|
||||
<a href="#">Account</a>
|
||||
<ul class="menu vertical nested">
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.faq-container{display:flex;flex-direction:column;margin:0 auto;max-width:1024px}.faq-menu{min-width:200px}.faq-main{padding:0 25px}.faq-toplevel-nav{width:fit-content;margin:0 auto}.faq-toplevel-nav li{width:fit-content}.long-formula{white-space:pre-wrap}@media print, screen and (min-width: 40em){.faq-container{flex-direction:row}.faq-toplevel-nav>li>a,.faq-toplevel-nav>li>span{border-bottom:1px solid #edf3f4}}
|
||||
.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.panelborders{border-width:1px 0px;border-style:solid none;border-color:#FFFFFF}.faq-container{display:flex;flex-direction:column;margin:0 auto;max-width:1024px}.faq-menu{min-width:200px}.faq-main{padding:0 25px;max-width:100vw}.faq-toplevel-nav{width:fit-content;margin:0 auto}.faq-toplevel-nav li{width:fit-content}.long-formula{white-space:pre-wrap}@media print, screen and (min-width: 40em){.faq-container{flex-direction:row}.faq-toplevel-nav>li>a,.faq-toplevel-nav>li>span{border-bottom:1px solid #edf3f4}}
|
||||
|
||||
/*# sourceMappingURL=../../../../../../../static/scss/faq.css.map */
|
||||
/*# sourceMappingURL=../../../../../../static/scss/faq.css.map */
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -397,29 +397,9 @@ h3 {
|
|||
}
|
||||
}
|
||||
|
||||
.unseen_count {
|
||||
border: solid 2px;
|
||||
@include one-border-radius(700px);
|
||||
padding: 3px;
|
||||
line-height: 16px;
|
||||
width: 16px;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
|
||||
&#i_haz_notifications {
|
||||
background-color: $call-to-action;
|
||||
color: white;
|
||||
border-color: white;
|
||||
}
|
||||
|
||||
&#no_notifications_for_you {
|
||||
border-color: $pale-blue;
|
||||
background-color: $pale-blue;
|
||||
color: $text-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn-signup {
|
||||
@include button-variant(#fff, $call-to-action, $btn-default-border);
|
||||
}
|
||||
|
@ -427,7 +407,29 @@ h3 {
|
|||
@include button-variant(#fff, $bright-blue, $btn-default-border);
|
||||
}
|
||||
|
||||
#i_haz_notifications_badge {
|
||||
.unseen_count {
|
||||
border: solid 2px;
|
||||
@include one-border-radius(700px);
|
||||
padding: 3px;
|
||||
line-height: 16px;
|
||||
width: 16px;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
|
||||
&#i_haz_notifications {
|
||||
background-color: $call-to-action;
|
||||
color: white;
|
||||
border-color: white;
|
||||
}
|
||||
|
||||
&#no_notifications_for_you {
|
||||
border-color: $pale-blue;
|
||||
background-color: $pale-blue;
|
||||
color: $text-blue;
|
||||
}
|
||||
}
|
||||
|
||||
.notifications-badge {
|
||||
@include one-border-radius(700px);
|
||||
font-size: $font-size-default;
|
||||
border: solid 2px white;
|
||||
|
|
Loading…
Reference in New Issue