| 1 |
/** |
| 2 |
* Merchant Pagination |
| 3 |
* |
| 4 |
*/ |
| 5 |
/** |
| 6 |
* Animations. |
| 7 |
* |
| 8 |
*/ |
| 9 |
.mrc-animated { |
| 10 |
opacity: 0; |
| 11 |
} |
| 12 |
|
| 13 |
.mrc-anim-infinite { |
| 14 |
-webkit-animation-iteration-count: infinite; |
| 15 |
animation-iteration-count: infinite; |
| 16 |
} |
| 17 |
|
| 18 |
.mrc-anim-fowards { |
| 19 |
-webkit-animation-fill-mode: forwards; |
| 20 |
animation-fill-mode: forwards; |
| 21 |
} |
| 22 |
|
| 23 |
.mrc-anim-timing-linear { |
| 24 |
-webkit-animation-timing-function: linear; |
| 25 |
animation-timing-function: linear; |
| 26 |
} |
| 27 |
|
| 28 |
.mrc-anim-duration-300ms { |
| 29 |
-webkit-animation-duration: 600ms; |
| 30 |
animation-duration: 600ms; |
| 31 |
} |
| 32 |
|
| 33 |
@-webkit-keyframes rotateAnim { |
| 34 |
from { |
| 35 |
-webkit-transform: rotate(0deg); |
| 36 |
transform: rotate(0deg); |
| 37 |
} |
| 38 |
to { |
| 39 |
-webkit-transform: rotate(360deg); |
| 40 |
transform: rotate(360deg); |
| 41 |
} |
| 42 |
} |
| 43 |
|
| 44 |
@keyframes rotateAnim { |
| 45 |
from { |
| 46 |
-webkit-transform: rotate(0deg); |
| 47 |
transform: rotate(0deg); |
| 48 |
} |
| 49 |
to { |
| 50 |
-webkit-transform: rotate(360deg); |
| 51 |
transform: rotate(360deg); |
| 52 |
} |
| 53 |
} |
| 54 |
.mrcPagRotateAnim { |
| 55 |
-webkit-animation: rotateAnim 1.5s linear infinite; |
| 56 |
animation: rotateAnim 1.5s linear infinite; |
| 57 |
} |
| 58 |
|
| 59 |
@-webkit-keyframes mrcPagFadeInShort { |
| 60 |
0% { |
| 61 |
opacity: 0; |
| 62 |
-webkit-transform: translate3d(0, 20px, 0); |
| 63 |
transform: translate3d(0, 20px, 0); |
| 64 |
} |
| 65 |
100% { |
| 66 |
opacity: 1; |
| 67 |
-webkit-transform: none; |
| 68 |
transform: none; |
| 69 |
} |
| 70 |
} |
| 71 |
|
| 72 |
@keyframes mrcPagFadeInShort { |
| 73 |
0% { |
| 74 |
opacity: 0; |
| 75 |
-webkit-transform: translate3d(0, 20px, 0); |
| 76 |
transform: translate3d(0, 20px, 0); |
| 77 |
} |
| 78 |
100% { |
| 79 |
opacity: 1; |
| 80 |
-webkit-transform: none; |
| 81 |
transform: none; |
| 82 |
} |
| 83 |
} |
| 84 |
.mrcPagFadeInShort { |
| 85 |
-webkit-animation-name: mrcPagFadeInShort; |
| 86 |
animation-name: mrcPagFadeInShort; |
| 87 |
} |
| 88 |
|
| 89 |
.merchant-pagination ul { |
| 90 |
border: none !important; |
| 91 |
} |
| 92 |
.merchant-pagination ul li { |
| 93 |
border: none !important; |
| 94 |
margin: 0 !important; |
| 95 |
list-style: none !important; |
| 96 |
} |
| 97 |
.merchant-pagination ul li + li { |
| 98 |
margin-left: 5px; |
| 99 |
} |
| 100 |
.merchant-pagination ul li .page-numbers { |
| 101 |
display: -webkit-box !important; |
| 102 |
display: -ms-flexbox !important; |
| 103 |
display: flex !important; |
| 104 |
-webkit-box-pack: center !important; |
| 105 |
-ms-flex-pack: center !important; |
| 106 |
justify-content: center !important; |
| 107 |
-webkit-box-align: center !important; |
| 108 |
-ms-flex-align: center !important; |
| 109 |
align-items: center !important; |
| 110 |
width: 35px !important; |
| 111 |
height: 35px !important; |
| 112 |
text-decoration: none !important; |
| 113 |
} |
| 114 |
.merchant-pagination ul li .page-numbers.next:before, .merchant-pagination ul li .page-numbers.next:after, .merchant-pagination ul li .page-numbers.prev:before, .merchant-pagination ul li .page-numbers.prev:after { |
| 115 |
content: none !important; |
| 116 |
} |
| 117 |
|
| 118 |
.merchant-pagination-load-more .navigation.pagination, |
| 119 |
.merchant-pagination-load-more .woocommerce-pagination { |
| 120 |
display: none; |
| 121 |
} |
| 122 |
|
| 123 |
.merchant-pagination-wrapper { |
| 124 |
text-align: center; |
| 125 |
margin-top: 60px; |
| 126 |
} |
| 127 |
|
| 128 |
.merchant-pagination-button { |
| 129 |
position: relative; |
| 130 |
display: -webkit-inline-box !important; |
| 131 |
display: -ms-inline-flexbox !important; |
| 132 |
display: inline-flex !important; |
| 133 |
-webkit-box-align: center; |
| 134 |
-ms-flex-align: center; |
| 135 |
align-items: center; |
| 136 |
} |
| 137 |
.merchant-pagination-button .merchant-pagination-button__label { |
| 138 |
display: inline-block; |
| 139 |
font-size: 0.9em; |
| 140 |
text-transform: uppercase; |
| 141 |
letter-spacing: 1.5px; |
| 142 |
-webkit-transition: ease all 300ms; |
| 143 |
transition: ease all 300ms; |
| 144 |
} |
| 145 |
.merchant-pagination-button .merchant-pagination-button__loader { |
| 146 |
position: absolute; |
| 147 |
top: 50%; |
| 148 |
left: 50%; |
| 149 |
-webkit-transform: translate3d(-50%, -50%, 0); |
| 150 |
transform: translate3d(-50%, -50%, 0); |
| 151 |
} |
| 152 |
.merchant-pagination-button svg { |
| 153 |
opacity: 0; |
| 154 |
-webkit-animation-name: rotateAnim; |
| 155 |
animation-name: rotateAnim; |
| 156 |
-webkit-animation-duration: 1.5s; |
| 157 |
animation-duration: 1.5s; |
| 158 |
-webkit-animation-timing-function: linear; |
| 159 |
animation-timing-function: linear; |
| 160 |
-webkit-animation-iteration-count: infinite; |
| 161 |
animation-iteration-count: infinite; |
| 162 |
-webkit-transition: ease all 300ms; |
| 163 |
transition: ease all 300ms; |
| 164 |
} |
| 165 |
.merchant-pagination-button.loading .merchant-pagination-button__label, .merchant-pagination-button.loading-anim .merchant-pagination-button__label { |
| 166 |
opacity: 0; |
| 167 |
visibility: hidden; |
| 168 |
} |
| 169 |
.merchant-pagination-button.loading svg, .merchant-pagination-button.loading-anim svg { |
| 170 |
display: block; |
| 171 |
opacity: 0.7; |
| 172 |
max-width: 17px; |
| 173 |
} |
| 174 |
.merchant-pagination-button.loading-anim .merchant-pagination-button__label { |
| 175 |
display: none; |
| 176 |
} |