Skip to content

Commit 65b9ffe

Browse files
GiteaBotsilverwind
andauthored
Improve contrast on blame timestamp, fix double border (#29482) (#29485)
Backport #29482 by @silverwind Before, double border on top, bad contrast on dark: <img width="155" alt="Screenshot 2024-02-29 at 02 06 17" src="https://github.com/go-gitea/gitea/assets/115237/fc0f1e08-a5ce-47ed-9eb6-135eed5a1abb"> <img width="126" alt="Screenshot 2024-02-29 at 02 07 28" src="https://github.com/go-gitea/gitea/assets/115237/38ae8483-8d9b-484c-8909-d4466131ea16"> After, no double border on top, good contrast: <img width="154" alt="Screenshot 2024-02-29 at 02 20 20" src="https://github.com/go-gitea/gitea/assets/115237/ad91282b-e9f5-4f41-8f5e-6ba28db3beac"> <img width="147" alt="Screenshot 2024-02-29 at 02 20 38" src="https://github.com/go-gitea/gitea/assets/115237/7ee2ec92-e72a-4981-aec3-98fc8e579bae"> Co-authored-by: silverwind <[email protected]>
1 parent c293e34 commit 65b9ffe

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web_src/css/base.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,7 @@ a.ui.active.label:hover {
17841784

17851785
.lines-commit {
17861786
vertical-align: top;
1787-
color: var(--color-grey);
1787+
color: var(--color-text-light-2);
17881788
padding: 0 !important;
17891789
background: var(--color-code-sidebar-bg);
17901790
width: 1%;
@@ -1827,6 +1827,10 @@ a.ui.active.label:hover {
18271827
border-top: 1px solid var(--color-secondary);
18281828
}
18291829

1830+
.code-view tr.top-line-blame:first-of-type {
1831+
border-top: none;
1832+
}
1833+
18301834
.lines-code .bottom-line,
18311835
.lines-commit .bottom-line {
18321836
border-bottom: 1px solid var(--color-secondary);

0 commit comments

Comments
 (0)