aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less/_base.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-24 20:27:10 +0100
committerGitHub <noreply@github.com>2020-11-24 21:27:10 +0200
commit00ec651270aca19cba9a82fa48e6f7137efdfe1f (patch)
tree149f2088de7ee0dacc96418150da8fed37d847b3 /web_src/less/_base.less
parent24330f71b6ee874debec273952579c7c07d61140 (diff)
downloadgitea-00ec651270aca19cba9a82fa48e6f7137efdfe1f.tar.gz
gitea-00ec651270aca19cba9a82fa48e6f7137efdfe1f.zip
CSS table fixes (#13692)
* CSS table fixes Override the right fomantic selectors. Fixes: https://github.com/go-gitea/gitea/issues/13690 * use flexbox
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r--web_src/less/_base.less8
1 files changed, 8 insertions, 0 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index b313e21637..4062471794 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -229,6 +229,8 @@ a:hover,
.ui.table {
color: var(--color-text);
+ background: var(--color-body);
+ border-color: var(--color-secondary);
}
.ui.ui.selectable.table > tbody > tr:hover,
@@ -237,6 +239,12 @@ a:hover,
background-color: var(--color-secondary-alpha-40);
}
+.ui.ui.ui.ui.table tr.grey:not(.marked),
+.ui.ui.table td.grey:not(.marked) {
+ background: var(--color-body);
+ color: var(--color-text);
+}
+
.ui.modal {
background: var(--color-body);
}