Fix borderd table style

This commit is contained in:
Naoki Takezoe
2015-12-08 01:59:31 +09:00
parent d90938421f
commit 2aa71ed217
2 changed files with 40 additions and 2 deletions

View File

@@ -12,7 +12,6 @@
@import context._ @import context._
@import gitbucket.core.view.helpers._ @import gitbucket.core.view.helpers._
@import gitbucket.core.service.IssuesService.IssueInfo @import gitbucket.core.service.IssuesService.IssueInfo
<br>
@if(condition.nonEmpty){ @if(condition.nonEmpty){
<div> <div>
<a href="@gitbucket.core.service.IssuesService.IssueSearchCondition().toURL" class="header-link"> <a href="@gitbucket.core.service.IssuesService.IssueSearchCondition().toURL" class="header-link">

View File

@@ -70,10 +70,49 @@ blockquote p {
font-size: 15px; font-size: 15px;
} }
.nav {
margin-bottom: 12px;
}
.table-bordered {
border-collapse: inherit;
border: none;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tbody > tr > td {
border-bottom: none;
}
.table-bordered > thead > tr:first-child > th:nth-of-type(1),
.table-bordered > tbody > tr:first-child > th:nth-of-type(1) {
border-top-left-radius: 4px;
}
.table-bordered > thead > tr:first-child > th:nth-last-of-type(1),
.table-bordered > tbody > tr:first-child > th:nth-last-of-type(1) {
border-top-right-radius: 4px;
}
.table-bordered > tbody > tr:last-child > td:nth-of-type(1) {
border-bottom-left-radius: 4px;
}
.table-bordered > tbody > tr:last-child > td:nth-last-of-type(1) {
border-bottom-right-radius: 4px;
}
.table-bordered > tbody > tr:last-child > td {
border-bottom: 1px solid #dddddd;
}
/*
.table-bordered > thead > tr > th, .table-bordered > thead > tr > th,
.table-bordered > thead > tr > td { .table-bordered > thead > tr > td {
border-bottom-width: 1px; border-bottom-width: 1px;
} }
*/
/* /*
.tab-content { .tab-content {
margin-top: 20px; margin-top: 20px;
@@ -973,7 +1012,7 @@ span.issue-status {
} }
table.table-issues { table.table-issues {
margin-top: 30px; margin-top: 12px;
} }
table.table-issues td .octicon-issue-opened,table.table-issues td .octicon-git-pull-request .open { table.table-issues td .octicon-issue-opened,table.table-issues td .octicon-git-pull-request .open {