diff options
author | r <r@freesoftwareextremist.com> | 2021-01-16 10:25:34 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2021-01-16 10:25:34 +0000 |
commit | 87e31dbd6688f8e4492d3dc17783c26f2d926e4b (patch) | |
tree | 67f5249d9bec4f69e291a5f47155866d0c3c2ec3 | |
parent | 2bb6ba8e1d52421880b7c155563a75a23c79e5b7 (diff) | |
download | bloat-87e31dbd6688f8e4492d3dc17783c26f2d926e4b.tar.gz bloat-87e31dbd6688f8e4492d3dc17783c26f2d926e4b.zip |
Make like/retweet notification content semi-transparent
-rw-r--r-- | static/style.css | 11 | ||||
-rw-r--r-- | templates/notification.tmpl | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css index 610ecbf..c313c80 100644 --- a/static/style.css +++ b/static/style.css @@ -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; } diff --git a/templates/notification.tmpl b/templates/notification.tmpl index 61353f5..567bcf0 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -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"> |