83 lines
1.3 KiB
CSS
83 lines
1.3 KiB
CSS
/* Print-specific styles for the manufacturing app */
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
font-size: 12pt;
|
|
line-height: 1.4;
|
|
color: #000;
|
|
}
|
|
|
|
.print-header {
|
|
text-align: center;
|
|
border-bottom: 2px solid #000;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.print-header h1 {
|
|
margin: 0;
|
|
font-size: 18pt;
|
|
}
|
|
|
|
.print-header p {
|
|
margin: 5px 0 0;
|
|
font-size: 10pt;
|
|
}
|
|
|
|
.dashboard-widgets {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
}
|
|
|
|
.widget-print {
|
|
width: 100%;
|
|
margin-bottom: 20px;
|
|
page-break-inside: avoid;
|
|
}
|
|
|
|
.widget-print h3 {
|
|
margin-top: 0;
|
|
border-bottom: 1px solid #ccc;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.print-footer {
|
|
text-align: center;
|
|
border-top: 1px solid #000;
|
|
margin-top: 30px;
|
|
padding-top: 10px;
|
|
font-size: 10pt;
|
|
}
|
|
|
|
/* Hide interactive elements */
|
|
.btn, .no-print, .sidebar, .navbar {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Tables */
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
th, td {
|
|
border: 1px solid #000;
|
|
padding: 8px;
|
|
text-align: left;
|
|
}
|
|
|
|
th {
|
|
background-color: #f0f0f0;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Page breaks */
|
|
h1, h2, h3 {
|
|
page-break-after: avoid;
|
|
}
|
|
|
|
table, .widget-print {
|
|
page-break-inside: avoid;
|
|
} |