mirror of
https://github.com/astuto/astuto.git
synced 2025-12-14 18:57:51 +01:00
* Make it possible to embed the roadmap in iframe * Add board and status filters * Add query params to show/hide roadmap filters
76 lines
1.4 KiB
SCSS
76 lines
1.4 KiB
SCSS
// parent .container is 960px wide with 15px padding on each side => 930px available
|
|
// each roadmap column is 31% wide => 930px * 0.31 = 288.3px * 3 = 864.9px plus 16px gap between columns (2 gaps) => 864.9px + 32px = 896.9px occupied
|
|
|
|
.roadmap {
|
|
.filters {
|
|
@extend
|
|
.d-flex,
|
|
.mb-4;
|
|
|
|
gap: 16px;
|
|
|
|
@include media-breakpoint-down(sm) { flex-direction: column; }
|
|
|
|
.boardSelect, .postStatusSelect {
|
|
width: 50%;
|
|
|
|
@include media-breakpoint-down(sm) { width: 100%; }
|
|
}
|
|
|
|
.boardSelect { @extend .align-self-end; }
|
|
}
|
|
|
|
.roadmapColumns {
|
|
@extend
|
|
.d-flex,
|
|
.justify-content-start,
|
|
.flex-wrap;
|
|
|
|
gap: 16px;
|
|
|
|
.roadmapColumn {
|
|
@extend
|
|
.card,
|
|
.p-0;
|
|
|
|
width: calc(33% - 9px); // each col takes 1/3 of the space minus 9px (to account for flex-gap: 16px, otherwise it'd wrap)
|
|
background-color: var(--astuto-grey-light);
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.columnHeader {
|
|
@extend
|
|
.card-header,
|
|
.d-flex;
|
|
|
|
.columnTitle {
|
|
color: white;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
|
|
.scrollContainer {
|
|
overflow-y: auto;
|
|
max-height: 350px;
|
|
}
|
|
|
|
.postLink {
|
|
@extend .my-2;
|
|
|
|
&:hover { text-decoration: none; }
|
|
}
|
|
|
|
.postListItem {
|
|
@extend
|
|
.card3D,
|
|
.d-flex,
|
|
.flex-column,
|
|
.m-2,
|
|
.py-2;
|
|
}
|
|
}
|
|
}
|