Nextmatch print styling

- Hide nextmatch header
- Change styling of selectboxes in row header
This commit is contained in:
Nathan Gray 2015-02-09 23:33:03 +00:00
parent 86d41c9412
commit fce10a2337
2 changed files with 12 additions and 1 deletions

View File

@ -1863,7 +1863,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput, et2_IPrin
beforePrint: function() { beforePrint: function() {
// Add the class, if needed // Add the class, if needed
this.div.addClass('print'); this.div.addClass('print');
// Trigger resize, so we can fit on a page // Trigger resize, so we can fit on a page
this.dynheight.outerNode.css('max-width',this.div.css('max-width')); this.dynheight.outerNode.css('max-width',this.div.css('max-width'));
this.resize(); this.resize();

View File

@ -1133,6 +1133,17 @@ div.message.floating {
.et2_nextmatch .egwGridView_spacer { .et2_nextmatch .egwGridView_spacer {
display:none; display:none;
} }
.et2_nextmatch .nextmatch_header {
display: none !important;
}
.egwGridView_outer > thead {
border-bottom: 1px solid;
}
.egwGridView_outer > thead select {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}
.egwGridView_grid > tbody > tr { .egwGridView_grid > tbody > tr {
page-break-inside: avoid; page-break-inside: avoid;
-webkit-region-break-inside: avoid; -webkit-region-break-inside: avoid;