Spaces:
Sleeping
Sleeping
Download static/style.css from MTORXYZ/MTOR-Testing: direct link, hf CLI and curl.
- Browser
- Download file 15.1 kB
-
https://huggingface.co/spaces/MTORXYZ/MTOR-Testing/resolve/main/static/style.css
- Command line
-
hf download hf://spaces/MTORXYZ/MTOR-Testing/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/MTORXYZ/MTOR-Testing/resolve/main/static/style.css
15.1 kB
| /* βββ Google Fonts βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| @import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap'); | |
| /* βββ CSS Variables βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| :root { | |
| --glass-bg: rgba(255, 255, 255, 0.05); | |
| --glass-border-light: rgba(255, 255, 255, 0.3); | |
| --glass-border-dark: rgba(255, 255, 255, 0.05); | |
| --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); | |
| --inner-glare: inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 1px 0 1px rgba(255, 255, 255, 0.05); | |
| --blur: blur(16px) saturate(120%); | |
| --accent-1: #38bdf8; | |
| --accent-2: #818cf8; | |
| --accent-3: #34d399; | |
| --text-primary: #f0f9ff; | |
| --text-secondary: rgba(240, 249, 255, 0.75); | |
| --text-muted: rgba(240, 249, 255, 0.45); | |
| --radius: 24px; | |
| --radius-sm: 14px; | |
| } | |
| /* βββ Global Reset & Background βββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| html, body, [data-testid="stAppViewContainer"], [data-testid="stApp"] { | |
| background: transparent ; | |
| } | |
| [data-testid="stAppViewContainer"]::before { | |
| content: ""; | |
| position: fixed; | |
| inset: 0; | |
| z-index: -2; | |
| background: | |
| radial-gradient(ellipse at 15% 20%, rgba(56, 189, 248, 0.30) 0%, transparent 55%), | |
| radial-gradient(ellipse at 85% 10%, rgba(129, 140, 248, 0.28) 0%, transparent 50%), | |
| radial-gradient(ellipse at 50% 80%, rgba(52, 211, 153, 0.20) 0%, transparent 55%), | |
| linear-gradient(135deg, #0c1445 0%, #0f172a 40%, #0d1b35 70%, #0a1628 100%); | |
| } | |
| /* Floating orb decorations */ | |
| [data-testid="stAppViewContainer"]::after { | |
| content: ""; | |
| position: fixed; | |
| inset: 0; | |
| z-index: -1; | |
| background: | |
| radial-gradient(circle 220px at 10% 60%, rgba(56, 189, 248, 0.12) 0%, transparent 70%), | |
| radial-gradient(circle 180px at 90% 75%, rgba(129, 140, 248, 0.14) 0%, transparent 70%); | |
| pointer-events: none; | |
| } | |
| body { | |
| font-family: 'DM Sans', sans-serif; | |
| color: var(--text-primary); | |
| } | |
| /* βββ Streamlit App Shell ββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| [data-testid="stMain"] { | |
| background: transparent ; | |
| } | |
| [data-testid="block-container"] { | |
| padding-top: 2rem ; | |
| padding-bottom: 3rem ; | |
| } | |
| /* βββ Title Container ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .title-container { | |
| background: var(--glass-bg); | |
| backdrop-filter: var(--blur); | |
| -webkit-backdrop-filter: var(--blur); | |
| border-top: 1px solid var(--glass-border-light); | |
| border-left: 1px solid var(--glass-border-light); | |
| border-bottom: 1px solid var(--glass-border-dark); | |
| border-right: 1px solid var(--glass-border-dark); | |
| border-radius: var(--radius); | |
| padding: 1.4rem 2rem; | |
| text-align: center; | |
| box-shadow: var(--glass-shadow), var(--inner-glare); | |
| margin-bottom: 1.2rem; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .title-container::before { | |
| content: ""; | |
| position: absolute; | |
| top: -60%; | |
| left: -20%; | |
| width: 140%; | |
| height: 200%; | |
| background: conic-gradient(from 180deg at 50% 50%, | |
| rgba(56,189,248,0.08) 0deg, | |
| rgba(129,140,248,0.08) 120deg, | |
| rgba(52,211,153,0.06) 240deg, | |
| rgba(56,189,248,0.08) 360deg); | |
| animation: rotateOrb 14s linear infinite; | |
| pointer-events: none; | |
| border-radius: 50%; | |
| } | |
| @keyframes rotateOrb { | |
| from { transform: rotate(0deg); } | |
| to { transform: rotate(360deg); } | |
| } | |
| .title-container h1 { | |
| font-family: 'Syne', sans-serif; | |
| font-size: 2.4rem; | |
| font-weight: 800; | |
| margin: 0; | |
| background: linear-gradient(135deg, #e0f2fe 0%, var(--accent-1) 45%, var(--accent-2) 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| letter-spacing: -0.5px; | |
| position: relative; | |
| } | |
| /* βββ Subtitle & Description βββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .subtitle { | |
| text-align: center; | |
| font-family: 'Syne', sans-serif; | |
| font-size: 1.15rem; | |
| font-weight: 600; | |
| color: var(--text-secondary); | |
| margin-bottom: 0.4rem; | |
| letter-spacing: 0.3px; | |
| } | |
| .description { | |
| text-align: center; | |
| font-size: 0.95rem; | |
| font-weight: 300; | |
| font-style: italic; | |
| color: var(--text-muted); | |
| margin-bottom: 2rem; | |
| } | |
| /* βββ Input Label ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .input-label { | |
| font-family: 'Syne', sans-serif; | |
| font-size: 1.05rem; | |
| font-weight: 600; | |
| color: var(--text-secondary); | |
| margin-bottom: 0.5rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.4rem; | |
| letter-spacing: 0.2px; | |
| } | |
| /* βββ Text Area (Colorful & High Visibility) ββββββββββββββββββββββββββββββββββ */ | |
| textarea, | |
| [data-testid="stTextArea"] textarea { | |
| /* Colorful tinted glass background instead of dark gray */ | |
| background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.12) 100%) ; | |
| backdrop-filter: var(--blur) ; | |
| -webkit-backdrop-filter: var(--blur) ; | |
| color: #000000 ; /* Crisp white text for user input */ | |
| font-family: 'DM Sans', sans-serif ; | |
| font-size: 1.05rem ; | |
| border-radius: var(--radius-sm) ; | |
| padding: 1.2rem ; | |
| /* Subtle colorful borders */ | |
| border: 1px solid rgba(129, 140, 248, 0.3) ; | |
| border-top: 1px solid rgba(56, 189, 248, 0.5) ; | |
| box-shadow: inset 0 4px 12px rgba(0,0,0,0.15), 0 4px 15px rgba(56, 189, 248, 0.05) ; | |
| transition: all 0.3s ease ; | |
| resize: vertical ; | |
| } | |
| /* When the user clicks into the text box */ | |
| textarea:focus, | |
| [data-testid="stTextArea"] textarea:focus { | |
| /* Brighter colorful background on focus */ | |
| background: linear-gradient(135deg, rgba(56, 189, 248, 0.18) 0%, rgba(129, 140, 248, 0.18) 100%) ; | |
| border: 1px solid var(--accent-1) ; | |
| /* Neon glow effect */ | |
| box-shadow: inset 0 2px 8px rgba(0,0,0,0.1), 0 0 20px rgba(56, 189, 248, 0.35) ; | |
| outline: none ; | |
| } | |
| /* Brighter, more visible Hint Text (Placeholder) */ | |
| textarea::placeholder, | |
| [data-testid="stTextArea"] textarea::placeholder { | |
| color: #3b4b52 ; /* Light sky blue */ | |
| font-weight: 400 ; | |
| font-style: italic; | |
| opacity: 1 ; /* Overrides default browser dimming */ | |
| } | |
| /* βββ Buttons ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .stButton > button { | |
| font-family: 'Syne', sans-serif ; | |
| font-weight: 600 ; | |
| font-size: 0.95rem ; | |
| letter-spacing: 0.4px ; | |
| padding: 0.65rem 1.6rem ; | |
| border-radius: var(--radius-sm) ; | |
| border: 1px solid rgba(56,189,248,0.35) ; | |
| background: linear-gradient(135deg, | |
| rgba(56,189,248,0.22) 0%, | |
| rgba(129,140,248,0.18) 100%) ; | |
| backdrop-filter: blur(14px) ; | |
| -webkit-backdrop-filter: blur(14px) ; | |
| color: var(--text-primary) ; | |
| box-shadow: 0 4px 16px rgba(56,189,248,0.15), inset 0 1px 0 rgba(255,255,255,0.10) ; | |
| transition: all 0.25s ease ; | |
| cursor: pointer ; | |
| } | |
| .stButton > button:hover { | |
| background: linear-gradient(135deg, | |
| rgba(56,189,248,0.38) 0%, | |
| rgba(129,140,248,0.30) 100%) ; | |
| border-color: rgba(56,189,248,0.60) ; | |
| box-shadow: 0 6px 24px rgba(56,189,248,0.28), inset 0 1px 0 rgba(255,255,255,0.18) ; | |
| transform: translateY(-2px) ; | |
| color: #fff ; | |
| } | |
| .stButton > button:active { | |
| transform: translateY(0px) ; | |
| box-shadow: 0 2px 8px rgba(56,189,248,0.18) ; | |
| } | |
| .stButton > button:disabled { | |
| background: rgba(255,255,255,0.05) ; | |
| border-color: rgba(255,255,255,0.08) ; | |
| color: var(--text-muted) ; | |
| cursor: not-allowed ; | |
| transform: none ; | |
| box-shadow: none ; | |
| } | |
| /* βββ Streamlit Alert / Info / Success / Warning Boxes ββββββββββββββββββββββββ */ | |
| [data-testid="stAlert"], | |
| .stAlert, | |
| div[data-baseweb="notification"] { | |
| background: var(--glass-bg) ; | |
| backdrop-filter: var(--blur) ; | |
| -webkit-backdrop-filter: var(--blur) ; | |
| border-top: 1px solid var(--glass-border-light) ; | |
| border-left: 1px solid var(--glass-border-light) ; | |
| border-bottom: 1px solid var(--glass-border-dark) ; | |
| border-right: 1px solid var(--glass-border-dark) ; | |
| border-radius: var(--radius-sm) ; | |
| color: var(--text-primary) ; | |
| box-shadow: var(--glass-shadow), var(--inner-glare) ; | |
| } | |
| /* Success */ | |
| [data-testid="stAlert"][data-type="success"], | |
| div[data-baseweb="notification"][kind="positive"] { | |
| border-color: rgba(52, 211, 153, 0.40) ; | |
| background: rgba(52, 211, 153, 0.08) ; | |
| } | |
| /* Warning */ | |
| [data-testid="stAlert"][data-type="warning"], | |
| div[data-baseweb="notification"][kind="warning"] { | |
| border-color: rgba(251, 191, 36, 0.40) ; | |
| background: rgba(251, 191, 36, 0.08) ; | |
| } | |
| /* Info */ | |
| [data-testid="stAlert"][data-type="info"], | |
| div[data-baseweb="notification"][kind="info"] { | |
| border-color: rgba(56, 189, 248, 0.35) ; | |
| background: rgba(56, 189, 248, 0.08) ; | |
| } | |
| /* βββ Spinner ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| [data-testid="stSpinner"] { | |
| color: var(--accent-1) ; | |
| } | |
| /* βββ Headings inside Streamlit ββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| h1, h2, h3, h4 { | |
| font-family: 'Syne', sans-serif ; | |
| color: var(--text-primary) ; | |
| } | |
| h3 { | |
| font-size: 1.15rem ; | |
| font-weight: 600 ; | |
| color: var(--text-secondary) ; | |
| } | |
| /* βββ Markdown text ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| [data-testid="stMarkdownContainer"] p, | |
| [data-testid="stMarkdownContainer"] li, | |
| [data-testid="stMarkdownContainer"] span { | |
| color: var(--text-secondary) ; | |
| font-family: 'DM Sans', sans-serif ; | |
| } | |
| [data-testid="stMarkdownContainer"] strong { | |
| color: var(--text-primary) ; | |
| } | |
| [data-testid="stMarkdownContainer"] code { | |
| background: rgba(56,189,248,0.14) ; | |
| color: var(--accent-1) ; | |
| border-radius: 6px ; | |
| padding: 0.15rem 0.45rem ; | |
| font-size: 0.92em ; | |
| border: 1px solid rgba(56,189,248,0.25) ; | |
| } | |
| /* βββ Hide unused Streamlit elements βββββββββββββββββββββββββββββββββββββββββββ */ | |
| [data-testid="stTextInput"] { | |
| display: none ; | |
| } | |
| [data-testid="stDecoration"], | |
| [data-testid="stHeader"] { | |
| display: none ; | |
| } | |
| /* βββ Scrollbar ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| ::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: rgba(255,255,255,0.04); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: rgba(56,189,248,0.30); | |
| border-radius: 99px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: rgba(56,189,248,0.55); | |
| } | |
| /* βββ Feedback Section βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .feedback-section { | |
| margin-top: 2rem; | |
| padding: 1.4rem 1.6rem; | |
| background: var(--glass-bg); | |
| backdrop-filter: var(--blur); | |
| -webkit-backdrop-filter: var(--blur); | |
| border-top: 1px solid var(--glass-border-light); | |
| border-left: 1px solid var(--glass-border-light); | |
| border-bottom: 1px solid var(--glass-border-dark); | |
| border-right: 1px solid var(--glass-border-dark); | |
| border-radius: var(--radius); | |
| box-shadow: var(--glass-shadow), var(--inner-glare); | |
| } | |
| /* βββ Ticket ID ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .ticket-id { | |
| font-family: 'Syne', sans-serif; | |
| font-size: 1.1rem; | |
| font-weight: 700; | |
| color: var(--accent-1); | |
| margin-top: 1rem; | |
| letter-spacing: 0.5px; | |
| } | |
| /* βββ Columns ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| [data-testid="stHorizontalBlock"] { | |
| gap: 1rem; | |
| } | |
| /* βββ Staggered fade-in on load ββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| [data-testid="stVerticalBlock"] > div { | |
| animation: fadeUp 0.5s ease both; | |
| } | |
| [data-testid="stVerticalBlock"] > div:nth-child(1) { animation-delay: 0.05s; } | |
| [data-testid="stVerticalBlock"] > div:nth-child(2) { animation-delay: 0.12s; } | |
| [data-testid="stVerticalBlock"] > div:nth-child(3) { animation-delay: 0.19s; } | |
| [data-testid="stVerticalBlock"] > div:nth-child(4) { animation-delay: 0.26s; } | |
| [data-testid="stVerticalBlock"] > div:nth-child(5) { animation-delay: 0.33s; } | |
| @keyframes fadeUp { | |
| from { opacity: 0; transform: translateY(16px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } |