1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00
vault-frontend/src/containers/flow/FlowStamp/styles.module.scss
2025-02-17 11:53:06 +07:00

75 lines
1.1 KiB
SCSS

@import '~/styles/variables';
.wrap {
display: flex;
flex-direction: column;
width: 100%;
gap: $gap;
}
.search {
background-color: var(--content_bg_lighter);
}
.grid {
display: flex;
justify-content: stretch;
flex-direction: column;
flex: 1;
overflow: hidden;
gap: $gap;
padding: $gap;
&::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
height: 60px;
width: 100%;
background: linear-gradient(transparent, $content_bg 90%);
pointer-events: none;
touch-action: none;
@include tablet {
display: none;
}
}
&.noUpdates {
@container sizer (width < #{$flow_hide_recents}) {
display: none;
}
}
}
.items.recent {
@container sizer (width < #{$flow_hide_recents}) {
display: none;
background-color: red;
}
}
.items {
flex: 1;
display: flex;
flex-direction: column;
@container sizer (width >= #{$flow_hide_recents}) {
&.scrollable {
overflow: auto;
}
}
}
.search_icon {
stroke-width: 0.5;
pointer-events: none;
touch-action: none;
}
.close_icon {
cursor: pointer;
stroke-width: 0.5;
transition: opacity 0.25s;
}