forgejo/web_src/css/modules
silverwind 1ee494a045
[Port] gitea#29982 Introduce .secondary-nav and handle .page-content spacing universally
Fixes: https://github.com/go-gitea/gitea/issues/29981. Introduce
`.secondary-nav` as a universal way for styling and margin adjustments
inside `.page-content`.

If the first child of `.page-content` is `.secondary-nav`, we add margin
below it, otherwise we add padding to the first child. Notable changes:

- `--color-header-wrapper` is replaced with `--color-secondary-nav-bg`.
- `navbar` class is removed.

Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

---

Conflict resolution: Trivial conflict & changed selector to reflect new
classes.
Ref: https://codeberg.org/forgejo/forgejo/issues/2776
(cherry picked from commit 3ccda41a539b8ba7841919ee12dc2877ddc03818)
2024-03-28 16:43:09 +01:00
..
animations.css Load citation JS only when needed (#29855) 2024-03-20 08:46:30 +01:00
breadcrumb.css Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00
button.css lint: apply lint-frontend-fix 2024-03-26 19:04:28 +01:00
card.css Update JS dependencies and misc tweaks (#25540) 2023-06-27 21:44:17 +02:00
comment.css Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
divider.css Reduce margin/padding on flex-list items and divider (#27872) 2023-11-02 12:30:38 +08:00
flexcontainer.css Fix flex container width (#28603) 2023-12-24 22:39:02 +08:00
grid.css Remove fomantic grid module (#29894) 2024-03-26 19:04:26 +01:00
message.css Remove fomantic grid module (#29894) 2024-03-26 19:04:26 +01:00
modal.css Improve issue history dialog and make poster can delete their own history (#27323) 2023-09-28 08:43:20 +00:00
navbar.css [Port] gitea#29982 Introduce .secondary-nav and handle .page-content spacing universally 2024-03-28 16:43:09 +01:00
normalize.css Use line-height: normal by default (#26635) 2023-08-22 10:19:15 +00:00
select.css add stylelint-stylistic (#25285) 2023-06-17 13:20:32 +00:00
svg.css Prevent SVG shrinking (#25652) 2023-07-04 02:15:06 +00:00
tippy.css Add <overflow-menu>, rename webcomponents (#29400) 2024-03-20 08:46:29 +01:00
toast.css Remove some unused CSS styles (#26852) 2023-09-01 08:59:38 +02:00