1 | @import '../../swiper-vars.scss';
|
2 | @at-root {
|
3 | :root {
|
4 | --swiper-navigation-size: 44px;
|
5 | |
6 |
|
7 |
|
8 | }
|
9 | }
|
10 | .swiper-button-prev,
|
11 | .swiper-button-next {
|
12 | position: absolute;
|
13 | top: 50%;
|
14 | width: calc(var(--swiper-navigation-size) / 44 * 27);
|
15 | height: var(--swiper-navigation-size);
|
16 | margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
|
17 | z-index: 10;
|
18 | cursor: pointer;
|
19 | display: flex;
|
20 | align-items: center;
|
21 | justify-content: center;
|
22 | color: var(--swiper-navigation-color, var(--swiper-theme-color));
|
23 | &.swiper-button-disabled {
|
24 | opacity: 0.35;
|
25 | cursor: auto;
|
26 | pointer-events: none;
|
27 | }
|
28 | &:after {
|
29 | font-family: swiper-icons;
|
30 | font-size: var(--swiper-navigation-size);
|
31 | text-transform: none !important;
|
32 | letter-spacing: 0;
|
33 | text-transform: none;
|
34 | font-variant: initial;
|
35 | line-height: 1;
|
36 | }
|
37 | }
|
38 | .swiper-button-prev,
|
39 | .swiper-rtl .swiper-button-next {
|
40 | &:after {
|
41 | content: 'prev';
|
42 | }
|
43 | left: 10px;
|
44 | right: auto;
|
45 | }
|
46 | .swiper-button-next,
|
47 | .swiper-rtl .swiper-button-prev {
|
48 | &:after {
|
49 | content: 'next';
|
50 | }
|
51 | right: 10px;
|
52 | left: auto;
|
53 | }
|
54 |
|
55 | .swiper-button-lock {
|
56 | display: none;
|
57 | }
|