scinote-web/app/assets/stylesheets/protocols/index.scss

51 lines
1 KiB
SCSS
Raw Normal View History

2022-12-05 20:32:05 +08:00
// scss-lint:disable IdSelector
// scss-lint:disable SelectorDepth
// scss-lint:disable NestingDepth
2022-12-05 20:32:05 +08:00
.protocols-index {
.protocols-datatable {
--content-header-size: 5em;
--protocol-toolbar-size: 4em;
2022-12-05 20:32:05 +08:00
height: calc(100vh - var(--navbar-height) - var(--content-header-size));
#protocols-table_wrapper {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
}
.toolbar {
display: flex;
.left-general-toolbar {
align-items: center;
column-gap: .5em;
display: flex;
}
.right-general-toolbar {
align-items: center;
display: flex;
margin-left: auto;
margin-right: .5em;
}
.dropdown-menu {
min-width: 150px;
}
}
2022-12-05 20:32:05 +08:00
.dataTables_scroll {
display: flex;
flex-direction: column;
flex-grow: 1;
height: calc(100% - var(--datatable-pagination-row) - var(--protocol-toolbar-size));
2022-12-05 20:32:05 +08:00
}
.dataTables_scrollBody {
height: 100%;
}
}
}