aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css/base.css
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-04-06 23:33:45 +0200
committerGitHub <noreply@github.com>2024-04-06 21:33:45 +0000
commit649aada3664f5adccdaecc7dd24b8252ae070220 (patch)
tree709729eb4412a97e70e5e6a307cf4c49d124ad69 /web_src/css/base.css
parent662eb4b0852f9ce2c161e7fea5ac66bf912fc9f6 (diff)
downloadgitea-649aada3664f5adccdaecc7dd24b8252ae070220.tar.gz
gitea-649aada3664f5adccdaecc7dd24b8252ae070220.zip
Remove fomantic list module (#30281)
Likely still some unnecessary CSS but any combinations with the `ui list` classes are covered. There was only on instance of `horizontal list` which I removed. It was this part of the commit page: <img width="396" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/c49ec4f5-93c3-41d6-a907-cdbedf8abc44">
Diffstat (limited to 'web_src/css/base.css')
-rw-r--r--web_src/css/base.css29
1 files changed, 1 insertions, 28 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css
index 05ddba3223..096b67058e 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -44,7 +44,7 @@ html, body {
}
body {
- line-height: 1.4285rem;
+ line-height: 20px;
font-family: var(--fonts-regular);
color: var(--color-text);
background-color: var(--color-body);
@@ -305,14 +305,6 @@ a.label,
background-color: var(--color-label-bg);
}
-/* fix Fomantic's line-height causing vertical scrollbars to appear */
-ul.ui.list li,
-ol.ui.list li,
-.ui.list > .item,
-.ui.list .list > .item {
- line-height: var(--line-height-default);
-}
-
.ui.menu {
display: flex;
}
@@ -456,21 +448,6 @@ ol.ui.list li,
color: var(--color-text-light-2);
}
-.ui.list .list > .item .header,
-.ui.list > .item .header {
- color: var(--color-text-dark);
-}
-
-.ui.list .list > .item > .content,
-.ui.list > .item > .content {
- color: var(--color-text);
-}
-
-.ui.list .list > .item .description,
-.ui.list > .item .description {
- color: var(--color-text);
-}
-
/* replace item margin on secondary menu items with gap and remove both the
negative margins on the menu as well as margin on the items */
.ui.secondary.menu {
@@ -589,10 +566,6 @@ img.ui.avatar,
aspect-ratio: 1;
}
-.ui.divided.list > .item {
- border-color: var(--color-secondary);
-}
-
.ui.error.message .header,
.ui.warning.message .header {
color: inherit;