Files
astuto/app/javascript/stylesheets/components/Post.scss
2020-01-05 11:31:21 +01:00

121 lines
1.8 KiB
SCSS

.pageContainer {
@extend
.d-flex,
.justify-content-between,
.align-items-start;
flex-direction: row;
@include media-breakpoint-down(sm) {
flex-direction: column;
.postAndCommentsContainer { width: 100%; }
}
.sidebar {
.postUpdateListContainer {
@extend .sidebarCard;
.postUpdateList {
@extend .w-100;
max-height: 250px;
overflow-y: scroll;
.postUpdateListItem {
@extend
.d-flex,
.flex-column,
.p-2,
.my-1;
.postUpdateListItemHeader {
@extend .d-flex;
span {
@extend
.ml-2;
font-weight: 600;
vertical-align: middle;
}
}
.postUpdateListItemBody {
@extend .m-0;
font-size: 15px;
}
}
}
}
.likeListContainer {
@extend .sidebarCard;
.likeList {
@extend .w-100;
max-height: 170px;
overflow-y: scroll;
.likeListItem {
@extend
.p-2,
.my-1;
.likeListItemName {
@extend .ml-2;
}
}
}
}
}
.postAndCommentsContainer {
@extend
.card,
.flex-grow-1,
.p-3,
.mb-3;
.postInfo {
@extend .d-flex;
span {
@extend .mr-2;
}
}
.postHeader {
@extend
.d-flex;
a {
@extend
.ml-1;
line-height: 1em;
}
}
.postSettings {
@extend
.d-flex,
.justify-content-between;
.selectPicker {
@extend
.custom-select,
.mx-2;
}
}
.postDescription {
@extend
.my-3;
color: $astuto-black;
}
}
}