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

97 lines
1.6 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-06-06 16:54:01 +08:00
#reports-table_filter {
margin-left: auto;
}
.dataTables_filter {
display: none;
}
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;
.table.dataTable .sorting {
&::after {
opacity: 0;
}
&:hover {
&::after {
opacity: 1;
}
}
}
2021-03-16 20:11:15 +08:00
}
}
.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;
}
}
td:nth-child(4) {
min-width: 60px;
}
}
2021-03-16 20:11:15 +08:00
}