342 lines
		
	
	
		
			6.2 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			342 lines
		
	
	
		
			6.2 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| /* Custom CSS for MCP Server */
 | |
| 
 | |
| :root {
 | |
|     --primary-color: #007bff;
 | |
|     --secondary-color: #6c757d;
 | |
|     --success-color: #28a745;
 | |
|     --danger-color: #dc3545;
 | |
|     --warning-color: #ffc107;
 | |
|     --info-color: #17a2b8;
 | |
|     --light-color: #f8f9fa;
 | |
|     --dark-color: #343a40;
 | |
|     --sidebar-width: 350px;
 | |
| }
 | |
| 
 | |
| body {
 | |
|     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 | |
|     background-color: #f5f7fa;
 | |
|     margin: 0;
 | |
|     padding: 0;
 | |
| }
 | |
| 
 | |
| /* Sidebar Styles */
 | |
| .sidebar {
 | |
|     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
 | |
|     color: white;
 | |
|     min-height: 100vh;
 | |
|     padding: 0;
 | |
|     box-shadow: 2px 0 10px rgba(0,0,0,0.1);
 | |
| }
 | |
| 
 | |
| .sidebar-header {
 | |
|     padding: 2rem 1.5rem;
 | |
|     border-bottom: 1px solid rgba(255,255,255,0.1);
 | |
| }
 | |
| 
 | |
| .sidebar-header h3 {
 | |
|     margin: 0;
 | |
|     font-weight: 600;
 | |
|     color: white;
 | |
| }
 | |
| 
 | |
| .sidebar-header p {
 | |
|     margin: 0.5rem 0 0 0;
 | |
|     opacity: 0.8;
 | |
| }
 | |
| 
 | |
| .sidebar-content {
 | |
|     padding: 1.5rem;
 | |
| }
 | |
| 
 | |
| .form-section {
 | |
|     background: rgba(255,255,255,0.1);
 | |
|     border-radius: 10px;
 | |
|     padding: 1.5rem;
 | |
|     margin-bottom: 1.5rem;
 | |
|     backdrop-filter: blur(10px);
 | |
| }
 | |
| 
 | |
| .form-section h5 {
 | |
|     color: white;
 | |
|     margin-bottom: 1rem;
 | |
|     font-weight: 600;
 | |
| }
 | |
| 
 | |
| .form-label {
 | |
|     color: white;
 | |
|     font-weight: 500;
 | |
|     margin-bottom: 0.5rem;
 | |
| }
 | |
| 
 | |
| .form-control, .form-select {
 | |
|     background: rgba(255,255,255,0.9);
 | |
|     border: none;
 | |
|     border-radius: 8px;
 | |
|     padding: 0.75rem;
 | |
|     font-size: 0.9rem;
 | |
| }
 | |
| 
 | |
| .form-control:focus, .form-select:focus {
 | |
|     background: white;
 | |
|     box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
 | |
| }
 | |
| 
 | |
| .btn-primary {
 | |
|     background: linear-gradient(45deg, #007bff, #0056b3);
 | |
|     border: none;
 | |
|     border-radius: 8px;
 | |
|     padding: 0.75rem 1.5rem;
 | |
|     font-weight: 600;
 | |
|     transition: all 0.3s ease;
 | |
| }
 | |
| 
 | |
| .btn-primary:hover {
 | |
|     transform: translateY(-2px);
 | |
|     box-shadow: 0 4px 15px rgba(0,123,255,0.4);
 | |
| }
 | |
| 
 | |
| /* Main Content Styles */
 | |
| .main-content {
 | |
|     padding: 2rem;
 | |
|     background: white;
 | |
|     min-height: 100vh;
 | |
| }
 | |
| 
 | |
| .content-header {
 | |
|     display: flex;
 | |
|     justify-content: space-between;
 | |
|     align-items: center;
 | |
|     margin-bottom: 2rem;
 | |
|     padding-bottom: 1rem;
 | |
|     border-bottom: 2px solid #f0f0f0;
 | |
| }
 | |
| 
 | |
| .content-header h2 {
 | |
|     margin: 0;
 | |
|     color: var(--dark-color);
 | |
|     font-weight: 600;
 | |
| }
 | |
| 
 | |
| .status-indicator {
 | |
|     display: flex;
 | |
|     align-items: center;
 | |
|     gap: 0.5rem;
 | |
| }
 | |
| 
 | |
| .status-dot {
 | |
|     width: 12px;
 | |
|     height: 12px;
 | |
|     border-radius: 50%;
 | |
|     background-color: var(--success-color);
 | |
|     animation: pulse 2s infinite;
 | |
| }
 | |
| 
 | |
| .status-text {
 | |
|     font-weight: 500;
 | |
|     color: var(--secondary-color);
 | |
| }
 | |
| 
 | |
| /* Progress Steps */
 | |
| .progress-steps {
 | |
|     display: flex;
 | |
|     justify-content: space-between;
 | |
|     margin-top: 1rem;
 | |
| }
 | |
| 
 | |
| .step {
 | |
|     display: flex;
 | |
|     flex-direction: column;
 | |
|     align-items: center;
 | |
|     text-align: center;
 | |
|     flex: 1;
 | |
|     position: relative;
 | |
| }
 | |
| 
 | |
| .step:not(:last-child)::after {
 | |
|     content: '';
 | |
|     position: absolute;
 | |
|     top: 20px;
 | |
|     left: 50%;
 | |
|     width: 100%;
 | |
|     height: 2px;
 | |
|     background-color: #e9ecef;
 | |
|     z-index: 1;
 | |
| }
 | |
| 
 | |
| .step.active:not(:last-child)::after {
 | |
|     background-color: var(--primary-color);
 | |
| }
 | |
| 
 | |
| .step i {
 | |
|     width: 40px;
 | |
|     height: 40px;
 | |
|     border-radius: 50%;
 | |
|     background-color: #e9ecef;
 | |
|     color: var(--secondary-color);
 | |
|     display: flex;
 | |
|     align-items: center;
 | |
|     justify-content: center;
 | |
|     margin-bottom: 0.5rem;
 | |
|     position: relative;
 | |
|     z-index: 2;
 | |
|     transition: all 0.3s ease;
 | |
| }
 | |
| 
 | |
| .step.active i {
 | |
|     background-color: var(--primary-color);
 | |
|     color: white;
 | |
| }
 | |
| 
 | |
| .step.completed i {
 | |
|     background-color: var(--success-color);
 | |
|     color: white;
 | |
| }
 | |
| 
 | |
| .step span {
 | |
|     font-size: 0.8rem;
 | |
|     color: var(--secondary-color);
 | |
|     font-weight: 500;
 | |
| }
 | |
| 
 | |
| .step.active span {
 | |
|     color: var(--primary-color);
 | |
| }
 | |
| 
 | |
| .step.completed span {
 | |
|     color: var(--success-color);
 | |
| }
 | |
| 
 | |
| /* Log Container */
 | |
| .log-container {
 | |
|     background-color: #f8f9fa;
 | |
|     border-radius: 8px;
 | |
|     padding: 1rem;
 | |
|     max-height: 400px;
 | |
|     overflow-y: auto;
 | |
|     font-family: 'Courier New', monospace;
 | |
|     font-size: 0.85rem;
 | |
| }
 | |
| 
 | |
| .log-entry {
 | |
|     margin-bottom: 0.5rem;
 | |
|     padding: 0.25rem 0;
 | |
|     border-radius: 4px;
 | |
| }
 | |
| 
 | |
| .log-entry.info {
 | |
|     color: var(--info-color);
 | |
| }
 | |
| 
 | |
| .log-entry.success {
 | |
|     color: var(--success-color);
 | |
| }
 | |
| 
 | |
| .log-entry.error {
 | |
|     color: var(--danger-color);
 | |
| }
 | |
| 
 | |
| .log-entry.warning {
 | |
|     color: var(--warning-color);
 | |
| }
 | |
| 
 | |
| .timestamp {
 | |
|     font-weight: bold;
 | |
|     margin-right: 0.5rem;
 | |
| }
 | |
| 
 | |
| /* Cards */
 | |
| .card {
 | |
|     border: none;
 | |
|     border-radius: 12px;
 | |
|     box-shadow: 0 2px 10px rgba(0,0,0,0.1);
 | |
|     transition: all 0.3s ease;
 | |
| }
 | |
| 
 | |
| .card:hover {
 | |
|     box-shadow: 0 4px 20px rgba(0,0,0,0.15);
 | |
| }
 | |
| 
 | |
| .card-header {
 | |
|     background: linear-gradient(45deg, #f8f9fa, #e9ecef);
 | |
|     border-bottom: 1px solid #dee2e6;
 | |
|     border-radius: 12px 12px 0 0 !important;
 | |
|     font-weight: 600;
 | |
| }
 | |
| 
 | |
| /* Progress Bar */
 | |
| .progress {
 | |
|     height: 8px;
 | |
|     border-radius: 4px;
 | |
|     background-color: #e9ecef;
 | |
| }
 | |
| 
 | |
| .progress-bar {
 | |
|     background: linear-gradient(45deg, var(--primary-color), #0056b3);
 | |
|     border-radius: 4px;
 | |
|     transition: width 0.3s ease;
 | |
| }
 | |
| 
 | |
| /* Responsive Design */
 | |
| @media (max-width: 768px) {
 | |
|     .sidebar {
 | |
|         min-height: auto;
 | |
|         position: relative;
 | |
|     }
 | |
|     
 | |
|     .main-content {
 | |
|         padding: 1rem;
 | |
|     }
 | |
|     
 | |
|     .content-header {
 | |
|         flex-direction: column;
 | |
|         align-items: flex-start;
 | |
|         gap: 1rem;
 | |
|     }
 | |
|     
 | |
|     .progress-steps {
 | |
|         flex-direction: column;
 | |
|         gap: 1rem;
 | |
|     }
 | |
|     
 | |
|     .step:not(:last-child)::after {
 | |
|         display: none;
 | |
|     }
 | |
| }
 | |
| 
 | |
| /* Animations */
 | |
| @keyframes pulse {
 | |
|     0% {
 | |
|         opacity: 1;
 | |
|     }
 | |
|     50% {
 | |
|         opacity: 0.5;
 | |
|     }
 | |
|     100% {
 | |
|         opacity: 1;
 | |
|     }
 | |
| }
 | |
| 
 | |
| /* Loading States */
 | |
| .btn:disabled {
 | |
|     opacity: 0.6;
 | |
|     cursor: not-allowed;
 | |
| }
 | |
| 
 | |
| /* Custom Scrollbar */
 | |
| .log-container::-webkit-scrollbar {
 | |
|     width: 6px;
 | |
| }
 | |
| 
 | |
| .log-container::-webkit-scrollbar-track {
 | |
|     background: #f1f1f1;
 | |
|     border-radius: 3px;
 | |
| }
 | |
| 
 | |
| .log-container::-webkit-scrollbar-thumb {
 | |
|     background: #c1c1c1;
 | |
|     border-radius: 3px;
 | |
| }
 | |
| 
 | |
| .log-container::-webkit-scrollbar-thumb:hover {
 | |
|     background: #a8a8a8;
 | |
| }  | 
