summaryrefslogtreecommitdiffstats
path: root/web_src
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
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')
-rw-r--r--web_src/less/_base.less8
-rw-r--r--web_src/less/themes/theme-arc-green.less15
2 files changed, 8 insertions, 15 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);
}
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less
index ad3d491942..57b00efe3e 100644
--- a/web_src/less/themes/theme-arc-green.less
+++ b/web_src/less/themes/theme-arc-green.less
@@ -891,25 +891,10 @@ a.ui.basic.green.label:hover {
background-color: #393d4a !important;
}
-.ui.table {
- border-color: var(--color-secondary);
- background: #353945;
-}
-
-.ui.table tbody tr {
- border-color: var(--color-secondary);
- background: #353945;
-}
-
.ui .text.grey {
color: var(--color-secondary-dark-6) !important;
}
-.ui.attached.table.segment {
- background: #353945;
- color: #dbdbdb !important;
-}
-
.markdown:not(code) h2 {
border-bottom: 1px solid #304251;
}