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