mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-02-17 18:08:41 +00:00
Fix #8
This commit is contained in:
parent
00ee93ad82
commit
229629bda3
|
|
@ -33,6 +33,10 @@ form {
|
|||
background: #bebebe;
|
||||
}
|
||||
|
||||
table.layout {
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.layout td+td {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
|
|
|||
25
styles.css
25
styles.css
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
29
table.scss
29
table.scss
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user