- Built custom vanilla JS Window Manager (window-manager.js) - Replaced default.gbui with new desktop.html featuring Windows 95 spatial metaphor + Tailwind aesthetics - Redesigned icons, taskbar, sidebar, and workspace to exactly match the target PDF layout - Migrated Chat, Tasks, and Terminal into pure HTMX fragments to load seamlessly inside floating panels - Added missing CSS rules to handle window rendering without CDNs
140 lines
4 KiB
CSS
140 lines
4 KiB
CSS
|
|
.app-icon {
|
|
background: linear-gradient(135deg, #4ade80 0%, #15803d 100%);
|
|
box-shadow:
|
|
inset 0px 2px 4px rgba(255,255,255,0.4),
|
|
inset 0px -2px 4px rgba(0,0,0,0.3),
|
|
0px 6px 12px rgba(0,0,0,0.15);
|
|
border: 1px solid #14532d;
|
|
border-bottom-width: 3px;
|
|
}
|
|
|
|
.workspace-bg {
|
|
background-color: #fafdfa;
|
|
}
|
|
|
|
.workspace-grid {
|
|
background-image: linear-gradient(to right, #f0fdf4 1px, transparent 1px), linear-gradient(to bottom, #f0fdf4 1px, transparent 1px);
|
|
background-size: 40px 40px;
|
|
}
|
|
|
|
/* Custom scrollbar for terminal */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: #333;
|
|
border-radius: 4px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #555;
|
|
}
|
|
|
|
/* Window Manager Core Styles (replacing missing Tailwind classes) */
|
|
.window-element {
|
|
position: absolute;
|
|
width: 700px;
|
|
height: 500px;
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid #e5e7eb;
|
|
overflow: hidden;
|
|
z-index: 100;
|
|
}
|
|
|
|
.window-header {
|
|
height: 40px;
|
|
background-color: rgba(255, 255, 255, 0.95);
|
|
backdrop-filter: blur(4px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 16px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
user-select: none;
|
|
cursor: move;
|
|
}
|
|
|
|
.window-header .font-mono {
|
|
font-family: 'Fira Code', monospace;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: #16a34a; /* brand-600 */
|
|
letter-spacing: 0.025em;
|
|
}
|
|
|
|
.window-header-controls {
|
|
display: flex;
|
|
gap: 12px;
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.window-header button {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
color: inherit;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.window-header .btn-minimize:hover,
|
|
.window-header .btn-maximize:hover {
|
|
color: #4b5563;
|
|
}
|
|
|
|
.window-header .btn-close:hover {
|
|
color: #ef4444;
|
|
}
|
|
|
|
.window-body {
|
|
position: relative;
|
|
flex: 1 1 0%;
|
|
overflow-y: auto;
|
|
background-color: #fafdfa;
|
|
padding: 16px;
|
|
}
|
|
|
|
|
|
.w-\[700px\] { width: 700px; }
|
|
.h-\[500px\] { height: 500px; }
|
|
.bg-white { background-color: #fff; }
|
|
.rounded-lg { border-radius: 0.5rem; }
|
|
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
|
|
.flex { display: flex; }
|
|
.flex-col { flex-direction: column; }
|
|
.border { border-width: 1px; border-style: solid; }
|
|
.border-gray-200 { border-color: #e5e7eb; }
|
|
.overflow-hidden { overflow: hidden; }
|
|
.absolute { position: absolute; }
|
|
|
|
|
|
.h-10 { height: 2.5rem; }
|
|
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
|
|
.backdrop-blur { backdrop-filter: blur(8px); }
|
|
.items-center { align-items: center; }
|
|
.justify-between { justify-content: space-between; }
|
|
.px-4 { padding-left: 1rem; padding-right: 1rem; }
|
|
.border-b { border-bottom-width: 1px; }
|
|
.select-none { user-select: none; }
|
|
.cursor-move { cursor: move; }
|
|
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
|
|
.text-xs { font-size: 0.75rem; line-height: 1rem; }
|
|
.font-bold { font-weight: 700; }
|
|
.text-brand-600 { color: #84d669; }
|
|
.tracking-wide { letter-spacing: 0.025em; }
|
|
.space-x-3 > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 0; margin-right: calc(0.75rem * var(--tw-space-x-reverse)); margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse))); }
|
|
.text-gray-400 { color: #9ca3af; }
|
|
.hover\:text-gray-600:hover { color: #4b5563; }
|
|
.hover\:text-red-500:hover { color: #ef4444; }
|
|
.relative { position: relative; }
|
|
.flex-1 { flex: 1 1 0%; }
|
|
.overflow-y-auto { overflow-y: auto; }
|
|
.bg-\[\#fafdfa\] { background-color: #fafdfa; }
|
|
|