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
|
|
|
&__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;
|
|
|
|
}
|
|
|
|
|
2023-01-12 14:17:09 -08:00
|
|
|
.card-header,
|
2023-01-12 09:24:59 -08:00
|
|
|
&__answer-body {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2023-01-03 03:35:05 -08:00
|
|
|
&__answer-text {
|
2023-01-03 12:56:18 -08:00
|
|
|
margin-bottom: map.get($spacers, 3);
|
2023-01-03 03:35:05 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__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 {
|
2024-02-28 12:50:05 -08:00
|
|
|
color: RGBA(var(--raised-text), 0.75);
|
2024-02-28 12:50:31 -08:00
|
|
|
padding: var(--btn-padding-y);
|
|
|
|
margin-right: map.get($spacers, 1);
|
2023-01-04 07:43:43 -08:00
|
|
|
text-decoration: none;
|
2023-01-03 03:35:05 -08:00
|
|
|
|
|
|
|
& i {
|
|
|
|
font-size: 1.4rem;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2024-02-28 12:50:05 -08:00
|
|
|
color: RGBA(var(--raised-text), 1);
|
2023-01-03 03:35:05 -08:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2023-10-31 15:32:36 -07:00
|
|
|
&.smile {
|
2023-01-03 03:35:05 -08:00
|
|
|
color: var(--primary);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--success);
|
|
|
|
}
|
2023-10-31 15:32:36 -07:00
|
|
|
}
|
2023-01-03 03:35:05 -08:00
|
|
|
|
2023-10-31 15:32:36 -07:00
|
|
|
&.unsmile {
|
|
|
|
color: var(--success);
|
2023-01-03 12:56:18 -08:00
|
|
|
|
2023-10-31 15:32:36 -07:00
|
|
|
&:hover {
|
|
|
|
color: var(--danger);
|
2023-01-03 03:35:05 -08:00
|
|
|
}
|
|
|
|
}
|
2024-02-28 12:50:31 -08:00
|
|
|
|
|
|
|
&.dropdown-toggle::after {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2023-01-03 03:35:05 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__actions {
|
|
|
|
text-align: right;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-top: 10px;
|
|
|
|
|
|
|
|
@include media-breakpoint-up('sm') {
|
|
|
|
justify-content: flex-end;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-07 14:12:13 -08:00
|
|
|
&__pinned {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-01-03 03:35:05 -08:00
|
|
|
.card-body {
|
|
|
|
padding-bottom: .6rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-07 14:12:13 -08:00
|
|
|
#pinned-answers {
|
2023-02-07 14:23:49 -08:00
|
|
|
|
|
|
|
.answerbox__pinned {
|
|
|
|
display: inline;
|
2023-02-07 14:12:13 -08:00
|
|
|
}
|
|
|
|
}
|