From fce10a2337238ef61c677e2c1fea7d74bdcd56b5 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 9 Feb 2015 23:33:03 +0000 Subject: [PATCH] Nextmatch print styling - Hide nextmatch header - Change styling of selectboxes in row header --- etemplate/js/et2_extension_nextmatch.js | 2 +- etemplate/templates/default/etemplate2.css | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index a9249cee68..5104f50247 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -1863,7 +1863,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput, et2_IPrin beforePrint: function() { // Add the class, if needed this.div.addClass('print'); - + // Trigger resize, so we can fit on a page this.dynheight.outerNode.css('max-width',this.div.css('max-width')); this.resize(); diff --git a/etemplate/templates/default/etemplate2.css b/etemplate/templates/default/etemplate2.css index 80c5f726f7..ea04a9e380 100644 --- a/etemplate/templates/default/etemplate2.css +++ b/etemplate/templates/default/etemplate2.css @@ -1133,6 +1133,17 @@ div.message.floating { .et2_nextmatch .egwGridView_spacer { 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 { page-break-inside: avoid; -webkit-region-break-inside: avoid;