Move Fomantic dropdown CSS to custom module (#36530)

Moved fomantic dropdown css to custom module, tested on the dropdown
devtest page, it renders exactly the same as before while using roughly
50% less CSS. The clean up was very conservative, likely more can be
done in the future.

Also, this fixes a bug present on main branch where dropdown border has
incorrect color on hover.

---------

Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
silverwind
2026-02-27 17:45:10 +01:00
committed by GitHub
parent ae2b19849d
commit 50ec48d9fe
9 changed files with 962 additions and 2000 deletions

View File

@@ -36,8 +36,3 @@ h4.divider {
.divider.divider-text::after {
margin-left: .75em;
}
.ui.dropdown .menu > .divider {
border-top: 1px solid var(--color-secondary);
margin: 4px 0;
}