diff options
author | silverwind <me@silverwind.io> | 2020-10-21 23:07:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 22:07:33 +0100 |
commit | 83106c166d8708f6ce5fd5c65ce4a4ad6943c48d (patch) | |
tree | d083d90e21f9c18495e02c62f0e3eeeb0dd97f91 /web_src | |
parent | a06ea38207982fa5b51fc98f4107ac9bbaf97d1d (diff) | |
download | gitea-83106c166d8708f6ce5fd5c65ce4a4ad6943c48d.tar.gz gitea-83106c166d8708f6ce5fd5c65ce4a4ad6943c48d.zip |
Replace footer and modal icons with SVG (#13245)
- Replace two font icons with SVG in the footer
- Replace icons in delete modals with SVG
- Horizontally center message text in modals
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/less/_base.less | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 81111d82fa..fdaa3c1814 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -679,6 +679,23 @@ code, } } } + + /* modal svg icons, copied from fomantic except width and height */ + &.icon.header svg { + width: 3em; + height: 3em; + float: none; + display: block; + line-height: 1; + padding: 0; + margin: 0 auto .5rem; + opacity: 1; + } + + /* center text in fomantic modal dialogs */ + &.modal > .content { + text-align: center; + } } .file-comment { |