@import '_variables';
@import '_mixins';
-.comment {
+.root-comment {
font-size: 15px;
- margin-top: 30px;
+ display: flex;
- .comment-account-date {
- display: flex;
- margin-bottom: 4px;
+ img {
+ @include avatar(36px);
- .comment-account {
- font-weight: $font-bold;
+ margin-top: 5px;
+ margin-right: 20px;
+ }
+
+ .comment {
+ flex-grow: 1;
+
+ .highlighted-comment {
+ display: inline-block;
+ background-color: #F5F5F5;
+ color: #3d3d3d;
+ padding: 0 5px;
+ font-size: 13px;
+ margin-bottom: 5px;
+ font-weight: $font-semibold;
+ border-radius: 3px;
}
- .comment-date {
- color: #585858;
- margin-left: 10px;
+ .comment-account-date {
+ display: flex;
+ margin-bottom: 4px;
+
+ .comment-account {
+ @include disable-default-a-behaviour;
+
+ color: #000;
+ font-weight: $font-bold;
+ }
+
+ .comment-date {
+ color: #585858;
+ margin-left: 10px;
+ }
}
- }
- .comment-actions {
- margin: 10px 0;
+ .comment-html {
+ word-wrap: initial;
+ word-break: normal;
+ text-align: justify;
- .comment-action-reply {
- color: #585858;
- cursor: pointer;
+ /deep/ a {
+ @include disable-default-a-behaviour;
+
+ color: #000;
+
+ // Semi bold mentions
+ &:not(.linkified-url) {
+ font-weight: $font-semibold;
+ }
+ }
}
- }
-}
-.children {
- margin-left: 20px;
+ .comment-actions {
+ margin: 10px 0;
+ display: flex;
- .comment {
- margin-top: 15px;
+ .comment-action-reply, .comment-action-delete {
+ color: #585858;
+ cursor: pointer;
+ margin-right: 10px;
+
+ &:hover {
+ color: #000;
+ }
+ }
+ }
}
}