Retrospring/app/javascript/styles/components/_answerbox.scss

87 lines
1.4 KiB
SCSS
Raw Normal View History

2020-05-02 11:35:28 -07:00
.answerbox {
&__question-text,
&__question-user,
&__answer-user,
&__answer-date {
margin-bottom: 0;
2020-05-02 11:35:28 -07:00
overflow: hidden;
word-break: break-word;
2020-05-02 11:35:28 -07:00
}
&__answer-date {
font-size: .8rem;
line-height: .8;
overflow: visible;
}
&__answer-text {
margin-bottom: map-get($spacers, 3);
}
&__question-user-avatar,
&__answer-user-avatar {
margin-right: map-get($spacers, 2);
border-radius: $avatar-border-radius;
}
& .text-muted a,
& .text-muted a:hover {
color: var(--muted-text);
text-decoration: none;
}
&__action {
2020-05-06 18:46:44 -07:00
padding-left: 0;
2020-05-02 11:35:28 -07:00
padding-right: map-get($spacers, 1);
& i {
font-size: 1.4rem;
vertical-align: top;
}
&:hover,
&:focus,
&:active {
text-decoration: none;
}
2020-05-02 12:23:04 -07:00
&[name="ab-smile"],
&[name="ab-smile-comment"] {
2020-05-02 11:35:28 -07:00
color: var(--primary);
&:hover {
color: var(--success);
}
&[data-action="unsmile"] {
color: var(--success);
&: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;
}
2021-08-05 09:30:44 -07:00
}
body:not(.cap-web-share) {
[name="ab-share"] {
2021-08-05 09:30:44 -07:00
display: none;
}
}