Set field-label backgrounds to 50% opacity of the canvas color.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
This commit is contained in:
@@ -61,6 +61,7 @@
|
|||||||
--status-success: rgba(34, 197, 94, 0.12);
|
--status-success: rgba(34, 197, 94, 0.12);
|
||||||
--status-skipped: rgba(245, 158, 11, 0.12);
|
--status-skipped: rgba(245, 158, 11, 0.12);
|
||||||
--status-error: rgba(239, 68, 68, 0.12);
|
--status-error: rgba(239, 68, 68, 0.12);
|
||||||
|
--label-bg: rgba(11, 14, 20, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-theme="light"] {
|
html[data-theme="light"] {
|
||||||
@@ -78,6 +79,7 @@
|
|||||||
--status-success: rgba(34, 197, 94, 0.1);
|
--status-success: rgba(34, 197, 94, 0.1);
|
||||||
--status-skipped: rgba(245, 158, 11, 0.12);
|
--status-skipped: rgba(245, 158, 11, 0.12);
|
||||||
--status-error: rgba(239, 68, 68, 0.1);
|
--status-error: rgba(239, 68, 68, 0.1);
|
||||||
|
--label-bg: rgba(249, 249, 251, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
* { box-sizing: border-box; }
|
* { box-sizing: border-box; }
|
||||||
@@ -196,7 +198,7 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 11px;
|
left: 11px;
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
background: transparent;
|
background: var(--label-bg);
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
line-height: 1rem;
|
line-height: 1rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user