mirror of
https://github.com/documize/community.git
synced 2025-08-09 07:25:23 +02:00
CSS GitHub Issues Fixes
This commit is contained in:
parent
a7bc2bd88b
commit
afaf19f3c5
2 changed files with 29 additions and 21 deletions
|
@ -28,34 +28,20 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
span.github-issue-label {
|
|
||||||
font-size: 11px;
|
|
||||||
color: white;
|
|
||||||
padding: 2px 4px;
|
|
||||||
border-radius: 2px;
|
|
||||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
|
|
||||||
}
|
|
||||||
|
|
||||||
span.label-name {
|
|
||||||
font-size: 16px;
|
|
||||||
font-family: "open_sanssemibold";
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-github-render {
|
.section-github-render {
|
||||||
.github-board {
|
.github-board {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 10px;
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
color: #767676;
|
color: #767676;
|
||||||
|
|
||||||
> .github-group-title {
|
> .github-group-title {
|
||||||
margin-bottom: 10px;
|
margin: 10px 0;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #767676;
|
color: #767676;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .github-list {
|
> .github-list {
|
||||||
margin: 20px;
|
margin: 10px 20px 0 20px !important;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: #767676;
|
color: #767676;
|
||||||
|
|
||||||
|
@ -94,6 +80,12 @@ span.label-name {
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> .issue-avatar {
|
||||||
|
float: left;
|
||||||
|
margin-right: 15px;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
> .github-commit-body {
|
> .github-commit-body {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
@ -103,12 +95,28 @@ span.label-name {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 16px;
|
line-height: 22px;
|
||||||
margin: 0px;
|
margin: 0;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
|
||||||
|
.github-issue-label {
|
||||||
|
font-size: 11px;
|
||||||
|
color: white;
|
||||||
|
padding: 0px 4px;
|
||||||
|
margin-right: 5px;
|
||||||
|
border-radius: 2px;
|
||||||
|
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-name {
|
||||||
|
font-size: 16px;
|
||||||
|
font-family: "open_sanssemibold";
|
||||||
|
margin: 0 10px 0 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .github-commit-meta {
|
> .github-commit-meta {
|
||||||
|
|
|
@ -85,7 +85,7 @@ var renderTemplates = map[string]string{
|
||||||
{{range $data := .Issues}}
|
{{range $data := .Issues}}
|
||||||
<li class="github-commit-item">
|
<li class="github-commit-item">
|
||||||
<a class="link" href="{{$data.URL}}">
|
<a class="link" href="{{$data.URL}}">
|
||||||
<div class="github-avatar">
|
<div class="issue-avatar">
|
||||||
<span aria-label="Open issue">
|
<span aria-label="Open issue">
|
||||||
<svg aria-hidden="true" class="octicon octicon-issue-opened open" 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 aria-hidden="true" class="octicon octicon-issue-opened open" 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>
|
||||||
</span>
|
</span>
|
||||||
|
@ -120,10 +120,10 @@ var renderTemplates = map[string]string{
|
||||||
<div class="github-commit-body">
|
<div class="github-commit-body">
|
||||||
<div class="github-commit-title">
|
<div class="github-commit-title">
|
||||||
<a class="link" href="{{$data.URL}}">
|
<a class="link" href="{{$data.URL}}">
|
||||||
{{$data.Event}}:
|
{{$data.Event}}:
|
||||||
</a>
|
</a>
|
||||||
{{$data.Message}}
|
{{$data.Message}}
|
||||||
</div>
|
</div>
|
||||||
<div class="github-commit-meta">{{$data.Name}} committed on {{$data.Date}}</div>
|
<div class="github-commit-meta">{{$data.Name}} committed on {{$data.Date}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="clearfix" />
|
<div class="clearfix" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue