add pull-request and labels page design

This commit is contained in:
fuxiaohei 2014-11-17 23:07:34 +08:00
parent a0f9197b45
commit d1a60e3643
10 changed files with 226 additions and 38 deletions

View file

@ -2002,16 +2002,18 @@ textarea#issue-add-content {
height: 120px;
resize: vertical;
}
#issue-list-nav {
border-bottom: 1px solid #DDD;
padding-bottom: 12px;
}
#issue-list-nav li > a {
font-size: 13px;
font-weight: bold;
padding: .4em .9em;
border-radius: .3em;
padding: .2em .8em;
}
#issue-list-nav li.current > a {
background-color: #0079bc;
color: #FAFAFA;
border-radius: .3em;
}
#issue-list-nav li.right {
margin-left: 4px;
@ -2020,7 +2022,7 @@ textarea#issue-add-content {
padding: 0 !important;
}
#issue-new > a button {
height: 34px;
height: 29px;
}
#issue-list-menu {
padding: 16px 0 12px 0;
@ -2043,38 +2045,86 @@ textarea#issue-add-content {
#issue-list-menu > .right .mark {
margin-left: 12px;
}
#issue-list .item {
#issue-list .item,
#pull-list .item {
position: relative;
padding-bottom: 12px;
margin-bottom: 12px;
border-bottom: 1px dashed #AAA;
}
#issue-list .item .title > .title-text {
#issue-list .item .title > .title-text,
#pull-list .item .title > .title-text {
color: #444;
font-size: 15px;
margin: 0 6px;
}
#issue-list .comment {
#issue-list .item .index-num,
#pull-list .item .index-num {
padding: .25em .6em;
}
#issue-list .comment,
#pull-list .comment {
color: #666;
position: absolute;
top: 6px;
right: 0;
}
#issue-list .issue-label a {
#issue-list .issue-label,
#pull-list .issue-label {
padding: .25em .6em;
}
#issue-list .issue-label a,
#pull-list .issue-label a {
color: #FFF;
}
#issue-list .desc {
#issue-list .desc,
#pull-list .desc {
color: #999;
}
#issue-list .desc a {
#issue-list .desc a,
#pull-list .desc a {
color: #999;
}
#issue-list .desc a:hover {
#issue-list .desc a:hover,
#pull-list .desc a:hover {
color: #03a2ef;
}
#issue-list-pager {
margin: 18px 0 24px 0;
font-size: 14px;
line-height: 24px;
}
#labels-num {
margin-right: 1em;
}
#label-list .right {
margin-left: 1em;
color: #999;
line-height: 30px;
}
#label-list .right i {
margin-right: 3px;
}
#label-list .right:hover {
color: #444444;
}
#label-list .num {
margin-right: 3px;
}
#label-list .issue-num {
margin-right: 4em;
}
#label-list .label:hover {
color: #FFF;
}
#label-list .label i {
margin-right: 6px;
}
#label-list .item {
height: 30px;
padding-bottom: 12px;
margin-bottom: 12px;
border-bottom: 1px dashed #AAA;
}
.org-header-alert .alert {
margin-top: 10px;

View file

@ -735,7 +735,7 @@ ul.menu-radius > li:last-child > a {
border-color: #F0C36D;
}
.label {
padding: 2px 6px;
padding: .3em .6em .2em .6em;
color: #ffffff;
}
.label-red {
@ -882,8 +882,8 @@ table td {
border-bottom-right-radius: .3em;
}
.pager .page {
padding: 2px 6px;
margin: 0 3px;
padding: .3em .5em .2em .5em;
margin: 0 .3em;
background-color: #cccccc;
color: #444444;
}
@ -894,8 +894,8 @@ table td {
}
.pager .prev,
.pager .next {
padding: 2px 8px;
margin: 0 4px;
padding: .4em .6em;
margin: 0 .3em;
background-color: #505050;
color: #fafafa;
}