PluginProbe
Orderable – Restaurant & Food Ordering System / 1.10.0
Orderable – Restaurant & Food Ordering System v1.10.0
0.1.4 0.1.5 0.2.0 1.0.0 1.1.0 1.1.1 1.10.0 1.10.1 1.11.0 1.12.0 1.12.1 1.12.2 1.13.0 1.14.0 1.15.0 1.16.0 1.17.0 1.17.1 1.18.0 1.19.0 1.19.1 1.19.2 1.2.0 1.20.0 1.20.1 All 44 releases
orderable / inc / modules / layouts / assets / admin / css / layouts.css

layouts.css in Orderable – Restaurant & Food Ordering System 1.10.0, at inc/modules/layouts/assets/admin/css/layouts.css

789 lines 17.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @-webkit-keyframes spin {
2 100% {
3 -webkit-transform: rotate(360deg);
4 transform: rotate(360deg);
5 }
6 }
7 @keyframes spin {
8 100% {
9 -webkit-transform: rotate(360deg);
10 transform: rotate(360deg);
11 }
12 }
13 @-webkit-keyframes wobble-hor-bottom {
14 0%, 100% {
15 -webkit-transform: translateX(0%);
16 transform: translateX(0%);
17 -webkit-transform-origin: 50% 50%;
18 transform-origin: 50% 50%;
19 }
20 15% {
21 -webkit-transform: translateX(-10%) rotate(-6deg);
22 transform: translateX(-10%) rotate(-6deg);
23 }
24 30% {
25 -webkit-transform: translateX(5%) rotate(6deg);
26 transform: translateX(5%) rotate(6deg);
27 }
28 45% {
29 -webkit-transform: translateX(-5%) rotate(-3.6deg);
30 transform: translateX(-5%) rotate(-3.6deg);
31 }
32 60% {
33 -webkit-transform: translateX(2%) rotate(2.4deg);
34 transform: translateX(2%) rotate(2.4deg);
35 }
36 75% {
37 -webkit-transform: translateX(-1%) rotate(-1.2deg);
38 transform: translateX(-1%) rotate(-1.2deg);
39 }
40 }
41 @keyframes wobble-hor-bottom {
42 0%, 100% {
43 -webkit-transform: translateX(0%);
44 transform: translateX(0%);
45 -webkit-transform-origin: 50% 50%;
46 transform-origin: 50% 50%;
47 }
48 15% {
49 -webkit-transform: translateX(-10%) rotate(-6deg);
50 transform: translateX(-10%) rotate(-6deg);
51 }
52 30% {
53 -webkit-transform: translateX(5%) rotate(6deg);
54 transform: translateX(5%) rotate(6deg);
55 }
56 45% {
57 -webkit-transform: translateX(-5%) rotate(-3.6deg);
58 transform: translateX(-5%) rotate(-3.6deg);
59 }
60 60% {
61 -webkit-transform: translateX(2%) rotate(2.4deg);
62 transform: translateX(2%) rotate(2.4deg);
63 }
64 75% {
65 -webkit-transform: translateX(-1%) rotate(-1.2deg);
66 transform: translateX(-1%) rotate(-1.2deg);
67 }
68 }
69 /* Elements */
70 .orderable-main__group {
71 margin: 0 0 36px;
72 }
73
74 /* Modifiers */
75 .orderable-main--sections-tabs .orderable-main__group {
76 display: none;
77 }
78
79 .orderable-main--sections-tabs .orderable-main__group:first-of-type {
80 display: block;
81 }
82
83 @media screen and (min-width: 620px) {
84 .orderable-main--sections-side_tabs {
85 display: -webkit-box;
86 display: -ms-flexbox;
87 display: flex;
88 }
89 .orderable-main--sections-side_tabs .orderable-main__tabs {
90 margin: 0 24px 0 0 !important;
91 }
92 .orderable-main--sections-side_tabs .orderable-main__sections {
93 -webkit-box-flex: 1;
94 -ms-flex: 1;
95 flex: 1;
96 }
97 }
98 /* Block */
99 .orderable-products-list {
100 margin-bottom: 12px;
101 -webkit-box-sizing: border-box;
102 box-sizing: border-box;
103 }
104
105 .orderable-products-list * {
106 -webkit-box-sizing: border-box;
107 box-sizing: border-box;
108 }
109
110 .orderable-products-list:last-child {
111 margin-bottom: 0;
112 }
113
114 @media screen and (min-width: 480px) {
115 .orderable-products-list .orderable-product {
116 display: -webkit-box;
117 display: -ms-flexbox;
118 display: flex;
119 -webkit-box-flex: 0;
120 -ms-flex: 0 0 200px;
121 flex: 0 0 200px;
122 }
123 }
124 @media screen and (min-width: 480px) {
125 .orderable-products-list .orderable-product__hero {
126 width: 200px;
127 }
128 }
129 @media screen and (min-width: 480px) {
130 .orderable-products-list .orderable-product__image {
131 -o-object-fit: cover;
132 object-fit: cover;
133 width: 100% !important;
134 height: 100% !important;
135 }
136 }
137 @media screen and (min-width: 480px) {
138 .orderable-products-list .orderable-product__content-wrap {
139 -webkit-box-flex: 1;
140 -ms-flex: 1;
141 flex: 1;
142 display: -webkit-box;
143 display: -ms-flexbox;
144 display: flex;
145 -webkit-box-orient: vertical;
146 -webkit-box-direction: normal;
147 -ms-flex-flow: column nowrap;
148 flex-flow: column nowrap;
149 }
150 }
151 .orderable-products-list .orderable-product__actions {
152 padding: 12px 24px 18px;
153 margin-top: auto;
154 }
155
156 /* Elements */
157 .orderable-products-list__item {
158 width: 100%;
159 margin: 0 0 24px;
160 }
161
162 @media screen and (max-width: 480px) {
163 .orderable-products-list__item {
164 padding: 0 0 24px;
165 border-bottom: 1px solid #ecf1f3;
166 }
167 .orderable-products-list__item:last-child {
168 border-bottom: none;
169 }
170 }
171 /* Modifiers */
172 @media screen and (min-width: 540px) {
173 .orderable-products-list--grid {
174 display: -webkit-box;
175 display: -ms-flexbox;
176 display: flex;
177 -webkit-box-pack: start;
178 -ms-flex-pack: start;
179 justify-content: flex-start;
180 -ms-flex-wrap: wrap;
181 flex-wrap: wrap;
182 margin-left: -12px;
183 margin-right: -12px;
184 }
185 }
186 @media screen and (min-width: 768px) {
187 .orderable-products-list--grid .orderable-products-list__item {
188 margin: 0 0 24px;
189 padding: 0 12px;
190 width: 50%;
191 }
192 }
193 @media screen and (min-width: 1120px) {
194 .orderable-products-list--grid .orderable-products-list__item {
195 width: 33.33%;
196 }
197 }
198 @media screen and (min-width: 768px) {
199 .orderable-products-list--grid .orderable-product {
200 padding: 0 0 88px;
201 display: block;
202 margin: 0;
203 -webkit-box-flex: 0;
204 -ms-flex: none;
205 flex: none;
206 }
207 }
208 @media screen and (min-width: 768px) {
209 .orderable-products-list--grid .orderable-product__hero {
210 width: auto;
211 }
212 .orderable-products-list--grid .orderable-product__hero img {
213 -o-object-fit: fill;
214 object-fit: fill;
215 width: 100%;
216 height: auto;
217 }
218 }
219 @media screen and (min-width: 768px) {
220 .orderable-products-list--grid .orderable-product__content-wrap {
221 -webkit-box-flex: 0;
222 -ms-flex: none;
223 flex: none;
224 display: block;
225 }
226 }
227 @media screen and (min-width: 768px) {
228 .orderable-products-list--grid .orderable-product__actions {
229 padding: 0;
230 margin-top: 0;
231 position: absolute;
232 bottom: 24px;
233 left: 24px;
234 right: 24px;
235 }
236 }
237 /* Block */
238 .orderable-product {
239 overflow: hidden;
240 position: relative;
241 }
242
243 /* Elements */
244 .orderable-product__hero {
245 position: relative;
246 }
247
248 .orderable-product__image {
249 border-radius: 0;
250 margin: 0;
251 display: block;
252 width: 100%;
253 height: auto !important;
254 max-width: none !important;
255 }
256
257 .orderable-product__content {
258 padding: 18px 24px 12px;
259 }
260
261 .orderable-product__content :last-child {
262 margin-bottom: 0;
263 }
264
265 .orderable-product__title {
266 margin: 0 0 12px !important;
267 }
268
269 .orderable-product__description {
270 margin: 0;
271 }
272
273 .orderable-product__tags {
274 overflow: hidden;
275 margin: 0;
276 padding: 0;
277 list-style: none none outside;
278 }
279
280 img + .orderable-product__tags {
281 position: absolute;
282 bottom: 0;
283 left: 0;
284 padding: 12px;
285 z-index: 20;
286 }
287
288 .orderable-product__tags li {
289 margin: 6px 0 0 0;
290 }
291
292 .orderable-product__options {
293 margin: 0 0 24px;
294 padding: 0;
295 border-radius: 6px;
296 }
297
298 .orderable-product__options th, .orderable-product__options td {
299 background-color: transparent !important;
300 padding: 0 0 12px;
301 text-align: left;
302 display: block;
303 margin: 0;
304 }
305
306 .orderable-product__options th {
307 line-height: 22px;
308 }
309
310 .orderable-product__options td {
311 padding-bottom: 24px;
312 }
313
314 .orderable-product__options tr {
315 padding: 0;
316 margin: 0;
317 }
318
319 .orderable-product__options tr:last-child td {
320 padding-bottom: 0;
321 }
322
323 .orderable-product__actions {
324 overflow: hidden;
325 display: -webkit-box;
326 display: -ms-flexbox;
327 display: flex;
328 -webkit-box-align: center;
329 -ms-flex-align: center;
330 align-items: center;
331 }
332
333 .orderable-product__actions:last-child {
334 margin-bottom: 0;
335 }
336
337 .orderable-product__actions-price {
338 margin: 0 4px 0 0;
339 }
340
341 .orderable-product__actions-price .amount {
342 white-space: nowrap;
343 margin: 0 6px 0 0;
344 font-weight: bold;
345 color: #000;
346 font-size: 20px;
347 line-height: 24px;
348 }
349
350 .orderable-product__actions-button {
351 margin: 0 0 0 auto;
352 }
353
354 .orderable-product__actions-button .orderable-product__cancel-update {
355 background-color: #f2f2f3;
356 border-color: #f2f2f3;
357 margin-right: 10px;
358 }
359
360 .orderable-product__tabs {
361 margin: 24px 0;
362 }
363
364 .orderable-product__tabs-section {
365 display: none;
366 }
367
368 .orderable-product__tabs-section:first-child {
369 display: block;
370 }
371
372 .orderable-product__tabs-section *:last-child {
373 margin-bottom: 0;
374 }
375
376 /* Modifiers */
377 .orderable-product--options {
378 display: -webkit-box;
379 display: -ms-flexbox;
380 display: flex;
381 -webkit-box-orient: vertical;
382 -webkit-box-direction: normal;
383 -ms-flex-direction: column;
384 flex-direction: column;
385 overflow: visible;
386 height: 100%;
387 }
388
389 .orderable-product--options .orderable-product__hero {
390 margin: -24px -24px 0;
391 }
392
393 .orderable-product--options .orderable-product__title {
394 text-align: left;
395 margin: 24px 0 !important;
396 }
397
398 .orderable-product--options .orderable-product__actions {
399 margin-top: auto;
400 padding-top: 24px;
401 border-top: 1px solid #E6ECEF;
402 -webkit-box-flex: 0;
403 -ms-flex: 0 0 auto;
404 flex: 0 0 auto;
405 }
406
407 .orderable-product--add-to-cart,
408 .orderable-product--product-options,
409 .orderable-product--view-product {
410 cursor: pointer;
411 }
412
413 .orderable-product--image-cropped .orderable-product__hero {
414 overflow: hidden;
415 padding: 0;
416 text-align: center;
417 -webkit-box-flex: 0;
418 -ms-flex: 0 0 auto;
419 flex: 0 0 auto;
420 height: 72px;
421 }
422
423 .orderable-product--image-cropped .orderable-product__image {
424 -o-object-fit: cover;
425 object-fit: cover;
426 position: absolute;
427 z-index: -1;
428 width: 100%;
429 height: 100% !important;
430 left: 0;
431 top: 0;
432 }
433
434 .orderable-products-list__item .orderable-product {
435 height: 100%;
436 width: 100%;
437 -webkit-box-shadow: 0 0.4px 1.3px rgba(0, 0, 0, 0.05), 0 1.3px 4.5px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.07);
438 box-shadow: 0 0.4px 1.3px rgba(0, 0, 0, 0.05), 0 1.3px 4.5px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.07);
439 border-radius: 6px;
440 }
441
442 @media screen and (max-width: 480px) {
443 .orderable-products-list__item .orderable-product {
444 display: -webkit-box;
445 display: -ms-flexbox;
446 display: flex;
447 -webkit-box-align: start;
448 -ms-flex-align: start;
449 align-items: flex-start;
450 -webkit-box-shadow: none;
451 box-shadow: none;
452 border-radius: 0;
453 }
454 }
455 @media screen and (max-width: 480px) {
456 .orderable-products-list__item .orderable-product__hero {
457 width: 100%;
458 min-width: 60px;
459 max-width: 95px;
460 border-radius: 6px;
461 overflow: hidden;
462 }
463 }
464 @media screen and (max-width: 480px) {
465 .orderable-products-list__item .orderable-product__content-wrap {
466 -webkit-box-flex: 1;
467 -ms-flex: 1;
468 flex: 1;
469 }
470 }
471 @media screen and (max-width: 480px) {
472 .orderable-products-list__item .orderable-product__content {
473 padding: 0 0 0 24px;
474 }
475 }
476 @media screen and (max-width: 480px) {
477 .orderable-products-list__item .orderable-product__actions {
478 padding: 6px 0 0 24px;
479 }
480 }
481 @media screen and (max-width: 480px) {
482 .orderable-products-list__item .orderable-product__title {
483 margin: 0 0 6px !important;
484 }
485 }
486 /* Block. */
487 .orderable-button {
488 display: inline-block;
489 border: 2px solid #000;
490 background: none;
491 padding: 0 24px !important;
492 height: 40px;
493 line-height: 36px;
494 white-space: nowrap;
495 border-radius: 20px;
496 color: #000;
497 text-transform: none;
498 margin: 0;
499 -webkit-transition: all 150ms ease-out;
500 transition: all 150ms ease-out;
501 -webkit-box-shadow: none;
502 box-shadow: none;
503 cursor: pointer;
504 }
505
506 .orderable-button:active, .orderable-button:focus {
507 outline: none;
508 }
509
510 .orderable-button--active, .orderable-button:active, .orderable-button:focus, .orderable-button--hover, .orderable-button:hover {
511 border-color: #000;
512 background: #000;
513 color: #fff;
514 text-decoration: none;
515 -webkit-box-shadow: none;
516 box-shadow: none;
517 }
518
519 /* Modifiers */
520 .orderable-button--filled {
521 background: #000 !important;
522 color: #fff;
523 }
524
525 .orderable-button--filled--hover, .orderable-button--filled:hover {
526 background: #000 !important;
527 color: #fff;
528 }
529
530 .orderable-button--full {
531 width: 100%;
532 }
533
534 .orderable-button--loading {
535 position: relative;
536 padding-right: 48px !important;
537 }
538
539 .orderable-button--loading:after {
540 content: "";
541 display: block;
542 width: 16px;
543 height: 16px;
544 position: absolute;
545 top: 10px;
546 right: 22px;
547 background: transparent;
548 -webkit-box-sizing: border-box;
549 box-sizing: border-box;
550 border-top: 2px solid #000;
551 border-left: 2px solid #000;
552 border-right: 2px solid transparent;
553 border-bottom: 2px solid transparent;
554 border-radius: 100%;
555 -webkit-animation: spin 0.6s ease-out infinite;
556 animation: spin 0.6s ease-out infinite;
557 }
558
559 .orderable-button--loading:active:after, .orderable-button--loading:focus:after, .orderable-button--loading.orderable-button--hover:after, .orderable-button--loading:hover:after, .orderable-button--filled .orderable-button--loading:after {
560 border-top-color: #fff;
561 border-left-color: #fff;
562 }
563
564 .orderable-button.orderable-button--out-of-stock,
565 .orderable-button.orderable-button--out-of-stock.orderable-button--hover,
566 .orderable-button.orderable-button--out-of-stock:hover,
567 .orderable-button.orderable-button--out-of-stock:focus,
568 .orderable-button.orderable-button--out-of-stock:active {
569 cursor: not-allowed;
570 border-color: #c7d4db;
571 color: #a8bdc7;
572 background: transparent !important;
573 }
574
575 .orderable--button-style-square .orderable-button {
576 border-radius: 0;
577 }
578
579 .orderable-button--icon {
580 padding: 10px !important;
581 width: 44px;
582 height: 44px;
583 line-height: 24px;
584 border: none;
585 background: none !important;
586 }
587
588 body .orderable-button--icon:hover, body .orderable-button--icon:focus, body .orderable-button--icon:active {
589 background: none !important;
590 opacity: 0.6;
591 }
592
593 .orderable-button--icon svg {
594 width: 24px;
595 height: 24px;
596 border-radius: 12px;
597 overflow: hidden;
598 -webkit-transition: opacity 250ms ease-in-out;
599 transition: opacity 250ms ease-in-out;
600 }
601
602 .orderable-button--icon.orderable-button--loading:after {
603 display: none;
604 }
605
606 .orderable-tabs {
607 margin: 0 0 24px;
608 position: relative;
609 }
610
611 .orderable-tabs__list {
612 margin: 0 1px 0 0 !important;
613 padding: 0 !important;
614 list-style: none none outside;
615 position: relative;
616 display: -webkit-box;
617 display: -ms-flexbox;
618 display: flex;
619 -ms-flex-wrap: nowrap;
620 flex-wrap: nowrap;
621 -webkit-box-flex: 1;
622 -ms-flex: 1 1 auto;
623 flex: 1 1 auto;
624 overflow-x: auto;
625 overflow-y: hidden;
626 overflow: -moz-scrollbars-none;
627 scrollbar-base-color: transparent;
628 -webkit-overflow-scrolling: touch;
629 }
630
631 .orderable-tabs__list::-webkit-scrollbar {
632 display: none;
633 }
634
635 @media screen and (min-width: 620px) {
636 .orderable-main--sections-side_tabs .orderable-tabs__list {
637 -webkit-box-flex: 0;
638 -ms-flex: 0 1 auto;
639 flex: 0 1 auto;
640 -webkit-box-orient: vertical;
641 -webkit-box-direction: normal;
642 -ms-flex-direction: column;
643 flex-direction: column;
644 height: auto;
645 }
646 }
647 .orderable-tabs__item {
648 display: inline-block;
649 margin: 0 10px 0 0;
650 padding: 0;
651 }
652
653 .orderable-tabs__item:last-child {
654 margin-right: 0;
655 }
656
657 @media screen and (min-width: 620px) {
658 .orderable-main--sections-side_tabs .orderable-tabs__item {
659 margin: 0 0 12px;
660 display: block;
661 }
662 .orderable-main--sections-side_tabs .orderable-tabs__item:last-child {
663 margin: 0;
664 }
665 }
666 a.orderable-tabs__link {
667 text-decoration: none !important;
668 display: inline-block;
669 padding: 0 24px;
670 white-space: nowrap;
671 line-height: 40px;
672 color: #405763;
673 font-weight: 400;
674 border-radius: 20px;
675 -webkit-transition: all 150ms ease-out;
676 transition: all 150ms ease-out;
677 background: #ecf1f3;
678 }
679
680 a.orderable-tabs__link:active, a.orderable-tabs__link:focus {
681 outline: none;
682 -webkit-box-shadow: none;
683 box-shadow: none;
684 }
685
686 a.orderable-tabs__link:hover, a.orderable-tabs__link:active, a.orderable-tabs__link:focus {
687 color: #405763;
688 text-decoration: none;
689 background: #c7d4db;
690 }
691
692 .orderable-tabs__item--active a.orderable-tabs__link {
693 background: #000;
694 color: #fff;
695 }
696
697 .orderable--button-style-square a.orderable-tabs__link {
698 border-radius: 0;
699 }
700
701 .orderable-tabs__arrow {
702 background: #fff;
703 -webkit-box-shadow: 0 0.4px 1.3px rgba(0, 0, 0, 0.05), 0 1.3px 4.5px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.07);
704 box-shadow: 0 0.4px 1.3px rgba(0, 0, 0, 0.05), 0 1.3px 4.5px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.07);
705 border: none;
706 width: 40px !important;
707 height: 40px !important;
708 padding: 0 !important;
709 margin: 0 !important;
710 border-radius: 20px !important;
711 position: absolute;
712 top: 0;
713 right: 0;
714 text-align: center;
715 line-height: 40px;
716 display: none;
717 }
718
719 .orderable-tabs__arrow:hover, .orderable-tabs__arrow:focus, .orderable-tabs__arrow:active {
720 background: #fff;
721 outline: none;
722 }
723
724 .orderable-tabs__arrow svg {
725 width: 21px;
726 height: 24px;
727 margin: 8px 0;
728 }
729
730 .orderable-tabs__arrow-left {
731 left: 0;
732 right: initial;
733 -webkit-transform: scaleX(-1);
734 transform: scaleX(-1);
735 }
736
737 #orderable-layout-settings-metabox {
738 z-index: 1000;
739 }
740
741 #orderable-layout-preview-metabox .inside {
742 padding: 24px 24px 0;
743 margin: 0;
744 }
745
746 #orderable-layout-preview-metabox .inside h2.orderable-category-heading__title,
747 #orderable-layout-preview-metabox .inside h3 {
748 margin: 0 0 24px;
749 }
750
751 #orderable-layout-preview-metabox .inside h2 {
752 padding: 0;
753 font-weight: 600;
754 font-size: 20px;
755 line-height: 1.2;
756 }
757
758 #orderable-layout-preview-metabox .orderable-category-heading__description {
759 margin: -12px 0 24px;
760 }
761
762 #orderable-layout-preview-metabox .orderable-main {
763 max-width: 1000px;
764 margin: 0;
765 }
766
767 #orderable-layout-preview-metabox .orderable-main--sections-side_tabs .orderable-main__tabs {
768 margin: 0 24px 24px 0 !important;
769 }
770
771 .orderable-layout-preview-notice {
772 background: #fff;
773 border: 1px solid #c3c4c7;
774 border-left-width: 4px;
775 -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
776 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
777 margin: 0 0 25px;
778 padding: 1px 12px;
779 border-left-color: #7031F5;
780 }
781
782 .orderable-layout-preview-notice p {
783 margin: 0.5em 0;
784 padding: 2px;
785 }
786
787 .orderable-product-layout-ordering__select {
788 margin-bottom: 25px;
789 }