mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Label_Woes
This commit is contained in:
parent
ed23505054
commit
e97cf011b6
|
@ -17,7 +17,6 @@ $qr_txt_size = ($settings->qr_code=='1' ? $settings->labels_width - $qr_size - .
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: arial, helvetica, sans-serif;
|
font-family: arial, helvetica, sans-serif;
|
||||||
width: {{ $settings->labels_pagewidth }}in;
|
width: {{ $settings->labels_pagewidth }}in;
|
||||||
|
@ -25,7 +24,6 @@ $qr_txt_size = ($settings->qr_code=='1' ? $settings->labels_width - $qr_size - .
|
||||||
margin: {{ $settings->labels_pmargin_top }}in {{ $settings->labels_pmargin_right }}in {{ $settings->labels_pmargin_bottom }}in {{ $settings->labels_pmargin_left }}in;
|
margin: {{ $settings->labels_pmargin_top }}in {{ $settings->labels_pmargin_right }}in {{ $settings->labels_pmargin_bottom }}in {{ $settings->labels_pmargin_left }}in;
|
||||||
font-size: {{ $settings->labels_fontsize }}pt;
|
font-size: {{ $settings->labels_fontsize }}pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
width: {{ $settings->labels_width }}in;
|
width: {{ $settings->labels_width }}in;
|
||||||
height: {{ $settings->labels_height }}in;
|
height: {{ $settings->labels_height }}in;
|
||||||
|
@ -35,7 +33,6 @@ $qr_txt_size = ($settings->qr_code=='1' ? $settings->labels_width - $qr_size - .
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-break {
|
.page-break {
|
||||||
page-break-after:always;
|
page-break-after:always;
|
||||||
}
|
}
|
||||||
|
@ -85,9 +82,6 @@ $qr_txt_size = ($settings->qr_code=='1' ? $settings->labels_width - $qr_size - .
|
||||||
.next-padding {
|
.next-padding {
|
||||||
margin: {{ $settings->labels_pmargin_top }}in {{ $settings->labels_pmargin_right }}in {{ $settings->labels_pmargin_bottom }}in {{ $settings->labels_pmargin_left }}in;
|
margin: {{ $settings->labels_pmargin_top }}in {{ $settings->labels_pmargin_right }}in {{ $settings->labels_pmargin_bottom }}in {{ $settings->labels_pmargin_left }}in;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
.noprint {
|
.noprint {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
|
@ -97,7 +91,6 @@ $qr_txt_size = ($settings->qr_code=='1' ? $settings->labels_width - $qr_size - .
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen {
|
@media screen {
|
||||||
.label {
|
.label {
|
||||||
outline: .02in black solid; /* outline doesn't occupy space like border does */
|
outline: .02in black solid; /* outline doesn't occupy space like border does */
|
||||||
|
@ -107,11 +100,9 @@ $qr_txt_size = ($settings->qr_code=='1' ? $settings->labels_width - $qr_size - .
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@if ($snipeSettings->custom_css)
|
@if ($snipeSettings->custom_css)
|
||||||
{{ $snipeSettings->show_custom_css() }}
|
{{ $snipeSettings->show_custom_css() }}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
@foreach ($assets as $asset)
|
@foreach ($assets as $asset)
|
||||||
|
|
Loading…
Reference in a new issue