PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 1.6
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v1.6
2.3.2 2.3.1 2.3.0 2.2.8 2.2.7 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.11.1 1.11.2 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.10 1.9.11 All 60 releases
merchant / assets / css / carousel.css

carousel.css in Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant 1.6, at assets/css/carousel.css

176 lines 5.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Merchant Carousel
3 *
4 */
5 .merchant-carousel {
6 --mrc-carousel-nav-icon-color: #FFF;
7 --mrc-carousel-nav-color: #212121;
8 --mrc-carousel-nav-color-hover: #757575;
9 }
10
11 .merchant-carousel .merchant-carousel-wrapper {
12 position: relative;
13 }
14
15 .merchant-carousel .merchant-carousel-wrapper .products,
16 .merchant-carousel .merchant-carousel-wrapper .merchant-carousel-stage {
17 display: block !important;
18 margin: 0;
19 opacity: 0;
20 visibility: hidden;
21 -webkit-transition: ease opacity 300ms 300ms;
22 transition: ease opacity 300ms 300ms;
23 }
24
25 .merchant-carousel .merchant-carousel-wrapper .products.row:not(.products),
26 .merchant-carousel .merchant-carousel-wrapper .merchant-carousel-stage.row:not(.products) {
27 display: block;
28 }
29
30 .merchant-carousel .merchant-carousel-wrapper .products.show,
31 .merchant-carousel .merchant-carousel-wrapper .merchant-carousel-stage.show {
32 opacity: 1;
33 visibility: visible;
34 }
35
36 .merchant-carousel .merchant-carousel-wrapper .products > div,
37 .merchant-carousel .merchant-carousel-wrapper .merchant-carousel-stage > div {
38 display: -webkit-box;
39 display: -ms-flexbox;
40 display: flex;
41 }
42
43 .merchant-carousel .merchant-carousel-wrapper .products > div > div > .product,
44 .merchant-carousel .merchant-carousel-wrapper .products > div > div > div[class*="col-"],
45 .merchant-carousel .merchant-carousel-wrapper .merchant-carousel-stage > div > div > .product,
46 .merchant-carousel .merchant-carousel-wrapper .merchant-carousel-stage > div > div > div[class*="col-"] {
47 width: 100% !important;
48 max-width: none !important;
49 margin: 0 !important;
50 padding: 0 !important;
51 }
52
53 .merchant-carousel .merchant-carousel-wrapper .merchant-carousel-nav-next {
54 position: absolute;
55 top: -40px;
56 right: 0;
57 width: 21px;
58 height: 21px;
59 border-radius: 100%;
60 z-index: 1;
61 }
62
63 .merchant-carousel .merchant-carousel-wrapper .merchant-carousel-nav-prev {
64 position: absolute;
65 top: -40px;
66 right: 30px;
67 width: 21px;
68 height: 21px;
69 border-radius: 100%;
70 z-index: 1;
71 }
72
73 .merchant-carousel.no-nav .merchant-carousel-stage {
74 display: -webkit-box !important;
75 display: -ms-flexbox !important;
76 display: flex !important;
77 -ms-flex-wrap: wrap;
78 flex-wrap: wrap;
79 margin: calc(-1 * var(--merchant-rvp-columns-gap, 15px)) 0 0 calc(-1 * var(--merchant-rvp-columns-gap, 15px)) !important;
80 width: calc(100% + var(--merchant-rvp-columns-gap, 15px)) !important;
81 -webkit-column-gap: 0 !important;
82 -moz-column-gap: 0 !important;
83 column-gap: 0 !important;
84 }
85
86 .merchant-carousel.no-nav .merchant-carousel-stage > li.product {
87 margin: var(--merchant-rvp-columns-gap, 15px) 0 0 var(--merchant-rvp-columns-gap, 15px) !important;
88 }
89
90 .merchant-carousel.merchant-carousel-nav2 .merchant-carousel-nav-next,
91 .merchant-carousel.merchant-carousel-nav2 .merchant-carousel-nav-prev {
92 display: -webkit-box;
93 display: -ms-flexbox;
94 display: flex;
95 -webkit-box-align: center;
96 -ms-flex-align: center;
97 align-items: center;
98 -webkit-box-pack: center;
99 -ms-flex-pack: center;
100 justify-content: center;
101 top: 50%;
102 right: 15px;
103 background: var(--mrc-carousel-nav-color);
104 width: 35px;
105 height: 35px;
106 opacity: 0;
107 visibility: hidden;
108 -webkit-transform: translate3d(20px, -210%, 0);
109 transform: translate3d(20px, -210%, 0);
110 -webkit-transition: ease transform 300ms, ease opacity 300ms;
111 transition: ease transform 300ms, ease opacity 300ms;
112 }
113
114 .merchant-carousel.merchant-carousel-nav2 .merchant-carousel-nav-next svg,
115 .merchant-carousel.merchant-carousel-nav2 .merchant-carousel-nav-prev svg {
116 width: 14px;
117 height: 14px;
118 }
119
120 .merchant-carousel.merchant-carousel-nav2 .merchant-carousel-nav-next svg path,
121 .merchant-carousel.merchant-carousel-nav2 .merchant-carousel-nav-prev svg path {
122 stroke: var(--mrc-carousel-nav-icon-color);
123 }
124
125 .merchant-carousel.merchant-carousel-nav2 .merchant-carousel-nav-next:hover,
126 .merchant-carousel.merchant-carousel-nav2 .merchant-carousel-nav-prev:hover {
127 background: var(--mrc-carousel-nav-color-hover);
128 }
129
130 .merchant-carousel.merchant-carousel-nav2 .merchant-carousel-nav-prev {
131 right: auto;
132 left: 15px;
133 -webkit-transform: translate3d(-20px, -210%, 0);
134 transform: translate3d(-20px, -210%, 0);
135 }
136
137 .merchant-carousel.merchant-carousel-nav2:hover .merchant-carousel-nav-next,
138 .merchant-carousel.merchant-carousel-nav2:hover .merchant-carousel-nav-prev, .merchant-carousel.merchant-carousel-nav2.merchant-carousel-nav2-always-show .merchant-carousel-nav-next,
139 .merchant-carousel.merchant-carousel-nav2.merchant-carousel-nav2-always-show .merchant-carousel-nav-prev {
140 opacity: 1;
141 visibility: visible;
142 -webkit-transform: translate3d(0, -210%, 0);
143 transform: translate3d(0, -210%, 0);
144 }
145
146 @media (max-width: 991px) {
147 .merchant-carousel.merchant-carousel-nav2 .merchant-carousel-nav-next,
148 .merchant-carousel.merchant-carousel-nav2 .merchant-carousel-nav-prev {
149 opacity: 1;
150 visibility: visible;
151 -webkit-transform: translate3d(0, -210%, 0);
152 transform: translate3d(0, -210%, 0);
153 }
154 }
155
156 @media (max-width: 575px) {
157 .merchant-carousel {
158 padding-left: 15px;
159 padding-right: 15px;
160 }
161 .merchant-carousel:not(.merchant-carousel-nav2) .merchant-carousel-wrapper .merchant-carousel-nav-next {
162 top: auto;
163 bottom: 0;
164 right: 45%;
165 -webkit-transform: translate3d(50%, 0, 0);
166 transform: translate3d(50%, 0, 0);
167 }
168 .merchant-carousel:not(.merchant-carousel-nav2) .merchant-carousel-wrapper .merchant-carousel-nav-prev {
169 top: auto;
170 bottom: 0;
171 right: 55%;
172 -webkit-transform: translate3d(50%, 0, 0);
173 transform: translate3d(50%, 0, 0);
174 }
175 }
176