diff options
author | silverwind <me@silverwind.io> | 2020-10-04 22:54:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 16:54:22 -0400 |
commit | 922d6988429ff7af78731c16d9caed9749c887a9 (patch) | |
tree | 28767b97fb661255b38854a6b7c2867876456239 /templates | |
parent | 10e04da28c29e02967706548080c4c11041b77e3 (diff) | |
download | gitea-922d6988429ff7af78731c16d9caed9749c887a9.tar.gz gitea-922d6988429ff7af78731c16d9caed9749c887a9.zip |
CSS tweaks to warning/error segments and misc fixes (#13024)
* CSS tweaks to warning/error segments and misc fixes
- Adjust styling for warning/error in arc-green
- Change danger boxes from orange to red
- Fix code highlight text color in arc-green
- Fix warning message in arc-green
- Fix border in org member list in arc-green
- Fix disabled checkbox text in arc-green
* use same selector in gitea theme
* fix blame highlight
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/org/settings/delete.tmpl | 4 | ||||
-rw-r--r-- | templates/repo/settings/options.tmpl | 4 | ||||
-rw-r--r-- | templates/user/settings/account.tmpl | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/org/settings/delete.tmpl b/templates/org/settings/delete.tmpl index a189a2f5e3..2dd8fd8748 100644 --- a/templates/org/settings/delete.tmpl +++ b/templates/org/settings/delete.tmpl @@ -6,10 +6,10 @@ {{template "org/settings/navbar" .}} <div class="twelve wide column content"> {{template "base/alert" .}} - <h4 class="ui top attached warning header"> + <h4 class="ui top attached error header"> {{.i18n.Tr "org.settings.delete_account"}} </h4> - <div class="ui attached warning segment"> + <div class="ui attached error segment"> <div class="ui red message"> <p class="text left">{{svg "octicon-alert"}} {{.i18n.Tr "org.settings.delete_prompt" | Str2html}}</p> </div> diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index a8e050c583..f238b1b0ce 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -414,10 +414,10 @@ {{end}} {{if .Permission.IsOwner}} - <h4 class="ui top attached warning header"> + <h4 class="ui top attached error header"> {{.i18n.Tr "repo.settings.danger_zone"}} </h4> - <div class="ui attached warning table danger segment"> + <div class="ui attached error table danger segment"> {{if .Repository.IsMirror}} <div class="item"> <div class="ui right"> diff --git a/templates/user/settings/account.tmpl b/templates/user/settings/account.tmpl index b2cff86188..530e42a1b4 100644 --- a/templates/user/settings/account.tmpl +++ b/templates/user/settings/account.tmpl @@ -167,10 +167,10 @@ </form> </div> </div> - <h4 class="ui top attached warning header"> + <h4 class="ui top attached error header"> {{.i18n.Tr "settings.delete_account"}} </h4> - <div class="ui attached warning segment"> + <div class="ui attached error segment"> <div class="ui red message"> <p class="text left">{{svg "octicon-alert"}} {{.i18n.Tr "settings.delete_prompt" | Str2html}}</p> </div> |