Update CSS
Also hide advanced options pane when attempting to print from main page
This commit is contained in:
parent
f6cc873d05
commit
ad35b63d8f
@ -233,7 +233,7 @@
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="printWarning" style="display: none;">Printing directly from this page is not supported. Use the ‘Print result’ button to generate a printer-friendly report.</div>
|
<div id="printWarning">Printing directly from this page is not supported. Use the ‘Print result’ button to generate a printer-friendly report.</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var pyRCV2version = 'GITVERSION';
|
var pyRCV2version = 'GITVERSION';
|
||||||
|
@ -88,15 +88,22 @@ tr.info td {
|
|||||||
-webkit-print-color-adjust: exact;
|
-webkit-print-color-adjust: exact;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Print stylesheet */
|
||||||
|
|
||||||
|
#printWarning {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
body.interactive > * {
|
body.interactive > * {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#printPane {
|
#divAdvancedOptions, #printPane {
|
||||||
|
/* Override inline style */
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
#printWarning {
|
#printWarning {
|
||||||
display: block !important;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user