1
0
Fork 0
forked from kevadesu/forgejo
RSCC-Forge/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 () 2024-03-20 08:46:30 +01:00
breadcrumb.css Use unique class for breadcrumb divider () 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 () 2023-06-27 21:44:17 +02:00
comment.css Consolidate the two review boxes into one () 2023-05-29 12:44:03 +02:00
divider.css Reduce margin/padding on flex-list items and divider () 2023-11-02 12:30:38 +08:00
flexcontainer.css Fix flex container width () 2023-12-24 22:39:02 +08:00
grid.css Remove fomantic grid module () 2024-03-26 19:04:26 +01:00
message.css Remove fomantic grid module () 2024-03-26 19:04:26 +01:00
modal.css Improve issue history dialog and make poster can delete their own history () 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 () 2023-08-22 10:19:15 +00:00
select.css add stylelint-stylistic () 2023-06-17 13:20:32 +00:00
svg.css Prevent SVG shrinking () 2023-07-04 02:15:06 +00:00
tippy.css Add <overflow-menu>, rename webcomponents () 2024-03-20 08:46:29 +01:00
toast.css Remove some unused CSS styles () 2023-09-01 08:59:38 +02:00