An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Merge remote-tracking branch 'origin/next' into coolify-analytics-traefik-caddy
Andras Bacsaic927df0a1d70
diff --cc resources/css/app.cssindex c5f7b5166d,b8078d15a6..252293b5fd--- a/resources/css/app.css+++ b/resources/css/app.css@@@ -47,70 -47,127 +47,171 @@@/* Graphite design language (ported from ref/frontend). Layered neutralsurfaces + translucent hairlines. See DESIGN.md. */- --color-app: #0c0c0d;- /* Canvas: neutral near-black (oklch), not pure black */- --color-panel: oklch(10% 0 0);- --color-surface: #161618;- --color-raised: #1c1c1e;- --color-selected: #26262a;- --color-fg: #f2f2f2;- --color-fg-dim: #b4b4b8;- --color-fg-faint: #6e6e74;- --color-accent: #6b16ed;- --color-accent-foreground: #ffffff;- --color-hairline: rgba(255, 255, 255, 0.08);- --color-nav-text: #525252;- --color-nav-muted: #666666;- --color-nav-active: #171717;- --color-log: #0d0d0d;+ /* Content canvas: the darkest shell layer (sRGB ~10). Hex, not oklch:+ oklch lightness compresses to near-black below ~15%, so oklch(7.5%)+ renders as sRGB 1 with no visible step. */+ --color-app: oklch(14.48% 0 0);+ /* Sidebar + topbar chrome (sRGB ~20): a clear step lighter than the content+ canvas so the shell chrome separates from the content area. */+ --color-panel: oklch(19.13% 0 0);+ /* Pure neutral (r=g=b). Were cool-tinted (#161618/#1c1c1e/#26262a, b>r),+ which clashed with the neutral panel ladder. */+ --color-surface: oklch(20.02% 0 0);+ --color-raised: oklch(22.64% 0 0);+ --color-selected: oklch(26.86% 0 0);+ --color-fg: oklch(96.12% 0 0);+ --color-fg-dim: oklch(76.99% 0 0);+ /* Tertiary text. Raised from #6e6e74 (3.78:1 on base, failed WCAG AA)+ to #7e7e84 so 13-14px text clears 4.5:1 on the dark surface ladder. */+ --color-fg-faint: oklch(59.31% 0 0);+ --color-accent: oklch(49.65% 0.2709 289.33);+ --color-accent-foreground: oklch(100.0% 0 0);+ --color-hairline: oklch(100.0% 0 0 / 0.08);+ --color-nav-text: oklch(43.86% 0 0);+ --color-nav-muted: oklch(51.03% 0 0);+ --color-nav-active: oklch(20.46% 0 0);+ --color-log: oklch(15.91% 0 0);--shadow-modal: 0 24px 64px rgba(0, 0, 0, 0.55), 0 4px 16px rgba(0, 0, 0, 0.4);+ /* One restrained lift shared by every dropdown/menu/listbox panel and the+ command palette. Lighter and consistent, replacing the old scattered+ 0.45 / 0.35 / shadow-lg / shadow-sm mix. Modals keep --shadow-modal. */+ --shadow-dropdown: 0 4px 12px rgb(0 0 0 / 0.12), 0 2px 4px rgb(0 0 0 / 0.08);++ /* Shared motion curves (stronger than the built-in CSS easings). Use these+ for consistency: --ease-out for UI enter/press, --ease-drawer for+ drawers/sheets, --ease-in-out for on-screen movement. */+ --ease-out: cubic-bezier(0.23, 1, 0.32, 1);+ --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);+ --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);+ }++ /* Standard buttons have a compact physical edge. Hover lifts the face by 1px;+ pressing nudges it down while the depth disappears. */+ .button:not(:disabled) {+ --button-depth-color: rgb(0 0 0 / 0.22);+ --button-depth: 0 2px 0 var(--button-depth-color);+ --button-depth-hover: 0 3px 0 var(--button-depth-color);++ box-shadow: var(--button-depth);+ }++ .button.button-highlighted:not(:disabled),+ .button[isHighlighted]:not(:disabled) {+ --button-depth-color: color-mix(in oklab, var(--color-coollabs) 52%, black);+ }++ .dark .button:not(.button-highlighted):not(.button-error):not([isHighlighted]):not(:disabled) {+ --button-depth-color: rgb(255 255 255 / 0.08);+ }++ .button.button-error:not(:disabled) {+ --button-depth-color: var(--color-red-300);+ }++ .dark .button.button-error:not(:disabled) {+ --button-depth-color: var(--color-red-800);+ }++ /* Keep the shared focus indicator when the depth shadow owns box-shadow. */+ .button:not(:disabled):focus-visible {+ box-shadow: var(--button-depth), 0 0 0 1px var(--color-accent);+ }++ .button:not(:disabled):hover {+ transform: translateY(-1px);+ box-shadow: var(--button-depth-hover);+ }++ .button:not(:disabled):hover:focus-visible {+ box-shadow: var(--button-depth-hover), 0 0 0 1px var(--color-accent);+ }++ /* Other button-like controls retain the lighter scale feedback. */+ .button,+ .icon-button,+ .app-tab,+ .split-action-main,+ .split-action-caret {+ transition-property: color, background-color, border-color, box-shadow, transform;+ transition-timing-function: var(--ease-out);+ transition-duration: 120ms;+ }++ .button {+ transition-duration: 120ms, 120ms, 120ms, 80ms, 80ms;+ }++ .icon-button:not(:disabled):active,+ .app-tab:active,+ .split-action-main:not(:disabled):active,+ .split-action-caret:not(:disabled):active {+ transform: scale(0.97);+ }++ .button:not(:disabled):active {+ transform: translateY(2px);+ box-shadow: none;+ }++ /* Focus border/ring on any form control should ease, not snap. The accent+ focus indicator is a border-color and/or box-shadow (ring) change, which the+ utilities' `transition-colors` did not fully animate. Target the elements+ themselves (covers bespoke search fields too) plus the div-based controls. */+ input,+ textarea,+ select,+ .listbox-trigger,+ .chip-input {+ transition-property: color, background-color, border-color, box-shadow;+ transition-timing-function: var(--ease-out);+ transition-duration: 120ms;}+/*+ Traffic-analytics chart tokens (light defaults; dark overrides below).+ One source of truth shared by ApexCharts donuts, the geo choropleth SVG,+ and proportional bars — JS reads them at runtime via getComputedStyle.+ Palette validated with the dataviz skill; contrast ratios are recorded in+ the PR description. See resources/views/livewire/traffic/_geo.blade.php.+*/+:root {+ /* Categorical HTTP status palette (labelled 2xx/3xx/4xx/5xx in every legend). */+ --chart-status-2xx: #15803d;+ --chart-status-3xx: #2563eb;+ --chart-status-4xx: #d97706;+ --chart-status-5xx: #dc2626;++ /* KPI sparkline accent for Bandwidth (violet — distinct from the status hues). */+ --chart-spark-bandwidth: #7c3aed;++ /* Sequential 5-step geo ramp (low -> high traffic) + neutral empty. */+ --chart-geo-1: #3b82f6;+ --chart-geo-2: #2563eb;+ --chart-geo-3: #1d4ed8;+ --chart-geo-4: #1e40af;+ --chart-geo-5: #172554;+ --chart-geo-empty: #e5e7eb;+ --chart-geo-stroke: #ffffff;+}++.dark {+ --chart-status-2xx: #22c55e;+ --chart-status-3xx: #3b82f6;+ --chart-status-4xx: #f59e0b;+ --chart-status-5xx: #ef4444;++ --chart-spark-bandwidth: #a78bfa;++ --chart-geo-1: #2563eb;+ --chart-geo-2: #3b82f6;+ --chart-geo-3: #60a5fa;+ --chart-geo-4: #93c5fd;+ --chart-geo-5: #bfdbfe;+ --chart-geo-empty: #262626;+ --chart-geo-stroke: #101010;+}+/*The default border color has changed to `currentcolor` in Tailwind CSS v4,so we've added these compatibility styles to make sure everything stilldiff --cc resources/views/livewire/dashboard.blade.phpindex 5d12e9f59c,f4bf96fbb7..9023e71bbc--- a/resources/views/livewire/dashboard.blade.php+++ b/resources/views/livewire/dashboard.blade.php@@@ -16,24 -16,9 +16,11 @@@<div class="flex min-w-0 flex-col gap-8"><livewire:dashboard.active-deployments />+ <livewire:dashboard.traffic-analytics />+<section class="mb-0! min-w-0">- <div class="mb-3 flex items-end justify-between gap-4">- <div>- <h2 class="text-[14px]! leading-5! font-semibold! text-black dark:text-fg">- Projects- </h2>- <p class="mt-0.5 text-[11px] text-neutral-500 dark:text-fg-faint">- Your deployment workspaces- </p>- </div>- <a href="{{ route('project.index') }}" {{ wireNavigate() }}- class="inline-flex shrink-0 items-center gap-1 text-[12px] font-medium text-neutral-500 transition-colors hover:text-black dark:text-fg-dim dark:hover:text-fg">- View all- <x-reicon name="arrow-right" class="size-3" />- </a>- </div>+ <x-section-heading title="Projects" subtitle="Your deployment workspaces"+ :href="route('project.index')" />@if ($dashboardProjects->isEmpty())<x-empty title="No projects yet"