mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
118 lines
1.6 KiB
SCSS
118 lines
1.6 KiB
SCSS
@import 'src/styles/variables';
|
|
|
|
.cell {
|
|
@include inner_shadow;
|
|
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: $radius;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: $content_bg;
|
|
}
|
|
|
|
.thumb {
|
|
@include outer_shadow;
|
|
|
|
border-radius: $radius;
|
|
overflow: hidden;
|
|
position: relative;
|
|
z-index: 0;
|
|
}
|
|
|
|
.shade {
|
|
@include outer_shadow;
|
|
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 2;
|
|
}
|
|
|
|
.text {
|
|
position: absolute;
|
|
bottom: 5px;
|
|
left: 5px;
|
|
z-index: 1;
|
|
overflow: hidden;
|
|
border-radius: $radius;
|
|
max-height: calc(100% - 10px);
|
|
max-width: calc(100% - 10px);
|
|
box-sizing: border-box;
|
|
font: $font_16_regular;
|
|
|
|
@include tablet {
|
|
font: $font_14_regular;
|
|
left: 5px;
|
|
bottom: 5px;
|
|
}
|
|
|
|
& :global(.grey) {
|
|
color: inherit;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.quadro &,
|
|
.horizontal & {
|
|
max-width: calc(50% - 15px);
|
|
}
|
|
|
|
.quadro &,
|
|
.vertical & {
|
|
max-height: calc(50% - 15px);
|
|
}
|
|
}
|
|
|
|
.title_wrapper {
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 10;
|
|
padding: $gap;
|
|
position: absolute;
|
|
}
|
|
|
|
.title {
|
|
font: $font_cell_title;
|
|
text-transform: uppercase;
|
|
word-break: break-word;
|
|
|
|
@include tablet {
|
|
font: $font_18_semibold;
|
|
}
|
|
}
|
|
|
|
.menu {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
z-index: 6;
|
|
}
|
|
|
|
.link {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
flex-direction: row;
|
|
color: inherit;
|
|
text-decoration: inherit;
|
|
font: inherit;
|
|
line-height: inherit;
|
|
|
|
&.vertical {
|
|
flex-direction: column-reverse;
|
|
}
|
|
}
|
|
|
|
.display_modal {
|
|
@include appear;
|
|
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 11;
|
|
}
|