Spaces:
Running
Running
| /* Device Recovery & Diagnostics Assistant Styles */ | |
| :root { | |
| --primary-color: #0078d4; | |
| --secondary-color: #1a1a1a; | |
| --accent-color: #f39c12; | |
| --success-color: #27ae60; | |
| --warning-color: #e67e22; | |
| --danger-color: #c0392b; | |
| --text-color: #ecf0f1; | |
| --sidebar-width: 260px; | |
| --card-bg: #2c3e50; | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| } | |
| body { | |
| background-color: #121212; | |
| color: var(--text-color); | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .app-container { | |
| display: flex; | |
| flex-direction: column; | |
| height: 100vh; | |
| } | |
| /* Header */ | |
| header { | |
| background-color: var(--secondary-color); | |
| padding: 1rem; | |
| border-bottom: 2px solid var(--primary-color); | |
| } | |
| .header-content { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| h1 { | |
| font-size: 1.5rem; | |
| color: var(--primary-color); | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .status-bar { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| background-color: #333; | |
| padding: 5px 15px; | |
| border-radius: 20px; | |
| } | |
| .status-indicator { | |
| width: 10px; | |
| height: 10px; | |
| background-color: var(--success-color); | |
| border-radius: 50%; | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { opacity: 1; } | |
| 50% { opacity: 0.5; } | |
| 100% { opacity: 1; } | |
| } | |
| .built-with-link { | |
| color: var(--accent-color); | |
| text-decoration: none; | |
| font-weight: bold; | |
| font-size: 0.9rem; | |
| } | |
| /* Main Layout */ | |
| .main-content { | |
| display: flex; | |
| flex: 1; | |
| overflow: hidden; | |
| } | |
| /* Sidebar */ | |
| .sidebar { | |
| width: var(--sidebar-width); | |
| background-color: var(--secondary-color); | |
| border-right: 1px solid #333; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .nav-item { | |
| padding: 15px 20px; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| border-left: 4px solid transparent; | |
| } | |
| .nav-item:hover { | |
| background-color: #2a2a2a; | |
| } | |
| .nav-item.active { | |
| background-color: #252525; | |
| border-left-color: var(--primary-color); | |
| } | |
| .nav-item i { | |
| width: 25px; | |
| text-align: center; | |
| } | |
| .footer-info { | |
| margin-top: auto; | |
| padding: 15px; | |
| text-align: center; | |
| color: #888; | |
| font-size: 0.8rem; | |
| border-top: 1px solid #333; | |
| } | |
| /* Content Area */ | |
| .content-area { | |
| flex: 1; | |
| padding: 20px; | |
| overflow-y: auto; | |
| background-color: #1a1a1a; | |
| } | |
| .tab-content { | |
| display: none; | |
| animation: fadeIn 0.3s; | |
| } | |
| .tab-content.active { | |
| display: block; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* Dashboard */ | |
| .dashboard-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 20px; | |
| margin-bottom: 30px; | |
| } | |
| .card { | |
| background-color: var(--card-bg); | |
| padding: 20px; | |
| border-radius: 10px; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); | |
| } | |
| .card h3 { | |
| margin-bottom: 10px; | |
| color: var(--primary-color); | |
| } | |
| /* Quick Actions */ | |
| .quick-actions { | |
| background-color: var(--card-bg); | |
| padding: 20px; | |
| border-radius: 10px; | |
| } | |
| .action-buttons { | |
| display: flex; | |
| gap: 15px; | |
| flex-wrap: wrap; | |
| } | |
| .btn { | |
| padding: 12px 20px; | |
| border: none; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| font-weight: bold; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| transition: all 0.3s; | |
| } | |
| .btn-primary { | |
| background-color: var(--primary-color); | |
| color: white; | |
| } | |
| .btn-primary:hover { | |
| background-color: #0062a8; | |
| } | |
| .btn-warning { | |
| background-color: var(--warning-color); | |
| color: white; | |
| } | |
| .btn-danger { | |
| background-color: var(--danger-color); | |
| color: white; | |
| } | |
| .btn-success { | |
| background-color: var(--success-color); | |
| color: white; | |
| } | |
| .btn-outline { | |
| background-color: transparent; | |
| border: 2px solid var(--primary-color); | |
| color: var(--primary-color); | |
| } | |
| .btn-outline:hover { | |
| background-color: var(--primary-color); | |
| color: white; | |
| } | |
| /* AI Interface */ | |
| .ai-interface { | |
| background-color: var(--card-bg); | |
| border-radius: 10px; | |
| overflow: hidden; | |
| display: flex; | |
| flex-direction: column; | |
| height: 80vh; | |
| } | |
| .chat-container { | |
| flex: 1; | |
| padding: 20px; | |
| overflow-y: auto; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 15px; | |
| } | |
| .message { | |
| max-width: 80%; | |
| padding: 15px; | |
| border-radius: 15px; | |
| line-height: 1.5; | |
| } | |
| .ai-message { | |
| background-color: #2c3e50; | |
| align-self: flex-start; | |
| border-bottom-left-radius: 0; | |
| } | |
| .user-message { | |
| background-color: var(--primary-color); | |
| align-self: flex-end; | |
| border-bottom-right-radius: 0; | |
| } | |
| .input-area { | |
| display: flex; | |
| padding: 20px; | |
| background-color: #222; | |
| } | |
| .input-area input { | |
| flex: 1; | |
| padding: 12px; | |
| border: none; | |
| border-radius: 20px; | |
| background-color: #333; | |
| color: white; | |
| margin-right: 10px; | |
| } | |
| /* Toolkits */ | |
| .toolkit-container { | |
| background-color: var(--card-bg); | |
| padding: 20px; | |
| border-radius: 10px; | |
| } | |
| .tool-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 20px; | |
| } | |
| .tool-card { | |
| background-color: #252525; | |
| padding: 20px; | |
| border-radius: 10px; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| border: 1px solid #333; | |
| } | |
| .tool-card:hover { | |
| transform: translateY(-5px); | |
| border-color: var(--primary-color); | |
| } | |
| .tool-icon { | |
| font-size: 2.5rem; | |
| color: var(--primary-color); | |
| margin-bottom: 15px; | |
| } | |
| /* Safety Warning */ | |
| .safety-warning { | |
| background-color: rgba(192, 57, 43, 0.2); | |
| border: 1px solid var(--danger-color); | |
| padding: 15px; | |
| border-radius: 10px; | |
| margin-bottom: 20px; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .reset-options { | |
| background-color: var(--card-bg); | |
| padding: 20px; | |
| border-radius: 10px; | |
| } | |
| /* Stress Test */ | |
| .test-interface { | |
| background-color: var(--card-bg); | |
| padding: 20px; | |
| border-radius: 10px; | |
| } | |
| .progress-container { | |
| margin-top: 20px; | |
| } | |
| .progress-bar { | |
| width: 100%; | |
| height: 20px; | |
| background-color: #333; | |
| border-radius: 10px; | |
| overflow: hidden; | |
| } | |
| .progress-fill { | |
| height: 100%; | |
| background: linear-gradient(90deg, var(--primary-color), var(--success-color)); | |
| transition: width 0.3s; | |
| } | |
| .test-results { | |
| margin-top: 20px; | |
| max-height: 300px; | |
| overflow-y: auto; | |
| background-color: #111; | |
| padding: 10px; | |
| border-radius: 5px; | |
| font-family: monospace; | |
| } | |
| .test-log { | |
| margin-bottom: 5px; | |
| padding: 5px; | |
| border-left: 3px solid #555; | |
| } | |
| .test-pass { | |
| border-left-color: var(--success-color); | |
| } | |
| .timestamp { | |
| color: #888; | |
| margin-right: 10px; | |
| } | |
| /* ISO Tools */ | |
| .iso-container { | |
| background-color: var(--card-bg); | |
| padding: 20px; | |
| border-radius: 10px; | |
| } | |
| .iso-controls { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 15px; | |
| max-width: 500px; | |
| } | |
| .control-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 5px; | |
| } | |
| .control-group label { | |
| font-weight: bold; | |
| color: var(--primary-color); | |
| } | |
| input[type="file"], select { | |
| padding: 10px; | |
| background-color: #333; | |
| border: 1px solid #555; | |
| color: white; | |
| border-radius: 5px; | |
| } | |
| /* Terminal Window */ | |
| .terminal-window { | |
| background-color: #000; | |
| border-radius: 10px; | |
| overflow: hidden; | |
| margin-top: 20px; | |
| box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); | |
| } | |
| .terminal-header { | |
| background-color: #222; | |
| padding: 10px; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .terminal-dot { | |
| width: 12px; | |
| height: 12px; | |
| border-radius: 50%; | |
| } | |
| .terminal-dot.red { background-color: #ff5f56; } | |
| .terminal-dot.yellow { background-color: #ffbd2e; } | |
| .terminal-dot.green { background-color: #27c93f; } | |
| .terminal-title { | |
| color: #888; | |
| font-size: 0.8rem; | |
| margin-left: 10px; | |
| } | |
| .terminal-body { | |
| padding: 15px; | |
| font-family: 'Courier New', monospace; | |
| color: #0f0; | |
| min-height: 200px; | |
| max-height: 400px; | |
| overflow-y: auto; | |
| } | |
| /* Modal Overlay */ | |
| .modal-overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background-color: rgba(0, 0, 0, 0.8); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| z-index: 1000; | |
| } | |
| .modal-content { | |
| background-color: var(--card-bg); | |
| padding: 25px; | |
| border-radius: 15px; | |
| width: 90%; | |
| max-width: 600px; | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .main-content { | |
| flex-direction: column; | |
| } | |
| .sidebar { | |
| width: 100%; | |
| flex-direction: row; | |
| overflow-x: auto; | |
| border-right: none; | |
| border-bottom: 1px solid #333; | |
| } | |
| .nav-item { | |
| flex: 1; | |
| min-width: 120px; | |
| justify-content: center; | |
| padding: 10px; | |
| } | |
| .footer-info { | |
| display: none; | |
| } | |
| .action-buttons { | |
| flex-direction: column; | |
| } | |
| } |