1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-07 20:36:20 +01:00
gitea/web_src/css/features
silverwind 0d006290a7
Inline and lazy-load EasyMDE CSS, fix border colors (#36714)
Replace the external easymde.min.css import with an inlined and
lazy-loaded CSS file that uses proper theme variables for border colors.
All EasyMDE/CodeMirror rules are scoped under `.EasyMDEContainer`,
removing the need for !important overrides.

- Fixes easymde borders, these were broken since a while now
- Scope all easymde styles to .EasyMDEContainer
- Inline easymde.min.css and codemirror.css into web_src/css/easymde.css
- Lazy-load the CSS alongside the JS in switchToEasyMDE()
- Fix .editor-toolbar and .CodeMirror border colors to use
--color-input-border matching textarea inputs
- Remove unused gutter, line number, and other unconfigured styles
- Move .editor-loading to codeeditor.css where it belongs

<img width="891" height="518" alt="image"
src="https://github.com/user-attachments/assets/87495de5-7872-4645-90e7-96fe0f782f02"
/>

---------

Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-26 10:50:44 +00:00
..
captcha.css Remove fomantic form module (#36222) 2025-12-23 18:21:47 +01:00
codeeditor.css Inline and lazy-load EasyMDE CSS, fix border colors (#36714) 2026-02-26 10:50:44 +00:00
colorpicker.css Update stylelint, enable report* options (#35236) 2025-08-08 16:52:49 +00:00
console.css Forbid deprecated break-word in CSS (#30934) 2024-05-10 12:25:49 +00:00
cropper.css Add cropping support when modifying the user/org/repo avatar (#33498) 2025-02-06 21:07:44 +08:00
dropzone.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
expander.css Merge and tweak markup editor expander CSS (#34409) 2025-05-09 17:14:21 +02:00
gitgraph.css Fix CODEOWNERS review request attribution using comment metadata (#36348) 2026-01-16 14:52:57 +00:00
heatmap.css Contribution heatmap improvements (#35876) 2025-11-06 09:23:48 +01:00
imagediff.css Fix SVG size calulation, only use style attribute (#36133) 2025-12-12 09:39:02 +02:00
projects.css Improve project & label color picker and image scroll (#34971) 2025-07-06 23:37:26 +08:00