fix custom information sheet print out

pull/1838/head
Kaalleen 2022-10-15 17:23:47 +02:00
rodzic d4720ceb9b
commit 318069d194
2 zmienionych plików z 12 dodań i 7 usunięć

Wyświetl plik

@ -965,7 +965,7 @@ body {
height: 30mm; height: 30mm;
} }
.custom-page main { .custom-page main, .custom-page main fieldset {
height: 230mm height: 230mm
} }
#custom-page-tool-bar { #custom-page-tool-bar {
@ -978,6 +978,11 @@ body {
text-align: left; text-align: left;
} }
@media print {
#custom-page-content {
border: none;
}
}
/* Color Swatch Logic */ /* Color Swatch Logic */
/* reference : http://jsfiddle.net/jrulle/btg63ezy/3/ */ /* reference : http://jsfiddle.net/jrulle/btg63ezy/3/ */
@ -1171,7 +1176,6 @@ body {
#errors, #errors,
span.logo-instructions, span.logo-instructions,
#custom-page-tool-bar, #custom-page-tool-bar,
#custom-page-content,
.notice--warning { .notice--warning {
display: none !important; display: none !important;
} }

Wyświetl plik

@ -54,18 +54,19 @@
<input type="checkbox" class="view" id="operator-detailedview" data-field-name="operator-detailedview" CHECKED /> <input type="checkbox" class="view" id="operator-detailedview" data-field-name="operator-detailedview" CHECKED />
<label for="operator-detailedview">{{ _('Operator Detailed View') }}</label> <label for="operator-detailedview">{{ _('Operator Detailed View') }}</label>
</p> </p>
<p style="text-indent: 1.5em;">
<label for="operator-detailedview-thumbnail-size">{{ _('Thumbnail size') }}</label>
<input type="range" min="15" max="110" value="15" step="5" id="operator-detailedview-thumbnail-size" data-field-name="operator-detailedview-thumbnail-size" style="vertical-align: middle;" />
<span id="display-thumbnail-size">15mm</span>
</p>
<p> <p>
<input type="checkbox" class="view" id="full-page-patternview" data-field-name="full-page-patternview" /> <input type="checkbox" class="view" id="full-page-patternview" data-field-name="full-page-patternview" />
<label for="full-page-patternview">{{ _('Full Page Pattern View') }}</label> <label for="full-page-patternview">{{ _('Full Page Pattern View') }}</label>
</p> </p>
<p> <p style="text-indent: 1.5em;">
<input type="checkbox" class="view" id="show-footer" data-field-name="show-footer" /> <input type="checkbox" class="view" id="show-footer" data-field-name="show-footer" />
<label for="show-footer">{{ _('Show Footer') }}</label> <label for="show-footer">{{ _('Show Footer') }}</label>
</p> </p>
<p style="text-indent: 1.5em;">{{ _('Thumbnail size') }}:
<input type="range" min="15" max="110" value="15" step="5" id="operator-detailedview-thumbnail-size" data-field-name="operator-detailedview-thumbnail-size" style="vertical-align: middle;" />
<span id="display-thumbnail-size">15mm</span>
</p>
<p> <p>
<input type="checkbox" class="view" id="custom-page" data-field-name="custom-page" /> <input type="checkbox" class="view" id="custom-page" data-field-name="custom-page" />
<label for="custom-page">{{ _('Custom information sheet') }}</label> <label for="custom-page">{{ _('Custom information sheet') }}</label>