75 lines
1.4 KiB
CSS
75 lines
1.4 KiB
CSS
.styledComment {
|
|
position: relative;
|
|
margin-top: 25px;
|
|
font-size: 15px
|
|
}
|
|
|
|
.styledComment > .userAvatar {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.styledComment > .content {
|
|
padding-left: 44px;
|
|
}
|
|
|
|
.styledComment > .content > .userName {
|
|
display: inline-block;
|
|
padding-right: 12px;
|
|
padding-bottom: 10px;
|
|
color: var(--textDark);
|
|
font-family: var(--font-medium);
|
|
font-weight: normal;
|
|
}
|
|
|
|
.styledComment > .content > .createdAt {
|
|
display: inline-block;
|
|
padding-bottom: 10px;
|
|
color: var(--textDark);
|
|
font-size: 14.5px
|
|
}
|
|
|
|
/* as view */
|
|
|
|
.styledComment > .content > .body {
|
|
padding-bottom: 10px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.styledComment > .content > .editButton {
|
|
margin-right: 12px;
|
|
display: inline-block;
|
|
padding: 2px 0;
|
|
color: var(--textMedium);
|
|
font-size: 14.5px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.styledComment > .content > .editButton:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.styledComment > .content > .deleteButton {
|
|
display: inline-block;
|
|
padding: 2px 0;
|
|
color: var(--textMedium);
|
|
font-size: 14.5px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.styledComment > .content > .deleteButton:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.styledComment > .content > .deleteButton:before {
|
|
position: relative;
|
|
right: 6px;
|
|
content: '·';
|
|
display: inline-block;
|
|
}
|
|
|
|
/* as form */
|