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

91 lines
1.5 KiB
SCSS
Raw Normal View History

2020-06-15 09:28:37 +00:00
.tbl {
border-collapse: collapse;
width: 100%;
2020-06-29 12:11:15 +00:00
table-layout: fixed;
2020-06-15 09:28:37 +00:00
}
.tbl td, .tbl th {
border: 1px solid #ddd;
padding: 8px;
2020-06-29 12:11:15 +00:00
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2020-06-15 09:28:37 +00:00
}
.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%;
2020-06-22 12:53:00 +00:00
//display: flex;
2020-06-15 09:28:37 +00:00
}
.tbl > tbody > tr > td > a > img {
width: 1em;
margin: auto;
}
2020-07-29 11:58:19 +00:00
.checkbox-inline{
margin: 0 8px;
transform: scale(1.5);
}
2020-09-18 08:04:33 +00:00
.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;
}