Update Appimage

This commit is contained in:
MacRimi
2025-11-22 19:27:45 +01:00
parent ba86fa6d3e
commit c02606df6a
2 changed files with 71 additions and 20 deletions

View File

@@ -1,10 +1,8 @@
@tailwind base; @import "tailwindcss";
@tailwind components; @import "tw-animate-css";
@tailwind utilities;
@custom-variant dark (&:is(.dark *));
/* ===================== */
/* Light Mode (default) */
/* ===================== */
:root { :root {
--background: oklch(1 0 0); /* blanco */ --background: oklch(1 0 0); /* blanco */
--foreground: oklch(0.145 0 0); /* casi negro */ --foreground: oklch(0.145 0 0); /* casi negro */
@@ -84,8 +82,8 @@
--input: var(--border); --input: var(--border);
--ring: oklch(0.55 0 0); --ring: oklch(0.55 0 0);
--chart-1: oklch(0.60 0.20 255); --chart-1: oklch(0.6 0.2 255);
--chart-2: oklch(0.70 0.16 165); --chart-2: oklch(0.7 0.16 165);
--chart-3: oklch(0.76 0.19 70); --chart-3: oklch(0.76 0.19 70);
--chart-4: oklch(0.63 0.25 305); --chart-4: oklch(0.63 0.25 305);
--chart-5: oklch(0.66 0.24 20); --chart-5: oklch(0.66 0.24 20);
@@ -100,12 +98,52 @@
--sidebar-ring: var(--ring); --sidebar-ring: var(--ring);
} }
@theme inline {
/* optional: --font-sans, --font-serif, --font-mono if they are applied in the layout.tsx */
--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-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);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--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);
}
/* ===================== */ /* ===================== */
/* Base layer */ /* Base layer */
/* ===================== */ /* ===================== */
@layer base { @layer base {
* { * {
@apply border-border; @apply border-border outline-ring/50;
} }
body { body {
@@ -143,4 +181,17 @@
.chartjs-render-monitor line { .chartjs-render-monitor line {
stroke: var(--border); stroke: var(--border);
} }
/* Eliminar padding de xterm para centrar contenido como en Proxmox real */
.xterm {
padding: 0 !important;
}
.xterm .xterm-viewport {
overflow-y: auto !important;
}
.xterm .xterm-screen {
padding: 0 !important;
}
} }

View File

@@ -288,7 +288,7 @@ export const TerminalPanel: React.FC<TerminalPanelProps> = ({ websocketUrl, onCl
cursorBlink: true, cursorBlink: true,
scrollback: 2000, scrollback: 2000,
disableStdin: false, disableStdin: false,
cols: isMobile ? 40 : layout === "grid" ? 60 : 120, cols: isMobile ? 80 : layout === "grid" ? 60 : 120,
rows: isMobile ? 20 : layout === "grid" ? 15 : 30, rows: isMobile ? 20 : layout === "grid" ? 15 : 30,
theme: { theme: {
background: "#000000", background: "#000000",