| 1 |
/* Hack to disable yellow bg color on filled fields and allow js to listen for it */ |
| 2 |
@-webkit-keyframes onAutoFillStart { 0% { } 100% { } } |
| 3 |
@keyframes onAutoFillStart { 0% { } 100% { } } |
| 4 |
|
| 5 |
input:-webkit-autofill { |
| 6 |
-webkit-animation-name: onAutoFillStart; |
| 7 |
animation-name: onAutoFillStart; |
| 8 |
transition: background-color 50000s ease-in-out 0s; |
| 9 |
} |
| 10 |
|
| 11 |
/* End of hack */ |
| 12 |
|
| 13 |
#post-load, |
| 14 |
#post-delivery-date-text, |
| 15 |
#header-delivery-options-title, |
| 16 |
#post-delivery-option-form, |
| 17 |
#post-location-details, |
| 18 |
.post-message-model, |
| 19 |
.woocommerce form .optional { |
| 20 |
display: none; |
| 21 |
} |
| 22 |
|
| 23 |
.woocommerce-page form .form-row-third { |
| 24 |
float: left; |
| 25 |
width: 16%; |
| 26 |
overflow: visible; |
| 27 |
} |
| 28 |
|
| 29 |
.woocommerce form .form-row-third { |
| 30 |
margin-right: 4%; |
| 31 |
} |
| 32 |
|
| 33 |
.woocommerce form .form-row-third.first { |
| 34 |
width: 60%; |
| 35 |
} |
| 36 |
|
| 37 |
.woocommerce-page form .form-row-third.last { |
| 38 |
margin-right: 0 !important; |
| 39 |
} |
| 40 |
|
| 41 |
@media screen and (max-width: 450px) { |
| 42 |
.woocommerce-page form .form-row-third.first { |
| 43 |
width: 100%; |
| 44 |
} |
| 45 |
|
| 46 |
.woocommerce-page form .form-row-third { |
| 47 |
width: 48%; |
| 48 |
} |
| 49 |
} |
| 50 |
|
| 51 |
#billing_house_number::-webkit-outer-spin-button, |
| 52 |
#billing_house_number::-webkit-inner-spin-button, |
| 53 |
#shipping_house_number::-webkit-outer-spin-button, |
| 54 |
#shipping_house_number::-webkit-inner-spin-button { |
| 55 |
-webkit-appearance: none; |
| 56 |
margin: 0; |
| 57 |
} |
| 58 |
|
| 59 |
#billing_house_number, #shipping_house_number { |
| 60 |
-moz-appearance: textfield; |
| 61 |
} |
| 62 |
|
| 63 |
/* |
| 64 |
* Styling delivery options |
| 65 |
*/ |
| 66 |
.post-time { |
| 67 |
margin-left: 5px; |
| 68 |
} |
| 69 |
|
| 70 |
#post-send-per-carrier { |
| 71 |
font-weight: bold; |
| 72 |
width: 100%; |
| 73 |
background-color: transparent; |
| 74 |
} |
| 75 |
|
| 76 |
#post-delivery-option-form label { |
| 77 |
width: 66%; |
| 78 |
} |
| 79 |
|
| 80 |
#post-select-date { |
| 81 |
width: 100%; |
| 82 |
} |
| 83 |
|
| 84 |
.post-error label { |
| 85 |
display: inline-block; |
| 86 |
width: 50%; |
| 87 |
} |
| 88 |
|
| 89 |
#post-pickup-location-selector li, |
| 90 |
#post-delivery-option-form li { |
| 91 |
list-style-type: none; |
| 92 |
padding: 2px 0 0 0; |
| 93 |
} |
| 94 |
|
| 95 |
#post-pickup-location-selector ul:last-child, |
| 96 |
#post-delivery-option-form ul:last-child { |
| 97 |
margin-top: 10px; |
| 98 |
} |
| 99 |
|
| 100 |
#post-delivery-option-form label { |
| 101 |
display: inline-block; |
| 102 |
width: 80%; |
| 103 |
margin: 0; |
| 104 |
} |
| 105 |
|
| 106 |
#post-error-try-again { |
| 107 |
margin-top: 18px; |
| 108 |
} |
| 109 |
|
| 110 |
#post-delivery-selectors-be div { |
| 111 |
display: block; |
| 112 |
margin-top: 20px; |
| 113 |
} |
| 114 |
|
| 115 |
#post-delivery-selector li { |
| 116 |
margin: 15px 0 0; |
| 117 |
display: inline-block; |
| 118 |
width: 100%; |
| 119 |
padding: 5px 0 2px 0; |
| 120 |
} |
| 121 |
|
| 122 |
.post-help { |
| 123 |
color: black; |
| 124 |
text-decoration: none; |
| 125 |
} |
| 126 |
|
| 127 |
#post-shop-mock { |
| 128 |
margin-top: 500px; |
| 129 |
background-color: #ccc; |
| 130 |
width: 100%; |
| 131 |
margin-bottom: 25px; |
| 132 |
} |
| 133 |
|
| 134 |
.post-full-width { |
| 135 |
display: inline-block; |
| 136 |
width: 100%; |
| 137 |
margin-bottom: 1px; |
| 138 |
padding-bottom: 2px; |
| 139 |
} |
| 140 |
|
| 141 |
#post-pickup-location-selector li:nth-last-of-type(-n+2) { |
| 142 |
margin-left: 30px; |
| 143 |
} |
| 144 |
|
| 145 |
#post-pickup-location { |
| 146 |
width: calc(100% - 25px); |
| 147 |
} |
| 148 |
|
| 149 |
#post-location-details { |
| 150 |
padding: 20px; |
| 151 |
border: 1px solid black; |
| 152 |
border-radius: 3px; |
| 153 |
min-width: 300px; |
| 154 |
max-width: 400px; |
| 155 |
margin: 5px; |
| 156 |
background-color: white; |
| 157 |
} |
| 158 |
|
| 159 |
.post-pickup-location-details-location, |
| 160 |
.post-pickup-location-details-phone, |
| 161 |
.post-pickup-location-details-city, |
| 162 |
.post-pickup-location-details-time { |
| 163 |
margin-bottom: 5px; |
| 164 |
display: inline-block; |
| 165 |
width: 65%; |
| 166 |
float: left; |
| 167 |
} |
| 168 |
|
| 169 |
.post-openings-title { |
| 170 |
width: 200px; |
| 171 |
height: auto; |
| 172 |
} |
| 173 |
|
| 174 |
.post-pickup-location-details-day { |
| 175 |
display: inline-block; |
| 176 |
width: 30%; |
| 177 |
} |
| 178 |
|
| 179 |
.post-extra-delivery-options-padding-top { |
| 180 |
padding-top: 10px; |
| 181 |
} |
| 182 |
|
| 183 |
.post-fa-clock { |
| 184 |
width: 16px; |
| 185 |
margin-bottom: -3px; |
| 186 |
} |
| 187 |
|
| 188 |
.post-fa-times { |
| 189 |
width: 16px; |
| 190 |
float: right; |
| 191 |
} |
| 192 |
|
| 193 |
.post-delivery-option-table { |
| 194 |
width: 100%; |
| 195 |
} |
| 196 |
|
| 197 |
.post-delivery-option-table tr td:first-child { |
| 198 |
white-space: nowrap; |
| 199 |
width: 20px; |
| 200 |
} |
| 201 |
|
| 202 |
.post-delivery-option input { |
| 203 |
width: 20px; |
| 204 |
} |
| 205 |
|
| 206 |
.post-delivery-option-table tr td:last-child { |
| 207 |
white-space: nowrap; |
| 208 |
vertical-align: top; |
| 209 |
} |
| 210 |
|
| 211 |
.post-postnl-logo { |
| 212 |
width: 100px; |
| 213 |
float: right; |
| 214 |
margin: 45px 8px 0 0; |
| 215 |
} |
| 216 |
|
| 217 |
.post-message-model { |
| 218 |
padding: 20px 0 20px 20px; |
| 219 |
border: 1px solid black; |
| 220 |
border-radius: 3px; |
| 221 |
min-width: 300px; |
| 222 |
background-color: white; |
| 223 |
} |
| 224 |
|
| 225 |
#post-list-postnl-pickup option { |
| 226 |
padding: 5px 0 5px 0; |
| 227 |
} |
| 228 |
|
| 229 |
.post-bold-price { |
| 230 |
font-weight: bold; |
| 231 |
} |
| 232 |
|
| 233 |
.colorGreen{ |
| 234 |
color: green; |
| 235 |
} |
| 236 |
|
| 237 |
#post-spinner-model { |
| 238 |
position: relative; |
| 239 |
display: table; |
| 240 |
margin: auto auto; |
| 241 |
} |
| 242 |
|
| 243 |
#post-spinner-model svg { |
| 244 |
position: absolute; |
| 245 |
top: 19%; |
| 246 |
left: 22%; |
| 247 |
width: 62%; |
| 248 |
} |
| 249 |
|
| 250 |
#post-spinner { |
| 251 |
position: relative; |
| 252 |
display: inline-block; |
| 253 |
width: 90px; |
| 254 |
height: 90px; |
| 255 |
border-top: 3px solid #ff8c00; |
| 256 |
border-radius: 100%; |
| 257 |
animation: post-spin 1.2s linear infinite; |
| 258 |
} |
| 259 |
|
| 260 |
@keyframes post-spin { |
| 261 |
0% { |
| 262 |
transform: rotate(0deg); |
| 263 |
} |
| 264 |
100% { |
| 265 |
transform: rotate(360deg); |
| 266 |
} |
| 267 |
} |
| 268 |
|
| 269 |
@media only screen and (max-width: 400px) { |
| 270 |
.post-delivery-option-table tr { |
| 271 |
height: 30px !important; |
| 272 |
} |
| 273 |
|
| 274 |
.post-postnl-logo { |
| 275 |
float: none; |
| 276 |
margin: 0 100% 0 0; |
| 277 |
|
| 278 |
} |
| 279 |
|
| 280 |
.post-extra-delivery-options-padding-top { |
| 281 |
padding: 15px 0 10px 0; |
| 282 |
} |
| 283 |
|
| 284 |
.post-pickup-location-details-location, .post-pickup-location-details-phone, .post-pickup-location-details-city, .post-pickup-location-details-time { |
| 285 |
width: 90%; |
| 286 |
} |
| 287 |
} |