Spaces:
Running
Running
Download shared/css/widgets.css from Tonic/uas-eus-webhook: direct link, hf CLI and curl.
- Browser
- Download file 6.69 kB
-
https://huggingface.co/spaces/Tonic/uas-eus-webhook/resolve/main/shared/css/widgets.css
- Command line
-
hf download hf://spaces/Tonic/uas-eus-webhook/shared/css/widgets.css
-
curl -L -o widgets.css https://huggingface.co/spaces/Tonic/uas-eus-webhook/resolve/main/shared/css/widgets.css
6.69 kB
| /* Shared widgets: share buttons, calendar, theme toggle, scroll-reveal, contact buttons. */ | |
| .share { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } | |
| .share-btn, .share a.share-btn { border: 1px solid var(--rule, #ccc); background: transparent; color: inherit; | |
| font: 600 11px var(--font-mono, monospace); padding: 4px 8px; cursor: pointer; text-decoration: none; border-radius: 3px; } | |
| .share-btn:hover { border-color: var(--red); color: var(--red); } | |
| #theme-btn { background: transparent; border: 1px solid var(--rule, #ccc); cursor: pointer; font-size: 14px; padding: 3px 8px; border-radius: 3px; color: inherit; } | |
| /* scroll reveal (parallax sections animate in) — staggered via --d, fx variants glitch/wipe */ | |
| .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .5s ease var(--d, 0ms), transform .5s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); } | |
| .reveal.in { opacity: 1; transform: none; } | |
| .reveal.in.fx-glitch { animation: glitch-in .55s steps(3) both; } | |
| .reveal.in.fx-wipe { animation: wipe-in .65s cubic-bezier(.2,.7,.2,1) both; } | |
| @keyframes wipe-in { | |
| 0% { clip-path: inset(0 100% 0 0); transform: translate3d(-14px, 0, 0); } | |
| 100% { clip-path: inset(0 0 0 0); transform: none; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| .reveal { opacity: 1; transform: none; transition: none; } | |
| .reveal.in.fx-glitch, .reveal.in.fx-wipe { animation: none; } | |
| } | |
| /* per-demo full-width sections (embeds open/close accordion-style) */ | |
| section.demo-sec { position: relative; padding: 72px 0; border-top: 1px solid var(--line); overflow: hidden; } | |
| /* wireframe facade: a closed dashed frame that opens/closes with scroll (--open 0..1, set by | |
| parallax.js); once loaded it stays open and hosts the iframe. Red corner brackets, no orange. */ | |
| .embed-facade { position: relative; overflow: hidden; | |
| height: calc(76px + var(--open, 0) * 224px); min-height: 0; | |
| transition: height .12s linear; } | |
| .embed-facade::before, .embed-facade::after { content: ''; position: absolute; width: 14px; height: 14px; | |
| border: 2px solid var(--red); pointer-events: none; z-index: 2; } | |
| .embed-facade::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; } | |
| .embed-facade::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; } | |
| .embed-facade.loaded { height: auto; overflow: visible; } | |
| .embed-facade.loaded::before, .embed-facade.loaded::after { display: none; } | |
| section.demo-sec .embed-facade.loaded { min-height: 70vh; } | |
| section.demo-sec .embed-facade iframe { height: 70vh; } | |
| /* news list */ | |
| .news-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; } | |
| .news-item { border-left: 3px solid var(--red); padding: 6px 14px; background: var(--panel); } | |
| .news-item .t { color: var(--red); font-size: 13px; font-weight: 600; } | |
| .news-item p { margin: 4px 0 2px; font-size: 14px; } | |
| /* contact form (with known-reference + public profile fields) */ | |
| .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 640px; margin-top: 18px; } | |
| .contact-form input, .contact-form textarea { font: 14px var(--font-mono); padding: 10px 12px; | |
| border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 3px; } | |
| .contact-form textarea, .contact-form .btn, .contact-form .cal-msg { grid-column: 1 / -1; } | |
| @media (max-width: 760px) { .contact-form { grid-template-columns: 1fr; } } | |
| .grid.c3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } | |
| @media (max-width: 760px) { .grid.c3 { grid-template-columns: 1fr; } } | |
| .model-link { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--red); } | |
| .model-link:hover { color: var(--red); } | |
| /* non-rectangular vignette lists: hairline-separated rows revealed one by one on scroll */ | |
| .models-list, .vlist { margin-top: 18px; } | |
| .model-row, .vrow { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; | |
| border-top: 1px solid var(--line); padding: 18px 4px; } | |
| .model-row:last-child, .vrow:last-child { border-bottom: 1px solid var(--line); } | |
| .model-row .idx, .vrow .idx { font: 700 12px var(--font-mono); color: var(--red); letter-spacing: .1em; } | |
| .model-row h3 { margin: 0; font-size: clamp(20px, 3vw, 30px); } | |
| .model-row .mono, .vrow p { margin: 0; color: var(--grey); font-size: 13px; flex: 1; min-width: 200px; } | |
| .vrow p { font-size: 16px; color: var(--ink); } | |
| .row-ctas { display: inline-flex; gap: 8px; } | |
| @media (max-width: 760px) { .model-row, .vrow { gap: 8px; } } | |
| /* calendar */ | |
| .calendar { border: 1px solid var(--rule, #ccc); background: var(--panel, #fafafa); padding: 16px; max-width: 560px; } | |
| .cal-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-head, sans-serif); margin-bottom: 10px; } | |
| .cal-nav { background: transparent; border: 1px solid var(--rule, #ccc); cursor: pointer; font-size: 16px; padding: 2px 10px; color: inherit; } | |
| .cal-offline { font: 600 10px var(--font-mono, monospace); color: var(--red); border: 1px solid var(--red); padding: 1px 6px; } | |
| .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; } | |
| .cal-dow span { font: 700 10px var(--font-mono, monospace); text-align: center; opacity: .6; padding: 4px 0; } | |
| .cal-day { aspect-ratio: 1; border: 1px solid var(--rule, #ddd); background: transparent; cursor: default; font: 500 12px var(--font-mono, monospace); color: inherit; } | |
| .cal-day.has { cursor: pointer; border-color: var(--red, #D52B1E); font-weight: 700; } | |
| .cal-day.has:hover { background: var(--red, #D52B1E); color: #fff; } | |
| .cal-empty { aspect-ratio: 1; } | |
| .cal-events { margin-top: 12px; display: grid; gap: 10px; } | |
| .cal-hint { font: 12px var(--font-mono, monospace); opacity: .6; } | |
| .cal-event { border: 1px solid var(--rule, #ccc); padding: 10px; } | |
| .cal-event strong { font-family: var(--font-head, sans-serif); } | |
| .cal-note { font: 11px var(--font-mono, monospace); color: var(--red, #D52B1E); margin-top: 4px; } | |
| .cal-form { display: grid; gap: 6px; margin-top: 8px; max-width: 320px; } | |
| .cal-form input { padding: 7px 9px; border: 1px solid var(--rule, #ccc); background: var(--bg, #fff); color: inherit; font: 13px system-ui; } | |
| .cal-id { display: flex; gap: 6px; align-items: center; font-size: 12px; } | |
| .cal-msg { font: 600 12px var(--font-mono, monospace); color: var(--green, #4a7c3a); } | |
| /* contact buttons */ | |
| .contact-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; } | |
| .contact-btn { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--rule, #ccc); padding: 8px 14px; text-decoration: none; color: inherit; font: 600 12px var(--font-mono, monospace); } | |
| .contact-btn:hover { border-color: var(--red, #D52B1E); color: var(--red, #D52B1E); } | |