crimata-os/ui/styles/window.css
Andrew Gundersen cbea265775 Initial commit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 15:35:31 -05:00

61 lines
1,010 B
CSS

.window {
position: absolute;
display: flex;
flex-direction: column;
background: #fff;
border-radius: 12px;
box-shadow: 0 24px 80px rgba(0,0,0,0.5);
overflow: hidden;
min-width: 300px;
min-height: 200px;
}
.window-titlebar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 12px;
height: 40px;
background: #f5f5f5;
border-bottom: 1px solid #e0e0e0;
cursor: move;
user-select: none;
flex-shrink: 0;
}
.window-title {
font-size: 0.85rem;
font-weight: 600;
color: #333;
}
.window-close {
background: none;
border: none;
cursor: pointer;
font-size: 0.8rem;
color: #999;
width: 24px;
height: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.15s, color 0.15s;
}
.window-close:hover {
background: #ff5f57;
color: #fff;
}
.window-content {
flex: 1;
overflow: hidden;
}
.window-content iframe {
width: 100%;
height: 100%;
border: none;
}