Deploy Ladill Mini / deploy (push) Successful in 23s
Staff-facing counter register at pos.ladill.com with catalog cart, cash and MoMo/card checkout via Ladill Pay, CRM timeline/import, invoice prefill, and Merchant catalog import. Co-authored-by: Cursor <cursoragent@cursor.com>
167 lines
3.8 KiB
CSS
167 lines
3.8 KiB
CSS
@import 'tailwindcss';
|
|
@plugin '@tailwindcss/forms';
|
|
|
|
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
|
|
@source '../../storage/framework/views/*.php';
|
|
@source '../**/*.blade.php';
|
|
@source '../**/*.js';
|
|
|
|
@theme {
|
|
--font-sans: 'Figtree', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
'Segoe UI Symbol', 'Noto Color Emoji';
|
|
}
|
|
|
|
[x-cloak] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* QR create/show: flush mobile action bar to the physical screen bottom (mobile only) */
|
|
@media (max-width: 1023px) {
|
|
.mobile-action-bar {
|
|
position: fixed;
|
|
inset-inline: 0;
|
|
bottom: 0;
|
|
z-index: 50;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.mobile-action-bar__toolbar {
|
|
display: flex;
|
|
height: 4rem;
|
|
flex-shrink: 0;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
border-top: 1px solid rgb(226 232 240);
|
|
background-color: #fff;
|
|
padding-inline: 1rem;
|
|
}
|
|
|
|
.mobile-action-bar__inset-fill {
|
|
flex-shrink: 0;
|
|
width: 100%;
|
|
background-color: #fff;
|
|
height: env(safe-area-inset-bottom, 0px);
|
|
min-height: max(env(safe-area-inset-bottom, 0px), 20px);
|
|
}
|
|
}
|
|
|
|
/* Extra white bleed behind the bar for any remaining viewport gap on mobile */
|
|
.qr-mobile-bottom-bleed {
|
|
position: fixed;
|
|
inset-inline: 0;
|
|
bottom: 0;
|
|
z-index: 48;
|
|
pointer-events: none;
|
|
background-color: #fff;
|
|
height: calc(4rem + env(safe-area-inset-bottom, 0px) + 24px);
|
|
min-height: calc(4rem + 24px);
|
|
}
|
|
|
|
html.qr-mobile-page {
|
|
background-color: #fff;
|
|
}
|
|
|
|
html.qr-mobile-page body {
|
|
background-color: #fff;
|
|
}
|
|
|
|
/* Payment QR landing: lock scroll and keep the amount sheet flush to the screen bottom */
|
|
@media (max-width: 767px) {
|
|
html.mini-payment-page,
|
|
html.mini-payment-page body {
|
|
overflow: hidden;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
html.mini-payment-page body {
|
|
position: fixed;
|
|
inset: 0;
|
|
}
|
|
|
|
.mini-payment-sheet {
|
|
position: fixed;
|
|
inset-inline: 0;
|
|
bottom: 0;
|
|
z-index: 20;
|
|
}
|
|
|
|
.mini-payment-bottom-bleed {
|
|
position: fixed;
|
|
inset-inline: 0;
|
|
bottom: 0;
|
|
z-index: 19;
|
|
pointer-events: none;
|
|
background-color: #fff;
|
|
height: calc(12rem + env(safe-area-inset-bottom, 0px));
|
|
min-height: 8rem;
|
|
}
|
|
}
|
|
|
|
.mobile-stats-card {
|
|
width: calc(66.666667% - 0.5rem);
|
|
}
|
|
|
|
@layer components {
|
|
.btn-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
border-radius: 9999px;
|
|
background-image: linear-gradient(to right, rgb(79 70 229), rgb(124 58 237));
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.875rem;
|
|
line-height: 1.25rem;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
transition: filter 0.15s ease;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
filter: brightness(0.92);
|
|
}
|
|
|
|
.btn-primary:disabled {
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.btn-primary-sm {
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: 0.75rem;
|
|
line-height: 1rem;
|
|
}
|
|
|
|
.btn-primary-lg {
|
|
padding: 0.625rem 1.25rem;
|
|
}
|
|
|
|
.btn-fab {
|
|
display: inline-flex;
|
|
height: 2.75rem;
|
|
width: 2.75rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 9999px;
|
|
background-image: linear-gradient(to right, rgb(79 70 229), rgb(124 58 237));
|
|
color: #fff;
|
|
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
|
|
transition: filter 0.15s ease;
|
|
}
|
|
|
|
.btn-fab:hover {
|
|
filter: brightness(0.92);
|
|
}
|
|
}
|
|
|
|
|
|
@media (min-width: 640px) {
|
|
.mobile-stats-card {
|
|
width: auto;
|
|
}
|
|
}
|