diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-16 16:21:17 +0800 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-16 16:21:17 +0800 |
commit | bba707de36d9bfbdb3001e3e89fac0c072aa14e9 (patch) | |
tree | 2b3ee7fc662baea04cecdf14b8a2758c108f83cc /public/ng | |
parent | 78add502d71dca43bb59ab9ad91745c64d0bf74d (diff) | |
download | gitea-bba707de36d9bfbdb3001e3e89fac0c072aa14e9.tar.gz gitea-bba707de36d9bfbdb3001e3e89fac0c072aa14e9.zip |
Finish team list, create new team, join/leave team page
Diffstat (limited to 'public/ng')
-rw-r--r-- | public/ng/css/gogs.css | 35 | ||||
-rw-r--r-- | public/ng/less/gogs/organization.less | 42 | ||||
-rw-r--r-- | public/ng/less/gogs/repository.less | 1 |
3 files changed, 65 insertions, 13 deletions
diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css index 6b400df28c..3d784fab21 100644 --- a/public/ng/css/gogs.css +++ b/public/ng/css/gogs.css @@ -1172,28 +1172,34 @@ The register and sign-in page style width: 520px; } /* repository create */ +#team-create-form, #repo-migrate-form, #repo-create-form { width: 800px; margin: 60px auto auto auto; background: white; } +#team-create-form h2, #repo-migrate-form h2, #repo-create-form h2 { margin: .5em 1em; } +#team-create-form .field, #repo-migrate-form .field, #repo-create-form .field { margin: 1.2em 0 2em 0; } +#team-create-form .ipt, #repo-migrate-form .ipt, #repo-create-form .ipt { width: 540px; } +#team-create-form textarea, #repo-migrate-form textarea, #repo-create-form textarea { height: 120px; } +#team-create-form .avatar, #repo-migrate-form .avatar, #repo-create-form .avatar { vertical-align: middle; @@ -1201,6 +1207,7 @@ The register and sign-in page style width: 28px; height: 28px; } +#team-create-form:hover, #repo-migrate-form:hover, #repo-create-form:hover { box-shadow: 0px 0px 6px #CCC; @@ -1681,6 +1688,9 @@ textarea#issue-add-content { box-sizing: border-box; height: 120px; } +.org-header-alert .alert { + margin-top: 10px; +} .org-header { padding: 16px 0; background-color: #FFF; @@ -1767,10 +1777,10 @@ textarea#issue-add-content { .org-sidebar .panel-footer { padding: .8em 1.2em; } -#org-member-avatar-group { +.org-sidebar .member-avatar-group { padding: 15px; } -#org-member-avatar-group img { +.org-sidebar .member-avatar-group img { width: 59px; height: 59px; border-radius: 3px; @@ -1801,13 +1811,14 @@ textarea#issue-add-content { margin-bottom: 0; color: #777; } -#org-member-toolbar { +.org-toolbar { padding: 10px 0; + border-bottom: 1px solid #eee; } #org-member-list .org-member-item { height: 50px; line-height: 50px; - border-top: 1px solid #eee; + border-bottom: 1px solid #eee; padding: 15px 20px; } #org-member-list .org-member-item .member-name { @@ -1832,3 +1843,19 @@ textarea#issue-add-content { #org-member-list-block { padding-top: 2px; } +.org-team-list .org-team-list-item { + float: left; + padding: 15px; + width: 555px; +} +.org-team-list .org-team-list-item .member-avatar-group { + padding: 5px 15px; +} +.org-team-list .org-team-list-item .member-avatar-group img { + width: 38px; + height: 38px; + border-radius: 3px; +} +#team-create-form .note { + margin-left: 153px; +} diff --git a/public/ng/less/gogs/organization.less b/public/ng/less/gogs/organization.less index 3805829532..e8063f2328 100644 --- a/public/ng/less/gogs/organization.less +++ b/public/ng/less/gogs/organization.less @@ -1,3 +1,6 @@ +.org-header-alert .alert { + margin-top: 10px; +} .org-header { padding: 16px 0; background-color: #FFF; @@ -91,13 +94,13 @@ .panel-footer { padding: .8em 1.2em; } -} -#org-member-avatar-group { - padding: 15px; - img { - width: 59px; - height: 59px; - border-radius: 3px; + .member-avatar-group { + padding: 15px; + img { + width: 59px; + height: 59px; + border-radius: 3px; + } } } #org-home-team-list { @@ -126,14 +129,15 @@ margin-bottom: 0; color: #777; } -#org-member-toolbar { +.org-toolbar { padding: 10px 0; + border-bottom: 1px solid #eee; } #org-member-list { .org-member-item { height: 50px; line-height: 50px; - border-top: 1px solid #eee; + border-bottom: 1px solid #eee; padding: 15px 20px; .member-name { padding-left: 15px; @@ -158,4 +162,24 @@ } #org-member-list-block { padding-top: 2px; +} +.org-team-list { + .org-team-list-item { + float: left; + padding: 15px; + width: 555px; + .member-avatar-group { + padding: 5px 15px; + img { + width: 38px; + height: 38px; + border-radius: 3px; + } + } + } +} +#team-create-form { + .note { + margin-left: 153px; + } }
\ No newline at end of file diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less index 0aa19a04a9..8f9a97fa02 100644 --- a/public/ng/less/gogs/repository.less +++ b/public/ng/less/gogs/repository.less @@ -310,6 +310,7 @@ border-top-right-radius: .25em; } /* repository create */ +#team-create-form, #repo-migrate-form, #repo-create-form { width: 800px; |