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:
parent
77e7bf138e
commit
ee9bb851c8
6 changed files with 70 additions and 97 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue