Updated datatables, using @pa instead of @js/@css, using conditionalPaging in datatables
This commit is contained in:
50
public/css/fixes.css
vendored
50
public/css/fixes.css
vendored
@@ -2,44 +2,11 @@ body {
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
/* Fixes for data tables */
|
||||
/* Fix pagination buttons */
|
||||
.dataTables_wrapper .dataTables_paginate .paginate_button {
|
||||
padding: 0 0;
|
||||
margin-left: 0;
|
||||
border: 0 solid;
|
||||
}
|
||||
|
||||
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
|
||||
border: 0 solid;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
|
||||
box-shadow: 0 0 0 #fff;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
/* Fix select width */
|
||||
.dataTables_wrapper .dataTables_length select {
|
||||
width: 5em !important;
|
||||
}
|
||||
|
||||
.dataTables_scrollHeadInner {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
/* Remove multiple sorting images on tables */
|
||||
table.dataTable thead .sorting_asc {
|
||||
background-image: none !important;
|
||||
}
|
||||
|
||||
table.dataTable thead .sorting_desc {
|
||||
background-image: none !important;
|
||||
}
|
||||
|
||||
table.dataTable thead .sorting {
|
||||
background-image: none !important;
|
||||
/* Data Tables */
|
||||
/* Row Group columun padding 2 */
|
||||
table.dataTable tbody tr.dtrg-group th {
|
||||
padding-top: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
|
||||
/* Fix textcolor on navbar focus */
|
||||
@@ -55,13 +22,6 @@ table.dataTable thead .sorting {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
/* Optional: Customize .focus-visible */
|
||||
/*
|
||||
.focus-visible {
|
||||
outline-color: lightgreen;
|
||||
}
|
||||
*/
|
||||
|
||||
*:disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
Reference in New Issue
Block a user