diff options
| author | Brian Cully <bjc@spork.org> | 2025-05-12 21:52:00 -0400 |
|---|---|---|
| committer | Brian Cully <bjc@spork.org> | 2025-05-12 21:52:00 -0400 |
| commit | ceff45422d39530b09d3d797ef88b97190c4f23c (patch) | |
| tree | d3e6387bef8bd19d6eccdb750c67a407b296fcc4 /main.css | |
| parent | d1c8f67d699fcd5e4ce262688b89503d3ddc0f88 (diff) | |
| download | chords-ceff45422d39530b09d3d797ef88b97190c4f23c.tar.gz chords-ceff45422d39530b09d3d797ef88b97190c4f23c.zip | |
wip: major refactor for web components and grid layout
- hovering on notes from the key doesn't work.
- need to show fret on/off, not notes, they're too distracting
- save button broken
Diffstat (limited to 'main.css')
| -rw-r--r-- | main.css | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -38,6 +38,24 @@ body { background-color: var(--fret-bg-color-3); } +x-string { + display: grid; + padding: 5px; + cursor: pointer; + list-style: none; + grid-template-rows: 1ex; + /* TODO: this should be put on the element when it's attached. */ + grid-template-columns: repeat(10, 1fr); +} + +x-string li { + text-align: center; +} + +x-string .selected { + border-left: 1px solid black; +} + x-fretboard { display: block; float: left; @@ -45,6 +63,10 @@ x-fretboard { margin-right: 1em; } +x-fretboard .save { + position: right; +} + x-fretboard table { border-collapse: collapse; } |
