ldc-supportweb/resources/sass/back/app.scss
2026-04-30 14:48:24 +02:00

133 lines
3.2 KiB
SCSS

@use '/node_modules/flag-icons/css/flag-icons.min.css';
@use './fonts';
@use './inputs/wysiwyg';
@use './../common';
@layer base {
.light {
--background: 0 0% 100%;
--foreground: 10 50% 8%;
--muted: 10 20% 95%;
--muted-foreground: 10 10% 45%;
--popover: 0 0% 100%;
--popover-foreground: 10 50% 8%;
--card: 0 0% 100%;
--card-foreground: 10 50% 8%;
--border: 10 15% 88%;
--input: 10 15% 88%;
--primary: 10 75% 29%;
--primary-foreground: 0 0% 96%;
--secondary: 10 20% 94%;
--secondary-foreground: 10 30% 15%;
--accent: 10 20% 94%;
--accent-foreground: 10 30% 15%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--successive: 113 100% 38%;
--successive-foreground: 0 0% 98%;
--informative: 207 69% 48%;
--informative-foreground: 0 0% 98%;
--preventive: 46 100% 50%;
--preventive-foreground: 46 50% 10%;
--ring: 10 75% 29%;
--radius: 0.5rem;
--sidebar-background: 10 75% 29%;
--sidebar-foreground: 0 0% 96%;
--sidebar-primary: 10 50% 15%;
--sidebar-primary-foreground: 0 0% 98%;
--sidebar-accent: 10 30% 38%;
--sidebar-accent-foreground: 0 0% 95%;
--sidebar-border: 10 40% 22%;
--sidebar-ring: 10 75% 55%;
}
.dark {
--background: 10 12% 12%;
--foreground: 10 15% 85%;
--muted: 10 10% 18%;
--muted-foreground: 15 10% 52%;
--popover: 10 12% 13%;
--popover-foreground: 10 15% 85%;
--card: 10 12% 13%;
--card-foreground: 10 15% 85%;
--border: 10 10% 22%;
--input: 10 10% 22%;
--primary: 10 75% 55%;
--primary-foreground: 0 0% 98%;
--secondary: 10 10% 20%;
--secondary-foreground: 10 15% 72%;
--accent: 10 10% 20%;
--accent-foreground: 10 15% 72%;
--destructive: 0 72% 51%;
--destructive-foreground: 0 0% 98%;
--successive: 113 60% 45%;
--successive-foreground: 0 0% 98%;
--informative: 207 69% 55%;
--informative-foreground: 0 0% 98%;
--preventive: 46 90% 50%;
--preventive-foreground: 46 50% 10%;
--ring: 10 75% 55%;
--radius: 0.5rem;
--sidebar-background: 10 45% 14%;
--sidebar-foreground: 10 15% 85%;
--sidebar-primary: 10 75% 55%;
--sidebar-primary-foreground: 0 0% 98%;
--sidebar-accent: 10 15% 22%;
--sidebar-accent-foreground: 10 15% 72%;
--sidebar-border: 10 10% 22%;
--sidebar-ring: 10 75% 55%;
}
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}
html {
scroll-behavior: smooth;
}
.animation-transition {
animation: 0.4s animation-transition linear;
}
@keyframes animation-transition {
0% {
opacity: 0;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.table-actions {
th:last-child,
td:last-child {
@apply bg-muted dark:bg-muted sticky top-0 right-0 w-[72px];
}
}
.richtext-outline,
.richtext-outline-1,
.richtext-shadow {
all: unset !important;
}
// Wysiwyg classes.
.reactjs-tiptap-editor {
@apply rounded-md border border-input bg-background;
}
/* stylelint-disable-next-line selector-class-pattern */
.ProseMirror-focused {
@apply rounded-b ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2;
}