diff options
author | silverwind <me@silverwind.io> | 2023-06-08 00:21:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-07 22:21:57 +0000 |
commit | b6bcb79987ae3c9095fe2b2c7c0a3e4b42cdebba (patch) | |
tree | ced486a2323f742d68f678fdf1fdc62ad73db234 /templates/status | |
parent | eac1bddb8da2e26a3f6d6678b9888c65418cf318 (diff) | |
download | gitea-b6bcb79987ae3c9095fe2b2c7c0a3e4b42cdebba.tar.gz gitea-b6bcb79987ae3c9095fe2b2c7c0a3e4b42cdebba.zip |
Improve notification icon and navbar (#25111)v1.21.0-dev
Improvements to the notification icon and `<nav>`:
- Add a opaque color for header hover and use it, allowing the border to
be the right color on hover (sadly, not otherwise possible with CSS, not
even `color-mix`).
- Increase font size by 1px
- Use flexbox for slightly better text centering
- Reduce padding of user and add repo button, add margin on right side
of user menu
- Remove the `following bar` wrapper on navbar
<img width="176" alt="Screenshot 2023-06-07 at 00 07 08"
src="https://github.com/go-gitea/gitea/assets/115237/23cdc3d6-7f63-49df-bec3-f2e75e32a304">
<img width="63" alt="Screenshot 2023-06-07 at 00 07 14"
src="https://github.com/go-gitea/gitea/assets/115237/fae602c2-4467-4d50-b1ec-56317843f9a2">
<img width="84" alt="Screenshot 2023-06-07 at 00 07 36"
src="https://github.com/go-gitea/gitea/assets/115237/c48141b8-0b3c-48cc-846a-3a272524dbdb">
<img width="329" alt="Screenshot 2023-06-07 at 00 25 10"
src="https://github.com/go-gitea/gitea/assets/115237/cda612f1-426e-466b-a351-fc992bfd18fd">
<img width="186" alt="Screenshot 2023-06-07 at 00 35 45"
src="https://github.com/go-gitea/gitea/assets/115237/04484a2e-9bbf-493c-aa26-8e936da008fa">
<img width="797" alt="Screenshot 2023-06-07 at 16 57 40"
src="https://github.com/go-gitea/gitea/assets/115237/e7ccb672-5807-4cb6-b306-b18ae0c7e321">
Diffstat (limited to 'templates/status')
-rw-r--r-- | templates/status/500.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl index 42d422687e..dbe6ab7c89 100644 --- a/templates/status/500.tmpl +++ b/templates/status/500.tmpl @@ -15,7 +15,7 @@ </head> <body> <div class="full height"> - <nav class="ui secondary menu following bar light"> + <nav class="ui container secondary stackable main menu" id="navbar"> <div class="ui container gt-df"> <div class="item brand gt-f1"> <a href="{{AppSubUrl}}/" aria-label="{{.locale.Tr "home"}}"> |