diff --git a/src/bggpipe/static/app.css b/src/bggpipe/static/app.css index 77425a2..291c3b8 100644 --- a/src/bggpipe/static/app.css +++ b/src/bggpipe/static/app.css @@ -556,6 +556,12 @@ select { margin-bottom: .8rem; } .orow { display: flex; gap: .5rem; } .formlabel { margin: 1.2rem 0 .35rem; } +.unitdesc { margin: -.3rem 0 .7rem; display: flex; gap: .6rem; + align-items: center; flex-wrap: wrap; } +.unitdesc .descform:not([hidden]) { display: flex; gap: .4rem; flex: 1 1 16rem; } +.unitdesc .descform input { flex: 1 1 auto; font: inherit; font-size: .85rem; + border: 2px solid var(--board-edge); border-radius: var(--radius); + padding: .25rem .45rem; } .formlabel.small { font-weight: 700; font-size: .85rem; color: var(--ink-soft); margin: .8rem 0 .3rem; } button.opening { diff --git a/src/bggpipe/templates/pages/shelves.html b/src/bggpipe/templates/pages/shelves.html index 4bccac5..10006fa 100644 --- a/src/bggpipe/templates/pages/shelves.html +++ b/src/bggpipe/templates/pages/shelves.html @@ -19,6 +19,9 @@ + @@ -113,6 +116,16 @@ function unitBlock(u) { +
+ + + + + + +
${unitRows(u.openings)}Add an opening