diff options
author | silverwind <me@silverwind.io> | 2020-10-31 23:15:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 18:15:11 -0400 |
commit | 2ac112d84e7318a294b1e8cea5adae2dd50c89df (patch) | |
tree | ded99a4d4d7626c21332ffd10eb0b39ef23a98bf /templates/admin/user | |
parent | e4e85a3e51066f4987a87762c9c69acda093f6ca (diff) | |
download | gitea-2ac112d84e7318a294b1e8cea5adae2dd50c89df.tar.gz gitea-2ac112d84e7318a294b1e8cea5adae2dd50c89df.zip |
Comment box tweaks and SVG dropdown triangles (#13376)
* Comment box tweaks and SVG dropdown triangles
- Change all dropdown triangles to SVG
- Bring inline review comment box closer to regular comment boxes
- Enhance arc-green checkbox contrast
- Minor reaction tweaks
- Flexbox the diff file header
* remove a border
* fix type marker in arc-green
* add small code padding
* fix position regression and remove useless rules
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/admin/user')
-rw-r--r-- | templates/admin/user/edit.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/user/new.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl index 66f3c96711..a0edd68e48 100644 --- a/templates/admin/user/edit.tmpl +++ b/templates/admin/user/edit.tmpl @@ -19,7 +19,7 @@ <div class="ui selection type dropdown"> <input type="hidden" id="login_type" name="login_type" value="{{.LoginSource.Type}}-{{.LoginSource.ID}}" required> <div class="text">{{.i18n.Tr "admin.users.local"}}</div> - <i class="dropdown icon"></i> + {{svg "octicon-triangle-down" 14 "dropdown icon"}} <div class="menu"> <div class="item" data-value="0-0">{{.i18n.Tr "admin.users.local"}}</div> {{range .Sources}} diff --git a/templates/admin/user/new.tmpl b/templates/admin/user/new.tmpl index 463374dab7..b05f81717f 100644 --- a/templates/admin/user/new.tmpl +++ b/templates/admin/user/new.tmpl @@ -15,7 +15,7 @@ <div class="ui selection type dropdown"> <input type="hidden" id="login_type" name="login_type" value="{{.login_type}}" data-password="required" required> <div class="text">{{.i18n.Tr "admin.users.local"}}</div> - <i class="dropdown icon"></i> + {{svg "octicon-triangle-down" 14 "dropdown icon"}} <div class="menu"> <div class="item" data-value="0-0">{{.i18n.Tr "admin.users.local"}}</div> {{range .Sources}} |