* fix border style for product/kanban.

This commit is contained in:
Hao Sun
2021-09-01 11:30:24 +08:00
parent 817bfd6e9d
commit e0f0b72fbc
3 changed files with 6 additions and 12 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ td.product {padding-top: 10px !important;}
td.project, td.execution {padding: 0 0 10px 0 !important;}
td > div:not(.board) > .board-item:first-child {margin-top: 10px;}
td > div.board:first-child {margin-top: 5px;}
.fix-table-copy-wrapper thead > tr > th:first-child {background: none!important;}
.board-item {border: 1px solid #ebebeb; padding: 3px 10px; cursor: default; border-radius: 2px; background-color: #fff; text-align: left;}
.board-item:hover {border-color: #ccc;}
@@ -23,4 +24,4 @@ td > div.board:first-child {margin-top: 5px;}
.project .table-row > .table-col:last-child, .execution .table-row > .table-col:last-child {width: 24px; padding-top: 2px;}
.scroll {overflow-x: hidden;; overflow-y: auto;}
.scroll {overflow-x: hidden; overflow-y: auto;}
+1 -9
View File
@@ -23,7 +23,7 @@
<caption><?php echo $type == 'myProducts' ? $lang->product->myProduct : $lang->product->otherProduct;?></caption>
<thead>
<tr>
<th rowspan="2" class="w-20px" style="border: unset; background: #32C5FF;"></th>
<th rowspan="2" class="w-20px" style="border-right: 0; border-left: 0; background: #32C5FF;"></th>
<th rowspan="2" style="border-left: 0px;"><?php echo $lang->product->unclosedProduct;?></th>
<th rowspan="2"><?php echo $lang->product->unexpiredPlan;?></th>
<th colspan="2"><?php echo $lang->product->doing;?></th>
@@ -171,14 +171,6 @@
<script>
$(function()
{
$(document).scroll(function()
{
if($('.fix-table-copy-wrapper').length > 0)
{
$('.fix-table-copy-wrapper table thead tr:first th:first').css('background', 'rgba(255,255,255,0)');
}
})
$('.board').height($('.project .board').height());
$('.table div.scroll').each(function()
+3 -2
View File
@@ -10,10 +10,11 @@
.board-item:last-child {margin-bottom: 10px;}
#kanban {overflow-y: auto;}
#kanban tbody > tr > td {line-height: 24px;}
#kanban tbody > tr > td{border-right: 3px solid #fff; border-bottom: 2px solid #fff;}
#kanban tbody > tr > td {line-height: 20px;}
#kanban tbody > tr > td {border-right: 3px solid #fff; border-bottom: 2px solid #fff;}
#kanban thead > tr:first-child > th:not(:first-child) {border-right: 2px solid #fff; border-bottom: 2px solid #fff;}
#kanban thead > tr:last-child > th {border: 2px solid #fff;}
#kanban a {line-height: 24px;}
.doing-td, .wait-project, .normal-plan, .normal-release {vertical-align: top !important;}