Spaces:
Running
Running
Download style.css from HDHaro/decision-branchinator: direct link, hf CLI and curl.
- Browser
- Download file 860 Bytes
-
https://huggingface.co/spaces/HDHaro/decision-branchinator/resolve/main/style.css
- Command line
-
hf download hf://spaces/HDHaro/decision-branchinator/style.css
-
curl -L -o style.css https://huggingface.co/spaces/HDHaro/decision-branchinator/resolve/main/style.css
860 Bytes
| /* Custom styles for decision tree */ | |
| .decision-path { | |
| position: relative; | |
| margin-left: 2rem; | |
| } | |
| .decision-path::before { | |
| content: ""; | |
| position: absolute; | |
| left: -1.5rem; | |
| top: 0; | |
| height: 100%; | |
| width: 2px; | |
| background-color: #e5e7eb; | |
| } | |
| .decision-node { | |
| transition: all 0.2s ease; | |
| } | |
| .decision-node:hover { | |
| transform: translateY(-2px); | |
| } | |
| .connector-line { | |
| position: relative; | |
| margin-left: 1rem; | |
| } | |
| .connector-line::before { | |
| content: ""; | |
| position: absolute; | |
| left: -1rem; | |
| top: 50%; | |
| width: 1rem; | |
| height: 2px; | |
| background-color: #9ca3af; | |
| } | |
| /* Animation for new nodes */ | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(10px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .new-node { | |
| animation: fadeIn 0.3s ease-out; | |
| } |