pull request page ui review, upgrade octicon icons

This commit is contained in:
fuxiaohei 2014-09-23 22:28:03 +08:00
parent b92cac7038
commit 60c65415dd
9 changed files with 343 additions and 228 deletions

View file

@ -1,19 +1,15 @@
@import "../ui/var";
.repo-issue-wrapper {
padding: 18px 0;
}
.pr-main {
padding-right: 40px;
box-sizing: border-box;
}
.pr-sidebar {
border-left: 1px solid #DDD;
box-sizing: border-box;
}
#pr-sidebar-nav {
margin-top: 6px;
li {
@ -39,16 +35,16 @@
}
}
}
.pr-title {
.pr-num {
font-weight: normal;
color: #888;
}
padding: 4px 0;
}
.pr-meta {
color: #888;
padding: 4px 0 8px 0;
.pr-author {
margin: 0 8px;
color: #444;
@ -62,7 +58,6 @@
padding: 4px 6px;
}
}
.pr-nav {
border-bottom: 1px solid #DDD;
margin-top: 16px;
@ -89,7 +84,6 @@
}
}
}
.diff-bar {
.diff-add {
color: @btnGreenColor;
@ -114,26 +108,22 @@
border-bottom-left-radius: .2em;
}
}
#pr-commit,
#pr-file-diff,
#issue-add-comment-preview {
display: none;
}
#pr-conversation-list {
padding-right: 30px;
box-sizing: border-box;
}
.issue-comment,
.issue-commit,
.issue-line,
.issue-merge,
.issue-add-comment {
margin-bottom: 16px;
margin-bottom: 24px;
}
.issue-comment {
.author-avatar {
img {
@ -165,7 +155,6 @@
}
}
}
.issue-commit {
line-height: 32px;
i, .author-avatar img {
@ -181,7 +170,6 @@
line-height: 24px;
}
}
.issue-merge {
.ico {
width: 40px;
@ -202,7 +190,6 @@
font-size: 13px;
}
}
.issue-merge-ok {
.ico {
background-color: #65AD4E;
@ -217,12 +204,10 @@
color: darken(#65AD4E, 10%);
}
}
.issue-line {
height: 4px;
background-color: #E6E6E6;
}
.issue-add-comment {
.panel {
margin-left: 60px;
@ -254,9 +239,9 @@
}
}
}
textarea#issue-add-content {
width: 100%;
box-sizing: border-box;
height: 120px;
resize: vertical;
}