Files
astuto/app/assets/stylesheets/components/Board.scss
Riccardo Graziosi a11157295d Various improvements (#325)
* Fix missing translation in roadmap
* Fix resizing of textareas
* Increase line height for small muted texts
* Improve collapsed board list style
* Fix switch on top of header (z-index)
* Fix margin inconsistencies in site settings
* Add user count to site settings
2024-04-10 23:28:58 +02:00

138 lines
2.1 KiB
SCSS

.boardContainer {
@extend .twoColumnsContainer;
@include media-breakpoint-down(sm) {
.postStatusFilterContainer {
flex-direction: row !important;
flex-wrap: wrap;
}
.postList { width: 100%; }
}
.newPostContainer {
background-color: var(--astuto-grey-light);
text-align: center;
.boardTitle {
font-size: 25px;
font-weight: 600;
}
.boardDescription {
@extend .mutedText;
}
.newPostForm {
@extend .my-2;
#postDescription {
height: 100px;
min-height: 100px;
resize: vertical;
}
}
}
.postStatusListItemContainer {
@extend
.d-flex,
.align-self-stretch;
}
.postStatusListItemLink {
@extend
.flex-grow-1;
&:hover { text-decoration: none; }
}
.postStatusListItem {
@extend
.p-1;
height: 40px;
&:hover {
filter: brightness(85%);
cursor: pointer;
}
span.badge {
display: block; font-size: 15px;
}
}
.postStatusListItemSelected {
filter: brightness(85%);
}
.resetFilter {
@extend
.flex-grow-0,
.flex-shrink-0,
.rounded-circle,
.align-self-center,
.p-0;
width: 30px;
height: 30px;
font-weight: bold;
}
.dateFilterBox {
label { @extend .m-0; }
#startDateFilter, #endDateFilter { @extend .mb-1; }
}
.postList {
@extend
.d-flex,
.flex-column,
.flex-grow-1;
}
.postListItem {
@extend
.card3D,
.d-flex,
.flex-row,
.justify-content-start,
.mb-3,
.p-3;
min-height: 140px;
color: var(--astuto-black);
@include media-breakpoint-down(sm) {
height: auto;
}
&:hover { cursor: pointer; }
.postContainer {
@extend
.d-flex,
.flex-column,
.justify-content-between;
}
}
.postTitle {
@extend
.font-weight-bold,
.mb-2;
}
.postDetails {
@extend
.d-flex,
.justify-content-start,
.text-uppercase,
.mt-2;
.badge {
@extend .mr-2;
}
}
}