mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-28 14:16:41 +07:00
added experimental scroll helper
This commit is contained in:
parent
c2154e930c
commit
8d1e6989c2
8 changed files with 105 additions and 4 deletions
26
src/components/common/ScrollHelperBottom/styles.module.scss
Normal file
26
src/components/common/ScrollHelperBottom/styles.module.scss
Normal file
|
@ -0,0 +1,26 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.helper {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
background: radial-gradient($red, transparent) 50% 24px no-repeat;
|
||||
background-size: 100% 48px;
|
||||
display: none;
|
||||
width: calc(100% - 20px);
|
||||
z-index: 4;
|
||||
text-align: center;
|
||||
max-width: 500px;
|
||||
height: 64px;
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
padding: $gap;
|
||||
text-transform: uppercase;
|
||||
font: $font_16_medium;
|
||||
border-radius: $radius $radius 0 0;
|
||||
user-select: none;
|
||||
cursor: pointer;
|
||||
|
||||
&.visible {
|
||||
display: flex;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue