1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00
vault-frontend/src/components/containers/CommentWrapper/styles.scss
2019-10-13 18:43:42 +07:00

35 lines
625 B
SCSS

.wrap {
background: $comment_bg;
min-height: $comment_height;
display: flex;
position: relative;
box-shadow: none;
min-width: 0;
&:global(.is_empty) {
opacity: 0.5;
}
&:global(.is_same) {
margin: 0 !important;
border-radius: 0;
}
}
.text {
flex: 1;
min-width: 0;
}
.thumb {
flex: 0 0 $comment_height;
border-radius: $panel_radius 0 0 $panel_radius;
background-color: transparentize(black, 0.9);
}
.thumb_image {
height: $comment_height;
background: transparentize(white, 0.97) no-repeat 50% 50%;
border-radius: $panel_radius 0 0 $panel_radius;
background-size: cover;
}