mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-16 09:06:23 +00:00
Update globals.css
This commit is contained in:
@@ -139,26 +139,27 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ===================== */
|
/* ===================== */
|
||||||
/* Base layer */
|
/* Base Styles */
|
||||||
/* ===================== */
|
/* ===================== */
|
||||||
@layer base {
|
/* Removed @layer base and converted @apply to native CSS for Tailwind v4 compatibility */
|
||||||
* {
|
* {
|
||||||
@apply border-border outline-ring/50;
|
border-color: var(--border);
|
||||||
|
outline-color: color-mix(in oklch, var(--ring), transparent 50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@apply bg-background text-foreground;
|
background-color: var(--background);
|
||||||
|
color: var(--foreground);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Foco accesible */
|
/* Foco accesible */
|
||||||
:is(button, [role="button"], a, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus {
|
:is(button, [role="button"], a, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus {
|
||||||
@apply outline-none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
:is(button, [role="button"], a, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus-visible {
|
:is(button, [role="button"], a, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus-visible {
|
||||||
@apply ring-2;
|
outline: 2px solid color-mix(in oklch, var(--ring), transparent 50%);
|
||||||
--tw-ring-color: var(--ring);
|
outline-offset: 2px;
|
||||||
--tw-ring-opacity: 0.5; /* equivalente al /50 */
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ===================== */
|
/* ===================== */
|
||||||
@@ -192,6 +193,8 @@
|
|||||||
|
|
||||||
.xterm .xterm-viewport {
|
.xterm .xterm-viewport {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
|
overflow-y: scroll !important;
|
||||||
|
overflow-x: hidden !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.xterm .xterm-screen {
|
.xterm .xterm-screen {
|
||||||
@@ -202,4 +205,11 @@
|
|||||||
.xterm .xterm-rows {
|
.xterm .xterm-rows {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Ensure xterm helper elements don't interfere with layout */
|
||||||
|
.xterm .xterm-helpers {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user