forgejo/web_src/css/themes
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
..
theme-forgejo-auto-deuteranopia-protanopia.css [THEME] Add colorblind theme variants 2024-02-05 16:05:02 +01:00
theme-forgejo-auto-tritanopia.css [THEME] Add colorblind theme variants 2024-02-05 16:05:02 +01:00
theme-forgejo-auto.css [BRANDING] Add Forgejo light, dark, and auto themes 2024-02-05 16:02:13 +01:00
theme-forgejo-dark-deuteranopia-protanopia.css Fix CSS linting errors 2024-02-26 00:40:43 +01:00
theme-forgejo-dark-tritanopia.css Fix CSS linting errors 2024-02-26 00:40:43 +01:00
theme-forgejo-dark.css Fix CSS linting errors 2024-02-26 00:40:43 +01:00
theme-forgejo-light-deuteranopia-protanopia.css Fix CSS linting errors 2024-02-26 00:40:43 +01:00
theme-forgejo-light-tritanopia.css Fix CSS linting errors 2024-02-26 00:40:43 +01:00
theme-forgejo-light.css Fix CSS linting errors 2024-02-26 00:40:43 +01:00
theme-gitea-auto.css Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
theme-gitea-dark.css [Port] gitea#29982 Introduce .secondary-nav and handle .page-content spacing universally 2024-03-28 16:43:09 +01:00
theme-gitea-light.css [Port] gitea#29982 Introduce .secondary-nav and handle .page-content spacing universally 2024-03-28 16:43:09 +01:00