/* styles.css */ /* General Reset and Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } /* Make body a flex container holding sidebar and content */ body { display: flex; min-height: 100vh; background: linear-gradient(135deg, #0f0f1f 0%, #1a1a2e 100%); color: #e0e0ff; font-family: 'Orbitron', 'Segoe UI', Tahoma, sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; position: relative; } /* Custom Font */ @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap'); /* Atmosphere Layer */ .atmosphere { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 140, 0, 0.3)); pointer-events: none; z-index: 0; } /* Particles Layer */ .particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; } .particles::before { content: ''; position: absolute; width: 100%; height: 100%; background: radial-gradient(circle at 20% 30%, #FF4500 2px, transparent 2px), radial-gradient(circle at 80% 70%, #FF4500 2px, transparent 2px), radial-gradient(circle at 50% 50%, #FF4500 2px, transparent 2px), radial-gradient(circle at 30% 80%, #FF4500 2px, transparent 2px), radial-gradient(circle at 70% 20%, #FF4500 2px, transparent 2px); animation: floatParticles 15s infinite linear; } @keyframes floatParticles { 0% { transform: translateY(0); } 100% { transform: translateY(-100vh); } } /* Sidebar */ .sidebar { width: 260px; background: linear-gradient(180deg, rgba(20,20,30,0.8), rgba(10,10,20,0.8)); backdrop-filter: blur(10px); padding: 20px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,0.1); box-shadow: 0 0 20px rgba(0,0,0,0.5); flex-shrink: 0; z-index: 2; } .logo img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 30px; /* filter: drop-shadow(0 0 10px rgba(255,69,0,0.5)); */ } .nav-menu { list-style: none; flex-grow: 1; } .nav-menu li { margin: 8px 0; } /* Style buttons inside nav-menu instead of links */ .nav-menu li button { display: block; width: 100%; padding: 12px 15px; background: transparent; color: #b0b0ff; border: none; text-align: left; font-size: 14px; cursor: pointer; border-radius: 8px; position: relative; overflow: hidden; transition: all 0.3s ease; } .nav-menu li button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,69,0,0.2), transparent); transition: left 0.4s ease; } .nav-menu li button:hover::before { left: 100%; } .nav-menu li button:hover { background: rgba(255,69,0,0.2); color: #ffffff; transform: translateX(5px); } .nav-menu li.active button { background: linear-gradient(45deg, #FF4500, #FF6347); color: #ffffff; font-weight: 700; box-shadow: 0 0 15px rgba(255,69,0,0.5); } .user-info { display: flex; align-items: center; padding: 12px; background: rgba(30,30,50,0.7); border-radius: 10px; margin-top: auto; transition: all 0.3s ease; } .user-info:hover { background: rgba(50,50,80,0.7); transform: scale(1.02); } .user-info .avatar { width: 36px; height: 36px; border-radius: 50%; margin-right: 10px; border: 2px solid #FF4500; } .user-info .username { /* flex içinde taşma yapmaması için küçülüp sığmasına izin ver */ flex-shrink: 1; min-width: 0; /* tek satıra sığdır, taşıyorsa üç nokta koy */ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 600; color: #e0e0ff; } .user-info .fa-arrow-right-from-bracket { margin-left: auto; cursor: pointer; /* istersen fareyle üzerine gelince el işareti çıkart */ } /* Main Content Area */ #content { flex-grow: 1; display: flex; flex-direction: column; z-index: 2; } .main-content { position: relative; /* child’ları absolute ile konumlandırmak için */ display: flex; flex-direction: column; flex-grow: 1; padding: 20px 40px; background: rgba(20,20,30,0.8); backdrop-filter: blur(12px); overflow-y: auto; border-radius: 12px 0 0 12px; box-shadow: inset 0 0 20px rgba(0,0,0,0.3); } /* Header inside content */ .header { display: flex; padding: 20px 0; justify-content: center; align-items: center; margin-bottom: 10px; } .header h1 { font-size: 32px; font-weight: 700; color: #ffffff; text-shadow: 0 0 10px rgba(255,69,0,0.5); } .play-section { display: flex; flex-direction: column; align-items: center; /* yatayda ortala */ justify-content: center; /* dikeyde ortala */ text-align: center; gap: 20px; /* elemanlar arası boşluk */ } #version-select { /* Firefox için */ scrollbar-width: thin; scrollbar-color: #FF4500 rgba(40,40,60,0.8); } /* WebKit (Chrome, Electron) */ #version-select::-webkit-scrollbar { width: 12px; } #version-select::-webkit-scrollbar-track { background: rgba(40,40,60,0.8); } #version-select::-webkit-scrollbar-thumb { background-color: #FF4500; border-radius: 4px; border: 2px solid rgba(40,40,60,0.8); } #version-select::-webkit-scrollbar-thumb:hover { background-color: #FF6347; } .version-selector select { padding: 10px 25px; background: rgba(40,40,60,0.8); color: #e0e0ff; border: 1px solid rgba(255,69,0,0.5); border-radius: 8px; font-size: 14px; cursor: pointer; transition: all 0.3s ease; } .version-selector select:hover { background: rgba(60,60,80,0.8); border-color: #FF6347; } /* Konsol kapsayıcısı */ .console-container { position: absolute; bottom: 20px; /* .main-content’in altından 20px yukarıda duracak */ left: 50%; transform: translateX(-50%); /* yatay eksende ortala */ /* önceki boyut ve stil ayarları */ width: 600px; height: 300px; background: rgba(0, 0, 0, 0.6); border-radius: 8px; padding: 10px; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; } /* Başlık bölümü */ .console-container h2 { margin: 0 0 8px; font-size: 14px; color: #e0e0e0; font-family: monospace; flex: 0 0 auto; } /* Çıktı bölümü */ .console-output { flex: 1 1 auto; /* başlıktan kalan tüm alanı alsın */ overflow-y: auto; /* dikey scroll */ overflow-x: hidden; /* yatay scroll kapalı */ /* Uzun satırların taşmayıp sarılması için */ white-space: pre-wrap; word-wrap: break-word; } /* Her bir satır */ .console-output div { font-family: monospace; font-size: 12px; color: #fff; margin-bottom: 2px; } /* Button Utilities */ .btn { padding: 12px 24px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; background: linear-gradient(45deg, #FF4500, #FF6347); color: #ffffff; box-shadow: 0 0 15px rgba(255,69,0,0.5); } .btn:hover { background: linear-gradient(45deg, #FF6347, #FF7F50); transform: translateY(-2px); } .button-style { background-color: #007BFF; color: #fff; } .button-style:hover { background-color: #0056b3; } /* Scrollbar Styling */ ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: rgba(40,40,60,0.7); border-radius: 10px; } ::-webkit-scrollbar-thumb { background: linear-gradient(45deg, #FF4500, #FF6347); border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: linear-gradient(45deg, #FF6347, #FF7F50); } /* Responsive Design */ @media (max-width: 768px) { body { flex-direction: column; } .sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); } #content, .main-content { border-radius: 0; padding: 20px; } }