diff --git a/addons/dine360_self_order/__manifest__.py b/addons/dine360_self_order/__manifest__.py index 8ce154d..50fd830 100644 --- a/addons/dine360_self_order/__manifest__.py +++ b/addons/dine360_self_order/__manifest__.py @@ -20,7 +20,6 @@ 'web.assets_frontend': [ 'dine360_self_order/static/src/css/self_order.css', 'dine360_self_order/static/src/js/self_order.js', - 'dine360_self_order/static/src/xml/self_order.xml', ], }, 'installable': True, diff --git a/addons/dine360_self_order/static/src/css/self_order.css b/addons/dine360_self_order/static/src/css/self_order.css index 515aef2..ad5d9ba 100644 --- a/addons/dine360_self_order/static/src/css/self_order.css +++ b/addons/dine360_self_order/static/src/css/self_order.css @@ -1,12 +1,13 @@ -/* Self-Order UI Styling */ +/* Shiva Sakthi Self-Order UI Styling */ #self_order_app { font-family: 'Outfit', 'Inter', -apple-system, sans-serif; - color: #171422; + color: #0f0d13; + background-color: #fcfbf7 !important; } .transition-all { - transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); + transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); } .no-scrollbar::-webkit-scrollbar { @@ -18,73 +19,196 @@ scrollbar-width: none; } +/* Header Branding */ +.navbar { + background: rgba(17, 17, 17, 0.9) !important; + backdrop-filter: blur(10px); + border-bottom: 2px solid #e5b945; +} + +.navbar-brand { + font-family: 'Playfair Display', serif; + letter-spacing: 0.5px; +} + +/* Search Bar with glowing focus */ .search-bar { - border-radius: 14px; + border-radius: 16px; background: #ffffff; + border: 1px solid rgba(0, 0, 0, 0.05); + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important; + overflow: hidden; + transition: all 0.3s ease; +} + +.search-bar:focus-within { + border-color: #e5b945; + box-shadow: 0 4px 25px rgba(229, 0, 0, 0.08) !important; +} + +#product_search:focus { + box-shadow: none; +} + +/* Category Filter Capsules */ +#category_filter { + padding: 10px 0; +} + +#category_filter button { + font-size: 13px; + font-weight: 600; + letter-spacing: 0.3px; + text-transform: capitalize; + border-radius: 20px; + transition: all 0.25s ease; +} + +#category_filter button.btn-warning { + background: linear-gradient(135deg, #e5b945, #cc9200) !important; + border: none !important; + box-shadow: 0 4px 15px rgba(229, 0, 0, 0.25) !important; + color: #ffffff !important; +} + +#category_filter button.btn-white { + background: #ffffff; + color: #555555; + border: 1px solid rgba(0, 0, 0, 0.08); +} + +#category_filter button.btn-white:hover { + background: rgba(229, 0, 0, 0.03); + color: #e5b945; + border-color: rgba(229, 0, 0, 0.2); +} + +/* Premium Product Cards */ +.product-card { + border-radius: 20px; + background: #ffffff; + box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03) !important; + overflow: hidden; + transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); } .product-card:hover { - transform: translateY(-5px); - box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important; + transform: translateY(-8px); + box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08) !important; } -.product-card .card-img-top { - border-top-left-radius: 14px; - border-top-right-radius: 14px; +.product-card img { + border-top-left-radius: 20px !important; + border-top-right-radius: 20px !important; + transition: transform 0.5s ease; } -.btn-warning { - background-color: #e50000; - border-color: #e50000; - color: #ffffff; +.product-card:hover img { + transform: scale(1.05); } -.btn-warning:hover, -.btn-warning:active { - background-color: #b30000; - border-color: #b30000; - color: #ffffff; +.product-card .add-to-cart-btn { + background: #e5b945 !important; + border-color: #e5b945 !important; + color: #ffffff !important; + transition: all 0.25s ease; } -.bg-warning-light { - background-color: rgba(229, 0, 0, 0.08) !important; +.product-card .add-to-cart-btn:hover { + transform: scale(1.1); + background: #cc9200 !important; + box-shadow: 0 4px 12px rgba(229, 0, 0, 0.3) !important; +} + +/* Service select cards */ +.service-select { + border: 1px solid rgba(0, 0, 0, 0.08) !important; + background: #ffffff !important; + transition: all 0.25s ease; +} + +.service-select:hover { + border-color: rgba(229, 0, 0, 0.2) !important; + background: rgba(229, 0, 0, 0.01) !important; } .service-select.active { - border: 2px solid #e50000 !important; - background-color: rgba(229, 0, 0, 0.05) !important; + border: 2px solid #e5b945 !important; + background: rgba(229, 0, 0, 0.03) !important; + font-weight: 600; +} + +/* Cart Footer Panel */ +#footer_cart { + border-top-left-radius: 24px; + border-top-right-radius: 24px; + background: rgba(255, 255, 255, 0.9) !important; + backdrop-filter: blur(15px); + box-shadow: 0 -10px 45px rgba(0, 0, 0, 0.1) !important; + z-index: 1040; +} + +#footer_cart #view_cart_btn { + background: linear-gradient(135deg, #e5b945, #cc9200) !important; + border: none; + box-shadow: 0 4px 15px rgba(229, 0, 0, 0.3) !important; + transition: all 0.25s ease; +} + +#footer_cart #view_cart_btn:hover { + transform: scale(1.03); + box-shadow: 0 6px 20px rgba(229, 0, 0, 0.4) !important; +} + +/* Cart Modal Styling */ +.modal-content { + border-radius: 28px !important; + box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important; + border: none; +} + +.modal-header { + border-bottom: 1px solid rgba(0, 0, 0, 0.05); + background: #111111 !important; + color: #ffffff; } .cart-item { - border-bottom: 1px dashed #eee; - padding-bottom: 1rem; + border-bottom: 1px dashed rgba(0, 0, 0, 0.06); + padding-bottom: 1.2rem; } .cart-item:last-child { border-bottom: none; } -#category_filter button { - font-size: 13px; - font-weight: 500; +/* Quantity Adjusters */ +.decrease-qty, .increase-qty { + background: #ffffff !important; + border: 1px solid rgba(0, 0, 0, 0.08) !important; + color: #555555 !important; + transition: all 0.2s ease; } -.badge-primary { - background-color: #171422; +.decrease-qty:hover, .increase-qty:hover { + background: rgba(229, 0, 0, 0.05) !important; + color: #e5b945 !important; + border-color: rgba(229, 0, 0, 0.2) !important; } -#footer_cart { - border-top-left-radius: 20px; - border-top-right-radius: 20px; - z-index: 1050; -} - -.modal-content { +#submit_order_btn { + background: linear-gradient(135deg, #e5b945, #cc9200) !important; border: none; - box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1); + box-shadow: 0 4px 15px rgba(229, 0, 0, 0.3) !important; + transition: all 0.25s ease; } +#submit_order_btn:hover { + transform: scale(1.02); + box-shadow: 0 6px 20px rgba(229, 0, 0, 0.4) !important; +} + +/* Spinner */ .spinner-border { - width: 2rem; - height: 2rem; + color: #e5b945 !important; } \ No newline at end of file diff --git a/addons/dine360_self_order/views/self_order_templates.xml b/addons/dine360_self_order/views/self_order_templates.xml index 68e7560..b19ab92 100644 --- a/addons/dine360_self_order/views/self_order_templates.xml +++ b/addons/dine360_self_order/views/self_order_templates.xml @@ -2,6 +2,11 @@