diff options
author | lunnyxiao <xiaolunwen@gmail.com> | 2014-08-08 13:51:43 +0800 |
---|---|---|
committer | lunnyxiao <xiaolunwen@gmail.com> | 2014-08-08 13:51:43 +0800 |
commit | 7c7014262bdf90880826e6e6cc802bdab300b5ae (patch) | |
tree | a3b9803b8cb8ecc23517e73c1d0cdf73dcb213d5 /public/ng/less/gogs/sign.less | |
parent | 57f6ec672ab059c57689a45c7f657923718e62bf (diff) | |
parent | 9d5c0c80a4984acc1a42da8360a712e4f5f615a0 (diff) |
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'public/ng/less/gogs/sign.less')
-rw-r--r-- | public/ng/less/gogs/sign.less | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/public/ng/less/gogs/sign.less b/public/ng/less/gogs/sign.less new file mode 100644 index 00000000..55a9ffbb --- /dev/null +++ b/public/ng/less/gogs/sign.less @@ -0,0 +1,63 @@ +@import "../ui/var"; + +/* +The register and sign-in page style +*/ + +@signPanelBgColor: #FFF; + +#sign-wrapper { + padding: 60px 0; +} + +.sign-panel { + background-color: @signPanelBgColor; +} + +.sign-form.form-align { + .field { + margin: 1.2em 0 2em 0; + } + .ipt-large { + width: 300px; + } + label, + .form-label { + width: 160px; + } + .alert{ + margin:0 30px 24px 30px; + } + &:hover{ + box-shadow: 0 0 6px #CCC; + } +} + +.sign-form.container{ + padding: 0; + width: 600px; + margin-bottom: 80px; +} + +// register form element +#sign-up-form { + .panel-content{ + margin-top: 1.2em; + } + h2 { + margin: .5em 1em; + } +} + +#sign-social{ + position: relative; + margin: 40px 0; + .or{ + position: absolute; + width: 30px; + top: -52px; + left: 50%; + background-color: #FFF; + margin-left: -15px; + } +}
\ No newline at end of file |