82e119875b
CI / Test (push) Successful in 21s
CI / Lint & Typecheck (pull_request) Successful in 29s
CI / Test (pull_request) Successful in 47s
CI / Lint & Typecheck (push) Successful in 1m2s
CI / Build & Push Docker Image (pull_request) Successful in 23s
CI / Build & Push Docker Image (push) Successful in 16s
Promote dev → uat: GRO-1026 portal mobile overflow fix (scrollbar-hide re-apply)
107 lines
2.4 KiB
CSS
107 lines
2.4 KiB
CSS
@import "tailwindcss";
|
|
|
|
:root {
|
|
--color-primary: #4f8a6f;
|
|
--color-primary-dark: color-mix(in srgb, var(--color-primary) 80%, #000);
|
|
--color-accent: #8b7355;
|
|
--color-accent-hover: color-mix(in srgb, var(--color-accent) 88%, #000);
|
|
--color-accent-dark: color-mix(in srgb, var(--color-accent) 78%, #000);
|
|
--color-accent-light: color-mix(in srgb, var(--color-accent) 18%, #fff);
|
|
--color-accent-lighter: color-mix(in srgb, var(--color-accent) 9%, #fff);
|
|
|
|
/* Semantic / booking page tokens */
|
|
--color-error: #dc2626;
|
|
--color-error-dark: #b91c1c;
|
|
--color-error-bg: #fef2f2;
|
|
--color-cancelled: #ea580c;
|
|
--color-cancelled-dark: #c2410c;
|
|
--color-cancelled-bg: #fff7ed;
|
|
--color-success: #16a34a;
|
|
--color-success-dark: #15803d;
|
|
--color-success-bg: #f0fdf4;
|
|
--color-text-secondary: #4b5563;
|
|
--color-surface: #fff;
|
|
}
|
|
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
color: #1a202c;
|
|
background: #f0f2f5;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
a {
|
|
color: var(--color-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.5rem;
|
|
margin-top: 0;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
h2, h3, h4 {
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
/* ─── Admin button polish ─── */
|
|
button {
|
|
transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
|
|
}
|
|
|
|
button:active:not(:disabled) {
|
|
transform: translateY(0.5px);
|
|
}
|
|
|
|
/* ─── Admin input / select focus states ─── */
|
|
input:focus, select:focus, textarea:focus {
|
|
outline: none;
|
|
border-color: var(--color-primary);
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 12%, transparent);
|
|
}
|
|
|
|
/* ─── Admin card-like containers (borders get subtle shadow) ─── */
|
|
[style*="border: 1px solid"] {
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
/* ─── Scrollbar hide utility ─── */
|
|
.scrollbar-hide {
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
.scrollbar-hide::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
/* ─── Scrollbar polish ─── */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #cbd5e1;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #94a3b8;
|
|
}
|