Varakh
8c16f669b8
* Add version tag to footer * Add sortable tables * Add search on tables * Increase bootstrap4 theme width * Handle deprecation warnings in Twig * Fix dependency version
118 lines
2.9 KiB
CSS
118 lines
2.9 KiB
CSS
table.dataTable {
|
|
clear: both;
|
|
margin: 0.5em 0 !important;
|
|
max-width: none !important;
|
|
width: 100%;
|
|
}
|
|
table.dataTable td,
|
|
table.dataTable th {
|
|
-webkit-box-sizing: content-box;
|
|
box-sizing: content-box;
|
|
}
|
|
table.dataTable td.dataTables_empty,
|
|
table.dataTable th.dataTables_empty {
|
|
text-align: center;
|
|
}
|
|
table.dataTable.nowrap th, table.dataTable.nowrap td {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
div.dataTables_wrapper {
|
|
position: relative;
|
|
}
|
|
div.dataTables_wrapper div.dataTables_length label {
|
|
float: left;
|
|
text-align: left;
|
|
margin-bottom: 0;
|
|
}
|
|
div.dataTables_wrapper div.dataTables_length select {
|
|
width: 75px;
|
|
margin-bottom: 0;
|
|
}
|
|
div.dataTables_wrapper div.dataTables_filter label {
|
|
float: right;
|
|
margin-bottom: 0;
|
|
}
|
|
div.dataTables_wrapper div.dataTables_filter input {
|
|
display: inline-block !important;
|
|
width: auto !important;
|
|
margin-bottom: 0;
|
|
margin-left: 0.5em;
|
|
}
|
|
div.dataTables_wrapper div.dataTables_info {
|
|
padding-top: 2px;
|
|
}
|
|
div.dataTables_wrapper div.dataTables_paginate {
|
|
float: right;
|
|
margin: 0;
|
|
}
|
|
div.dataTables_wrapper div.dataTables_processing {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 200px;
|
|
margin-left: -100px;
|
|
margin-top: -26px;
|
|
text-align: center;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
|
|
table.dataTable thead > tr > td.sorting_asc,
|
|
table.dataTable thead > tr > td.sorting_desc,
|
|
table.dataTable thead > tr > td.sorting {
|
|
padding-right: 1.5rem;
|
|
}
|
|
table.dataTable thead > tr > th:active,
|
|
table.dataTable thead > tr > td:active {
|
|
outline: none;
|
|
}
|
|
table.dataTable thead .sorting,
|
|
table.dataTable thead .sorting_asc,
|
|
table.dataTable thead .sorting_desc,
|
|
table.dataTable thead .sorting_asc_disabled,
|
|
table.dataTable thead .sorting_desc_disabled {
|
|
cursor: pointer;
|
|
}
|
|
table.dataTable thead .sorting,
|
|
table.dataTable thead .sorting_asc,
|
|
table.dataTable thead .sorting_desc,
|
|
table.dataTable thead .sorting_asc_disabled,
|
|
table.dataTable thead .sorting_desc_disabled {
|
|
background-repeat: no-repeat;
|
|
background-position: center right;
|
|
}
|
|
table.dataTable thead .sorting {
|
|
background-image: url("../images/sort_both.png");
|
|
}
|
|
table.dataTable thead .sorting_asc {
|
|
background-image: url("../images/sort_asc.png");
|
|
}
|
|
table.dataTable thead .sorting_desc {
|
|
background-image: url("../images/sort_desc.png");
|
|
}
|
|
table.dataTable thead .sorting_asc_disabled {
|
|
background-image: url("../images/sort_asc_disabled.png");
|
|
}
|
|
table.dataTable thead .sorting_desc_disabled {
|
|
background-image: url("../images/sort_desc_disabled.png");
|
|
}
|
|
|
|
div.dataTables_scrollHead table {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
div.dataTables_scrollBody table {
|
|
border-top: none;
|
|
margin-top: 0 !important;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
div.dataTables_scrollBody table tbody tr:first-child th,
|
|
div.dataTables_scrollBody table tbody tr:first-child td {
|
|
border-top: none;
|
|
}
|
|
|
|
div.dataTables_scrollFoot table {
|
|
margin-top: 0 !important;
|
|
border-top: none;
|
|
}
|