251 lines
8.4 KiB
CSS
251 lines
8.4 KiB
CSS
@import 'tailwindcss';
|
|
|
|
@plugin 'tailwindcss-animate';
|
|
|
|
@source "../views";
|
|
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme {
|
|
--font-sans:
|
|
'Inter', sans-serif, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
|
|
--radius: 0.625rem;
|
|
--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-primary-dark: var(--primary-dark);
|
|
--color-primary-light: var(--primary-light);
|
|
|
|
--color-secondary: var(--secondary);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-secondary-dark: var(--secondary-dark);
|
|
--color-secondary-light: var(--secondary-light);
|
|
--color-secondary-lighter: var(--secondary-lighter);
|
|
|
|
--color-muted: var(--muted);
|
|
--color-muted-light: var(--muted-light);
|
|
--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-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);
|
|
--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);
|
|
|
|
--shadow-card: var(--card-shadow);
|
|
--shadow-card-md: var(--card-shadow-md);
|
|
--shadow-card-lg: var(--card-shadow-lg);
|
|
--shadow-card-hover: var(--card-shadow-hover);
|
|
}
|
|
|
|
/*
|
|
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);
|
|
}
|
|
}
|
|
|
|
:root {
|
|
--background: oklch(1 0 0);
|
|
--foreground: oklch(0.145 0 0);
|
|
--card: oklch(1 0 0);
|
|
--card-foreground: oklch(0.145 0 0);
|
|
--popover: oklch(1 0 0);
|
|
--popover-foreground: oklch(0.145 0 0);
|
|
/* --primary: oklch(0.205 0 0); */
|
|
--primary: oklch(0.265 0.0216 248.65);
|
|
--primary-dark: oklch(0.1921 0.0178 248.77);
|
|
--primary-light: oklch(0.3301 0.0698 66.39);
|
|
--primary-foreground: oklch(0.985 0 0);
|
|
|
|
/* --secondary: oklch(0.97 0 0); */
|
|
--secondary: oklch(0.643 0.144 160.62 / 10.2%);
|
|
--secondary-dark: oklch(0.3575 0.1007 148.49);
|
|
--secondary-light: oklch(0.643 0.144 160.62 / 16%);
|
|
--secondary-lighter: oklch(0.643 0.144 160.62 / 5%);
|
|
/* --secondary-foreground: oklch(0.205 0 0); */
|
|
--secondary-foreground: oklch(0.6468 0.144588 160.7462);
|
|
|
|
--muted: oklch(0.97 0 0);
|
|
--muted-light: oklch(0.9722 0.0034 247.86);
|
|
--muted-foreground: oklch(0.556 0 0);
|
|
--accent: oklch(0.97 0 0);
|
|
--accent-foreground: oklch(0.205 0 0);
|
|
--destructive: oklch(0.577 0.245 27.325);
|
|
--destructive-foreground: oklch(0.985 0 0);
|
|
--border: oklch(0.922 0 0);
|
|
--input: oklch(0.922 0 0);
|
|
--ring: oklch(0.87 0 0);
|
|
--chart-1: oklch(0.646 0.222 41.116);
|
|
--chart-2: oklch(0.6 0.118 184.704);
|
|
--chart-3: oklch(0.398 0.07 227.392);
|
|
--chart-4: oklch(0.828 0.189 84.429);
|
|
--chart-5: oklch(0.769 0.188 70.08);
|
|
--radius: 0.625rem;
|
|
--sidebar: oklch(0.985 0 0);
|
|
--sidebar-foreground: oklch(0.145 0 0);
|
|
--sidebar-primary: oklch(0.205 0 0);
|
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
--sidebar-accent: oklch(0.97 0 0);
|
|
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
--sidebar-border: oklch(0.922 0 0);
|
|
--sidebar-ring: oklch(0.87 0 0);
|
|
--card-shadow: 0 0 2px 0 rgba(145 158 171 / 0.2), 0 12px 24px -4px rgba(145 158 171 / 0.12);
|
|
--card-shadow-hover: 0 24px 48px 0 rgba(145 158 171 / 16%);
|
|
--card-shadow-md:
|
|
0 3.75px 7.5px -2.25px rgba(107, 114, 128, 0.03), 0 6px 13.5px 0.75px rgba(107, 114, 128, 0.04),
|
|
0 2.25px 24.75px 1.5px rgba(107, 114, 128, 0.08);
|
|
--card-shadow-lg: 0 12px 24px -4px rgba(145, 158, 171, 0.12), 0 1px 2px 0 rgba(145, 158, 171, 0.2);
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.145 0 0);
|
|
--foreground: oklch(0.985 0 0);
|
|
--card: oklch(0.145 0 0);
|
|
--card-foreground: oklch(0.985 0 0);
|
|
--popover: oklch(0.145 0 0);
|
|
--popover-foreground: oklch(0.985 0 0);
|
|
--primary: oklch(0.985 0 0);
|
|
--primary-foreground: oklch(0.205 0 0);
|
|
|
|
/* --secondary: oklch(0.269 0 0); */
|
|
--secondary: oklch(0.643 0.144 160.62 / 10.2%);
|
|
--secondary-dark: oklch(0.3575 0.1007 148.49);
|
|
--secondary-light: oklch(0.643 0.144 160.62 / 16%);
|
|
--secondary-lighter: oklch(0.643 0.144 160.62 / 5%);
|
|
/* --secondary-foreground: oklch(0.985 0 0); */
|
|
--secondary-foreground: oklch(0.6468 0.144588 160.7462);
|
|
|
|
--muted: oklch(0.269 0 0);
|
|
--muted-foreground: oklch(0.708 0 0);
|
|
--accent: oklch(0.269 0 0);
|
|
--accent-foreground: oklch(0.985 0 0);
|
|
--destructive: oklch(0.396 0.141 25.723);
|
|
--destructive-foreground: oklch(0.637 0.237 25.331);
|
|
--border: oklch(0.269 0 0);
|
|
--input: oklch(0.269 0 0);
|
|
--ring: oklch(0.439 0 0);
|
|
--chart-1: oklch(0.488 0.243 264.376);
|
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
--chart-3: oklch(0.769 0.188 70.08);
|
|
--chart-4: oklch(0.627 0.265 303.9);
|
|
--chart-5: oklch(0.645 0.246 16.439);
|
|
--sidebar: oklch(0.205 0 0);
|
|
--sidebar-foreground: oklch(0.985 0 0);
|
|
--sidebar-primary: oklch(0.985 0 0);
|
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
--sidebar-accent: oklch(0.269 0 0);
|
|
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
--sidebar-border: oklch(0.269 0 0);
|
|
--sidebar-ring: oklch(0.439 0 0);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border;
|
|
}
|
|
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
|
|
a,
|
|
button {
|
|
@apply !shadow-none;
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
.container {
|
|
@apply mx-auto max-w-[1280px] px-5;
|
|
}
|
|
|
|
.horizontal-tabs-list {
|
|
@apply border-border bg-card text-card-foreground grid h-auto grid-cols-1 overflow-hidden rounded-2xl border px-0 py-5 shadow;
|
|
}
|
|
|
|
.horizontal-tabs-trigger {
|
|
@apply border-primary data-[state=active]:!bg-muted hover:!bg-muted data-[state=active]:before:bg-primary relative flex cursor-pointer items-center justify-start gap-3 rounded-none px-5 py-3 text-start !shadow-none before:absolute before:top-0 before:bottom-0 before:left-0 before:rounded-r-xl data-[state=active]:before:w-1 data-[state=active]:before:content-['.'];
|
|
}
|
|
|
|
.vertical-tabs-list {
|
|
@apply rounded-none bg-transparent px-0 py-6;
|
|
}
|
|
|
|
.vertical-tabs-trigger {
|
|
@apply border-primary data-[state=active]:!bg-muted data-[state=active]:before:bg-primary relative flex cursor-pointer items-center justify-start gap-3 rounded-none bg-transparent px-8 py-4 text-start !shadow-none before:absolute before:right-0 before:bottom-0 before:left-0 before:h-1 before:rounded-t-xl data-[state=active]:before:content-['.'];
|
|
}
|
|
|
|
.bg-card {
|
|
@apply shadow-card border-muted;
|
|
}
|
|
|
|
/* Intro Style */
|
|
.section-edit {
|
|
@apply relative border border-dashed border-gray-500;
|
|
}
|
|
|
|
/* Apply styles to Plyr elements */
|
|
.lesson-container {
|
|
@apply w-full overflow-hidden rounded-none border-none md:max-h-[calc(100vh-60px)] md:min-h-[80vh];
|
|
}
|
|
.plyr {
|
|
--plyr-color-main: var(--secondary-foreground);
|
|
}
|
|
.lesson-container .plyr--video {
|
|
@apply h-full w-full md:max-h-[calc(100vh-60px)] md:min-h-[80vh];
|
|
}
|
|
}
|
|
|
|
[data-slot='dialog-content'] .ring-offset-background {
|
|
@apply cursor-pointer;
|
|
}
|
|
|
|
button[data-orientation='vertical'] {
|
|
@apply cursor-pointer;
|
|
}
|