File tree Expand file tree Collapse file tree 2 files changed +17
-29
lines changed
templates/user/notification Expand file tree Collapse file tree 2 files changed +17
-29
lines changed Original file line number Diff line number Diff line change 3535 {{$issue := .Issue}}
3636 {{$repo := .Repository}}
3737 <tr id="notification_{{.ID}}">
38- <td class="collapsing" data-href="{{.Link}}">
38+ <td class="collapsing gt-pl-4 " data-href="{{.Link}}">
3939 {{if eq .Status 3}}
40- <span class="blue"> {{svg "octicon-pin"}}</span>
40+ {{svg "octicon-pin" 16 "text blue"}}
4141 {{else if not $issue}}
42- <span class="gray"> {{svg "octicon-repo"}}</span>
42+ {{svg "octicon-repo" 16 "text grey"}}
4343 {{else if $issue.IsPull}}
4444 {{if $issue.IsClosed}}
4545 {{if $issue.GetPullRequest.HasMerged}}
46- <span class="purple"> {{svg "octicon-git-merge"}}</span>
46+ {{svg "octicon-git-merge" 16 "text purple"}}
4747 {{else}}
48- <span class="red"> {{svg "octicon-git-pull-request"}}</span>
48+ {{svg "octicon-git-pull-request" 16 "text red"}}
4949 {{end}}
5050 {{else}}
51- <span class="green"> {{svg "octicon-git-pull-request"}}</span>
51+ {{svg "octicon-git-pull-request" 16 "text green"}}
5252 {{end}}
5353 {{else}}
5454 {{if $issue.IsClosed}}
55- <span class="red"> {{svg "octicon-issue-closed"}}</span>
55+ {{svg "octicon-issue-closed" 16 "text red"}}
5656 {{else}}
57- <span class="green"> {{svg "octicon-issue-opened"}}</span>
57+ {{svg "octicon-issue-opened" 16 "text green"}}
5858 {{end}}
5959 {{end}}
6060 </td>
Original file line number Diff line number Diff line change 8585 padding : 8px 15px ;
8686}
8787
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-
10988.user .notification .content {
11089 float : left;
11190 margin-left : 7px ;
170149
171150# notification_div .tab .segment {
172151 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;
173161}
You can’t perform that action at this time.
0 commit comments