summaryrefslogtreecommitdiffstats
path: root/web_src/less
diff options
context:
space:
mode:
authorLucas Azevedo <lhs_azevedo@hotmail.com>2022-07-22 07:49:24 -0300
committerGitHub <noreply@github.com>2022-07-22 18:49:24 +0800
commit599ae09a94e40f9ef567aa2ec7486f68a64a3384 (patch)
treed478345452d1f2a0ea71dfc6642dd4b9237c3322 /web_src/less
parent1a70fc9bc6668e07a19dd6715fbfe0f24b5b6db1 (diff)
downloadgitea-599ae09a94e40f9ef567aa2ec7486f68a64a3384.tar.gz
gitea-599ae09a94e40f9ef567aa2ec7486f68a64a3384.zip
Use body text color in repository files table links (#20386)
Use body text color in for links in the repository files table Issue/PR links (`.ref-issue`) will not be affected, as seen in other git services. Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'web_src/less')
-rw-r--r--web_src/less/_base.less6
-rw-r--r--web_src/less/_repository.less7
-rw-r--r--web_src/less/themes/theme-arc-green.less1
3 files changed, 10 insertions, 4 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index f6035b1a8e..eb55ca8da8 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -118,6 +118,7 @@
--color-text-dark: #080808;
--color-text: #212121;
--color-text-light: #555555;
+ --color-text-light-1: #6a6a6a;
--color-text-light-2: #808080;
--color-text-light-3: #a0a0a0;
--color-box-header: #f7f7f7;
@@ -275,6 +276,7 @@ a.muted {
a:hover,
a.muted:hover,
+a.muted:hover [class*="color-text"],
.ui.breadcrumb a:hover {
color: var(--color-primary);
}
@@ -2206,3 +2208,7 @@ table th[data-sortt-desc] {
}
}
}
+
+.color-text-light-2 {
+ color: var(--color-text-light-2);
+}
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index d5942bdfcb..5aed4dcf72 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -367,6 +367,8 @@
}
&.message {
+ color: var(--color-text-light-1);
+
@media @mediaXl {
max-width: 400px;
}
@@ -381,6 +383,7 @@
&.age {
width: 120px;
+ color: var(--color-text-light-1);
}
.truncate {
@@ -432,10 +435,6 @@
padding-bottom: 8px;
width: calc(100% - 1.25rem);
}
-
- .jumpable-path {
- color: var(--color-text-light-2);
- }
}
.non-diff-file-content {
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less
index e510866a90..cf63580911 100644
--- a/web_src/less/themes/theme-arc-green.less
+++ b/web_src/less/themes/theme-arc-green.less
@@ -98,6 +98,7 @@
--color-text-dark: #dbe0ea;
--color-text: #bbc0ca;
--color-text-light: #a6aab5;
+ --color-text-light-1: #979ba6;
--color-text-light-2: #8a8e99;
--color-text-light-3: #707687;
--color-footer: #2e323e;