Spaces:
Paused
Paused
Download console/src/components/MermaidCodeBlock/index.module.less from mysticaldragon/HF: direct link, hf CLI and curl.
- Browser
- Download file 1.38 kB
-
https://huggingface.co/spaces/mysticaldragon/HF/resolve/main/console/src/components/MermaidCodeBlock/index.module.less
- Command line
-
hf download hf://spaces/mysticaldragon/HF/console/src/components/MermaidCodeBlock/index.module.less
-
curl -L -o index.module.less https://huggingface.co/spaces/mysticaldragon/HF/resolve/main/console/src/components/MermaidCodeBlock/index.module.less
1.38 kB
| .mermaidDiagram { | |
| position: relative; | |
| width: 100%; | |
| overflow: auto; | |
| background: radial-gradient( | |
| circle at 50% 0%, | |
| rgba(243, 107, 33, 0.14), | |
| transparent 50% | |
| ), | |
| #fffaf6; | |
| } | |
| .isLoading { | |
| min-height: 176px; | |
| } | |
| .placeholder { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| min-height: 176px; | |
| color: #999; | |
| font-size: 14px; | |
| } | |
| .content { | |
| min-width: max-content; | |
| padding: 24px; | |
| display: flex; | |
| justify-content: center; | |
| svg { | |
| max-width: 100%; | |
| height: auto; | |
| } | |
| } | |
| .mermaidError { | |
| display: flex; | |
| align-items: flex-start; | |
| min-height: 110px; | |
| gap: 12px; | |
| padding: 24px; | |
| margin: 0; | |
| overflow: auto; | |
| color: #8a342f; | |
| background: #fff8f6; | |
| div { | |
| display: grid; | |
| min-width: 0; | |
| gap: 4px; | |
| } | |
| strong { | |
| font-size: 13px; | |
| } | |
| span { | |
| overflow-wrap: anywhere; | |
| color: rgba(138, 52, 47, 0.74); | |
| font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, | |
| monospace; | |
| font-size: 12px; | |
| } | |
| } | |
| :global(.dark-mode) .mermaidDiagram { | |
| background: radial-gradient( | |
| circle at 50% 0%, | |
| rgba(243, 107, 33, 0.18), | |
| transparent 52% | |
| ), | |
| #17120f; | |
| } | |
| :global(.dark-mode) .mermaidError { | |
| color: #f6aaa2; | |
| background: #261918; | |
| span { | |
| color: rgba(246, 170, 162, 0.74); | |
| } | |
| } | |
| @media (max-width: 600px) { | |
| .content { | |
| padding: 18px; | |
| } | |
| } | |