Spaces:
Running
Running
Install nvdisasm-re as a wheel; native emulation, IR printing modes, expression graph and generated C++
02b994b Download app.css from ejschwartz/nvdisasm-re: direct link, hf CLI and curl.
- Browser
- Download file 5.4 kB
-
https://huggingface.co/spaces/ejschwartz/nvdisasm-re/resolve/main/app.css
- Command line
-
hf download hf://spaces/ejschwartz/nvdisasm-re/app.css
-
curl -L -o app.css https://huggingface.co/spaces/ejschwartz/nvdisasm-re/resolve/main/app.css
5.4 kB
| /* A compact editor workspace, using Gradio's theme variables in both color modes. */ | |
| .gradio-container { | |
| width: 100% ; | |
| min-width: 0 ; | |
| box-sizing: border-box; | |
| max-width: 1360px ; | |
| margin: 0 auto ; | |
| padding: 28px 32px 20px ; | |
| } | |
| .gradio-container main { padding: 0 ; min-width: 0 ; } | |
| .gradio-container .contain { max-width: none ; min-width: 0 ; } | |
| gradio-app { min-width: 0; } | |
| #page-header { margin-bottom: 8px; } | |
| #page-header h1 { font-size: 28px; letter-spacing: -0.8px; margin-bottom: 8px; } | |
| #page-header p { color: var(--body-text-color-subdued); font-size: 14px; } | |
| .workspace-section { | |
| border: 1px solid var(--border-color-primary) ; | |
| border-radius: 12px ; | |
| background: var(--background-fill-primary); | |
| padding: 20px ; | |
| gap: 16px ; | |
| } | |
| #input-section .section-heading h2, #analysis-section .section-heading h2 { font-size: 18px; margin: 0 ; letter-spacing: -0.2px; } | |
| #input-workspace { gap: 24px; align-items: flex-start; } | |
| #source-pane { min-width: 0 ; gap: 12px; } | |
| #input-tabs > .tab-container { margin-bottom: 12px; } | |
| #input-tabs > .tabitem { padding: 0 ; border: none ; } | |
| #examples-heading p { font-size: 12px; font-weight: 600; color: var(--body-text-color-subdued); } | |
| #example-buttons { gap: 10px; } | |
| #example-buttons button { | |
| background: var(--background-fill-primary); | |
| border: 1px solid var(--border-color-primary); | |
| font-size: 13px; | |
| font-weight: 500; | |
| text-align: left; | |
| padding: 12px 14px; | |
| min-height: 48px; | |
| height: 48px; | |
| line-height: 1.35; | |
| transition: border-color 120ms ease, background 120ms ease; | |
| } | |
| #example-buttons button:hover { | |
| border-color: var(--color-accent); | |
| background: var(--background-fill-secondary); | |
| } | |
| #source-editor { border-radius: 8px; } | |
| #source-editor .cm-editor, .analysis-code .cm-editor { font-size: 13px; } | |
| #source-editor .cm-line, .analysis-code .cm-line { line-height: 1.65; } | |
| #editor-actions { justify-content: space-between; align-items: center; gap: 12px; } | |
| #editor-actions button { font-size: 14px; font-weight: 600; flex-grow: 0 ; flex-basis: auto ; min-height: 40px; } | |
| #assemble-action { min-width: 148px ; } | |
| #settings-sidebar { | |
| flex-grow: 0 ; | |
| flex-basis: 248px ; | |
| min-width: 224px ; | |
| border-radius: 8px; | |
| background: var(--background-fill-secondary); | |
| padding: 16px; | |
| gap: 18px; | |
| } | |
| #settings-sidebar .form { background: transparent; border: none; gap: 18px; } | |
| #settings-heading p { font-size: 13px; font-weight: 600; } | |
| #settings-sidebar .block:not(.accordion) { | |
| border: none ; | |
| background: transparent ; | |
| padding: 0 ; | |
| box-shadow: none ; | |
| } | |
| #settings-sidebar .block > label > span, | |
| #settings-sidebar .block > span { font-size: 12px; font-weight: 500; } | |
| #settings-sidebar .wrap { gap: 6px; } | |
| #settings-sidebar input:focus-visible, button:focus-visible { outline-offset: 3px; } | |
| #assembly-errors { border-color: var(--error-border-color); background: var(--error-background-fill); } | |
| #analysis-tabs > .tabitem { padding: 12px 0 0 ; border: none ; } | |
| #analysis-tabs .tab-container { flex-wrap: wrap; min-width: 0; } | |
| #analysis-tabs, #input-tabs, #analysis-tabs .tab-wrapper { min-width: 0; max-width: 100%; } | |
| #analysis-tabs .tab-container button { font-size: 13px; } | |
| @media (max-width: 760px) { | |
| .gradio-container { padding: 20px 16px ; } | |
| .workspace-section { padding: 14px ; } | |
| #input-workspace { gap: 16px; } | |
| #settings-sidebar { flex-basis: 100% ; min-width: 0 ; } | |
| #example-buttons { gap: 8px; } | |
| #example-buttons button { min-width: 0 ; flex-basis: 100% ; padding: 10px 12px; } | |
| #source-pane { flex-basis: 100% ; } | |
| #editor-actions button { min-width: 0 ; } | |
| #analysis-tabs .tab-container button { padding: 9px 10px; } | |
| } | |
| /* Keep every result view reachable on small screens. */ | |
| #analysis-tabs .tab-wrapper { height: auto ; } | |
| #analysis-tabs [role="tablist"] { height: auto ; max-height: none; overflow: visible; } | |
| #source-help { border: none ; background: transparent ; padding: 0 ; overflow: visible ; } | |
| #source-help > .label-wrap { | |
| width: fit-content; | |
| max-width: 100%; | |
| gap: 8px; | |
| padding: 6px 0 ; | |
| font-size: 12px; | |
| color: var(--body-text-color-subdued); | |
| } | |
| #assembly-errors textarea { background: transparent; font-family: var(--font-mono); font-size: 12px; } | |
| #builder { border: 1px solid var(--border-color-primary) ; border-radius: 8px ; background: var(--background-fill-secondary); } | |
| #builder > .label-wrap { font-size: 13px; font-weight: 600; } | |
| #builder-help p { font-size: 12px; color: var(--body-text-color-subdued); } | |
| #builder-opcode, #builder-modifiers { gap: 10px; flex-wrap: wrap; } | |
| #builder-opcode > *, #builder-modifiers > * { flex: 1 1 140px ; } | |
| #builder-generate { width: fit-content; min-width: 148px; align-self: flex-end; } | |
| .ir-graph { overflow: auto; max-height: 720px; } | |
| .ir-graph svg { display: block; margin: 0 auto; max-width: none; height: auto; } | |
| .ir-graph a { text-decoration: none ; } | |