Files
openfoodnetwork/app/webpacker/css/admin/reports.scss
Sebastian Castro 287e8f5845 Reports Refactor 3
Easily group and create header and summary row
Auto format cells when appropriate type (boolean, dates) and render_format (neither csv nor json)
2022-05-12 16:54:13 +02:00

50 lines
705 B
SCSS

table.report__table {
margin-top: 2em;
@media print {
margin: 0;
}
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__message {
margin-top: 2em;
border: 1px solid $pale-blue;
border-radius: .5em;
padding: .5em;
text-align: center;
}
.customer-names-tip {
margin-top: 1em;
}
.report__submit-btn {
margin: 0 !important;
width: 120px;
}