Files
astuto/app/javascript/stylesheets/components/Comments.scss
2019-09-30 23:28:52 +02:00

73 lines
1.0 KiB
SCSS

.commentsContainer {
.newCommentForm {
@extend
.d-flex,
.my-3;
.newCommentBody {
@extend
.form-control,
.w-100,
.p-2,
.mr-2;
height: 80px;
border: thin solid grey;
border-radius: 4px;
resize: none;
}
.submitCommentButton {
@extend
.align-self-end;
height: 40px;
}
}
.commentsTitle {
@extend
.text-secondary,
.text-uppercase,
.font-weight-lighter,
.my-2;
}
.commentList > .commentList {
padding-left: 32px;
}
.comment {
@extend
.my-3;
.commentHeader {
@extend .titleText;
.commentAuthor {
@extend .ml-2;
vertical-align: middle;
}
}
.commentBody {
@extend .my-1;
}
.commentFooter {
font-size: 14px;
.commentReplyButton {
color: $astuto-black;
&:hover {
text-decoration: underline;
cursor: pointer;
}
}
}
}
}