| 1 |
@-webkit-keyframes spin { |
| 2 |
100% { |
| 3 |
-webkit-transform: rotate(360deg); |
| 4 |
transform: rotate(360deg); |
| 5 |
} |
| 6 |
} |
| 7 |
|
| 8 |
@keyframes spin { |
| 9 |
100% { |
| 10 |
-webkit-transform: rotate(360deg); |
| 11 |
transform: rotate(360deg); |
| 12 |
} |
| 13 |
} |
| 14 |
|
| 15 |
/* Elements */ |
| 16 |
.orderable-main__group { |
| 17 |
margin: 0 0 36px; |
| 18 |
} |
| 19 |
|
| 20 |
/* Modifiers */ |
| 21 |
.orderable-main--sections-tabs .orderable-main__group { |
| 22 |
display: none; |
| 23 |
} |
| 24 |
|
| 25 |
.orderable-main--sections-tabs .orderable-main__group:first-of-type { |
| 26 |
display: block; |
| 27 |
} |
| 28 |
|
| 29 |
.orderable-main--sections-side_tabs { |
| 30 |
display: -webkit-box; |
| 31 |
display: -ms-flexbox; |
| 32 |
display: flex; |
| 33 |
} |
| 34 |
|
| 35 |
.orderable-main--sections-side_tabs .orderable-main__tabs { |
| 36 |
margin: 0 24px 0 0 !important; |
| 37 |
} |
| 38 |
|
| 39 |
.orderable-main--sections-side_tabs .orderable-main__sections { |
| 40 |
-webkit-box-flex: 1; |
| 41 |
-ms-flex: 1; |
| 42 |
flex: 1; |
| 43 |
} |
| 44 |
|
| 45 |
/* Block */ |
| 46 |
.orderable-products-list { |
| 47 |
margin-bottom: 12px; |
| 48 |
-webkit-box-sizing: border-box; |
| 49 |
box-sizing: border-box; |
| 50 |
} |
| 51 |
|
| 52 |
.orderable-products-list * { |
| 53 |
-webkit-box-sizing: border-box; |
| 54 |
box-sizing: border-box; |
| 55 |
} |
| 56 |
|
| 57 |
.orderable-products-list:last-child { |
| 58 |
margin-bottom: 0; |
| 59 |
} |
| 60 |
|
| 61 |
@media screen and (min-width: 480px) { |
| 62 |
.orderable-products-list .orderable-product { |
| 63 |
display: -webkit-box; |
| 64 |
display: -ms-flexbox; |
| 65 |
display: flex; |
| 66 |
-webkit-box-flex: 0; |
| 67 |
-ms-flex: 0 0 200px; |
| 68 |
flex: 0 0 200px; |
| 69 |
} |
| 70 |
} |
| 71 |
|
| 72 |
@media screen and (min-width: 480px) { |
| 73 |
.orderable-products-list .orderable-product__hero { |
| 74 |
width: 200px; |
| 75 |
} |
| 76 |
} |
| 77 |
|
| 78 |
@media screen and (min-width: 480px) { |
| 79 |
.orderable-products-list .orderable-product__image { |
| 80 |
-o-object-fit: cover; |
| 81 |
object-fit: cover; |
| 82 |
width: 100% !important; |
| 83 |
height: 100% !important; |
| 84 |
} |
| 85 |
} |
| 86 |
|
| 87 |
@media screen and (min-width: 480px) { |
| 88 |
.orderable-products-list .orderable-product__content-wrap { |
| 89 |
-webkit-box-flex: 1; |
| 90 |
-ms-flex: 1; |
| 91 |
flex: 1; |
| 92 |
display: -webkit-box; |
| 93 |
display: -ms-flexbox; |
| 94 |
display: flex; |
| 95 |
-webkit-box-orient: vertical; |
| 96 |
-webkit-box-direction: normal; |
| 97 |
-ms-flex-flow: column nowrap; |
| 98 |
flex-flow: column nowrap; |
| 99 |
} |
| 100 |
} |
| 101 |
|
| 102 |
.orderable-products-list .orderable-product__actions { |
| 103 |
padding: 12px; |
| 104 |
margin-top: auto; |
| 105 |
} |
| 106 |
|
| 107 |
/* Elements */ |
| 108 |
.orderable-products-list__item { |
| 109 |
width: 100%; |
| 110 |
margin: 0 0 24px; |
| 111 |
} |
| 112 |
|
| 113 |
.orderable-products-list__item .orderable-product { |
| 114 |
height: 100%; |
| 115 |
width: 100%; |
| 116 |
-webkit-box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1), 0 3px 4px -1px rgba(0, 0, 0, 0.05); |
| 117 |
box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1), 0 3px 4px -1px rgba(0, 0, 0, 0.05); |
| 118 |
border-radius: 6px; |
| 119 |
} |
| 120 |
|
| 121 |
/* Modifiers */ |
| 122 |
@media screen and (min-width: 540px) { |
| 123 |
.orderable-products-list--grid { |
| 124 |
display: -webkit-box; |
| 125 |
display: -ms-flexbox; |
| 126 |
display: flex; |
| 127 |
-webkit-box-pack: start; |
| 128 |
-ms-flex-pack: start; |
| 129 |
justify-content: flex-start; |
| 130 |
-ms-flex-wrap: wrap; |
| 131 |
flex-wrap: wrap; |
| 132 |
margin-left: -12px; |
| 133 |
margin-right: -12px; |
| 134 |
} |
| 135 |
} |
| 136 |
|
| 137 |
@media screen and (min-width: 768px) { |
| 138 |
.orderable-products-list--grid .orderable-products-list__item { |
| 139 |
margin: 0 0 24px; |
| 140 |
padding: 0 12px; |
| 141 |
width: 50%; |
| 142 |
} |
| 143 |
} |
| 144 |
|
| 145 |
@media screen and (min-width: 1120px) { |
| 146 |
.orderable-products-list--grid .orderable-products-list__item { |
| 147 |
width: 33.33%; |
| 148 |
} |
| 149 |
} |
| 150 |
|
| 151 |
@media screen and (min-width: 768px) { |
| 152 |
.orderable-products-list--grid .orderable-product { |
| 153 |
padding: 0 0 64px; |
| 154 |
display: block; |
| 155 |
margin: 0; |
| 156 |
-webkit-box-flex: 0; |
| 157 |
-ms-flex: none; |
| 158 |
flex: none; |
| 159 |
} |
| 160 |
} |
| 161 |
|
| 162 |
@media screen and (min-width: 768px) { |
| 163 |
.orderable-products-list--grid .orderable-product__hero { |
| 164 |
width: auto; |
| 165 |
} |
| 166 |
.orderable-products-list--grid .orderable-product__hero img { |
| 167 |
-o-object-fit: fill; |
| 168 |
object-fit: fill; |
| 169 |
width: 100%; |
| 170 |
height: auto; |
| 171 |
} |
| 172 |
} |
| 173 |
|
| 174 |
@media screen and (min-width: 768px) { |
| 175 |
.orderable-products-list--grid .orderable-product__content-wrap { |
| 176 |
-webkit-box-flex: 0; |
| 177 |
-ms-flex: none; |
| 178 |
flex: none; |
| 179 |
display: block; |
| 180 |
} |
| 181 |
} |
| 182 |
|
| 183 |
@media screen and (min-width: 768px) { |
| 184 |
.orderable-products-list--grid .orderable-product__actions { |
| 185 |
padding: 0; |
| 186 |
margin-top: 0; |
| 187 |
position: absolute; |
| 188 |
bottom: 12px; |
| 189 |
left: 12px; |
| 190 |
right: 12px; |
| 191 |
} |
| 192 |
} |
| 193 |
|
| 194 |
/* Block */ |
| 195 |
.orderable-product { |
| 196 |
overflow: hidden; |
| 197 |
position: relative; |
| 198 |
} |
| 199 |
|
| 200 |
/* Elements */ |
| 201 |
.orderable-product__hero { |
| 202 |
position: relative; |
| 203 |
} |
| 204 |
|
| 205 |
.orderable-product__image { |
| 206 |
border-radius: 0; |
| 207 |
margin: 0; |
| 208 |
display: block; |
| 209 |
width: 100%; |
| 210 |
height: auto !important; |
| 211 |
max-width: none !important; |
| 212 |
} |
| 213 |
|
| 214 |
.orderable-product__content { |
| 215 |
padding: 12px; |
| 216 |
} |
| 217 |
|
| 218 |
.orderable-product__content :last-child { |
| 219 |
margin-bottom: 0; |
| 220 |
} |
| 221 |
|
| 222 |
.orderable-product__title { |
| 223 |
margin: 0 0 12px !important; |
| 224 |
} |
| 225 |
|
| 226 |
.orderable-product__description { |
| 227 |
margin: 0; |
| 228 |
} |
| 229 |
|
| 230 |
.orderable-product__tags { |
| 231 |
overflow: hidden; |
| 232 |
margin: 0; |
| 233 |
padding: 0; |
| 234 |
list-style: none none outside; |
| 235 |
} |
| 236 |
|
| 237 |
img + .orderable-product__tags { |
| 238 |
position: absolute; |
| 239 |
bottom: 0; |
| 240 |
left: 0; |
| 241 |
padding: 12px; |
| 242 |
z-index: 20; |
| 243 |
} |
| 244 |
|
| 245 |
.orderable-product__tags li { |
| 246 |
margin: 6px 0 0 0; |
| 247 |
} |
| 248 |
|
| 249 |
.orderable-product__options { |
| 250 |
margin: 12px 0 24px; |
| 251 |
padding: 0; |
| 252 |
border-radius: 4px; |
| 253 |
} |
| 254 |
|
| 255 |
.orderable-product__options:last-child { |
| 256 |
margin-bottom: 0; |
| 257 |
} |
| 258 |
|
| 259 |
.orderable-product__options th, .orderable-product__options td { |
| 260 |
background-color: transparent !important; |
| 261 |
padding: 0 12px 12px 0; |
| 262 |
vertical-align: middle; |
| 263 |
text-align: left; |
| 264 |
} |
| 265 |
|
| 266 |
.orderable-product__options th:last-child, .orderable-product__options td:last-child { |
| 267 |
padding-right: 0; |
| 268 |
} |
| 269 |
|
| 270 |
.orderable-product__options tr:last-child th, .orderable-product__options tr:last-child td { |
| 271 |
padding-bottom: 0; |
| 272 |
} |
| 273 |
|
| 274 |
.orderable-product__actions { |
| 275 |
overflow: hidden; |
| 276 |
display: -webkit-box; |
| 277 |
display: -ms-flexbox; |
| 278 |
display: flex; |
| 279 |
-webkit-box-align: center; |
| 280 |
-ms-flex-align: center; |
| 281 |
align-items: center; |
| 282 |
} |
| 283 |
|
| 284 |
.orderable-product__actions:last-child { |
| 285 |
margin-bottom: 0; |
| 286 |
} |
| 287 |
|
| 288 |
.orderable-product__actions-price { |
| 289 |
line-height: 1.2; |
| 290 |
margin: 0 4px 0 0; |
| 291 |
} |
| 292 |
|
| 293 |
.orderable-product__actions-price .amount { |
| 294 |
line-height: 1.2; |
| 295 |
white-space: nowrap; |
| 296 |
margin: 0 6px 0 0; |
| 297 |
font-weight: bold; |
| 298 |
color: #000; |
| 299 |
font-size: 140%; |
| 300 |
} |
| 301 |
|
| 302 |
.orderable-product__actions-button { |
| 303 |
margin: 0 0 0 auto; |
| 304 |
} |
| 305 |
|
| 306 |
/* Modifiers */ |
| 307 |
.orderable-product--options { |
| 308 |
overflow: visible; |
| 309 |
margin-bottom: 24px; |
| 310 |
} |
| 311 |
|
| 312 |
.orderable-product__hero--title { |
| 313 |
overflow: hidden; |
| 314 |
padding: 32px 24px 24px; |
| 315 |
margin: -24px -24px 24px; |
| 316 |
} |
| 317 |
|
| 318 |
.orderable-product__hero--title:before { |
| 319 |
background: #fff; |
| 320 |
top: auto; |
| 321 |
left: -10px; |
| 322 |
right: -10px; |
| 323 |
bottom: -10px; |
| 324 |
position: absolute; |
| 325 |
height: 24px; |
| 326 |
z-index: 5; |
| 327 |
-webkit-transform: rotate(-1.5deg); |
| 328 |
transform: rotate(-1.5deg); |
| 329 |
} |
| 330 |
|
| 331 |
.orderable-product__hero--title:after { |
| 332 |
content: ""; |
| 333 |
position: absolute; |
| 334 |
top: 0; |
| 335 |
left: 0; |
| 336 |
right: 0; |
| 337 |
bottom: 0; |
| 338 |
background: -webkit-gradient(linear, left bottom, left top, from(rgba(24, 33, 37, 0.8)), to(rgba(24, 33, 37, 0.3))); |
| 339 |
background: linear-gradient(0deg, rgba(24, 33, 37, 0.8), rgba(24, 33, 37, 0.3)); |
| 340 |
z-index: 1; |
| 341 |
mix-blend-mode: multiply; |
| 342 |
} |
| 343 |
|
| 344 |
.orderable-product__hero--title .orderable-product__image { |
| 345 |
-o-object-fit: cover; |
| 346 |
object-fit: cover; |
| 347 |
position: absolute; |
| 348 |
z-index: -1; |
| 349 |
width: 100%; |
| 350 |
height: 100% !important; |
| 351 |
left: 0; |
| 352 |
top: 0; |
| 353 |
} |
| 354 |
|
| 355 |
.orderable-product__hero--title .orderable-product__title { |
| 356 |
color: #fff; |
| 357 |
margin: 0 !important; |
| 358 |
position: relative; |
| 359 |
z-index: 10; |
| 360 |
} |
| 361 |
|
| 362 |
/* Block. */ |
| 363 |
.orderable-button { |
| 364 |
display: inline-block; |
| 365 |
border: 2px solid #000; |
| 366 |
background: none !important; |
| 367 |
padding: 0 24px; |
| 368 |
height: 40px; |
| 369 |
line-height: 36px; |
| 370 |
white-space: nowrap; |
| 371 |
border-radius: 20px; |
| 372 |
color: #000; |
| 373 |
text-transform: none; |
| 374 |
margin: 0; |
| 375 |
-webkit-transition: padding 150ms ease-out; |
| 376 |
transition: padding 150ms ease-out; |
| 377 |
} |
| 378 |
|
| 379 |
.orderable-button:active, .orderable-button:focus { |
| 380 |
outline: none; |
| 381 |
} |
| 382 |
|
| 383 |
.orderable-button:active, .orderable-button:focus, .orderable-button:hover { |
| 384 |
border-color: #000; |
| 385 |
background: #000 !important; |
| 386 |
color: #fff; |
| 387 |
text-decoration: none; |
| 388 |
} |
| 389 |
|
| 390 |
/* Modifiers */ |
| 391 |
.orderable-button--filled { |
| 392 |
background: #000 !important; |
| 393 |
color: #fff; |
| 394 |
} |
| 395 |
|
| 396 |
.orderable-button--filled:hover { |
| 397 |
background: #000 !important; |
| 398 |
color: #fff; |
| 399 |
} |
| 400 |
|
| 401 |
.orderable-button--full { |
| 402 |
width: 100%; |
| 403 |
} |
| 404 |
|
| 405 |
.orderable-button--loading { |
| 406 |
position: relative; |
| 407 |
padding-right: 48px; |
| 408 |
} |
| 409 |
|
| 410 |
.orderable-button--loading:after { |
| 411 |
content: ''; |
| 412 |
display: block; |
| 413 |
width: 16px; |
| 414 |
height: 16px; |
| 415 |
position: absolute; |
| 416 |
top: 10px; |
| 417 |
right: 22px; |
| 418 |
background: transparent; |
| 419 |
-webkit-box-sizing: border-box; |
| 420 |
box-sizing: border-box; |
| 421 |
border-top: 2px solid #000; |
| 422 |
border-left: 2px solid #000; |
| 423 |
border-right: 2px solid transparent; |
| 424 |
border-bottom: 2px solid transparent; |
| 425 |
border-radius: 100%; |
| 426 |
-webkit-animation: spin 0.6s ease-out infinite; |
| 427 |
animation: spin 0.6s ease-out infinite; |
| 428 |
} |
| 429 |
|
| 430 |
.orderable-button--loading:active:after, .orderable-button--loading:focus:after, .orderable-button--loading:hover:after, |
| 431 |
.orderable-button--filled .orderable-button--loading:after { |
| 432 |
border-top-color: #fff; |
| 433 |
border-left-color: #fff; |
| 434 |
} |
| 435 |
|
| 436 |
.orderable-tabs { |
| 437 |
margin: 0 0 24px !important; |
| 438 |
padding: 0 !important; |
| 439 |
list-style: none none outside; |
| 440 |
} |
| 441 |
|
| 442 |
.orderable-main--sections-side_tabs .orderable-tabs { |
| 443 |
-webkit-box-flex: 0; |
| 444 |
-ms-flex: 0 1 auto; |
| 445 |
flex: 0 1 auto; |
| 446 |
} |
| 447 |
|
| 448 |
.orderable-tabs__item { |
| 449 |
display: inline-block; |
| 450 |
margin: 0; |
| 451 |
padding: 0; |
| 452 |
} |
| 453 |
|
| 454 |
.orderable-main--sections-side_tabs .orderable-tabs__item { |
| 455 |
margin: 0 0 6px; |
| 456 |
display: block; |
| 457 |
} |
| 458 |
|
| 459 |
a.orderable-tabs__link { |
| 460 |
text-decoration: none; |
| 461 |
display: inline-block; |
| 462 |
padding: 0 24px; |
| 463 |
white-space: nowrap; |
| 464 |
line-height: 40px; |
| 465 |
color: #000; |
| 466 |
font-weight: 400; |
| 467 |
border-radius: 20px; |
| 468 |
} |
| 469 |
|
| 470 |
a.orderable-tabs__link:active, a.orderable-tabs__link:focus { |
| 471 |
outline: none; |
| 472 |
-webkit-box-shadow: none; |
| 473 |
box-shadow: none; |
| 474 |
} |
| 475 |
|
| 476 |
a.orderable-tabs__link:hover, a.orderable-tabs__link:active, a.orderable-tabs__link:focus { |
| 477 |
color: #000; |
| 478 |
text-decoration: none; |
| 479 |
background: #eaeaea; |
| 480 |
} |
| 481 |
|
| 482 |
.orderable-tabs__item--active a.orderable-tabs__link { |
| 483 |
background: #000; |
| 484 |
color: #fff; |
| 485 |
} |
| 486 |
|
| 487 |
#orderable-layout-settings-metabox { |
| 488 |
z-index: 1000; |
| 489 |
} |
| 490 |
|
| 491 |
#orderable-layout-preview-metabox .inside { |
| 492 |
padding: 24px 24px 0; |
| 493 |
margin: 0; |
| 494 |
} |
| 495 |
|
| 496 |
#orderable-layout-preview-metabox .inside h2.orderable-category-heading__title, |
| 497 |
#orderable-layout-preview-metabox .inside h3 { |
| 498 |
margin: 0 0 24px; |
| 499 |
} |
| 500 |
|
| 501 |
#orderable-layout-preview-metabox .inside h2 { |
| 502 |
padding: 0; |
| 503 |
font-weight: 600; |
| 504 |
font-size: 20px; |
| 505 |
line-height: 1.2; |
| 506 |
} |
| 507 |
|
| 508 |
#orderable-layout-preview-metabox .orderable-category-heading__description { |
| 509 |
margin: -12px 0 24px; |
| 510 |
} |
| 511 |
|
| 512 |
#orderable-layout-preview-metabox .orderable-main { |
| 513 |
max-width: 1000px; |
| 514 |
margin: 0; |
| 515 |
} |
| 516 |
|