diff options
author | Unknwon <u@gogs.io> | 2015-11-16 23:28:46 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-16 23:28:46 -0500 |
commit | 9ab96172fc41c5a10f88045d6a19e83641e3b859 (patch) | |
tree | 9bf80165cadf7d63dc942a4241740c8c0656462e /public | |
parent | e06558e2083e6281500cc1c91ac54425b91390fe (diff) | |
download | gitea-9ab96172fc41c5a10f88045d6a19e83641e3b859.tar.gz gitea-9ab96172fc41c5a10f88045d6a19e83641e3b859.zip |
new watchers, stars and forks UI
Diffstat (limited to 'public')
-rwxr-xr-x | public/css/gogs.css | 40 | ||||
-rw-r--r-- | public/less/_repository.less | 49 |
2 files changed, 89 insertions, 0 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index db86e3de34..fb0b771573 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -2470,6 +2470,46 @@ footer .container .links > *:first-child { .repository.new.release .prerelease.field { margin-bottom: 0; } +.repository.watchers .list { + padding: 0; +} +.repository.watchers .list .item { + list-style: none; + width: 25%; + margin: 10px 10px 10px 0; + padding-bottom: 14px; + float: left; +} +.repository.watchers .list .item .avatar { + width: 48px; + height: 48px; + float: left; + display: block; + margin-right: 10px; +} +.repository.watchers .list .item .name { + margin-top: 0; + margin-bottom: 0; + font-weight: normal; +} +.repository.watchers .list .item .meta { + margin-top: 5px; +} +.repository.forks .list { + margin-top: 0; +} +.repository.forks .list .item { + padding-top: 10px; + padding-bottom: 10px; + border-bottom: 1px solid #DDD; +} +.repository.forks .list .item .ui.avatar { + float: left; + margin-right: 5px; +} +.repository.forks .list .item .link { + padding-top: 5px; +} .issue.list { list-style: none; padding-top: 15px; diff --git a/public/less/_repository.less b/public/less/_repository.less index 75070f7447..2ff7d053c0 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -885,6 +885,55 @@ margin-bottom: 0; } } + + &.watchers { + .list { + padding: 0; + + .item { + list-style: none; + width: 25%; + margin: 10px 10px 10px 0; + padding-bottom: 14px; + float: left; + + .avatar { + width: 48px; + height: 48px; + float: left; + display: block; + margin-right: 10px; + } + .name { + margin-top: 0; + margin-bottom: 0; + font-weight: normal; + } + .meta { + margin-top: 5px; + } + } + } + } + &.forks { + .list { + margin-top: 0; + + .item { + padding-top: 10px; + padding-bottom: 10px; + border-bottom: 1px solid #DDD; + + .ui.avatar { + float: left; + margin-right: 5px; + } + .link { + padding-top: 5px; + } + } + } + } } // End of .repository |