146 lines
2.4 KiB
Text
146 lines
2.4 KiB
Text
|
.comment {
|
||
|
|
||
|
&:not(:last-child) {
|
||
|
margin-bottom: 4px;
|
||
|
}
|
||
|
|
||
|
&--hidden {
|
||
|
//display: none;
|
||
|
}
|
||
|
|
||
|
&__container {
|
||
|
display: flex;
|
||
|
margin-bottom: 3px;
|
||
|
}
|
||
|
|
||
|
&__actions {
|
||
|
list-style: none;
|
||
|
display: flex;
|
||
|
font-size: .9em;
|
||
|
align-items: center;
|
||
|
|
||
|
&:hover {
|
||
|
.comment__action--hide {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__action {
|
||
|
color: inherit;
|
||
|
text-decoration: none;
|
||
|
vertical-align: middle;
|
||
|
|
||
|
&:not(:last-child) {
|
||
|
margin-right: 6px;
|
||
|
}
|
||
|
|
||
|
&--link:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
|
||
|
&--label {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
&--post {
|
||
|
margin-left: auto;
|
||
|
}
|
||
|
|
||
|
&--button {
|
||
|
cursor: pointer;
|
||
|
font: 12px/20px @mio-font-regular;
|
||
|
padding: 0 10px;
|
||
|
}
|
||
|
|
||
|
&--hide {
|
||
|
opacity: 0;
|
||
|
transition: opacity .2s;
|
||
|
}
|
||
|
|
||
|
&__checkbox {
|
||
|
vertical-align: text-top;
|
||
|
margin-right: 2px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__replies {
|
||
|
&--indent {
|
||
|
&-1, &-2, &-3, &-4, &-5 {
|
||
|
margin-left: 50px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.comment__avatar {
|
||
|
width: 40px;
|
||
|
height: 40px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__avatar {
|
||
|
flex: 0 0 auto;
|
||
|
height: 50px;
|
||
|
width: 50px;
|
||
|
margin-right: 4px;
|
||
|
}
|
||
|
|
||
|
&__content {
|
||
|
flex: 1 1 auto;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
overflow: hidden;
|
||
|
word-wrap: break-word;
|
||
|
}
|
||
|
|
||
|
&__info {
|
||
|
display: inline-flex;
|
||
|
}
|
||
|
|
||
|
&__text {
|
||
|
margin-right: 2px;
|
||
|
|
||
|
&--input {
|
||
|
min-width: 100%;
|
||
|
max-width: 100%;
|
||
|
min-height: 50px;
|
||
|
font: 12px/20px @mio-font-regular;
|
||
|
margin-right: 1px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__user {
|
||
|
font-weight: 700;
|
||
|
text-decoration: none;
|
||
|
|
||
|
&--link:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__date,
|
||
|
&__pin {
|
||
|
color: #666;
|
||
|
font-size: .9em;
|
||
|
margin-left: 8px;
|
||
|
}
|
||
|
|
||
|
&__link {
|
||
|
color: #666;
|
||
|
display: inline-flex;
|
||
|
text-decoration: none;
|
||
|
|
||
|
&:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__pin {
|
||
|
&:before {
|
||
|
content: "-";
|
||
|
padding-right: 4px;
|
||
|
}
|
||
|
|
||
|
margin-left: 4px;
|
||
|
}
|
||
|
}
|