2023-01-03 12:56:18 -08:00
|
|
|
@use "sass:map";
|
|
|
|
|
2023-01-03 03:35:05 -08:00
|
|
|
.answerbox {
|
2023-01-03 12:56:18 -08:00
|
|
|
&__question-text,
|
|
|
|
&__question-user,
|
|
|
|
&__answer-user,
|
2023-01-03 03:35:05 -08:00
|
|
|
&__answer-date {
|
|
|
|
margin-bottom: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2023-01-03 12:56:18 -08:00
|
|
|
|
2023-01-03 03:35:05 -08:00
|
|
|
&__answer-date {
|
|
|
|
font-size: .8rem;
|
|
|
|
line-height: .8;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__answer-text {
|
2023-01-03 12:56:18 -08:00
|
|
|
margin-bottom: map.get($spacers, 3);
|
2023-01-03 03:35:05 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__question-user-avatar,
|
|
|
|
&__answer-user-avatar {
|
2023-01-03 12:56:18 -08:00
|
|
|
margin-right: map.get($spacers, 2);
|
2023-01-03 03:35:05 -08:00
|
|
|
border-radius: $avatar-border-radius;
|
|
|
|
}
|
|
|
|
|
2023-01-03 12:56:18 -08:00
|
|
|
& .text-muted a,
|
2023-01-03 03:35:05 -08:00
|
|
|
& .text-muted a:hover {
|
|
|
|
color: var(--muted-text);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__action {
|
|
|
|
padding-left: 0;
|
2023-01-03 12:56:18 -08:00
|
|
|
padding-right: map.get($spacers, 1);
|
2023-01-03 03:35:05 -08:00
|
|
|
|
|
|
|
& i {
|
|
|
|
font-size: 1.4rem;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[name="ab-smile"],
|
|
|
|
&[name="ab-smile-comment"] {
|
|
|
|
color: var(--primary);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--success);
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-action="unsmile"] {
|
|
|
|
color: var(--success);
|
2023-01-03 12:56:18 -08:00
|
|
|
|
2023-01-03 03:35:05 -08:00
|
|
|
&:hover {
|
|
|
|
color: var(--danger);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__actions {
|
|
|
|
text-align: right;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-top: 10px;
|
|
|
|
|
|
|
|
@include media-breakpoint-up('sm') {
|
|
|
|
justify-content: flex-end;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-body {
|
|
|
|
padding-bottom: .6rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
body:not(.cap-web-share) {
|
|
|
|
[name="ab-share"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|