File tree 2 files changed +17
-29
lines changed
templates/user/notification
2 files changed +17
-29
lines changed Original file line number Diff line number Diff line change 35
35
{{$issue := .Issue}}
36
36
{{$repo := .Repository}}
37
37
<tr id="notification_{{.ID}}">
38
- <td class="collapsing" data-href="{{.Link}}">
38
+ <td class="collapsing gt-pl-4 " data-href="{{.Link}}">
39
39
{{if eq .Status 3}}
40
- <span class="blue"> {{svg "octicon-pin"}}</span>
40
+ {{svg "octicon-pin" 16 "text blue"}}
41
41
{{else if not $issue}}
42
- <span class="gray"> {{svg "octicon-repo"}}</span>
42
+ {{svg "octicon-repo" 16 "text grey"}}
43
43
{{else if $issue.IsPull}}
44
44
{{if $issue.IsClosed}}
45
45
{{if $issue.GetPullRequest.HasMerged}}
46
- <span class="purple"> {{svg "octicon-git-merge"}}</span>
46
+ {{svg "octicon-git-merge" 16 "text purple"}}
47
47
{{else}}
48
- <span class="red"> {{svg "octicon-git-pull-request"}}</span>
48
+ {{svg "octicon-git-pull-request" 16 "text red"}}
49
49
{{end}}
50
50
{{else}}
51
- <span class="green"> {{svg "octicon-git-pull-request"}}</span>
51
+ {{svg "octicon-git-pull-request" 16 "text green"}}
52
52
{{end}}
53
53
{{else}}
54
54
{{if $issue.IsClosed}}
55
- <span class="red"> {{svg "octicon-issue-closed"}}</span>
55
+ {{svg "octicon-issue-closed" 16 "text red"}}
56
56
{{else}}
57
- <span class="green"> {{svg "octicon-issue-opened"}}</span>
57
+ {{svg "octicon-issue-opened" 16 "text green"}}
58
58
{{end}}
59
59
{{end}}
60
60
</td>
Original file line number Diff line number Diff line change 85
85
padding : 8px 15px ;
86
86
}
87
87
88
- .user .notification .svg {
89
- float : left;
90
- font-size : 2em ;
91
- }
92
-
93
- .user .notification .svg .green {
94
- color : var (--color-green );
95
- }
96
-
97
- .user .notification .svg .red {
98
- color : var (--color-red );
99
- }
100
-
101
- .user .notification .svg .purple {
102
- color : var (--color-purple );
103
- }
104
-
105
- .user .notification .svg .blue {
106
- color : var (--color-blue );
107
- }
108
-
109
88
.user .notification .content {
110
89
float : left;
111
90
margin-left : 7px ;
170
149
171
150
# notification_div .tab .segment {
172
151
overflow-x : auto;
152
+ padding : 0 ;
153
+ }
154
+
155
+ # notification_div .menu .active .item {
156
+ background : var (--color-box-body );
157
+ }
158
+
159
+ # notification_table {
160
+ border : none;
173
161
}
You can’t perform that action at this time.
0 commit comments