diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-10-05 15:33:46 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-10-05 15:33:46 +0200 |
| commit | 02582cc490fc0d753dd153211cc172eb28fbee5d (patch) | |
| tree | 4add149d5e1ecf28cf20ecb497626fef85cdbd75 /src/web/component/navigation/index.css | |
| parent | 2f3199622d9e7a97da4b5c31a2d81b170b7cdaa6 (diff) | |
first sketch of wasm environment
Diffstat (limited to 'src/web/component/navigation/index.css')
| -rw-r--r-- | src/web/component/navigation/index.css | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/src/web/component/navigation/index.css b/src/web/component/navigation/index.css deleted file mode 100644 index 836e3b5..0000000 --- a/src/web/component/navigation/index.css +++ /dev/null @@ -1,66 +0,0 @@ -#toggle { - --radius-open: 200px; - - position: absolute; - right: 10px; - bottom: 10px; - width: 45px; - height: 45px; - border-radius: 100%; - background: red; - z-index: 500; - cursor: pointer; - text-align: center; - align-content: center; - transition: - border-radius 0.1s ease, - right 0.1s ease, - bottom 0.1s ease, - width 0.1s ease, - height 0.1s ease; - - .bi { - baseline-shift: -2px; - } - - .items { - position: relative; - top: 0px; - left: 0px; - right: 0px; - bottom: 0px; - } - - .item { - display: none; - width: 45px; - height: 45px; - border-radius: 100%; - background: blue; - position: absolute; - right: calc(cos(18deg * var(--index)) * var(--radius-open)); - bottom: calc(sin(18deg * var(--index)) * var(--radius-open)); - font-size: calc(var(--index) * 1px); - } - - .item { - --index: sibling-index(); - } -} - -#toggle.open { - width: var(--radius-open); - height: var(--radius-open); - bottom: 0px; - right: 0px; - border-radius: 0px; - border-top-left-radius: 250px; - - .bi { - display: none; - } - - .item { - display: block; - } -} |