Download ui.css from NamanTiwari/AppSec-Agent-OpenEnv: direct link, hf CLI and curl.
- Browser
- Download file 4.83 kB
-
https://huggingface.co/spaces/NamanTiwari/AppSec-Agent-OpenEnv/resolve/main/ui.css
- Command line
-
hf download hf://spaces/NamanTiwari/AppSec-Agent-OpenEnv/ui.css
-
curl -L -o ui.css https://huggingface.co/spaces/NamanTiwari/AppSec-Agent-OpenEnv/resolve/main/ui.css
4.83 kB
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=JetBrains+Mono:wght@400;700&family=Orbitron:wght@700&display=swap'); | |
| :root { | |
| --bg-base: #05050A; | |
| --bg-glass: rgba(16, 18, 27, 0.65); | |
| --bg-glass-hover: rgba(25, 28, 40, 0.8); | |
| --border-glass: rgba(255, 255, 255, 0.08); | |
| --neon-blue: #00f3ff; | |
| --neon-purple: #bc13fe; | |
| --neon-green: #00ff66; | |
| --neon-red: #ff003c; | |
| --text-main: #e2e8f0; | |
| --text-muted: #94a3b8; | |
| --font-sans: 'Inter', sans-serif; | |
| --font-mono: 'JetBrains Mono', monospace; | |
| --font-display: 'Orbitron', sans-serif; | |
| } | |
| body { | |
| background-color: var(--bg-base); | |
| background-image: | |
| radial-gradient(circle at 15% 50%, rgba(188, 19, 254, 0.08), transparent 25%), | |
| radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.08), transparent 25%); | |
| background-attachment: fixed; | |
| color: var(--text-main); | |
| font-family: var(--font-sans); | |
| } | |
| /* GRADIO COMPONENT OVERRIDES */ | |
| .gradio-container { | |
| max-width: 1400px ; | |
| } | |
| .glass-panel { | |
| background: var(--bg-glass); | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| border: 1px solid var(--border-glass); | |
| border-radius: 16px; | |
| box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5); | |
| padding: 24px; | |
| transition: all 0.3s ease; | |
| } | |
| .glass-panel:hover { | |
| border-color: rgba(255, 255, 255, 0.15); | |
| box-shadow: 0 8px 32px 0 rgba(0, 243, 255, 0.1); | |
| } | |
| /* Header & Glitch Effect */ | |
| .header-panel { | |
| text-align: center; | |
| margin-bottom: 2rem; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .header-panel::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; left: 0; right: 0; | |
| height: 2px; | |
| background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-purple), transparent); | |
| } | |
| .cyber-header h1 { | |
| font-family: var(--font-display); | |
| font-size: 3rem; | |
| margin: 0; | |
| color: #fff; | |
| text-shadow: 0 0 10px var(--neon-blue); | |
| letter-spacing: 2px; | |
| } | |
| .cyber-header .subtitle { | |
| color: var(--neon-purple); | |
| font-weight: 600; | |
| font-size: 1.2rem; | |
| margin-top: 10px; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| } | |
| .cyber-header .desc { | |
| color: var(--text-muted); | |
| font-size: 1rem; | |
| max-width: 800px; | |
| margin: 15px auto 0; | |
| } | |
| /* BUTTONS */ | |
| button.primary { | |
| background: linear-gradient(45deg, var(--neon-purple), #8a2be2) ; | |
| border: none ; | |
| color: white ; | |
| font-weight: bold ; | |
| border-radius: 8px ; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| box-shadow: 0 0 15px rgba(188, 19, 254, 0.4) ; | |
| transition: all 0.2s ease-in-out ; | |
| } | |
| button.primary:hover { | |
| transform: translateY(-2px) scale(1.02); | |
| box-shadow: 0 0 25px rgba(188, 19, 254, 0.7) ; | |
| } | |
| button.secondary { | |
| background: rgba(255,255,255,0.05) ; | |
| border: 1px solid rgba(255,255,255,0.1) ; | |
| color: var(--neon-blue) ; | |
| font-weight: 600 ; | |
| transition: all 0.2s ; | |
| } | |
| button.secondary:hover { | |
| background: rgba(0, 243, 255, 0.1) ; | |
| border-color: var(--neon-blue) ; | |
| box-shadow: 0 0 15px rgba(0, 243, 255, 0.3) ; | |
| } | |
| /* BUTTON ROW SPACING */ | |
| .button-row { | |
| margin-top: 20px ; | |
| gap: 15px ; | |
| flex-wrap: wrap ; | |
| } | |
| /* TEXTBOXES & CODE BLOCKS */ | |
| textarea, .cm-editor, .gr-code { | |
| background-color: rgba(0, 0, 0, 0.5) ; | |
| border: 1px solid var(--border-glass) ; | |
| color: var(--text-main) ; | |
| font-family: var(--font-mono) ; | |
| border-radius: 8px ; | |
| } | |
| textarea:focus, .cm-editor.cm-focused { | |
| border-color: var(--neon-blue) ; | |
| box-shadow: 0 0 10px rgba(0, 243, 255, 0.2) ; | |
| } | |
| /* REWARD BOXES */ | |
| .reward-box textarea { | |
| font-size: 1.2rem ; | |
| font-weight: 800 ; | |
| text-align: center ; | |
| color: var(--neon-green) ; | |
| background: rgba(0, 255, 102, 0.05) ; | |
| border: 1px solid rgba(0, 255, 102, 0.2) ; | |
| } | |
| .status-badge textarea { | |
| font-weight: 600 ; | |
| text-align: center ; | |
| } | |
| /* TABS */ | |
| .tabs > .tab-nav { | |
| border-bottom: 1px solid var(--border-glass) ; | |
| gap: 10px; | |
| } | |
| .tabs > .tab-nav > button { | |
| background: transparent ; | |
| border: none ; | |
| color: var(--text-muted) ; | |
| font-weight: 600 ; | |
| padding: 10px 20px ; | |
| border-bottom: 2px solid transparent ; | |
| border-radius: 0 ; | |
| } | |
| .tabs > .tab-nav > button.selected { | |
| color: var(--neon-blue) ; | |
| border-bottom: 2px solid var(--neon-blue) ; | |
| text-shadow: 0 0 8px rgba(0, 243, 255, 0.5); | |
| } | |