focalboard/webapp/src/components/comment.scss

55 lines
1 KiB
SCSS
Raw Normal View History

2020-10-24 20:37:09 +02:00
.Comment {
display: flex;
flex-direction: column;
margin: 5px 0;
&:hover {
.MenuWrapper {
display: block;
}
}
2020-10-24 20:37:09 +02:00
.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 {
2021-01-22 13:24:08 +01:00
color: rgb(var(--body-color));
width: 100%;
padding-left: 25px;
2020-10-24 20:37:09 +02:00
}
2020-10-28 00:59:40 +01:00
.comment-text * {
2020-12-03 01:54:06 +01:00
-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 */
2020-10-28 00:59:40 +01:00
}
2020-10-24 20:37:09 +02:00
}