Skip to content

Archived lable highglight via linear gradient #30376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

13 changes: 10 additions & 3 deletions web_src/css/repo.css
Original file line number Diff line number Diff line change
Expand Up @@ -2135,9 +2135,16 @@ td .commit-summary {
gap: 0 !important;
}

.archived-label {
filter: grayscale(0.5);
opacity: 0.5;
.archived-label[style^="color: #000"],
.archived-label.scope-parent .scope-left[style^="color: #000"],
.archived-label.scope-parent .scope-right[style^="color: #000"] {
background-image: repeating-linear-gradient(-45deg, transparent, transparent 6px, rgba(0, 0, 0, 0.2) 6px, rgba(0, 0, 0, 0.2) 12px);
}

.archived-label[style^="color: #fff"],
.archived-label.scope-parent .scope-left[style^="color: #fff"],
.archived-label.scope-parent .scope-right[style^="color: #fff"] {
background-image: repeating-linear-gradient(-45deg, transparent, transparent 6px, rgba(255, 255, 255, 0.3) 6px, rgba(255, 255, 255, 0.3) 12px);
}

.ui.label.scope-left {
Expand Down