Datatables css tweaks
This commit is contained in:
@ -54,74 +54,20 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show "X" entries
|
// Showing 1 to 10 of 15 entries
|
||||||
.dataTables_length {
|
.dataTables_length {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sorting controls
|
// Table header
|
||||||
.dataTable th {
|
.dataTable th {
|
||||||
position: relative;
|
position: relative;
|
||||||
font-weight: normal;
|
outline: none;
|
||||||
|
|
||||||
&.sorting {
|
|
||||||
color: #007aff;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
&:after,
|
|
||||||
&:before {
|
|
||||||
content: "";
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
position: absolute;
|
|
||||||
right: 8px;
|
|
||||||
border-right: 5px solid transparent;
|
|
||||||
border-left: 5px solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:after {
|
|
||||||
top: 19px;
|
|
||||||
border-top: 5px solid #007aff;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:before {
|
|
||||||
top: 11px;
|
|
||||||
border-bottom: 5px solid #007aff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.sorting_asc {
|
|
||||||
color: #007aff;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
&:after {
|
|
||||||
content: "";
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
position: absolute;
|
|
||||||
right: 12px;
|
|
||||||
top: 15px;
|
|
||||||
border-bottom: 5px solid #007aff;
|
|
||||||
border-right: 5px solid transparent;
|
|
||||||
border-left: 5px solid transparent;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
&.sorting,
|
||||||
|
&.sorting_asc,
|
||||||
&.sorting_desc {
|
&.sorting_desc {
|
||||||
color: #007aff;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:after {
|
|
||||||
content: "";
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
position: absolute;
|
|
||||||
right: 12px;
|
|
||||||
top: 15px;
|
|
||||||
border-top: 5px solid #007aff;
|
|
||||||
border-right: 5px solid transparent;
|
|
||||||
border-left: 5px solid transparent;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user