* {
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
}
body {
font-family: 'Segoe UI', sans-serif;
background: url('wall3.jpg') center/cover;
height: 100vh;
overflow: hidden;
background-color: #0078D4;
}
@keyframes modalShow {
from {
transform: translate(-50%, -50%) scale(0.95);
opacity: 0;
}
to {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
}
}
@keyframes modalHide {
from {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
}
to {
transform: translate(-50%, -50%) scale(0.95);
opacity: 0;
}
}
@keyframes windowMinimize {
from {
transform: scale(1);
opacity: 1;
}
to {
transform: scale(0.7) translateY(50vh);
opacity: 0;
}
}
@keyframes windowMaximize {
from {
transform: scale(1);
}
to {
transform: scale(1.02);
}
}
.desktop-icons {
padding: 20px;
display: flex;
flex-direction: column;
gap: 20px;
}
.desktop-icon {
width: 80px;
text-align: center;
color: white;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
padding: 5px;
}
.desktop-icon:hover {
background: rgba(255, 255, 255, 0.1);
}
.desktop-icon svg {
width: 40px;
height: 40px;
margin-bottom: 5px;
filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.8));
}
.desktop-icon span {
font-size: 12px;
display: block;
}
.taskbar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 80px;
background: rgba(32, 32, 32, 0.8);
backdrop-filter: blur(10px);
display: flex;
padding: 0;
z-index: 1000;
}
.start-button {
width: 48px;
height: 80px;
min-width: 48px;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
margin: 0;
padding: 0;
}
.start-button:hover {
background: rgba(255, 255, 255, 0.1);
}
.start-button svg {
width: 24px;
height: 24px;
}
.pinned-apps {
display: flex;
flex-wrap: wrap;
height: 40px;
align-content: flex-start;
margin: 0;
padding: 0;
}
.taskbar-icon {
width: 48px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
position: relative;
margin: 0;
padding: 0;
}
.taskbar-icon:hover {
background: rgba(255, 255, 255, 0.1);
}
.taskbar-icon svg {
width: 20px;
height: 20px;
}
.system-tray {
margin-left: auto;
display: flex;
align-items: center;
gap: 8px;
padding: 0 10px;
height: 80px;
}
.tray-icons {
display: grid;
grid-template-columns: repeat(2, 24px);
grid-template-rows: 40px 40px;
gap: 0;
height: 80px;
padding: 0;
margin-right: 8px;
}
.tray-icon {
width: 24px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
}
.tray-icon:hover {
background: rgba(255, 255, 255, 0.1);
}
.tray-icon:nth-child(even) {
grid-row: 2;
}
.tray-icon svg {
width: 16px;
height: 16px;
fill: white;
}
.datetime {
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: center;
color: white;
font-size: 12px;
padding: 0 8px;
height: 80px;
margin-top: -2px;
}
.clock {
line-height: 1.5;
margin-bottom: 6px;
padding-top: 18px;
}
.date {
line-height: 1.5;
font-size: 11px;
padding-bottom: 18px;
}
.title-bar {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 32px;
background: transparent;
display: flex;
align-items: center;
padding: 0 0 0 12px;
}
.window-controls {
position: absolute;
top: 0;
right: 0;
display: flex;
height: 32px;
z-index: 2;
}
.window-button {
width: 46px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
border: none;
transition: all 0.2s ease;
}
.window-button:hover {
background: rgba(255, 255, 255, 0.1);
}
.window-button.close:hover {
background: #e81123;
}
.window-button svg {
width: 12px;
height: 12px;
stroke: white;
fill: none;
stroke-width: 1px;
}
.program-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #2b2b2b;
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 20px;
padding-top: 32px;
z-index: 1001;
display: none;
width: 500px;
min-width: 500px;
min-height: 300px;
color: white;
box-shadow: 0 4px 20px rgba(0,0,0,0.4);
resize: both;
overflow: auto;
}
.program-modal.maximized {
resize: none;
}
.program-modal h2 {
margin-bottom: 15px;
font-size: 24px;
padding-right: 30px;
}
.program-modal p {
margin-bottom: 15px;
line-height: 1.5;
color: #ccc;
}
.program-modal .download-links {
display: flex;
gap: 10px;
margin-top: 20px;
}
.program-modal .download-link {
padding: 8px 16px;
background: #0078D4;
color: white;
text-decoration: none;
}
.program-modal .download-link:hover {
background: #0086F0;
}
.context-menu {
position: fixed;
background: rgba(32, 32, 32, 0.95);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 4px;
z-index: 1000;
display: none;
min-width: 200px;
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.context-menu-item {
padding: 8px 20px;
color: white;
display: flex;
align-items: center;
gap: 10px;
}
.context-menu-item:hover {
background: rgba(255, 255, 255, 0.1);
}
.context-menu-separator {
height: 1px;
background: rgba(255, 255, 255, 0.1);
margin: 4px 0;
}
.selection-box {
position: fixed;
border: 1px solid rgba(0, 120, 215, 0.8);
background: rgba(0, 120, 215, 0.3);
display: none;
pointer-events: none;
z-index: 998;
}
.minimized {
animation: windowMinimize 0.2s ease forwards;
}
.maximizing {
animation: windowMaximize 0.3s ease forwards;
}
.window-active {
animation: none;
}
.resize-handle {
position: absolute;
right: 0;
bottom: 0;
width: 15px;
height: 15px;
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="6" fill="rgba(255,255,255,0.5)"><path d="M4 2h2v2H4V2M2 4h2v2H2V4M0 6h2v2H0V6"/></svg>') no-repeat center;
z-index: 1002;
}
.program-modal.maximized .resize-handle {
display: none;
}