PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 1.7
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v1.7
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 1.9.12 All 59 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.7, at assets/css/carousel.css

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