File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 8383 </div>
8484 </form>
8585 {{if and (not .IsEmpty) ($.Permission.CanRead $.UnitTypeCode)}}
86- <div class="ui labeled button {{if not $.IsSigned}} disabled{{end}}" tabindex="0">
87- <a class="ui compact small basic button {{if or ( not $.IsSigned) (not $. CanSignedUserFork)}} poping up{{end}}" {{if $.CanSignedUserFork}}href="{{AppSubUrl}}/repo/fork/{{.ID}}"{{else if $.IsSigned}} data-content="{{$.i18n.Tr "repo.fork_from_self"}}" {{ else }} data-content="{{$.i18n.Tr "repo.fork_guest_user" }}" rel="nofollow" href="{{AppSubUrl}}/user/login?redirect_to={{AppSubUrl}}/repo/fork/{{.ID}}" {{end}} data-position="top center" data-variation="tiny">
86+ <div class="ui labeled button{{if not $.IsSigned}} disabled{{end}}" tabindex="0">
87+ <a class="ui compact small basic button{{if not $.CanSignedUserFork}} poping up{{end}}"{{if $.CanSignedUserFork}} href="{{AppSubUrl}}/repo/fork/{{.ID}}"{{else if $.IsSigned}} data-content="{{$.i18n.Tr "repo.fork_from_self"}}" {{else}} data-content="{{$.i18n.Tr "repo.fork_guest_user"}}"{{end}} data-position="top center" data-variation="tiny">
8888 {{svg "octicon-repo-forked"}}{{$.i18n.Tr "repo.fork"}}
8989 </a>
9090 <a class="ui basic label" href="{{.Link}}/forks">
Original file line number Diff line number Diff line change @@ -1585,6 +1585,7 @@ a.ui.label:hover {
15851585 border-left : none ;
15861586}
15871587
1588+ .ui.labeled.button.disabled > .button :hover ,
15881589.ui.basic.buttons .button ,
15891590.ui.basic.button {
15901591 color : var (--color-text-light );
Original file line number Diff line number Diff line change @@ -2861,6 +2861,10 @@ tbody.commit-list {
28612861 opacity : var (--opacity-disabled );
28622862}
28632863
2864+ .repo-buttons .ui.labeled.button.disabled {
2865+ pointer-events : inherit !important ;
2866+ }
2867+
28642868.repo-buttons .ui.labeled.button > .label {
28652869 border-left : 0 !important ;
28662870 margin : 0 !important ;
You can’t perform that action at this time.
0 commit comments