Files
Caramel-CRM/resources/css/app.css
T

249 lines
7.6 KiB
CSS
Raw Normal View History

2025-10-20 08:57:51 +02:00
@import 'tailwindcss';
@import 'tw-animate-css';
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@custom-variant dark (&:is(.dark *));
@theme inline {
--font-sans: system-ui, sans-serif;
--font-serif: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
--radius-lg: var(--radius);
--radius-md: calc(var(--radius) - 2px);
--radius-sm: calc(var(--radius) - 4px);
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-success: var(--success);
--color-success-foreground: var(--success-foreground);
2025-10-20 08:57:51 +02:00
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--color-chart-1: var(--chart-1);
--color-chart-2: var(--chart-2);
--color-chart-3: var(--chart-3);
--color-chart-4: var(--chart-4);
--color-chart-5: var(--chart-5);
--color-sidebar: var(--sidebar-background);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-ring: var(--sidebar-ring);
--color-status-draft: var(--status-draft);
--color-status-sent: var(--status-sent);
--color-status-paid: var(--status-paid);
--color-status-due: var(--status-due);
--color-status-reminded: var(--status-reminded);
2025-11-11 11:49:38 +01:00
--color-main: var(--main-background);
/* https://typescale.com/ /*
/* Major Third */
--text-5xl: 3.815rem;
--text-4xl: 3.052rem;
2025-11-11 11:49:38 +01:00
--text-3xl: 2.441rem;
--text-2xl: 1.953rem;
--text-xl: 1.563rem;
--text-lg: 1.25rem;
--text-base: 1rem;
--text-sm: 0.8rem;
--text-xs: 0.64rem;
--shadow-arrow: 0 2px 1px rgb(0 0 0 / 0.1)
2025-10-20 08:57:51 +02:00
}
/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
@layer utilities {
body,
html {
--font-sans: system-ui, sans-serif;
font-size: 18px;
background-color: var(--sidebar-background);
/* background: linear-gradient(45deg, var(--color-slate-100), var(--color-orange-100)); */
2025-10-20 08:57:51 +02:00
letter-spacing: 0.006em;
}
}
:root {
--background: hsl(0 0% 100%);
--foreground: hsl(0 0% 3.9%);
--card: hsl(0 0% 100%);
--card-foreground: hsl(0 0% 3.9%);
--popover-foreground: hsl(0 0% 3.9%);
2025-11-11 11:49:38 +01:00
--popover: var(--color-background);
--popover-foreground: var(--color-gray-900);
2025-10-20 08:57:51 +02:00
--primary: var(--color-orange-200);
--primary-foreground: var(--color-orange-600);
--secondary: hsl(0 0% 92.1%);
--secondary-foreground: hsl(0 0% 9%);
2025-11-11 11:49:38 +01:00
--muted: var(--color-gray-50);
--muted-foreground: var(--color-gray-400);
--accent: var(--color-gray-50);
2025-10-20 08:57:51 +02:00
--accent-foreground: hsl(0 0% 9%);
--destructive: var(--color-red-500);
--destructive-foreground: hsl(0 0% 98%);
--success: var(--color-lime-400);
--success-foreground: var(--color-foreground);
2025-10-20 08:57:51 +02:00
--border: hsl(0 0% 92.8%);
--input: var(--color-zinc-100);
--ring: hsl(0 0% 3.9%);
--chart-1: hsl(12 76% 61%);
2025-11-11 11:49:38 +01:00
--chart-2: hsl(313, 58%, 39%);
2025-10-20 08:57:51 +02:00
--chart-3: hsl(197 37% 24%);
--chart-4: hsl(43 74% 66%);
--chart-5: hsl(27 87% 67%);
--radius: 0.5rem;
2025-11-11 11:49:38 +01:00
--main-background: transparent;
--sidebar-background: var(--color-slate-100);
2025-10-20 08:57:51 +02:00
--sidebar-foreground: hsl(240 5.3% 26.1%);
--sidebar-primary: hsl(0 0% 10%);
--sidebar-primary-foreground: hsl(0 0% 98%);
2025-11-11 11:49:38 +01:00
--sidebar-accent: var(--color-white);
2025-10-20 08:57:51 +02:00
--sidebar-accent-foreground: hsl(0 0% 30%);
2025-11-11 11:49:38 +01:00
--sidebar-border: var(--color-gray-300);
2025-10-20 08:57:51 +02:00
--sidebar-ring: hsl(217.2 91.2% 59.8%);
--sidebar: hsl(0 0% 98%);
2025-11-11 11:49:38 +01:00
--status-draft: var(--color-gray-100);
2025-10-20 08:57:51 +02:00
--status-sent: var(--color-sky-400);
--status-paid: var(--color-lime-500);
--status-due: var(--color-amber-300);
--status-reminded: var(--color-destructive);
--scrollbar-thumb: --alpha(black / 20%);
--scrollbar-track: transparent;
2025-10-20 08:57:51 +02:00
}
.dark {
--background: var(--color-neutral-800);
--foreground: var(--color-neutral-300);
--card: var(--color-neutral-800);
2025-10-20 08:57:51 +02:00
--card-foreground: hsl(0 0% 98%);
/* --popover: hsl(0 0% 3.9%); */
--popover: var(--color-neutral-900);
2025-10-20 08:57:51 +02:00
--popover-foreground: hsl(0 0% 98%);
--primary: var(--color-orange-300);
--primary-foreground: var(--color-orange-600);
--secondary: hsl(0 0% 14.9%);
--secondary-foreground: hsl(0 0% 98%);
--muted: var(--color-neutral-700);
--muted-foreground: var(--color-neutral-400);
--accent: oklch(25% 0 0);
2025-10-20 08:57:51 +02:00
--accent-foreground: hsl(0 0% 98%);
--destructive: var(--color-red-600);
--destructive-foreground: var(--color-red-200);
--success: var(--color-lime-900);
--success-foreground: var(--color-lime-400);
2025-10-20 08:57:51 +02:00
--border: var(--color-neutral-700);
--input: var(--color-neutral-700);
--ring: var(--color-neutral-500);
--chart-1: hsl(220 70% 50%);
--chart-2: hsl(160 60% 45%);
--chart-3: hsl(30 80% 55%);
--chart-4: hsl(280 65% 60%);
--chart-5: hsl(340 75% 55%);
2025-11-11 11:49:38 +01:00
--main-background: transparent;
2025-10-20 08:57:51 +02:00
--sidebar-background: var(--color-neutral-700);
--sidebar-foreground: hsl(0 0% 95.9%);
--sidebar-primary: hsl(360, 100%, 100%);
--sidebar-primary-foreground: hsl(0 0% 100%);
--sidebar-accent: hsl(0 0% 15.9%);
--sidebar-accent-foreground: hsl(240 4.8% 95.9%);
--sidebar-border: var(--color-neutral-600);
--sidebar-ring: hsl(217.2 91.2% 59.8%);
--sidebar: hsl(240 5.9% 10%);
--status-draft: var(--color-zinc-500);
--status-sent: var(--color-sky-700);
--status-paid: var(--color-lime-700);
--status-due: var(--color-amber-900);
--status-reminded: var(--color-destructive-foreground);
--scrollbar-thumb: --alpha(white / 35%);
2025-10-20 08:57:51 +02:00
}
@layer base {
* {
@apply border-border outline-ring/50;
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
2025-10-20 08:57:51 +02:00
}
body {
@apply bg-background text-foreground;
}
}
@layer components {
.is-mac .visible-pc {
display: none !important;
}
.visible-mac {
display: none !important;
}
.is-mac .visible-mac {
display: inherit !important;
}
}
@layer utilities {
/* Remove default dialog close button */
[data-slot=dialog-content] button.ring-offset-background {
display: none;
}
/* Backdrop */
[data-slot=dialog-overlay] {
backdrop-filter: blur(var(--blur-sm));
}
2025-10-20 08:57:51 +02:00
}