diff --git a/index.html b/index.html index 5d11f35..41481bd 100644 --- a/index.html +++ b/index.html @@ -47,23 +47,28 @@ Reset current build - - - Import / Export + + + + Import / Export + Back up, share, or restore a build as JSON. + + + Back up or share the current build as JSON. Paste JSON directly or upload a saved file to import. + + Generate / Copy JSON + Download JSON + + Upload JSON + + + Import pasted JSON + + + - - Generate / Copy JSON - Download JSON - - Upload JSON - - - Import pasted JSON - - - - + Total damage base0 diff --git a/styles.css b/styles.css index 6f0eb94..a04f4b7 100644 --- a/styles.css +++ b/styles.css @@ -115,9 +115,31 @@ h3 { margin-bottom: 0; } .import-export { display: grid; - gap: 0.9rem; margin-bottom: 1rem; } +.import-export summary { + cursor: pointer; + list-style: none; + display: flex; + align-items: center; + justify-content: space-between; + gap: 1rem; +} +.import-export summary::-webkit-details-marker { display: none; } +.import-export summary::after { + content: "▾"; + color: var(--accent); + font-size: 1.1rem; + transition: transform 0.18s ease; +} +.import-export:not([open]) summary::after { transform: rotate(-90deg); } +.import-export summary strong { display: block; font-size: 1.15rem; } +.import-export summary small { display: block; color: var(--muted); margin-top: 0.2rem; } +.import-export-body { + display: grid; + gap: 0.9rem; + margin-top: 0.9rem; +} .import-export p { color: var(--muted); margin-bottom: 0; } .io-actions { display: flex;
Back up or share the current build as JSON. Paste JSON directly or upload a saved file to import.