mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-01 15:55:15 +08:00
Re-enable listing of forks when logged out (#14992)
* Re-enable listing of forks when logged out * Further improvements on repo button logic
This commit is contained in:
@ -1585,6 +1585,7 @@ a.ui.label:hover {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
.ui.labeled.button.disabled > .button,
|
||||
.ui.basic.buttons .button,
|
||||
.ui.basic.button {
|
||||
color: var(--color-text-light);
|
||||
|
@ -2856,14 +2856,25 @@ tbody.commit-list {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.repo-buttons button[disabled],
|
||||
.repo-buttons button[disabled] ~ .label {
|
||||
opacity: var(--opacity-disabled);
|
||||
}
|
||||
|
||||
.repo-buttons .ui.labeled.button > .label {
|
||||
border-left: 0 !important;
|
||||
margin: 0 !important;
|
||||
.repo-buttons .ui.labeled.button {
|
||||
cursor: initial;
|
||||
|
||||
> .label {
|
||||
border-left: 0 !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
pointer-events: inherit !important;
|
||||
|
||||
> .button {
|
||||
pointer-events: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tag-code {
|
||||
|
Reference in New Issue
Block a user