scinote-web/app/assets/stylesheets/reports_print.scss

216 lines
4.1 KiB
SCSS
Raw Normal View History

@import 'constants';
2016-02-12 23:52:43 +08:00
@import "mixins";
/** Custom CSS for report print (& PDF) */
body.print-report-body {
background-color: $color-white;
}
div.print-report {
background-color: $color-white;
padding: 30px;
.new-element {
height: 0;
display: none;
}
.report-element {
color: $color-black !important;
.controls {
display: none;
}
&:hover {
background-color: $color-white;
@include box-shadow(none);
}
.hot-table-container {
.ht_master .wtHolder {
overflow: hidden !important;
.wtHider {
height: auto !important;
}
}
}
}
.report-project-header-element {
& > .report-element-body .project-name {
color: $color-black;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2016-02-12 23:52:43 +08:00
}
&:hover > .report-element-body .project-name {
color: $color-black;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2016-02-12 23:52:43 +08:00
}
}
.report-module-element:hover {
& > .report-element-body .module-name {
color: $color-black;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2016-02-12 23:52:43 +08:00
}
&:hover > .report-element-body .module-name {
color: $color-black;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2016-02-12 23:52:43 +08:00
}
}
.report-result-element {
& > .report-element-header {
color: $color-black;
}
&:hover > .report-element-header {
color: $color-black;
}
}
.report-step-element {
& > .report-element-body .step-name {
color: $color-black;
2020-07-13 20:29:59 +08:00
width: 100%;
2016-02-12 23:52:43 +08:00
}
&:hover > .report-element-body .step-name {
color: $color-black;
2020-07-13 20:29:59 +08:00
width: 100%;
2016-02-12 23:52:43 +08:00
}
}
.report-step-attachment-element {
& > .report-element-header .attachment-icon {
color: $color-black;
}
&:hover > .report-element-header .attachment-icon {
color: $color-black;
}
2020-10-28 23:32:22 +08:00
2020-10-28 23:44:28 +08:00
img {
max-width: 100%;
2020-10-28 23:32:22 +08:00
}
2016-02-12 23:52:43 +08:00
}
.report-step-table-element {
& > .report-element-header .table-name {
2016-02-12 23:52:43 +08:00
color: $color-black;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2016-02-12 23:52:43 +08:00
}
&:hover > .report-element-header .table-name {
2016-02-12 23:52:43 +08:00
color: $color-black;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2016-02-12 23:52:43 +08:00
}
}
.report-step-asset-element {
& > .report-element-header .file-name {
2020-07-13 20:29:59 +08:00
em {
color: $color-black;
white-space: nowrap;
}
2016-02-12 23:52:43 +08:00
}
&:hover > .report-element-header .file-name {
2020-07-13 20:29:59 +08:00
em {
color: $color-black;
white-space: nowrap;
}
2016-02-12 23:52:43 +08:00
}
}
.report-step-checklist-element {
2020-07-13 20:29:59 +08:00
page-break-inside: avoid;
2016-02-12 23:52:43 +08:00
& > .report-element-header .checklist-name {
color: $color-black;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2016-02-12 23:52:43 +08:00
}
&:hover > .report-element-header .checklist-name {
color: $color-black;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2016-02-12 23:52:43 +08:00
}
}
.report-comments-element {
& > .report-element-header {
.comments-icon,.comments-name {
color: $color-black !important;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2016-02-12 23:52:43 +08:00
}
}
&:hover > .report-element-header {
.comments-icon,.comments-name {
color: $color-black !important;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2016-02-12 23:52:43 +08:00
}
}
}
.report-module-activity-element {
& > .report-element-header {
.activity-icon,.activity-name {
color: $color-black !important;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2016-02-12 23:52:43 +08:00
}
}
&:hover > .report-element-header {
.activity-icon,.activity-name {
color: $color-black !important;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2016-02-12 23:52:43 +08:00
}
}
}
2018-12-12 18:15:32 +08:00
.report-module-repository-element {
& > .report-element-header {
.repository-icon,.repository-name {
color: $color-black !important;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
2018-12-12 18:15:32 +08:00
}
}
&:hover > .report-element-header {
.repository-icon,.repository-name {
color: $color-black !important;
2020-07-13 20:29:59 +08:00
white-space: nowrap;
}
}
}
.report-result-element {
& > .report-element-header {
.result-icon,
.result-name,
.file-name{
color: $color-black !important;
white-space: nowrap;
}
}
2020-10-28 23:44:28 +08:00
img {
max-width: 100%;
2020-10-28 23:32:22 +08:00
}
2020-07-13 20:29:59 +08:00
&:hover > .report-element-header {
.result-icon,
.result-name,
.file-name {
color: $color-black !important;
white-space: nowrap;
2018-12-12 18:15:32 +08:00
}
}
}
}