forked from gitea/gitea
1
0
Fork 0
gitea/templates/admin
silverwind 8099238618
Change green buttons to primary color (#27099)
I think it's better if the primary actions have primary color instead of
green which fits better into the overall single-color UI design. This PR
currently replaces every green button with primary:

<img width="141" alt="Screenshot 2023-09-16 at 14 07 59"
src="https://github.com/go-gitea/gitea/assets/115237/843c1e50-4fb2-4ec6-84ba-0efb9472dcbe">
<img width="161" alt="Screenshot 2023-09-16 at 14 07 51"
src="https://github.com/go-gitea/gitea/assets/115237/9442195a-a3b2-4a42-b262-8377d6f5c0d1">

Modal actions now use uncolored/primary instead of previous green/red
colors. I also removed the box-shadow on all basic buttons:

<img width="259" alt="Screenshot 2023-09-16 at 14 16 39"
src="https://github.com/go-gitea/gitea/assets/115237/5beea529-127a-44b0-8d4c-afa7b034a490">
<img width="261" alt="Screenshot 2023-09-16 at 14 17 42"
src="https://github.com/go-gitea/gitea/assets/115237/4757f7b2-4d46-49bc-a797-38bb28437b88">

The change currently includes the "Merge PR" button, for which we might
want to make an exception to match the icon color there:

<img width="442" alt="Screenshot 2023-09-16 at 14 33 53"
src="https://github.com/go-gitea/gitea/assets/115237/993ac1a5-c94d-4895-b76c-0d872181a70b">
2023-09-18 22:05:31 +00:00
..
applications Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
auth Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
base Use flex instead of float for sort button and search input (#25519) 2023-06-28 20:10:36 +08:00
emails Fix the truncate and alignment problem for some admin tables (#26042) 2023-07-22 10:54:48 +00:00
org Display all user types and org types on admin management UI (#27050) 2023-09-14 06:53:36 +00:00
packages Allow package cleanup from admin page (#25307) 2023-08-08 00:46:10 +00:00
repo Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
runners Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
user Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
actions.tmpl Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
config.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
cron.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
dashboard.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
hook_new.tmpl Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
hooks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl User details page (#26713) 2023-08-31 11:21:18 +02:00
navbar.tmpl Differentiate better between user settings and admin settings (#26538) 2023-08-16 10:12:03 +00:00
notice.tmpl Remove polluted `.ui.right` (#26825) 2023-08-31 02:29:59 +00:00
queue.tmpl Show queue's active worker number (#26896) 2023-09-04 21:07:32 +08:00
queue_manage.tmpl Show queue's active worker number (#26896) 2023-09-04 21:07:32 +08:00
stacktrace-row.tmpl Simplify helper CSS classes and avoid abuse (#26728) 2023-08-26 01:35:10 +02:00
stacktrace.tmpl Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
stats.tmpl Use a separate admin page to show global stats, remove `actions` stat (#25062) 2023-06-03 22:03:41 +08:00