88 lines
1.4 KiB
SCSS
88 lines
1.4 KiB
SCSS
$prefix: pf;
|
|
|
|
@import "variables";
|
|
|
|
// highlight transition speed
|
|
$hl-trn-spd: 0.2s;
|
|
$border-radius: 8px;
|
|
|
|
@import 'utility-classes';
|
|
@import 'mixins';
|
|
@import 'nav';
|
|
@import 'buttons';
|
|
|
|
|
|
body {
|
|
background-color: var(--#{$prefix}-base);
|
|
height: 97vh;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.col {
|
|
box-sizing: border-box;
|
|
margin-top: 20px;
|
|
width: clamp(300px, 80%, 450px);
|
|
}
|
|
.card {
|
|
aspect-ratio: 16 / 12;
|
|
}
|
|
@media (min-width: 1362px) {
|
|
.card-table {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
margin-left: 0%;
|
|
margin-right: 0%;
|
|
}
|
|
}
|
|
@media (max-width: 1362px) {
|
|
.card-table {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
box-sizing: border-box;
|
|
width: clamp(300px, 80%, 450px);
|
|
}
|
|
}
|
|
|
|
div#below-header {
|
|
height: 93vh;
|
|
}
|
|
|
|
div#left-col {
|
|
width: 15vw;
|
|
padding: 10px;
|
|
background-color: var(--#{$prefix}-nav-bg);
|
|
}
|
|
|
|
div#main-body-content {
|
|
width: 70vw;
|
|
height: 100%;
|
|
overflow-y: scroll;
|
|
opacity: 1;
|
|
transition: opacity 0.2s ease-out;
|
|
}
|
|
div#main-body-content.htmx-swapping {
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease-out;
|
|
}
|
|
div#main-body-content.htmx-added {
|
|
opacity: 0;
|
|
}
|
|
|
|
div#right-col {
|
|
width: 15vw;
|
|
padding: 10px;
|
|
background-color: var(--#{$prefix}-nav-bg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#quick-access-pane {
|
|
margin-top: auto;
|
|
margin-bottom: 10px;
|
|
height: 300px;
|
|
}
|