responsivewebframework
Version:
Jalasoft Foundation Front End Framework ========================================
59 lines (46 loc) • 1.25 kB
text/less
// Table
.table {
text-align: left;
font-family: @font-family-base-component;
font-size: @table-font-size;
min-width: @table-tbody-min-width;
> tbody > tr > td {
height: @table-height-tbody-td;
}
> thead > tr:first-child > th {
padding-left: @table-padding-left;
padding-bottom: @table-thead-padding-bottom;
}
> thead > tr > th:nth-child(1), > tbody > tr > td:nth-child(1) {
padding-left: @table-padding-left-first-column;
min-width: @table-min-width-first-column;
}
> tbody > tr > td {
border-top: 1px solid @table-border-color;
padding-left: @table-padding-left;
}
> thead > tr th:nth-child(2), > tbody > tr td:nth-child(2) {
padding-left: @table-second-column-padding-left;
}
input[type=checkbox][class="check"] + label:after {
top: -3px ;
left: 2px ;
}
input[type=checkbox][class="check"] + label {
margin-left: 0 ;
padding: 0 8px 0 8px ;
}
[class*="icon"] {
position: relative;
padding-left: 8px;
&[class*="disabled"] {
opacity: 0.5;
}
}
[class="check"]:checked + label + .disabled {
opacity: 1;
}
}
.table > tbody > tr:hover {
background-color: @table-tbody-tr-hover-color;
}