Download web/src/styles/sdlc81/dialog-size.css from fsanyoto/loopable: direct link, hf CLI and curl.
- Browser
- Download file 1.56 kB
-
https://huggingface.co/spaces/fsanyoto/loopable/resolve/main/web/src/styles/sdlc81/dialog-size.css
- Command line
-
hf download hf://spaces/fsanyoto/loopable/web/src/styles/sdlc81/dialog-size.css
-
curl -L -o dialog-size.css https://huggingface.co/spaces/fsanyoto/loopable/resolve/main/web/src/styles/sdlc81/dialog-size.css
1.56 kB
| /* C7 / R36: every dialog, including a confirm, shares this viewport-bounded box. */ | |
| :root { | |
| --lp-dialog-w: min(1120px, calc(100vw - 32px)); | |
| --lp-dialog-h: min(760px, calc(100dvh - 48px)); | |
| } | |
| /* The tokens reserve the viewport inset for both legacy modal families. */ | |
| .set-backdrop, | |
| .conn-modal-backdrop { | |
| padding: 0 ; | |
| } | |
| .set-modal, | |
| .conn-modal { | |
| width: var(--lp-dialog-w) ; | |
| height: var(--lp-dialog-h) ; | |
| min-width: 0 ; | |
| max-width: none ; | |
| min-height: 0 ; | |
| max-height: none ; | |
| box-sizing: border-box; | |
| flex-shrink: 0; | |
| overflow: hidden; | |
| } | |
| .set-modal { | |
| position: relative; | |
| } | |
| .set-modal > .set-rail { | |
| min-height: 0; | |
| overflow: auto; | |
| overscroll-behavior: contain; | |
| } | |
| .set-modal > .set-body, | |
| .conn-modal > .conn-modal-body { | |
| flex: 1 1 auto; | |
| min-width: 0; | |
| min-height: 0; | |
| overflow: auto; | |
| overscroll-behavior: contain; | |
| scrollbar-gutter: stable; | |
| } | |
| /* Anchor Settings and Alerts close buttons outside their scrolling body. */ | |
| .set-modal > .set-body { | |
| position: static; | |
| } | |
| .conn-modal > .conn-modal-head, | |
| .conn-modal > .conn-modal-tabs { | |
| flex-shrink: 0; | |
| } | |
| /* Keep the section controls above the scrolling tab panel. */ | |
| .lp-dialog > .home-tpl { | |
| display: flex; | |
| flex: 1 1 auto; | |
| flex-direction: column; | |
| gap: var(--lp-home-tile-inset); | |
| min-width: 0; | |
| min-height: 0; | |
| } | |
| .home-tpl > .home-layout-toggle { | |
| align-self: flex-start; | |
| flex-shrink: 0; | |
| flex-wrap: wrap; | |
| } | |
| .home-tpl > .shell-newdb-err, | |
| .home-tpl > .lp-dialog-btn { | |
| flex-shrink: 0; | |
| } | |