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/node/NodeNoComments/styles.module.scss
2022-08-13 21:33:37 +07:00

57 lines
988 B
SCSS

@import 'src/styles/variables';
.wrap {
user-select: none;
overflow: hidden;
position: relative;
flex: 0 0 auto;
&::after {
content: ' ';
position: absolute;
background: linear-gradient(transparent, $content_bg);
border-radius: 0 0 $radius $radius;
height: 100px;
width: 100%;
left: 0;
bottom: 0;
}
&:global(.is_loading) {
opacity: 1;
.card {
background: $placeholder_bg;
animation: fade 0.5s infinite alternate;
}
}
@include tablet {
display: none;
}
}
.card {
opacity: 0.3;
border-radius: $radius;
height: 96px;
background: $placeholder_bg;
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 $comment_height;
}
.nothing {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font: $font_18_semibold;
text-transform: uppercase;
color: $gray_75;
height: 20px;
margin-top: 0 !important;
text-align: center;
width: 100%;
}