Spaces:
Sleeping
Sleeping
Download interface_/style.css from AstromindInfo/VFDS: direct link, hf CLI and curl.
- Browser
- Download file 7.84 kB
-
https://huggingface.co/spaces/AstromindInfo/VFDS/resolve/main/interface_/style.css
- Command line
-
hf download hf://spaces/AstromindInfo/VFDS/interface_/style.css
-
curl -L -o style.css https://huggingface.co/spaces/AstromindInfo/VFDS/resolve/main/interface_/style.css
7.84 kB
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| } | |
| body { | |
| background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); | |
| color: #fff; | |
| min-height: 100vh; | |
| padding: 20px; | |
| } | |
| .container { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| background: rgba(255, 255, 255, 0.05); | |
| backdrop-filter: blur(10px); | |
| border-radius: 20px; | |
| box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); | |
| overflow: hidden; | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| header { | |
| background: linear-gradient(to right, #1a2980, #26d0ce); | |
| padding: 25px 40px; | |
| text-align: center; | |
| } | |
| header h1 { | |
| font-size: 2.5rem; | |
| margin-bottom: 10px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 15px; | |
| } | |
| .subtitle { | |
| opacity: 0.9; | |
| font-size: 1.1rem; | |
| } | |
| .main-content { | |
| display: flex; | |
| min-height: 700px; | |
| } | |
| /* Left Panel */ | |
| .left-panel { | |
| flex: 1; | |
| padding: 25px; | |
| border-right: 1px solid rgba(255, 255, 255, 0.1); | |
| background: rgba(0, 0, 0, 0.2); | |
| } | |
| .right-panel { | |
| flex: 2; | |
| padding: 25px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 25px; | |
| } | |
| .control-card, .info-card, .status-card, .results-card, | |
| .transcription-card, .alerts-card { | |
| background: rgba(255, 255, 255, 0.08); | |
| border-radius: 15px; | |
| padding: 25px; | |
| margin-bottom: 25px; | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| transition: transform 0.3s ease; | |
| } | |
| .control-card:hover, .info-card:hover { | |
| transform: translateY(-5px); | |
| } | |
| .button-group { | |
| display: flex; | |
| gap: 15px; | |
| margin: 20px 0; | |
| flex-wrap: wrap; | |
| } | |
| .btn { | |
| padding: 12px 25px; | |
| border: none; | |
| border-radius: 10px; | |
| font-size: 16px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 10px; | |
| transition: all 0.3s ease; | |
| min-width: 180px; | |
| } | |
| .btn-primary { | |
| background: linear-gradient(to right, #3498db, #2980b9); | |
| color: white; | |
| } | |
| .btn-danger { | |
| background: linear-gradient(to right, #e74c3c, #c0392b); | |
| color: white; | |
| } | |
| .btn-secondary { | |
| background: linear-gradient(to right, #95a5a6, #7f8c8d); | |
| color: white; | |
| } | |
| .btn:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); | |
| } | |
| .btn:disabled { | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| transform: none ; | |
| } | |
| .settings { | |
| margin-top: 30px; | |
| } | |
| .form-group { | |
| margin-bottom: 20px; | |
| } | |
| .form-group label { | |
| display: block; | |
| margin-bottom: 8px; | |
| font-weight: 600; | |
| color: #3498db; | |
| } | |
| .form-group select, .form-group input[type="range"] { | |
| width: 100%; | |
| padding: 10px; | |
| border-radius: 8px; | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| background: rgba(0, 0, 0, 0.3); | |
| color: white; | |
| } | |
| .form-group input[type="range"] { | |
| -webkit-appearance: none; | |
| height: 8px; | |
| background: linear-gradient(to right, #2ecc71, #f1c40f, #e74c3c); | |
| border-radius: 4px; | |
| margin: 10px 0; | |
| } | |
| .checkbox-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| margin-top: 20px; | |
| } | |
| .checkbox-group label { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| cursor: pointer; | |
| } | |
| /* Status Card */ | |
| .status-indicator { | |
| text-align: center; | |
| } | |
| .status-header { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| gap: 15px; | |
| margin-bottom: 20px; | |
| } | |
| .status-label { | |
| font-size: 1.2rem; | |
| font-weight: 600; | |
| } | |
| #statusText { | |
| font-size: 1.3rem; | |
| font-weight: bold; | |
| padding: 5px 20px; | |
| border-radius: 20px; | |
| } | |
| .status-idle { background: #7f8c8d; } | |
| .status-listening { background: #3498db; } | |
| .status-processing { background: #f39c12; } | |
| .status-fraud { background: #e74c3c; } | |
| .status-genuine { background: #2ecc71; } | |
| .visualizer { | |
| background: rgba(0, 0, 0, 0.3); | |
| border-radius: 10px; | |
| padding: 15px; | |
| margin: 20px 0; | |
| } | |
| .meter { | |
| margin-top: 30px; | |
| } | |
| .meter-label { | |
| font-weight: 600; | |
| margin-bottom: 10px; | |
| color: #3498db; | |
| } | |
| .meter-bar { | |
| height: 20px; | |
| background: rgba(255, 255, 255, 0.1); | |
| border-radius: 10px; | |
| overflow: hidden; | |
| position: relative; | |
| } | |
| .meter-fill { | |
| height: 100%; | |
| background: linear-gradient(to right, #2ecc71, #f1c40f, #e74c3c); | |
| width: 0%; | |
| transition: width 0.5s ease; | |
| } | |
| .meter-labels { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-top: 8px; | |
| font-size: 0.9rem; | |
| opacity: 0.8; | |
| } | |
| /* Results Grid */ | |
| .results-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 20px; | |
| margin: 25px 0; | |
| } | |
| .result-item { | |
| background: rgba(0, 0, 0, 0.2); | |
| padding: 20px; | |
| border-radius: 10px; | |
| text-align: center; | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .result-label { | |
| font-size: 0.9rem; | |
| opacity: 0.8; | |
| margin-bottom: 10px; | |
| } | |
| .result-value { | |
| font-size: 2rem; | |
| font-weight: bold; | |
| color: #3498db; | |
| } | |
| /* Detection Breakdown */ | |
| .breakdown-list { | |
| margin-top: 15px; | |
| } | |
| .breakdown-item { | |
| display: flex; | |
| justify-content: space-between; | |
| padding: 12px 0; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .breakdown-item:last-child { | |
| border-bottom: none; | |
| } | |
| .breakdown-label { | |
| color: #95a5a6; | |
| } | |
| .breakdown-value { | |
| font-weight: 600; | |
| } | |
| /* Transcription */ | |
| .transcription-box { | |
| background: rgba(0, 0, 0, 0.3); | |
| border-radius: 10px; | |
| padding: 20px; | |
| min-height: 150px; | |
| max-height: 300px; | |
| overflow-y: auto; | |
| margin: 15px 0; | |
| font-size: 1.1rem; | |
| line-height: 1.6; | |
| } | |
| .transcription-controls { | |
| display: flex; | |
| gap: 10px; | |
| } | |
| .btn-small { | |
| padding: 8px 15px; | |
| font-size: 14px; | |
| } | |
| /* Alerts */ | |
| .alerts-container { | |
| margin-top: 15px; | |
| max-height: 200px; | |
| overflow-y: auto; | |
| } | |
| .alert { | |
| padding: 15px; | |
| border-radius: 8px; | |
| margin-bottom: 10px; | |
| display: flex; | |
| align-items: center; | |
| gap: 15px; | |
| animation: slideIn 0.3s ease; | |
| } | |
| @keyframes slideIn { | |
| from { opacity: 0; transform: translateX(-20px); } | |
| to { opacity: 1; transform: translateX(0); } | |
| } | |
| .alert-info { | |
| background: rgba(52, 152, 219, 0.2); | |
| border-left: 4px solid #3498db; | |
| } | |
| .alert-warning { | |
| background: rgba(241, 196, 15, 0.2); | |
| border-left: 4px solid #f1c40f; | |
| } | |
| .alert-danger { | |
| background: rgba(231, 76, 60, 0.2); | |
| border-left: 4px solid #e74c3c; | |
| animation: pulse 1s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { opacity: 1; } | |
| 50% { opacity: 0.7; } | |
| 100% { opacity: 1; } | |
| } | |
| .alert-success { | |
| background: rgba(46, 204, 113, 0.2); | |
| border-left: 4px solid #2ecc71; | |
| } | |
| /* Footer */ | |
| footer { | |
| text-align: center; | |
| padding: 25px; | |
| border-top: 1px solid rgba(255, 255, 255, 0.1); | |
| background: rgba(0, 0, 0, 0.2); | |
| } | |
| .footer-links { | |
| display: flex; | |
| justify-content: center; | |
| gap: 30px; | |
| margin-top: 15px; | |
| } | |
| .footer-links a { | |
| color: #3498db; | |
| text-decoration: none; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .footer-links a:hover { | |
| color: #2980b9; | |
| } | |
| /* Responsive */ | |
| @media (max-width: 1024px) { | |
| .main-content { | |
| flex-direction: column; | |
| } | |
| .left-panel { | |
| border-right: none; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| .results-grid { | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| .button-group { | |
| flex-direction: column; | |
| } | |
| .btn { | |
| min-width: 100%; | |
| } | |
| } | |
| /* Scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: rgba(255, 255, 255, 0.05); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: rgba(52, 152, 219, 0.5); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: rgba(52, 152, 219, 0.8); | |
| } |