Merge pull request #4962 from sboursen-scinote/sb_SCI-7685

Update pdf/docx reports - font size [SCI-7685]
This commit is contained in:
artoscinote 2023-02-14 10:27:34 +01:00 committed by GitHub
commit 5eb7fa8363
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -278,6 +278,7 @@ label {
.report-element-body { .report-element-body {
.project-name { .project-name {
@include font-h1; @include font-h1;
font-size: 18pt;
margin-top: 0; margin-top: 0;
} }
} }
@ -290,7 +291,7 @@ label {
// Experiment element style // Experiment element style
.report-experiment-element { .report-experiment-element {
.experiment-name { .experiment-name {
font-size: 21px; font-size: 16pt;
font-weight: bold; font-weight: bold;
} }
} }
@ -298,7 +299,7 @@ label {
// Protocol element style // Protocol element style
.report-module-protocol-element { .report-module-protocol-element {
.protocol-name { .protocol-name {
@include font-main; font-size: 12pt;
font-weight: bold; font-weight: bold;
} }
} }
@ -308,13 +309,13 @@ label {
@include font-button; @include font-button;
.results-title-name { .results-title-name {
@include font-main; font-size: 12pt;
font-weight: bold; font-weight: bold;
} }
.report-element-body { .report-element-body {
.module-name { .module-name {
font-size: 19px; font-size: 14pt;
font-weight: bold; font-weight: bold;
} }
@ -372,7 +373,7 @@ label {
} }
.result-name { .result-name {
@include font-main; font-size: 12pt;
font-weight: bold; font-weight: bold;
overflow-wrap: break-word; overflow-wrap: break-word;
} }
@ -397,7 +398,7 @@ label {
.report-result-asset-element { .report-result-asset-element {
.report-element-header { .report-element-header {
.file-name { .file-name {
font-size: 13px; font-size: 10pt;
font-weight: bold; font-weight: bold;
} }
@ -417,7 +418,7 @@ label {
.report-result-table-element { .report-result-table-element {
.report-element-header { .report-element-header {
.table-name { .table-name {
font-size: 13px; font-size: 10pt;
font-weight: bold; font-weight: bold;
} }
} }
@ -440,7 +441,7 @@ label {
/** Step element style */ /** Step element style */
.report-step-element { .report-step-element {
.step-name { .step-name {
font-size: 15px; font-size: 11pt;
font-weight: bold; font-weight: bold;
} }
@ -489,7 +490,7 @@ label {
.report-step-table-element { .report-step-table-element {
.report-element-header { .report-element-header {
.table-name { .table-name {
font-size: 13px; font-size: 10pt;
font-weight: bold; font-weight: bold;
} }
} }
@ -506,7 +507,7 @@ label {
.report-step-asset-element { .report-step-asset-element {
.report-element-header { .report-element-header {
.file-name { .file-name {
font-size: 13px; font-size: 10pt;
font-weight: bold; font-weight: bold;
white-space: nowrap; white-space: nowrap;
} }
@ -525,17 +526,13 @@ label {
.report-step-checklist-element { .report-step-checklist-element {
.report-element-header { .report-element-header {
.checklist-name { .checklist-name {
font-size: 13px; font-size: 10pt;
font-weight: bold; font-weight: bold;
} }
} }
.report-element-body { .report-element-body {
padding-top: 0; padding-top: 0;
& > ul > li > span.checked {
/* Currently nothing */
}
} }
&:hover > .report-element-header .checklist-name { &:hover > .report-element-header .checklist-name {
@ -547,7 +544,7 @@ label {
.report-comments-element { .report-comments-element {
.comment-message { .comment-message {
.view-mode { .view-mode {
@include font-small; font-size: 10pt;
} }
} }
@ -560,7 +557,7 @@ label {
.comments-name { .comments-name {
color: $color-emperor; color: $color-emperor;
font-size: 13px; font-size: 10pt;
font-weight: bold; font-weight: bold;
} }
} }
@ -587,16 +584,6 @@ label {
} }
} }
/** Result comments element style */
.report-result-comments-element {
}
/** Step comments element style */
.report-step-comments-element {
}
// Module repository element // Module repository element
.report-module-repository-element { .report-module-repository-element {
margin-bottom: 0; margin-bottom: 0;
@ -605,7 +592,7 @@ label {
border-bottom: 0; border-bottom: 0;
.repository-name { .repository-name {
@include font-main; font-size: 12pt;
font-weight: bold; font-weight: bold;
} }
} }
@ -630,7 +617,7 @@ label {
border-bottom: none; border-bottom: none;
.activity-name { .activity-name {
@include font-main; font-size: 12pt;
font-weight: bold; font-weight: bold;
} }
} }