diff --git a/templates/user/notification/notification_div.tmpl b/templates/user/notification/notification_div.tmpl
index c8db659c13..9a4fbe786e 100644
--- a/templates/user/notification/notification_div.tmpl
+++ b/templates/user/notification/notification_div.tmpl
@@ -35,26 +35,26 @@
{{$issue := .Issue}}
{{$repo := .Repository}}
-
+ |
{{if eq .Status 3}}
- {{svg "octicon-pin"}}
+ {{svg "octicon-pin" 16 "text blue"}}
{{else if not $issue}}
- {{svg "octicon-repo"}}
+ {{svg "octicon-repo" 16 "text grey"}}
{{else if $issue.IsPull}}
{{if $issue.IsClosed}}
{{if $issue.GetPullRequest.HasMerged}}
- {{svg "octicon-git-merge"}}
+ {{svg "octicon-git-merge" 16 "text purple"}}
{{else}}
- {{svg "octicon-git-pull-request"}}
+ {{svg "octicon-git-pull-request" 16 "text red"}}
{{end}}
{{else}}
- {{svg "octicon-git-pull-request"}}
+ {{svg "octicon-git-pull-request" 16 "text green"}}
{{end}}
{{else}}
{{if $issue.IsClosed}}
- {{svg "octicon-issue-closed"}}
+ {{svg "octicon-issue-closed" 16 "text red"}}
{{else}}
- {{svg "octicon-issue-opened"}}
+ {{svg "octicon-issue-opened" 16 "text green"}}
{{end}}
{{end}}
|
diff --git a/web_src/css/user.css b/web_src/css/user.css
index adf865496b..c2e08a2685 100644
--- a/web_src/css/user.css
+++ b/web_src/css/user.css
@@ -85,27 +85,6 @@
padding: 8px 15px;
}
-.user.notification .svg {
- float: left;
- font-size: 2em;
-}
-
-.user.notification .svg.green {
- color: var(--color-green);
-}
-
-.user.notification .svg.red {
- color: var(--color-red);
-}
-
-.user.notification .svg.purple {
- color: var(--color-purple);
-}
-
-.user.notification .svg.blue {
- color: var(--color-blue);
-}
-
.user.notification .content {
float: left;
margin-left: 7px;
@@ -170,4 +149,13 @@
#notification_div .tab.segment {
overflow-x: auto;
+ padding: 0;
+}
+
+#notification_div .menu .active.item {
+ background: var(--color-box-body);
+}
+
+#notification_table {
+ border: none;
}