diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-07 06:40:05 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-07 06:40:05 -0400 |
commit | e8c9bb2c66a1f48820a93b670c2e6e67da94b354 (patch) | |
tree | 372f7d3c44e0d3d2f2b7527e482c5cece05ebfee /public/ng/less/gogs | |
parent | 99eeb08419e63474b4e9d6581335f693d26c0e69 (diff) | |
download | gitea-e8c9bb2c66a1f48820a93b670c2e6e67da94b354.tar.gz gitea-e8c9bb2c66a1f48820a93b670c2e6e67da94b354.zip |
Finish new collaboration page
Diffstat (limited to 'public/ng/less/gogs')
-rw-r--r-- | public/ng/less/gogs/base.less | 16 | ||||
-rw-r--r-- | public/ng/less/gogs/dashboard.less | 21 | ||||
-rw-r--r-- | public/ng/less/gogs/repository.less | 29 |
3 files changed, 62 insertions, 4 deletions
diff --git a/public/ng/less/gogs/base.less b/public/ng/less/gogs/base.less index f9405499ad..0cadabe869 100644 --- a/public/ng/less/gogs/base.less +++ b/public/ng/less/gogs/base.less @@ -214,4 +214,20 @@ clear: both; } .main-wrapper { padding: 20px 0 40px; +} +.user-list { + width: auto; + min-width: 180px; + max-width: 300px; + img { + width: 28px; + height: 28px; + margin-right: 1em; + margin-top: 1px; + vertical-align: middle; + } + li { + cursor: pointer; + font-weight: bold; + } }
\ No newline at end of file diff --git a/public/ng/less/gogs/dashboard.less b/public/ng/less/gogs/dashboard.less index 3929f2d00d..f8838ae6fd 100644 --- a/public/ng/less/gogs/dashboard.less +++ b/public/ng/less/gogs/dashboard.less @@ -176,9 +176,24 @@ The dashboard page style } #dashboard-selection-menu { - > .drop-down { - top: 56px; - } + width: auto; + max-width: 300px; + > .drop-down { + top: 56px; + } + li { + white-space: nowrap; + &.checked { + .octicon { + opacity: 1; + } + } + a { + text-overflow: ellipsis; + -o-text-overflow: ellipsis; + overflow: hidden; + } + } } // the drop-down menu of #dashboard-selection-menu diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less index 13f5a42e53..1847c44e53 100644 --- a/public/ng/less/gogs/repository.less +++ b/public/ng/less/gogs/repository.less @@ -357,7 +357,6 @@ margin-left: 4em; } -#dashboard-switch-menu, #repo-create-owner-list { top: 30px; left: 0; @@ -442,4 +441,32 @@ } .repo-setting-zone { padding: 30px; +} +#repo-collab-list { + list-style: none; + padding: 10px 0 5px 0; + li.collab { + clear: both; + height: 50px; + padding: 0 15px 0 15px; + } + a.member { + color: #444; + height: 50px; + line-height: 50px; + &:hover { + color: #4183C4; + } + } + .avatar { + margin-right: 1em; + width: 40px; + } + .remove-collab { + color: #DD4B39; + } +} +.repo-user-list-block { + position: relative; + top: 5px; }
\ No newline at end of file |