Make like/retweet notification content semi-transparent

master
r 2 years ago
parent 2bb6ba8e1d
commit 87e31dbd66
  1. 11
      static/style.css
  2. 2
      templates/notification.tmpl

@ -173,6 +173,17 @@
font-size: 13pt;
}
.notification-container {
margin: 0 -4px 12px -4px;
padding: 4px;
border-left: 4px solid transparent;
}
.notification-container.favourite .status-container,
.notification-container.reblog .status-container {
opacity: 0.6;
}
.notification-info-text span {
vertical-align: middle;
}

@ -17,7 +17,7 @@
</div>
{{range .Notifications}}
<div class="status-container-container {{if .Pleroma}}{{if not .Pleroma.IsSeen}}unread{{end}}{{end}}">
<div class="notification-container {{.Type}} {{if .Pleroma}}{{if not .Pleroma.IsSeen}}unread{{end}}{{end}}">
{{if eq .Type "follow"}}
<div class="notification-follow-container">
<div class="status-profile-img-container">

Loading…
Cancel
Save