
- Fomantic's dimmer module is responsible for dimming the page and make some element the primary focus on the page (e.g. modal). This module is only used by Fomantic's modal module. - Remove it and replace the javascript with our own `Dimmer` class that is able to provide Fomantic's modal module with everything it needs. - Replace the CSS with our own bare minimum CSS. - No functionality or visual is affected by this replacement. - E2E test added. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7416 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz>
33 lines
663 B
JSON
33 lines
663 B
JSON
{
|
|
"version": "2.8.7",
|
|
"base": "node_modules/fomantic-ui",
|
|
"paths": {
|
|
"source": {
|
|
"config": "src/theme.config",
|
|
"definitions": "src/definitions/",
|
|
"site": "src/site/",
|
|
"themes": "src/themes/"
|
|
},
|
|
"output": {
|
|
"packaged": "../../build/",
|
|
"uncompressed": "../../build/components/",
|
|
"compressed": "../../build/components/",
|
|
"themes": "../../build/themes/"
|
|
},
|
|
"clean": "../../build/"
|
|
},
|
|
"permission": false,
|
|
"autoInstall": false,
|
|
"rtl": false,
|
|
"admin": false,
|
|
"components": [
|
|
"api",
|
|
"button",
|
|
"dropdown",
|
|
"form",
|
|
"menu",
|
|
"modal",
|
|
"search",
|
|
"tab"
|
|
]
|
|
}
|