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 90
90
padding : 8px 15px ;
91
91
}
92
92
93
- .user .notification .svg {
94
- float : left;
95
- font-size : 2em ;
96
- }
97
-
98
- .user .notification .svg .green {
99
- color : var (--color-green );
100
- }
101
-
102
- .user .notification .svg .red {
103
- color : var (--color-red );
104
- }
105
-
106
- .user .notification .svg .purple {
107
- color : var (--color-purple );
108
- }
109
-
110
- .user .notification .svg .blue {
111
- color : var (--color-blue );
112
- }
113
-
114
93
.user .notification .content {
115
94
float : left;
116
95
margin-left : 7px ;
175
154
176
155
# notification_div .tab .segment {
177
156
overflow-x : auto;
157
+ padding : 0 ;
158
+ }
159
+
160
+ # notification_div .menu .active .item {
161
+ background : var (--color-box-body );
162
+ }
163
+
164
+ # notification_table {
165
+ border : none;
178
166
}
You can’t perform that action at this time.
0 commit comments