Consistent, concise styling of datables

Add a semantic class to aggregate bootstrap classes and consistently
applyt them to all datatables.
This commit is contained in:
James Mason 2018-06-15 18:20:18 -07:00
parent 3bb73f27cf
commit 4ecf078db6
25 changed files with 47 additions and 25 deletions

View file

@ -0,0 +1,21 @@
table.datatable {
@extend .table, .table-striped, .table-bordered, .table-hover;
td.actions {
vertical-align: middle;
align: center;
div.btn-group {
display: flex;
}
a {
@extend .btn;
}
}
td.truncate {
max-width: 1px;
@include text-overflow();
}
}