1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

#38 fixed navigation and keyboard

This commit is contained in:
Fedor Katurov 2021-05-11 17:29:10 +07:00
parent 77e7bf138e
commit ee9bb851c8
6 changed files with 70 additions and 97 deletions

View file

@ -20,15 +20,39 @@
:global(.swiper-container) {
width: 100%;
position: relative;
}
:global(.swiper-button-next),
:global(.swiper-button-prev) {
color: white;
font-size: 10px;
width: 28px;
height: 96px;
background: transparentize($content_bg, 0);
&:global(.swiper-button-prev) {
left: 0;
justify-content: flex-start;
padding-left: 10px;
border-radius: 0 $radius $radius 0;
}
&:global(.swiper-button-next) {
border-radius: $radius 0 0 $radius;
right: 0;
justify-content: flex-end;
padding-right: 10px;
}
&:global(.swiper-button-disabled) {
opacity: 0;
}
&::after {
font-size: 32px;
font-size: 24px;
pointer-events: none;
font-weight: 900;
}
}
@ -84,3 +108,4 @@
border-radius: 0;
}
}