diff options
author | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-11-17 23:07:34 +0800 |
---|---|---|
committer | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-11-17 23:07:34 +0800 |
commit | d1a60e364383b877fd98b853d94b739cb171fe9c (patch) | |
tree | db3bddccb05f18a4be0b1a2a39e1415b66756c11 /public/ng/less/gogs/issue.less | |
parent | a0f9197b4573aa9d4d868637ed00e710a435797b (diff) |
add pull-request and labels page design
Diffstat (limited to 'public/ng/less/gogs/issue.less')
-rw-r--r-- | public/ng/less/gogs/issue.less | 54 |
1 files changed, 49 insertions, 5 deletions
diff --git a/public/ng/less/gogs/issue.less b/public/ng/less/gogs/issue.less index 1ab54ee3..79f9d793 100644 --- a/public/ng/less/gogs/issue.less +++ b/public/ng/less/gogs/issue.less @@ -223,19 +223,19 @@ textarea#issue-add-content { } // #issue list navigator #issue-list-nav { + border-bottom: 1px solid #DDD; + padding-bottom: 12px; li { > a { font-size: 13px; font-weight: bold; - padding: .4em .9em; - border-radius: .3em; + padding: .2em .8em; } } li.current { > a { background-color: #0079bc; color: #FAFAFA; - border-radius: .3em; } } li.right { @@ -247,7 +247,7 @@ textarea#issue-add-content { > a { padding: 0 !important; button { - height: 34px; + height: 29px; } } } @@ -282,7 +282,8 @@ textarea#issue-add-content { } } // each issue list item -#issue-list { +#issue-list, +#pull-list { .item { position: relative; padding-bottom: 12px; @@ -293,6 +294,9 @@ textarea#issue-add-content { font-size: 15px; margin: 0 6px; } + .index-num { + padding: .25em .6em; + } } .comment { color: #666; @@ -301,6 +305,7 @@ textarea#issue-add-content { right: 0; } .issue-label { + padding: .25em .6em; a { color: #FFF; } @@ -319,4 +324,43 @@ textarea#issue-add-content { #issue-list-pager { margin: 18px 0 24px 0; font-size: 14px; + line-height: 24px; +} +// labels numbers +#labels-num { + margin-right: 1em; +} +// labels list +#label-list { + .right { + margin-left: 1em; + color: #999; + i { + margin-right: 3px; + } + line-height: 30px; + &:hover { + color: #444444; + } + } + .num { + margin-right: 3px; + } + .issue-num { + margin-right: 4em; + } + .label { + &:hover { + color: #FFF; + } + i { + margin-right: 6px; + } + } + .item { + height: 30px; + padding-bottom: 12px; + margin-bottom: 12px; + border-bottom: 1px dashed #AAA; + } }
\ No newline at end of file |