diff options
author | Unknwon <u@gogs.io> | 2015-09-06 10:08:14 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-06 10:08:14 -0400 |
commit | 80701d45bbe333f1bdef4673fae43df131b2222f (patch) | |
tree | 5aea48f87ac43997e3d9b60dacc2eb05877a408d /public/less | |
parent | aa67de910af6246a6dc9ad96c56f789e282e8403 (diff) | |
download | gitea-80701d45bbe333f1bdef4673fae43df131b2222f.tar.gz gitea-80701d45bbe333f1bdef4673fae43df131b2222f.zip |
#1193 Make organization emails non-mandatory
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_form.less | 56 | ||||
-rw-r--r-- | public/less/_organization.less | 4 |
2 files changed, 35 insertions, 25 deletions
diff --git a/public/less/_form.less b/public/less/_form.less index 65b253d09b..905500521c 100644 --- a/public/less/_form.less +++ b/public/less/_form.less @@ -17,28 +17,41 @@ } } +@create-page-form-input-padding: 250px !important; +#create-page-form { + form { + margin: auto; + width: 800px!important; + .ui.message { + text-align: center; + } + .header { + padding-left: @create-page-form-input-padding+30px; + } + .inline.field > label { + text-align: right; + width: @create-page-form-input-padding; + word-wrap: break-word; + } + .help { + margin-left: @create-page-form-input-padding+15px; + } + .optional .title { + margin-left: @create-page-form-input-padding; + } + input, + textarea { + width: 50%!important; + } + } +} + .repository { - @input-padding: 250px !important; &.new.repo, &.new.migrate, &.new.fork { + #create-page-form; form { - margin: auto; - width: 800px!important; - .ui.message { - text-align: center; - } - .header { - padding-left: @input-padding+30px; - } - .inline.field > label { - text-align: right; - width: @input-padding; - word-wrap: break-word; - } - .help { - margin-left: @input-padding+15px; - } .dropdown { .dropdown.icon { margin-top: -7px!important; @@ -50,13 +63,6 @@ } } } - .optional .title { - margin-left: @input-padding; - } - input, - textarea { - width: 50%!important; - } } } @@ -66,7 +72,7 @@ width: 50%!important; } #auto-init { - margin-left: @input-padding+15px; + margin-left: @create-page-form-input-padding+15px; } } } diff --git a/public/less/_organization.less b/public/less/_organization.less index 389a4648bb..6a8c586f2c 100644 --- a/public/less/_organization.less +++ b/public/less/_organization.less @@ -14,4 +14,8 @@ } } } + + &.new.org { + #create-page-form; + } }
\ No newline at end of file |