| 1 |
.htcompare-row { |
| 2 |
display: -webkit-box; |
| 3 |
display: -ms-flexbox; |
| 4 |
display: flex; |
| 5 |
-webkit-box-orient: horizontal; |
| 6 |
-webkit-box-direction: normal; |
| 7 |
-ms-flex-direction: row; |
| 8 |
flex-direction: row; |
| 9 |
-ms-flex-wrap: nowrap; |
| 10 |
flex-wrap: nowrap; |
| 11 |
} |
| 12 |
.htcompare-col { |
| 13 |
display: -webkit-box; |
| 14 |
display: -ms-flexbox; |
| 15 |
display: flex; |
| 16 |
-webkit-box-orient: vertical; |
| 17 |
-webkit-box-direction: normal; |
| 18 |
-ms-flex-direction: column; |
| 19 |
flex-direction: column; |
| 20 |
-webkit-box-pack: center; |
| 21 |
-ms-flex-pack: center; |
| 22 |
justify-content: center; |
| 23 |
padding: 15px; |
| 24 |
word-break: break-word; |
| 25 |
} |
| 26 |
.htcompare-row:nth-child(2n) .htcompare-col { |
| 27 |
background-color: #F7F7F7; |
| 28 |
} |
| 29 |
.htcompare-col { |
| 30 |
border-right: 1px solid #ddd; |
| 31 |
} |
| 32 |
.htcolumn-value { |
| 33 |
-webkit-box-flex: 0; |
| 34 |
-ms-flex: 0 1 26%; |
| 35 |
flex: 0 1 26%; |
| 36 |
-webkit-box-align: center; |
| 37 |
-ms-flex-align: center; |
| 38 |
align-items: center; |
| 39 |
text-align: center; |
| 40 |
} |
| 41 |
.compare-data-primary .htcolumn-value { |
| 42 |
-webkit-box-pack: start; |
| 43 |
-ms-flex-pack: start; |
| 44 |
justify-content: flex-start; |
| 45 |
padding-top: 0; |
| 46 |
border-top: 1px solid #ddd; |
| 47 |
} |
| 48 |
.htcolumn-field-name { |
| 49 |
-webkit-box-flex: 0; |
| 50 |
-ms-flex: 0 0 20%; |
| 51 |
flex: 0 0 20%; |
| 52 |
color: #2d2a2a; |
| 53 |
text-transform: uppercase; |
| 54 |
font-weight: 600; |
| 55 |
font-size: 16px; |
| 56 |
} |
| 57 |
.htcompare-remove{ |
| 58 |
position: relative; |
| 59 |
display: inline-block; |
| 60 |
padding: 10px; |
| 61 |
margin-left: -5px; |
| 62 |
} |
| 63 |
.htcompare-remove:focus{ |
| 64 |
outline: none; |
| 65 |
} |
| 66 |
.htcompare-remove::after, .htcompare-remove::before { |
| 67 |
content: " "; |
| 68 |
position: absolute; |
| 69 |
top: 50%; |
| 70 |
display: inline-block; |
| 71 |
width: 15px; |
| 72 |
height: 2px; |
| 73 |
background-color: #2d2a2a; |
| 74 |
right: 0; |
| 75 |
-webkit-transform: rotate(45deg); |
| 76 |
transform: rotate(45deg); |
| 77 |
} |
| 78 |
.htcompare-remove::after{ |
| 79 |
-webkit-transform: rotate(-45deg); |
| 80 |
transform: rotate(-45deg); |
| 81 |
} |
| 82 |
.htcompare-remove:hover::after,.htcompare-remove:hover::before{ |
| 83 |
background: #EC1E1E; |
| 84 |
} |
| 85 |
.htcompare-product-image{ |
| 86 |
display: block; |
| 87 |
} |
| 88 |
.htcompare-return-to-shop .button{ |
| 89 |
display: inline-block; |
| 90 |
} |
| 91 |
.htcompare-empty-page-text,.htcompare-return-to-shop{ |
| 92 |
text-align: center; |
| 93 |
} |
| 94 |
.htcompare-empty-page-text { |
| 95 |
margin-bottom: 10px; |
| 96 |
} |
| 97 |
|
| 98 |
.htcompare-table{ |
| 99 |
position: relative; |
| 100 |
} |
| 101 |
.htcompare-table.loading:before{ |
| 102 |
position: absolute; |
| 103 |
content:""; |
| 104 |
top: 0; |
| 105 |
right: 0; |
| 106 |
bottom: 0; |
| 107 |
left: 0; |
| 108 |
z-index: 1; |
| 109 |
background-color: rgba(255,255,255,.6); |
| 110 |
} |
| 111 |
.htcompare-table .htcompare-table-loader { |
| 112 |
border: 8px solid #f3f3f3; |
| 113 |
border-radius: 50%; |
| 114 |
border-top: 8px solid #3498db; |
| 115 |
width: 50px; |
| 116 |
height: 50px; |
| 117 |
-webkit-animation: htcomspin 1s linear infinite; |
| 118 |
animation: htcomspin 1s linear infinite; |
| 119 |
position: absolute; |
| 120 |
top: 50%; |
| 121 |
left: 50%; |
| 122 |
z-index: 1; |
| 123 |
transform: translate(-30px, -25px); |
| 124 |
display: none; |
| 125 |
} |
| 126 |
|
| 127 |
.htcompare-table.loading .htcompare-table-loader{ |
| 128 |
display: block; |
| 129 |
} |
| 130 |
|
| 131 |
/* Safari */ |
| 132 |
@-webkit-keyframes htcomspin { |
| 133 |
0% { -webkit-transform: rotate(0deg); } |
| 134 |
100% { -webkit-transform: rotate(360deg); } |
| 135 |
} |
| 136 |
|
| 137 |
@keyframes htcomspin { |
| 138 |
0% { transform: rotate(0deg); } |
| 139 |
100% { transform: rotate(360deg); } |
| 140 |
} |
| 141 |
|
| 142 |
a.htcompare-btn.loading,a.htcompare-cart-button.loading{ |
| 143 |
opacity: .25; |
| 144 |
padding-right: 2.618em; |
| 145 |
position: relative; |
| 146 |
} |
| 147 |
a.htcompare-btn.loading::after,a.htcompare-cart-button.loading::after{ |
| 148 |
font-family: WooCommerce; |
| 149 |
content: '\e01c'; |
| 150 |
vertical-align: top; |
| 151 |
-webkit-font-smoothing: antialiased; |
| 152 |
font-weight: 400; |
| 153 |
position: absolute; |
| 154 |
top: auto; |
| 155 |
right: 1em; |
| 156 |
animation: spin 2s linear infinite; |
| 157 |
} |
| 158 |
a.htcompare-btn.added::after,a.htcompare-cart-button.added::after{ |
| 159 |
font-family: WooCommerce; |
| 160 |
content: '\e017'; |
| 161 |
margin-left: .53em; |
| 162 |
vertical-align: bottom; |
| 163 |
} |
| 164 |
|
| 165 |
.htcompare-popup{ |
| 166 |
display: none; |
| 167 |
position: fixed; |
| 168 |
z-index: 9999; |
| 169 |
top: 0; |
| 170 |
left: 0; |
| 171 |
visibility: hidden; |
| 172 |
overflow: hidden; |
| 173 |
opacity: 0; |
| 174 |
width: 100%; |
| 175 |
height: 100%; |
| 176 |
padding-right: 17px; |
| 177 |
-webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1); |
| 178 |
-o-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1); |
| 179 |
transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1); |
| 180 |
background-color: rgba(0, 0, 0, 0.5); |
| 181 |
|
| 182 |
} |
| 183 |
.htcompare-popup.open{ |
| 184 |
display: -webkit-box; |
| 185 |
display: -webkit-flex; |
| 186 |
display: -ms-flexbox; |
| 187 |
display: flex; |
| 188 |
opacity: 1; |
| 189 |
visibility: visible; |
| 190 |
} |
| 191 |
.htcompare-popup .htcompare-popup-content-area { |
| 192 |
width: calc(100% - 30px); |
| 193 |
max-width: 1500px; |
| 194 |
margin: auto; |
| 195 |
padding: 30px; |
| 196 |
background: #fff; |
| 197 |
position: relative; |
| 198 |
} |
| 199 |
.htcompare-popup .htcompare-popup-content-area .htcompare-table{ |
| 200 |
max-height: 750px; |
| 201 |
overflow-y: auto; |
| 202 |
overflow-x: hidden; |
| 203 |
} |
| 204 |
.htcompare-popup-close { |
| 205 |
position: absolute; |
| 206 |
width: 25px; |
| 207 |
height: 25px; |
| 208 |
background: #fff; |
| 209 |
right: -10px; |
| 210 |
top: -10px; |
| 211 |
border-radius: 100%; |
| 212 |
cursor: pointer; |
| 213 |
} |
| 214 |
.htcompare-popup-close::after, .htcompare-popup-close::before{ |
| 215 |
content: " "; |
| 216 |
position: absolute; |
| 217 |
top: 50%; |
| 218 |
display: inline-block; |
| 219 |
width: 15px; |
| 220 |
height: 2px; |
| 221 |
background-color: #2d2a2a; |
| 222 |
right: 5px; |
| 223 |
-webkit-transform: rotate(45deg); |
| 224 |
transform: rotate(45deg); |
| 225 |
} |
| 226 |
.htcompare-popup-close::after { |
| 227 |
-webkit-transform: rotate(-45deg); |
| 228 |
transform: rotate(-45deg); |
| 229 |
} |
| 230 |
.htcompare-popup-close:hover::after,.htcompare-popup-close:hover::before{ |
| 231 |
background: #EC1E1E; |
| 232 |
} |