From 4834583f02e656a3774299819ac08dc80eaf338c Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 24 Mar 2024 14:32:19 +0100 Subject: [PATCH] [Port] gitea#30033: Remove fomantic header module Likely still a few useless classes left, but I think I at least don't have missed any. Co-authored-by: delvh Co-authored-by: Giteabot --- Conflict resolution: Trivial Ref: https://codeberg.org/forgejo/forgejo/issues/2776 (cherry picked from commit f22fe4e1944d8084dec7c04f064a8e782fca94d4) --- templates/repo/diff/box.tmpl | 6 +- templates/shared/search/code/results.tmpl | 2 +- web_src/css/base.css | 90 --- web_src/css/index.css | 1 + web_src/css/modules/header.css | 171 +++++ web_src/fomantic/build/semantic.css | 735 ---------------------- web_src/fomantic/semantic.json | 1 - 7 files changed, 176 insertions(+), 830 deletions(-) create mode 100644 web_src/css/modules/header.css diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 672d1254d0..b5c13938e8 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -110,8 +110,8 @@ {{$isExpandable := or (gt $file.Addition 0) (gt $file.Deletion 0) $file.IsBin}} {{$isReviewFile := and $.IsSigned $.PageIsPullFiles (not $.IsArchived) $.IsShowingAllCommits}}
-

-
+

+