Files
astuto/app/assets/stylesheets/components/Comments.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

114 lines
1.6 KiB
SCSS

.commentsContainer {
@extend .my-3;
.commentForm {
@extend
.form-control,
.w-100,
.p-2,
.mr-2;
height: 80px;
min-height: 80px;
resize: vertical;
border: thin solid grey;
border-radius: 4px;
}
.newCommentForm {
@extend
.d-flex,
.flex-column,
.my-3;
.commentBodyForm {
@extend .d-flex;
}
.commentIsUpdateForm {
@extend
.d-flex,
.justify-content-between,
.mt-3;
margin-left: 58px;
}
.currentUserAvatar {
@extend
.gravatar,
.align-self-end,
.mr-2;
}
.submitCommentButton {
@extend
.align-self-end;
box-sizing: border-box;
width: 120px;
height: 40px;
}
}
.editCommentForm {
textarea {
@extend .my-2;
}
& > div {
@extend
.d-flex,
.justify-content-between;
}
.editCommentFormActions { @extend .d-flex; }
}
.commentsTitle {
@extend
.text-secondary,
.text-uppercase,
.font-weight-lighter,
.my-2;
}
.commentList > .commentList {
padding-left: 32px;
}
.comment {
@extend
.my-4;
.commentHeader {
@extend .titleText;
.commentAuthor {
@extend .ml-2;
vertical-align: middle;
}
.postUpdateBadge {
@extend
.badge,
.badgeLight,
.ml-2;
}
}
.commentBody {
@extend .my-2;
p { @extend .m-0; }
}
.commentFooter {
@extend .d-flex;
font-size: 13px;
}
}
}