Ekapp/skolehjem/resources/sass/admin/content/table.scss

102 lines
1.7 KiB
SCSS

.tbl {
border-collapse: collapse;
width: 100%;
//table-layout: fixed;
}
div.dataTables_length, div.dataTables_info {
margin-right: auto !important;
}
div.dataTables_paginate, div.dataTables_filter {
margin-left: auto !important;
}
.col-sm-12 {
width: 100%;
}
.tbl td, .tbl th {
border: 1px solid #ddd;
padding: 8px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tbl tr:nth-child(even){background-color: rgba(0, 0, 0, 0.1);}
.tbl tr:hover {background-color: #ddd;}
.tbl th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #00788a;
color: white;
}
.tbl > tbody > tr > td > a {
width: 100%;
//display: flex;
}
.tbl > tbody > tr > td > a > img {
width: 1em;
margin: auto;
}
.checkbox-inline{
margin: 0 8px;
transform: scale(1.5);
}
.dataTables-wrapper > .row {
justify-content: center;
align-items: center;
}
div.dataTables_wrapper div.dataTables_filter input {
margin: 2px;
}
div.dataTables_wrapper div.dataTables_length select {
margin-bottom: 0px;
}
div.dataTables_wrapper > .row > .col-sm-12:first-child {
margin-right: auto;
}
.col-sm-12 {
justify-content: center;
align-items: center;
display: flex;
}
th > img.w-100, form > button > img.w-100 {
width: 1em;
height: auto;
}
form > button.w-100 {
width: 1em;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
display: flex;
}
.paginate_button > a {
color: black;
}
.paginate_button.disabled > a {
color: darkgrey;
cursor: not-allowed;
}
.paginate_button > a {
border: unset !important;
outline: unset !important;
}