Post Web Assets v2 upgrade UI fixes and improvements #114
@ -371,3 +371,7 @@
|
||||
@extend .dropdown-divider
|
||||
|
||||
+margin(0, top)
|
||||
|
||||
.dropdown-item
|
||||
&a
|
||||
+padding(3, x)
|
||||
|
@ -1,8 +1,13 @@
|
||||
// TODO: remove style if 'mark as unread' is implemented
|
||||
.notifications-item
|
||||
&.is-read
|
||||
.dropdown-toggle
|
||||
color: var(--color-text-secondary) !important
|
||||
// .notifications-item
|
||||
// &.is-read
|
||||
// .dropdown-toggle
|
||||
// color: var(--color-text-secondary) !important
|
||||
//
|
||||
// &:hover
|
||||
// cursor: default
|
||||
|
||||
&:hover
|
||||
cursor: default
|
||||
.notifications-item
|
||||
.dropdown-item
|
||||
padding-left: var(--spacer) !important
|
||||
padding-right: var(--spacer) !important
|
||||
|
@ -23,7 +23,7 @@
|
||||
{{ notification.action.timestamp | naturaltime_compact }}
|
||||
</td>
|
||||
<td class="notifications-item-content">
|
||||
<a href="{{ notification.get_absolute_url }}"><span class="me-2">{{ notification.action.actor }} {{ notification.action.verb }} {{ notification.action.target }}</span><span class="notifications-item-dot"></span></a>
|
||||
<a href="{{ notification.action.target.get_absolute_url }}"><span class="me-2">{{ notification.action.actor }} {{ notification.action.verb }} {{ notification.action.target }}</span><span class="notifications-item-dot"></span></a>
|
||||
</td>
|
||||
<td class="notifications-item-nav">
|
||||
<div class="dropdown">
|
||||
@ -45,6 +45,9 @@
|
||||
</form>
|
||||
</li>
|
||||
{% endcomment %}
|
||||
<li>
|
||||
<a class="dropdown-item" href="{% url 'extensions:by-author' user_id=notification.action.actor.pk %}"><i class="i-user"></i> View user</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
|
Loading…
Reference in New Issue
Block a user