diff options
author | silverwind <me@silverwind.io> | 2023-06-11 04:13:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-11 02:13:08 +0000 |
commit | ee26d1c57866930e88bd9467c91764d0bb4db9dd (patch) | |
tree | 3c0a8281d6d79e4789f286706d02582ad2534179 /templates/repo/issue/labels.tmpl | |
parent | 18093d4c9a4daa857bb485f050abd69bc94ba3ce (diff) | |
download | gitea-ee26d1c57866930e88bd9467c91764d0bb4db9dd.tar.gz gitea-ee26d1c57866930e88bd9467c91764d0bb4db9dd.zip |
Button and color enhancements (#24989) (#25176)
Backport #24989. Clean cherry-pick aside from one small conflict with
divider.
- 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">
Diffstat (limited to 'templates/repo/issue/labels.tmpl')
-rw-r--r-- | templates/repo/issue/labels.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/labels.tmpl b/templates/repo/issue/labels.tmpl index 93e264e4cd..a122333c89 100644 --- a/templates/repo/issue/labels.tmpl +++ b/templates/repo/issue/labels.tmpl @@ -6,7 +6,7 @@ {{template "repo/issue/navbar" .}} {{if and (or .CanWriteIssues .CanWritePulls) (not .Repository.IsArchived)}} <div class="ui right"> - <button class="ui green new-label button">{{.locale.Tr "repo.issues.new_label"}}</button> + <button class="ui small green new-label button">{{.locale.Tr "repo.issues.new_label"}}</button> </div> {{end}} </div> |