mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
Improve PDF style and encoding Include header_row and summary_row, except for CSV and JSON Style spreadsheets Use only Xlsx no more Ods format
63 lines
913 B
SCSS
63 lines
913 B
SCSS
table.report__table {
|
|
margin-top: 1em;
|
|
@media print {
|
|
margin: 0;
|
|
td, th {
|
|
border-left: none;
|
|
border-right: none;
|
|
}
|
|
}
|
|
thead th {
|
|
text-align: left;
|
|
padding: 10px 6px;
|
|
}
|
|
|
|
.header-row {
|
|
&.h1, &.h2, &.h3 {
|
|
font-weight: bold;
|
|
margin-top: 8px;
|
|
}
|
|
&.h1 {
|
|
font-size: 2em;
|
|
}
|
|
&.h2 {
|
|
font-size: 1.5em;
|
|
}
|
|
&.h3 {
|
|
font-size: 1.25em;
|
|
}
|
|
&.h4 {
|
|
font-size: 1;
|
|
}
|
|
&.with-background {
|
|
background-color: #eef5fc;
|
|
}
|
|
}
|
|
}
|
|
|
|
.report__header {
|
|
display: flex;
|
|
margin-top: 2em;
|
|
justify-content: flex-end;
|
|
|
|
.btn-print {
|
|
margin-left: 1em;
|
|
}
|
|
.report__message {
|
|
border: 1px solid $pale-blue;
|
|
border-radius: .5em;
|
|
padding: .5em;
|
|
text-align: center;
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
|
|
.customer-names-tip {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.report__submit-btn {
|
|
margin: 0 !important;
|
|
width: 120px;
|
|
}
|