Spaces:
Paused
Paused
Download frontend/apps/internal/src/components/RuleModal.module.css from 3SCError404/miracle: direct link, hf CLI and curl.
- Browser
- Download file 4.96 kB
-
https://huggingface.co/spaces/3SCError404/miracle/resolve/main/frontend/apps/internal/src/components/RuleModal.module.css
- Command line
-
hf download hf://spaces/3SCError404/miracle/frontend/apps/internal/src/components/RuleModal.module.css
-
curl -L -o RuleModal.module.css https://huggingface.co/spaces/3SCError404/miracle/resolve/main/frontend/apps/internal/src/components/RuleModal.module.css
4.96 kB
| .overlay { | |
| position: fixed; | |
| top: 0; left: 0; right: 0; bottom: 0; | |
| background: rgba(15, 23, 42, 0.3); | |
| backdrop-filter: blur(8px); | |
| display: flex; | |
| justify-content: flex-end; | |
| z-index: 2000; | |
| } | |
| .sidebar { | |
| background: var(--bg-card); | |
| width: 100%; | |
| max-width: 520px; | |
| height: 100vh; | |
| box-shadow: -20px 0 50px rgba(0,0,0,0.1); | |
| display: flex; | |
| flex-direction: column; | |
| position: relative; | |
| overflow: hidden; | |
| border-left: 1px solid var(--border-subtle); | |
| } | |
| .header { | |
| padding: 40px; | |
| background: var(--bg-hover); | |
| border-bottom: 1px solid var(--border-subtle); | |
| position: relative; | |
| } | |
| .headerBadge { | |
| font-size: 10px; | |
| font-weight: 950; | |
| color: var(--accent); | |
| letter-spacing: 0.2em; | |
| margin-bottom: 16px; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .header h3 { | |
| font-size: 24px; | |
| font-weight: 900; | |
| margin: 0; | |
| color: var(--text-main); | |
| letter-spacing: -0.02em; | |
| } | |
| .header p { | |
| font-size: 13px; | |
| color: var(--text-muted); | |
| margin: 8px 0 0; | |
| font-weight: 500; | |
| } | |
| .closeBtn { | |
| position: absolute; | |
| top: 40px; | |
| right: 40px; | |
| background: var(--bg-hover); | |
| border: none; | |
| color: var(--text-muted); | |
| width: 32px; | |
| height: 32px; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .closeBtn:hover { | |
| background: var(--error-glow); | |
| color: var(--error); | |
| transform: rotate(90deg); | |
| } | |
| .form { | |
| flex: 1; | |
| padding: 40px; | |
| overflow-y: auto; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 32px; | |
| } | |
| .sectionHeader { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| font-size: 10px; | |
| font-weight: 900; | |
| color: var(--text-muted); | |
| letter-spacing: 0.1em; | |
| margin-bottom: 12px; | |
| } | |
| .field input, .field select { | |
| width: 100%; | |
| padding: 14px 18px; | |
| border-radius: 12px; | |
| border: 1px solid var(--border-subtle); | |
| background: var(--bg-hover); | |
| font-size: 14px; | |
| font-weight: 700; | |
| color: var(--text-main); | |
| outline: none; | |
| transition: all 0.2s; | |
| appearance: none; | |
| } | |
| .field select { | |
| background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); | |
| background-repeat: no-repeat; | |
| background-position: right 14px center; | |
| background-size: 16px; | |
| } | |
| .field input:focus, .field select:focus { | |
| border-color: var(--accent); | |
| background: var(--bg-card); | |
| box-shadow: 0 0 0 4px var(--accent-glow); | |
| } | |
| .segmentGrid { | |
| display: flex; | |
| gap: 20px; | |
| width: 100%; | |
| } | |
| .segmentGrid .section { | |
| flex: 1; | |
| min-width: 140px; /* Prevent excessive squeezing */ | |
| } | |
| .thresholdWrapper { | |
| display: flex; | |
| align-items: center; | |
| background: var(--bg-hover); | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 12px; | |
| height: 48px; | |
| transition: all 0.2s; | |
| } | |
| .thresholdWrapper:focus-within { | |
| border-color: var(--accent); | |
| background: var(--bg-card); | |
| box-shadow: 0 0 0 4px var(--accent-glow); | |
| } | |
| .thresholdWrapper input { | |
| flex: 1; | |
| width: 100%; | |
| border: none ; | |
| background: transparent ; | |
| padding: 0 16px; | |
| height: 100%; | |
| font-size: 14px; | |
| font-weight: 700; | |
| color: var(--text-main); | |
| outline: none; | |
| } | |
| .thresholdWrapper input::-webkit-outer-spin-button, | |
| .thresholdWrapper input::-webkit-inner-spin-button { | |
| -webkit-appearance: none; | |
| margin: 0; | |
| } | |
| .thresholdSuffix { | |
| padding-right: 16px; | |
| font-size: 9px; | |
| font-weight: 900; | |
| color: var(--text-muted); | |
| letter-spacing: 0.05em; | |
| white-space: nowrap; | |
| flex-shrink: 0; | |
| } | |
| .logicPreview { | |
| background: var(--bg-panel); | |
| border: 1px solid var(--border-subtle); | |
| border-radius: 16px; | |
| padding: 24px; | |
| color: var(--text-main); | |
| margin-top: 8px; | |
| } | |
| .previewLabel { | |
| font-size: 9px; | |
| font-weight: 900; | |
| color: rgba(255,255,255,0.4); | |
| letter-spacing: 0.15em; | |
| margin-bottom: 16px; | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| } | |
| .previewContent { | |
| font-size: 15px; | |
| font-weight: 700; | |
| line-height: 1.5; | |
| } | |
| .previewContent span { color: var(--accent); } | |
| .previewContent strong { | |
| color: var(--text-main); | |
| background: var(--bg-hover); | |
| padding: 2px 6px; | |
| border-radius: 4px; | |
| font-size: 0.9em; | |
| } | |
| .footer { | |
| padding: 32px 40px; | |
| background: var(--bg-hover); | |
| border-top: 1px solid var(--border-subtle); | |
| display: flex; | |
| flex-direction: column; | |
| gap: 16px; | |
| } | |
| .saveBtn { | |
| background: var(--accent); | |
| color: white; | |
| border: none; | |
| border-radius: 12px; | |
| padding: 16px; | |
| font-size: 12px; | |
| font-weight: 900; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 10px; | |
| cursor: pointer; | |
| box-shadow: 0 8px 20px var(--accent-glow); | |
| } | |
| .cancelBtn { | |
| background: none; | |
| border: none; | |
| font-size: 10px; | |
| font-weight: 900; | |
| color: var(--text-muted); | |
| cursor: pointer; | |
| letter-spacing: 0.05em; | |
| transition: color 0.2s; | |
| } | |
| .cancelBtn:hover { | |
| color: var(--error); | |
| } | |