mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed style files module names
This commit is contained in:
parent
52acdb283e
commit
2daa38ad12
223 changed files with 113 additions and 114 deletions
50
src/components/node/NodeRelatedItem/styles.module.scss
Normal file
50
src/components/node/NodeRelatedItem/styles.module.scss
Normal file
|
@ -0,0 +1,50 @@
|
|||
.item {
|
||||
background: lighten($content_bg, 2%) 50% 50% no-repeat;
|
||||
padding-bottom: 100%;
|
||||
border-radius: $cell_radius;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
width: 0;
|
||||
height: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.thumb {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: $cell_radius;
|
||||
background: lighten($content_bg, 2%) 50% 50% no-repeat;
|
||||
background-size: cover;
|
||||
opacity: 0;
|
||||
transition: opacity 0.5s;
|
||||
will-change: opacity;
|
||||
|
||||
.is_loaded & {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.letters {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font: $font_24_semibold;
|
||||
color: transparentize(white, 0.5);
|
||||
border-radius: $cell_radius;
|
||||
background-image: linear-gradient(
|
||||
180deg,
|
||||
transparentize($content_bg, 0.4),
|
||||
transparentize($content_bg, 0.4)
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue