diff options
author | silverwind <me@silverwind.io> | 2020-11-12 16:59:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-12 23:59:33 +0800 |
commit | c2e05d9f9ab5aa15961a1fb37c4cf23367b6c4d5 (patch) | |
tree | e9df4c0d842ba407da044cbc317c862b9d8e3368 /web_src/less/helpers.less | |
parent | 4117a443c27cc5b8af75be32ed6949d028694eff (diff) | |
download | gitea-c2e05d9f9ab5aa15961a1fb37c4cf23367b6c4d5.tar.gz gitea-c2e05d9f9ab5aa15961a1fb37c4cf23367b6c4d5.zip |
Form styling adjustments (#13501)
* Form styling adjustments
- Move all form-related styling to _forms.less
- Defined new form-related variables
- Fix spinner on frontpage repo search
- Add new rounded-* helpers and fix repo search radius
* misc arc green tweaks
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'web_src/less/helpers.less')
-rw-r--r-- | web_src/less/helpers.less | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/web_src/less/helpers.less b/web_src/less/helpers.less index 1322ba4169..7721e97d7d 100644 --- a/web_src/less/helpers.less +++ b/web_src/less/helpers.less @@ -6,7 +6,6 @@ .sb { justify-content: space-between !important; } .fc { flex-direction: column !important; } .f1 { flex: 1 !important; } -.rounded { border-radius: var(--border-radius) !important; } .mono { font-family: var(--fonts-monospace) !important; @@ -18,6 +17,12 @@ word-break: break-all !important; } +.rounded { border-radius: var(--border-radius) !important; } +.rounded-top { border-radius: var(--border-radius) var(--border-radius) 0 0 !important; } +.rounded-bottom { border-radius: 0 0 var(--border-radius) var(--border-radius) !important; } +.rounded-left { border-radius: var(--border-radius) 0 0 var(--border-radius) !important; } +.rounded-right { border-radius: 0 var(--border-radius) var(--border-radius) 0 !important; } + .m-0 { margin: 0 !important; } .m-1 { margin: .125rem !important; } .m-2 { margin: .25rem !important; } |