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

74 lines
1.2 KiB
SCSS
Raw Normal View History

// 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;
}
}
}
}
2021-03-16 20:11:15 +08:00
.reports-datatable {
2023-05-25 19:12:27 +08:00
--content-header-size: 3.5rem;
2021-03-16 20:11:15 +08:00
height: calc(100vh - var(--navbar-height) - var(--content-header-size));
#reports-table_wrapper {
display: flex;
flex-direction: column;
height: 100%;
2023-05-23 22:03:10 +08:00
.reports-toolbar {
display: flex;
justify-content: space-between;
2023-05-25 19:12:27 +08:00
height: 3.5rem;
2023-05-24 17:39:38 +08:00
padding-bottom: 1em;
2023-05-23 22:03:10 +08:00
}
2023-05-24 17:39:38 +08:00
2021-03-16 20:11:15 +08:00
.dataTables_scroll {
display: flex;
flex-direction: column;
flex-grow: 1;
2023-05-25 19:12:27 +08:00
height: calc(100% - var(--datatable-pagination-row) - 3.5rem);
2021-03-16 20:11:15 +08:00
.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;
}
}
}
2021-03-16 20:11:15 +08:00
}