Download lucid2-react/src/components/Alerts.css from Ryuzakii-001/Lucid: direct link, hf CLI and curl.
- Browser
- Download file 4.81 kB
-
https://huggingface.co/Ryuzakii-001/Lucid/resolve/main/lucid2-react/src/components/Alerts.css
- Command line
-
hf download hf://Ryuzakii-001/Lucid/lucid2-react/src/components/Alerts.css
-
curl -L -o Alerts.css https://huggingface.co/Ryuzakii-001/Lucid/resolve/main/lucid2-react/src/components/Alerts.css
4.81 kB
| .alerts { | |
| width: 100%; | |
| padding: 1rem; | |
| } | |
| .alerts-grid { | |
| display: grid; | |
| grid-template-columns: 2fr 1fr; | |
| gap: 2rem; | |
| } | |
| .alerts-section h3 { | |
| color: #00ff9d; | |
| margin-bottom: 1rem; | |
| font-size: 1.5rem; | |
| } | |
| /* Alerts List */ | |
| .alerts-list { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| max-height: 600px; | |
| overflow-y: auto; | |
| padding-right: 0.5rem; | |
| } | |
| .alerts-list::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| .alerts-list::-webkit-scrollbar-track { | |
| background: rgba(15, 23, 42, 0.5); | |
| border-radius: 3px; | |
| } | |
| .alerts-list::-webkit-scrollbar-thumb { | |
| background: #00ff9d; | |
| border-radius: 3px; | |
| } | |
| .alert-item { | |
| background: rgba(15, 23, 42, 0.7); | |
| border-radius: 12px; | |
| padding: 1rem; | |
| border-left: 4px solid #00ff9d; | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); | |
| transition: transform 0.2s ease, box-shadow 0.2s ease; | |
| } | |
| .alert-item:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 6px 20px rgba(0, 255, 157, 0.3); | |
| } | |
| .alert-item.reappearance { | |
| border-left-color: #00ff9d; | |
| } | |
| .alert-item.unknown_after_hours { | |
| border-left-color: #ff9d00; | |
| } | |
| .alert-item.high_confidence { | |
| border-left-color: #00b8ff; | |
| } | |
| .alert-item.loitering { | |
| border-left-color: #ff6b6b; | |
| } | |
| .alert-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 0.5rem; | |
| } | |
| .alert-type { | |
| font-weight: 600; | |
| color: #00ff9d; | |
| text-transform: uppercase; | |
| font-size: 0.9rem; | |
| background: rgba(0, 255, 157, 0.1); | |
| padding: 0.25rem 0.75rem; | |
| border-radius: 20px; | |
| } | |
| .alert-time { | |
| font-size: 0.8rem; | |
| color: #A1B5D8; | |
| } | |
| .alert-message { | |
| color: #E6F1FF; | |
| margin-bottom: 0.5rem; | |
| font-size: 1.1rem; | |
| font-weight: 500; | |
| } | |
| .alert-details { | |
| display: flex; | |
| gap: 1rem; | |
| font-size: 0.9rem; | |
| color: #A1B5D8; | |
| flex-wrap: wrap; | |
| } | |
| .alert-details span { | |
| background: rgba(0, 0, 0, 0.3); | |
| padding: 0.25rem 0.75rem; | |
| border-radius: 20px; | |
| } | |
| /* No Alerts */ | |
| .no-alerts { | |
| text-align: center; | |
| padding: 2rem; | |
| color: #A1B5D8; | |
| font-style: italic; | |
| background: rgba(15, 23, 42, 0.5); | |
| border-radius: 12px; | |
| } | |
| /* Rules Configuration */ | |
| .rules-config { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 2rem; | |
| } | |
| .rule-form { | |
| background: rgba(0, 0, 0, 0.2); | |
| padding: 1.5rem; | |
| border-radius: 8px; | |
| border: 1px solid rgba(0, 255, 157, 0.2); | |
| } | |
| .rule-description { | |
| background: rgba(0, 184, 255, 0.1); | |
| border-left: 3px solid #00b8ff; | |
| padding: 0.75rem 1rem; | |
| margin: 1rem 0; | |
| border-radius: 4px; | |
| } | |
| .rule-description p { | |
| margin: 0; | |
| color: #E6F1FF; | |
| font-size: 0.9rem; | |
| line-height: 1.5; | |
| } | |
| .rule-form h4 { | |
| color: #00ff9d; | |
| margin-bottom: 1rem; | |
| font-size: 1.3rem; | |
| } | |
| .form-group { | |
| display: flex; | |
| flex-direction: column; | |
| margin-bottom: 1rem; | |
| } | |
| .form-group label { | |
| font-size: 0.9rem; | |
| color: #A1B5D8; | |
| margin-bottom: 0.5rem; | |
| font-weight: 500; | |
| } | |
| .form-group input, | |
| .form-group select { | |
| padding: 0.75rem; | |
| border-radius: 8px; | |
| border: 1px solid rgba(0, 255, 157, 0.3); | |
| background: rgba(0, 0, 0, 0.3); | |
| color: #E6F1FF; | |
| font-size: 1rem; | |
| transition: border-color 0.3s ease, box-shadow 0.3s ease; | |
| } | |
| .form-group input:focus, | |
| .form-group select:focus { | |
| outline: none; | |
| border-color: #00ff9d; | |
| box-shadow: 0 0 0 2px rgba(0, 255, 157, 0.2); | |
| } | |
| .btn { | |
| padding: 0.75rem 1.5rem; | |
| border-radius: 8px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| border: none; | |
| font-size: 0.9rem; | |
| } | |
| .btn.primary { | |
| background: linear-gradient(135deg, #00ff9d, #00b8ff); | |
| color: #0A0F1C; | |
| } | |
| .btn.primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 25px rgba(0, 255, 157, 0.4); | |
| } | |
| .btn.secondary { | |
| background: rgba(15, 23, 42, 0.8); | |
| color: #A1B5D8; | |
| border: 1px solid rgba(0, 255, 157, 0.3); | |
| } | |
| .btn.secondary:hover { | |
| background: rgba(0, 255, 157, 0.1); | |
| color: #00ff9d; | |
| } | |
| .btn.secondary.small { | |
| padding: 0.5rem 1rem; | |
| font-size: 0.8rem; | |
| } | |
| .existing-rules { | |
| background: rgba(15, 23, 42, 0.5); | |
| padding: 1.5rem; | |
| border-radius: 12px; | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| .existing-rules h4 { | |
| color: #00ff9d; | |
| margin-bottom: 1rem; | |
| font-size: 1.3rem; | |
| } | |
| .rules-list { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .rule-item { | |
| padding: 1rem; | |
| background: rgba(0, 0, 0, 0.2); | |
| border-radius: 8px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .rule-info { | |
| flex: 1; | |
| } | |
| .rule-type { | |
| font-weight: 600; | |
| color: #00ff9d; | |
| margin-bottom: 0.25rem; | |
| } | |
| .rule-person { | |
| font-size: 0.9rem; | |
| color: #A1B5D8; | |
| margin-bottom: 0.25rem; | |
| } | |
| .rule-threshold { | |
| font-size: 0.9rem; | |
| color: #00b8ff; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .alerts-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .alerts { | |
| padding: 0.5rem; | |
| } | |
| .rule-item { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| gap: 1rem; | |
| } | |
| } |