focalboard/webapp/src/components/comment.scss
2021-01-22 23:44:04 +05:00

54 lines
1 KiB
SCSS

.Comment {
display: flex;
flex-direction: column;
margin: 5px 0;
&:hover {
.MenuWrapper {
display: block;
}
}
.MenuWrapper {
display: none;
position: absolute;
right: 0;
}
.comment-header {
display: flex;
flex-direction: row;
position: relative;
}
.comment-avatar {
width: 20px;
height: 20px;
border-radius: 100%;
box-shadow: rgba(15, 15, 15, 0.1) 0px 2px 4px;
}
.comment-username {
font-weight: bold;
margin: 0 5px;
}
.comment-date {
color: #cccccc;
font-size: 12px;
}
.comment-text {
color: rgb(var(--body-color));
width: 100%;
padding-left: 25px;
}
.comment-text * {
-webkit-user-select: text; /* Chrome all / Safari all */
-moz-user-select: text; /* Firefox all */
-ms-user-select: text; /* IE 10+ */
user-select: text; /* Likely future */
}
}