mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
New GitHub design code clean up
This commit is contained in:
parent
87be56bc4b
commit
2c76644b23
3 changed files with 12 additions and 105 deletions
|
@ -83,6 +83,10 @@
|
|||
margin-left: 10px;
|
||||
}
|
||||
|
||||
table.label-table {
|
||||
margin-top:30px !important;
|
||||
}
|
||||
|
||||
table.milestone-table {
|
||||
td a.link {
|
||||
font-size: 18px;
|
||||
|
@ -199,108 +203,7 @@
|
|||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
.github-board {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
color: #767676;
|
||||
|
||||
> .github-group-title {
|
||||
margin: 10px 0;
|
||||
font-size: 14px;
|
||||
color: #767676;
|
||||
}
|
||||
|
||||
> .github-list {
|
||||
margin: 10px 20px 0 20px !important;
|
||||
padding: 0;
|
||||
color: #767676;
|
||||
|
||||
> .github-commit-item {
|
||||
display: block;
|
||||
width: 95%;
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
padding: 10px;
|
||||
border-left: 1px solid #eee;
|
||||
border-right: 1px solid #eee;
|
||||
border-top: 1px solid #eee;
|
||||
|
||||
&:first-of-type {
|
||||
border-top-left-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
border-bottom-left-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: #f7fbfc;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
> .link {
|
||||
color: #999;
|
||||
|
||||
> .github-avatar {
|
||||
float: left;
|
||||
margin-right: 15px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
> .issue-avatar {
|
||||
float: left;
|
||||
margin-right: 15px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
> .github-commit-body {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
|
||||
> .github-commit-title {
|
||||
color: #4e575b;
|
||||
text-decoration: none;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 22px;
|
||||
margin: 0;
|
||||
padding: 0px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: 90%;
|
||||
|
||||
.label-name {
|
||||
font-size: 16px;
|
||||
font-family: "open_sanssemibold";
|
||||
margin: 0 10px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
> .github-commit-meta {
|
||||
font-weight: normal;
|
||||
color: #767676;
|
||||
font-size: 12px;
|
||||
line-height: 22px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} */
|
||||
}
|
||||
|
|
|
@ -14,12 +14,16 @@ package github
|
|||
const (
|
||||
openIsvg = `
|
||||
<span title="Open issue">
|
||||
<svg height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path></svg>
|
||||
<svg height="16" version="1.1" viewBox="0 0 14 16" width="14" class="color: #6cc644;">
|
||||
<path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path>
|
||||
</svg>
|
||||
</span>
|
||||
`
|
||||
closedIsvg = `
|
||||
<span title="Closed issue">
|
||||
<svg height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M7 10h2v2H7v-2zm2-6H7v5h2V4zm1.5 1.5l-1 1L12 9l4-4.5-1-1L12 7l-1.5-1.5zM8 13.7A5.71 5.71 0 0 1 2.3 8c0-3.14 2.56-5.7 5.7-5.7 1.83 0 3.45.88 4.5 2.2l.92-.92A6.947 6.947 0 0 0 8 1C4.14 1 1 4.14 1 8s3.14 7 7 7 7-3.14 7-7l-1.52 1.52c-.66 2.41-2.86 4.19-5.48 4.19v-.01z"></path></svg>
|
||||
<svg height="16" version="1.1" viewBox="0 0 16 16" width="16" class="color: #bd2c00;">
|
||||
<path d="M7 10h2v2H7v-2zm2-6H7v5h2V4zm1.5 1.5l-1 1L12 9l4-4.5-1-1L12 7l-1.5-1.5zM8 13.7A5.71 5.71 0 0 1 2.3 8c0-3.14 2.56-5.7 5.7-5.7 1.83 0 3.45.88 4.5 2.2l.92-.92A6.947 6.947 0 0 0 8 1C4.14 1 1 4.14 1 8s3.14 7 7 7 7-3.14 7-7l-1.52 1.52c-.66 2.41-2.86 4.19-5.48 4.19v-.01z"></path>
|
||||
</svg>
|
||||
</span>
|
||||
`
|
||||
issuesTemplate = `
|
||||
|
|
|
@ -22,8 +22,8 @@ const (
|
|||
`
|
||||
closedMSsvg = `
|
||||
<span title="Closed milestone">
|
||||
<svg height="8" width="7" version="1.1" viewBox="0 0 14 16">
|
||||
` + rawMSsvg + `
|
||||
<svg aria-hidden="true" class="octicon octicon-check" height="16" version="1.1" viewBox="0 0 12 16" width="12">
|
||||
<path d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5z"></path>
|
||||
</svg>
|
||||
</span>
|
||||
`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue