diff options
author | Hester Gong <hestergong@gmail.com> | 2023-04-10 20:00:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-10 20:00:30 +0800 |
commit | f9d6092cfe235e0fbdbb7513b456713b8b0e9349 (patch) | |
tree | 50db75895776d4fac151795939f868db17e3d982 /templates | |
parent | 8cbc4a367d7424df5069e38bf791300cfaace519 (diff) | |
download | gitea-f9d6092cfe235e0fbdbb7513b456713b8b0e9349.tar.gz gitea-f9d6092cfe235e0fbdbb7513b456713b8b0e9349.zip |
Remove "inverted" class on creating new label and cancel buttons (#24030)
"inverted" class might not be needed because background of these two
buttons is light color.
inverted related rule from `semantic.css`:
```css
.ui.inverted.green.basic.buttons .button,
.ui.inverted.green.buttons .basic.button,
.ui.inverted.green.basic.button {
background-color: transparent;
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5) inset;
color: #FFFFFF;
}
```
Before:
<img width="771" alt="截屏2023-04-10 17 21 22"
src="https://user-images.githubusercontent.com/17645053/230873878-cc64b3d6-ffa9-4cae-9280-07b06f7829b2.png">
After:
<img width="765" alt="截屏2023-04-10 17 22 14"
src="https://user-images.githubusercontent.com/17645053/230873956-9412054f-b739-4878-9ee9-57ff65eb7910.png">
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/labels/label_new.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/labels/label_new.tmpl b/templates/repo/issue/labels/label_new.tmpl index 65b1cbe886..41dced4a5b 100644 --- a/templates/repo/issue/labels/label_new.tmpl +++ b/templates/repo/issue/labels/label_new.tmpl @@ -38,11 +38,11 @@ </div> <div class="actions"> - <button class="ui red basic inverted cancel button"> + <button class="ui red basic cancel button"> {{svg "octicon-x"}} {{.locale.Tr "cancel"}} </button> - <button class="ui green basic inverted ok button"> + <button class="ui green basic ok button"> {{svg "octicon-check"}} {{.locale.Tr "repo.issues.create_label"}} </button> |