1 | .react-Slidy {
|
2 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
3 | backface-visibility: hidden;
|
4 | background: transparent;
|
5 | min-height: 50px;
|
6 | position: relative;
|
7 | user-select: none;
|
8 | }
|
9 | .react-Slidy-arrow {
|
10 | align-items: center;
|
11 | bottom: 0;
|
12 | display: flex;
|
13 | margin: auto 0;
|
14 | opacity: 0;
|
15 | position: absolute;
|
16 | top: 0;
|
17 | transition: opacity 0.3s ease;
|
18 | width: auto;
|
19 | z-index: 1;
|
20 | }
|
21 | .react-Slidy-arrowLeft {
|
22 | left: 0;
|
23 | }
|
24 | .react-Slidy-arrowRight {
|
25 | right: 0;
|
26 | }
|
27 | @media screen and (max-width: 850px) {
|
28 | .react-Slidy-arrow {
|
29 | display: none;
|
30 | }
|
31 | }
|
32 | .react-Slidy-prev, .react-Slidy-next {
|
33 | background: rgba(255, 255, 255, 0.8);
|
34 | cursor: pointer;
|
35 | height: 20%;
|
36 | justify-content: center;
|
37 | min-height: 56px;
|
38 | width: 40px;
|
39 | }
|
40 | .react-Slidy-next {
|
41 | border-radius: 10px 0 0 10px;
|
42 | }
|
43 | .react-Slidy-next::after {
|
44 | margin-right: 6px;
|
45 | transform: rotate(45deg);
|
46 | border-right: 3px solid #aaaaaa;
|
47 | border-top: 3px solid #aaaaaa;
|
48 | content: "";
|
49 | display: inline-block;
|
50 | height: 24px;
|
51 | width: 24px;
|
52 | }
|
53 | .react-Slidy-prev {
|
54 | border-radius: 0 10px 10px 0;
|
55 | }
|
56 | .react-Slidy-prev::after {
|
57 | margin-left: 6px;
|
58 | transform: rotate(-135deg);
|
59 | border-right: 3px solid #aaaaaa;
|
60 | border-top: 3px solid #aaaaaa;
|
61 | content: "";
|
62 | display: inline-block;
|
63 | height: 24px;
|
64 | width: 24px;
|
65 | }
|
66 | .react-Slidy--fullHeight {
|
67 | height: 100%;
|
68 | }
|
69 | .react-Slidy--fullHeight > div li img {
|
70 | height: 100%;
|
71 | }
|
72 | .react-Slidy--fullWidth > div li img {
|
73 | width: 100%;
|
74 | }
|
75 | .react-Slidy--contain li img {
|
76 | object-fit: contain;
|
77 | }
|
78 | .react-Slidy--cover li img {
|
79 | object-fit: cover;
|
80 | }
|
81 | .react-Slidy:hover > .react-Slidy-arrow {
|
82 | opacity: 1;
|
83 | }
|
84 | .react-Slidy:hover > .react-Slidy-arrow[disabled] {
|
85 | opacity: 0.2;
|
86 | }
|
87 | .react-Slidy > div {
|
88 | font-size: 0;
|
89 | max-height: 100%;
|
90 | overflow: hidden;
|
91 | position: relative;
|
92 | white-space: nowrap;
|
93 | width: 100%;
|
94 | }
|
95 | .react-Slidy > div > ul {
|
96 | display: block;
|
97 | list-style: none;
|
98 | padding: 0;
|
99 | transition-property: transform;
|
100 | width: 100%;
|
101 | will-change: transform, transition-timing, transition-duration;
|
102 | }
|
103 | .react-Slidy > div > ul > li {
|
104 | display: inline-block;
|
105 | position: relative;
|
106 | user-select: none;
|
107 | vertical-align: middle;
|
108 | width: 100%;
|
109 | }
|
110 | .react-Slidy > div img {
|
111 | -webkit-backface-visibility: hidden;
|
112 | -webkit-perspective: 1000;
|
113 | display: block;
|
114 | height: auto;
|
115 | margin: 0 auto;
|
116 | max-width: 100%;
|
117 | pointer-events: none;
|
118 | touch-action: none;
|
119 | user-select: none;
|
120 | }
|
121 |
|
122 |
|