Spaces:
Paused
Paused
Download console/src/components/PageHeader/index.module.less from mysticaldragon/HF: direct link, hf CLI and curl.
- Browser
- Download file 2.41 kB
-
https://huggingface.co/spaces/mysticaldragon/HF/resolve/main/console/src/components/PageHeader/index.module.less
- Command line
-
hf download hf://spaces/mysticaldragon/HF/console/src/components/PageHeader/index.module.less
-
curl -L -o index.module.less https://huggingface.co/spaces/mysticaldragon/HF/resolve/main/console/src/components/PageHeader/index.module.less
2.41 kB
| .pageHeader { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| position: relative; | |
| padding: 20px; | |
| border-bottom: 1px solid #eae9e7; | |
| flex-shrink: 0; | |
| @media (max-width: 768px) { | |
| padding: 12px; | |
| gap: 6px; | |
| } | |
| } | |
| .leading { | |
| flex: 1; | |
| min-width: 0; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: flex-start; | |
| gap: 4px; | |
| } | |
| .leadingTop { | |
| display: flex; | |
| flex-wrap: wrap; | |
| align-items: center; | |
| width: 100%; | |
| min-width: 0; | |
| } | |
| .breadcrumbHeader { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| font-size: 16px; | |
| flex: 1; | |
| min-width: 0; | |
| flex-wrap: wrap; | |
| } | |
| .breadcrumbParent { | |
| color: #999; | |
| font-weight: 400; | |
| } | |
| .breadcrumbSeparator { | |
| color: #ccc; | |
| margin: 0 4px; | |
| } | |
| .breadcrumbCurrent { | |
| color: #333; | |
| font-weight: 600; | |
| font-size: 20px; | |
| } | |
| .center { | |
| position: absolute; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| } | |
| .extra { | |
| flex-shrink: 0; | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| @media (max-width: 768px) { | |
| .pageHeader { | |
| display: grid; | |
| grid-template-columns: minmax(0, 1fr) auto; | |
| padding: 12px 16px; | |
| gap: 8px; | |
| } | |
| .leading { | |
| grid-column: 1; | |
| grid-row: 1; | |
| width: 100%; | |
| min-width: 0; | |
| } | |
| .center { | |
| position: static; | |
| grid-column: 1 / -1; | |
| grid-row: 2; | |
| width: 100%; | |
| justify-self: center; | |
| transform: none; | |
| } | |
| .breadcrumbHeader { | |
| flex-wrap: wrap; | |
| gap: 4px 8px; | |
| } | |
| .breadcrumbParent { | |
| font-size: 14px; | |
| } | |
| .breadcrumbSeparator { | |
| margin: 0 4px; | |
| } | |
| .breadcrumbCurrent { | |
| font-size: 16px; | |
| } | |
| .extra { | |
| grid-column: 2; | |
| grid-row: 1; | |
| justify-content: flex-end; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| } | |
| } | |
| @media (max-width: 520px) { | |
| .pageHeader { | |
| grid-template-columns: minmax(0, 1fr); | |
| } | |
| .center { | |
| grid-row: 2; | |
| } | |
| .extra { | |
| grid-column: 1; | |
| grid-row: 3; | |
| width: 100%; | |
| } | |
| } | |
| /* βββ Dark mode βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| :global(.dark-mode) { | |
| .pageHeader { | |
| border-bottom-color: rgba(255, 255, 255, 0.12); | |
| } | |
| .breadcrumbParent { | |
| color: rgba(255, 255, 255, 0.35); | |
| } | |
| .breadcrumbSeparator { | |
| color: rgba(255, 255, 255, 0.2); | |
| } | |
| .breadcrumbCurrent { | |
| color: rgba(255, 255, 255, 0.85); | |
| } | |
| } | |