export current page to csv fixed icon

This commit is contained in:
fbsanchez 2019-06-18 12:58:46 +02:00
parent d8a331bf77
commit 823581f398
2 changed files with 12 additions and 15 deletions

View File

@ -3152,7 +3152,7 @@ function ui_print_datatable(array $parameters)
pageLength: '.$parameters['default_pagination'].', pageLength: '.$parameters['default_pagination'].',
searching: false, searching: false,
responsive: true, responsive: true,
dom: "plfrtipB", dom: "plfrtiBp",
buttons: [ buttons: [
{ {
extend: "csv", extend: "csv",

View File

@ -281,32 +281,29 @@ a.pandora_pagination.current:hover {
/* CSV button datatables */ /* CSV button datatables */
.dt-button.buttons-csv.buttons-html5 { .dt-button.buttons-csv.buttons-html5 {
background-image: url(../../images/input_delete.png); background-image: url(../../images/csv_mc.png);
background-position: center center; background-position: center center;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
background-color: #fff; background-color: #fff;
background-repeat: no-repeat; background-repeat: no-repeat;
color: #000; color: #000;
padding-bottom: 10px; border: none;
padding-top: 10px;
padding-left: 15px;
border: 1px solid #888;
font-family: "lato", "Open Sans", sans-serif; font-family: "lato", "Open Sans", sans-serif;
cursor: pointer; cursor: pointer;
display: inline;
padding: 7pt;
margin-left: 10px;
} }
.dt-button.buttons-csv.buttons-html5 span { .dt-button.buttons-csv.buttons-html5 span {
font-size: 0; font-size: 0;
} }
.dt-button.buttons-csv.buttons-html5:hover {
border: 1px solid #333; .dt-buttons {
margin-top: 3pt;
} }
.dt-button.buttons-csv.buttons-html5:active { .dt-button.buttons-csv.buttons-html5:active,
border: 1px solid #000; .dt-button.buttons-csv.buttons-html5:hover {
color: #333; border: none;
background-color: #e1e1e1;
} }
.dt-button.buttons-csv.buttons-html5[disabled] { .dt-button.buttons-csv.buttons-html5[disabled] {