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

81 lines
1.3 KiB
SCSS

// scss-lint:disable SelectorDepth NestingDepth IdSelector SelectorFormat
.reports-index {
.report-actions-dropdown {
display: inline-block;
float: left;
position: relative;
.report-actions-menu {
width: 200px !important;
li {
padding: 0;
}
a {
padding: .5em 1em;
}
}
}
}
.reports-datatable {
--content-header-size: 3.5rem;
height: calc(100vh - var(--navbar-height) - var(--content-header-size));
#reports-table_wrapper {
display: flex;
flex-direction: column;
height: 100%;
.reports-toolbar {
display: flex;
justify-content: space-between;
height: 3.5rem;
padding-bottom: 1em;
#reports-table_filter {
margin-left: auto;
}
.dataTables_filter {
display: none;
}
}
.dataTables_scroll {
display: flex;
flex-direction: column;
flex-grow: 1;
height: calc(100% - var(--datatable-pagination-row) - 3.5rem);
.dataTables_scrollHead {
flex-shrink: 0;
}
}
.pagination-row {
flex-shrink: 0;
}
}
.report-row {
.processing-error {
color: $brand-danger;
}
.generate-docx,
.generate-pdf {
display: none;
}
&:hover {
.generate-docx,
.generate-pdf {
display: initial;
}
}
}
}