Add booking stack, client deploys, and back-office updates

- deploy/booking: shared Easy!Appointments stack with brand-matched
  wizard (flatpickr recolor, single-tenant provider hide, iframe
  auto-fit height reporter)
- deploy/clients: per-client isolated nginx compose stacks with
  _template scaffold, new-client.sh, and happynails live site
- deploy/backup: smb-db backup script
- n8n: booking-sync workflow; onboarding tweaks
- playbooks: lead-to-customer lifecycle + outreach
- templates: nail-studio landing previews
- backoffice: app/db/init/compose updates

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-14 16:10:15 +02:00
parent 4257bd3e55
commit 156166b4e5
25 changed files with 2900 additions and 23 deletions
+155
View File
@@ -0,0 +1,155 @@
/* ----------------------------------------------------------------------------
* Easy!Appointments - Online Appointment Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>
* @copyright Copyright (c) Alex Tselegidis
* @license https://opensource.org/licenses/GPL-3.0 - GPLv3
* @link https://easyappointments.org
* @since v1.5.0
* ---------------------------------------------------------------------------- */
/* Responsive booking wizard styles (rounded corners and shadow on md+ screens) */
@media (min-width: 768px) {
#book-appointment-wizard {
border-radius: var(--bs-border-radius) !important;
box-shadow: var(--bs-box-shadow-sm) !important;
}
}
/* Active step indicator - dynamic state that changes via JavaScript */
#book-appointment-wizard .book-step.active-step {
height: 45px !important;
width: 45px !important;
background: var(--bs-white) !important;
padding: 7px !important;
margin-right: 13px !important;
margin-top: 0 !important;
}
#book-appointment-wizard .book-step.active-step strong {
color: var(--bs-primary) !important;
font-size: 21px !important;
}
/* Inactive step indicator - ensures consistent styling when step becomes inactive */
#book-appointment-wizard .book-step:not(.active-step) {
height: 35px !important;
width: 35px !important;
background: rgba(0, 0, 0, 0.2) !important;
padding: 8px !important;
margin-right: 12px !important;
margin-top: 6px !important;
}
#book-appointment-wizard .book-step:not(.active-step) strong {
color: rgba(255, 255, 255, 0.5) !important;
font-size: 12px !important;
}
/* Selected hour button state */
#book-appointment-wizard #available-hours .available-hour {
margin-bottom: 10px;
}
#book-appointment-wizard #available-hours .selected-hour {
background-color: var(--bs-primary) !important;
border-color: var(--bs-primary) !important;
color: var(--bs-white) !important;
}
/* Captcha refresh icon hover effect */
#book-appointment-wizard .captcha-title .fa-sync-alt {
cursor: pointer;
transition: all 0.3s linear;
}
#book-appointment-wizard .captcha-title .fa-sync-alt:hover {
color: var(--bs-primary);
}
/* Language popover list */
.popover .popover-title {
text-align: center;
}
.popover .popover-content #language-list .language {
margin: 15px 0;
}
#book-appointment-wizard .flatpickr-calendar.inline {
margin: auto;
}
/* ============================================================================
* SMB customisation — match the client's landing-page brand (rose/blush) and
* make the embed fit its iframe without an outer scrollbar.
* The brand colour follows --bs-primary, which is set per-instance by the EA
* "company colour" setting (Settings → Business → Company colour), so this file
* stays client-agnostic. Only the flatpickr datepicker + compact sizing live here.
* ============================================================================ */
/* --- Flatpickr datepicker: recolour the green (material_green) theme to brand --- */
.flatpickr-calendar .flatpickr-months .flatpickr-month,
.flatpickr-calendar .flatpickr-weekdays,
.flatpickr-calendar span.flatpickr-weekday,
.flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
background: var(--bs-primary) !important;
color: #fff !important;
fill: #fff !important;
}
.flatpickr-calendar .flatpickr-day.selected,
.flatpickr-calendar .flatpickr-day.selected:hover,
.flatpickr-calendar .flatpickr-day.selected:focus,
.flatpickr-calendar .flatpickr-day.startRange,
.flatpickr-calendar .flatpickr-day.endRange {
background: var(--bs-primary) !important;
border-color: var(--bs-primary) !important;
color: #fff !important;
}
.flatpickr-calendar .flatpickr-day.today {
border-color: var(--bs-primary) !important;
}
.flatpickr-calendar .flatpickr-day.today:hover,
.flatpickr-calendar .flatpickr-day.today:focus {
background: var(--bs-primary) !important;
border-color: var(--bs-primary) !important;
color: #fff !important;
}
/* --- Single-tenant embed: the provider is pinned per site via ?provider=<id>,
* so the customer must never see or switch it (booking a different studio on
* e.g. happynails.mivanchenko.de would be wrong). EA's JS un-hides the
* provider control when a service is chosen, so we force it hidden here.
* The <select> keeps its value (set from the URL param), so booking works. --- */
#book-appointment-wizard #select-provider,
#book-appointment-wizard label[for="select-provider"] {
display: none !important;
}
#book-appointment-wizard .mb-3:has(> #select-provider) {
display: none !important;
}
/* --- Compact vertical rhythm so the wizard fits the embed height (no scroll) --- */
#book-appointment-wizard #header {
padding-top: 1rem !important;
padding-bottom: 1rem !important;
}
#book-appointment-wizard .frame-title {
margin-top: 1.25rem !important;
margin-bottom: 1.25rem !important;
}
#book-appointment-wizard #available-hours {
max-height: 232px;
}
/* Trim the outer wizard container padding a touch on larger screens */
@media (min-width: 768px) {
#book-appointment-wizard .frame-content {
padding-top: 0.5rem !important;
padding-bottom: 1rem !important;
}
}