/* ═══ HugPanel Custom Styles ═══ */ /* Scrollbar */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #374151; border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #4b5563; } /* Hide scrollbar utility */ .scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; } .scrollbar-hide::-webkit-scrollbar { display: none; } /* Terminal container */ #terminal-container { min-height: 200px; } #terminal-container .xterm { height: 100%; padding: 4px; } #terminal-container .xterm-viewport { scrollbar-width: thin; scrollbar-color: #374151 transparent; } #terminal-container .xterm-viewport::-webkit-scrollbar { width: 6px; } #terminal-container .xterm-viewport::-webkit-scrollbar-thumb { background: #374151; border-radius: 3px; } /* Textarea editor */ textarea { tab-size: 4; -moz-tab-size: 4; } /* Smooth transitions */ * { -webkit-tap-highlight-color: transparent; } /* Mobile touch improvements */ @media (max-width: 1023px) { .group:hover .group-hover\:opacity-100 { opacity: 1; } /* Always show file actions on mobile */ .group .opacity-0 { opacity: 1 !important; } } /* Focus ring */ input:focus, textarea:focus, button:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3); } /* Animation for loading spinner */ @keyframes spin { to { transform: rotate(360deg); } } .animate-spin { animation: spin 1s linear infinite; } /* Bottom sheet modal on mobile */ @media (max-width: 639px) { [x-show="showCreateZone"] > div, [x-show="showRename"] > div { border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; } }