paperless-ngx/src-ui/src/app/components/document-list/document-list.component.scss
Michael Shamoon a4fef056ed Fix breakpoint
File missing from last commit
2021-04-14 13:24:03 -07:00

46 lines
730 B
SCSS

@import "/src/theme";
tr {
user-select: none;
}
.table-row-selected {
background-color: $primaryFaded;
}
$paperless-card-breakpoints: (
0: 2, // xs
768px: 3, //md
992px: 4, //lg
1200px: 5, //xl
1400px: 6, // xxl
1600px: 7,
1800px: 8,
2000px: 9
);
.row-cols-paperless-cards {
@each $width, $n_cols in $paperless-card-breakpoints {
@media(min-width: $width) {
> * {
flex: 0 0 auto;
width: 100% / $n_cols;
}
}
}
}
.dropdown-menu-right {
right: 0 !important;
left: auto !important;
}
.sticky-top {
z-index: 1000; // below main navbar
top: calc(7rem - 2px); // height of navbar (mobile)
@media (min-width: 580px) {
top: 3.5rem; // height of navbar
}
}