This commit is contained in:
Dennis Eichhorn 2017-10-03 16:56:19 +02:00
parent 00ee93ad82
commit 229629bda3
3 changed files with 82 additions and 76 deletions

View File

@ -33,6 +33,10 @@ form {
background: #bebebe;
}
table.layout {
table-layout: fixed;
}
.layout td+td {
padding-left: 5px;
}

View File

@ -4744,6 +4744,8 @@ table.table {
table.table .empty {
text-align: center;
color: #d8d8d8; }
table.table tfoot {
border: none; }
table.table tfoot label {
float: left; }
table.table tfoot select {
@ -4764,15 +4766,17 @@ table.list td {
table.table {
border: 0;
width: 100%; }
table.table thead {
display: none; }
table.table tr {
table.table tbody tr {
height: auto;
display: block;
margin-bottom: .625em; }
table.table td {
table.table tbody tr:last-child td {
border-bottom: none; }
table.table tbody tr:last-child td:last-child {
border-bottom: 1px solid #b7b7b7; }
table.table tbody td {
border-left: 1px solid #b7b7b7;
border-right: 1px solid #b7b7b7;
display: block;
@ -4781,8 +4785,7 @@ table.list td {
position: relative;
height: 2rem;
line-height: 2rem; }
table.table td:before {
table.table tbody td:before {
content: attr(data-label);
position: absolute;
left: 0;
@ -4790,13 +4793,7 @@ table.list td {
transform: translateY(-50%);
margin-left: 20px;
font-weight: bold;
display: inline-block; }
table.table td:last-child {
border-bottom: 1px solid #b7b7b7; }
table.table tbody tr {
height: auto; } }
display: inline-block; } }
.nobreak {
white-space: nowrap; }

View File

@ -118,6 +118,8 @@ table.table {
}
tfoot {
border: none;
label {
float: left;
}
@ -150,18 +152,27 @@ table.list {
table.table {
border: 0;
width: 100%;
}
table.table thead {
thead {
display: none;
}
table.table tr {
tbody {
tr {
height: auto;
display: block;
margin-bottom: .625em;
&:last-child td {
border-bottom: none;
&:last-child {
border-bottom: 1px solid $content-border-color;
}
}
}
table.table td {
td {
border-left: 1px solid $content-border-color;
border-right: 1px solid $content-border-color;
display: block;
@ -170,9 +181,8 @@ table.list {
position: relative;
height: 2rem;
line-height: 2rem;
}
table.table td:before {
&:before {
content: attr(data-label);
position: absolute;
left: 0;
@ -182,13 +192,8 @@ table.list {
font-weight: bold;
display: inline-block;
}
table.table td:last-child {
border-bottom: 1px solid $content-border-color;
}
table.table tbody tr {
height: auto;
}
}
}