aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-06-09 10:37:47 +0200
committerGitHub <noreply@github.com>2023-06-09 08:37:47 +0000
commit623b3b590e0bcf0460c6cd9376996cb6fe221747 (patch)
tree438acdf6a0bb59f1e03682d94a07dbb091a2b11a /templates/base
parent3c6aa8d3e19e2e558336e89aebc17d8adcf06350 (diff)
downloadgitea-623b3b590e0bcf0460c6cd9376996cb6fe221747.tar.gz
gitea-623b3b590e0bcf0460c6cd9376996cb6fe221747.zip
Button and color enhancements (#24989)
- Various corrections to button styles, especially secondary - Remove focus highlight, it's annoying when it stays on button after press - Clearly define ghost and link buttons with demos in devtest - Remove black, grey and tertiary buttons, they should not be used - Make `arc-green` slightly darker <img width="1226" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/8d89786a-01ab-40f8-ae5a-e17f40e35084"> <img width="1249" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/83651e6d-3c27-46ff-b8bd-ff344d70e949"> --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/modal_actions_confirm.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/modal_actions_confirm.tmpl b/templates/base/modal_actions_confirm.tmpl
index a39a855b63..6cf3ecbe3e 100644
--- a/templates/base/modal_actions_confirm.tmpl
+++ b/templates/base/modal_actions_confirm.tmpl
@@ -32,7 +32,7 @@ The ".ok.button" and ".cancel.button" selectors are also used by Fomantic Modal
{{else if eq .ModalButtonColors "yellow"}}
{{$stylePositive = "yellow"}}
{{end}}
- <button class="ui secondary basic cancel button">{{svg "octicon-x"}} {{$textNegitive}}</button>
+ <button class="ui basic cancel button">{{svg "octicon-x"}} {{$textNegitive}}</button>
<button class="ui {{$stylePositive}} ok button">{{svg "octicon-check"}} {{$textPositive}}</button>
{{end}}
</div>