.vbox { margin-bottom: 2em; .vbox-hdr { margin-bottom: 1em; height: 2em; } .vbox-colours { display: grid; grid-template-columns: repeat(6, 1fr); grid-gap: 0.5em 1em; align-items: center; margin-bottom: 0.5em; } .vbox-items { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 0.5em 1em; align-items: center; margin-bottom: 0.5em; } .vbox-btn { width: 100%; margin: 0; background-color: @gray-box; height: 3em; line-height: 1em; border-width: 0; :active, :hover, :focus { color: white; } &.reclaim { height: auto; &:hover { color: @red; }; } &[disabled] { background: black; border-width: 1px; }; } .reclaiming { button:not([disabled]) { &, &:hover, &:active { background: @red; color: black; border: 1px solid black; } } svg { stroke-width: 0.75em; } .white { stroke: black; } } button { height: 4em; margin: 0; width: 100%; // text-transform: none; &.empty { border-style: dashed; } &.highlight { color: black; background: @white; // border: 1px solid @white; (this bangs around the vbox) // overwrite the classes on white svg elements svg { stroke-width: 0.75em; } .white { stroke: black; } } } // figures don't scale well figure { svg { height: 2em; stroke-width: 0.5em; } figcaption { line-height: initial; } } } /* VBOX */ .vbox { align-content: space-between; grid-area: vbox; display: grid; grid-template-rows: min-content min-content min-content; grid-template-columns: 1fr min-content 1fr; grid-template-areas: "vbox varrow inventory" "vbox varrow combiner"; } .vbox-inventory { grid-area: inventory; } .vbox-combiner { grid-area: combiner; display: flex; flex-flow: column; justify-content: flex-end; } .vbox-arrow, .vbox-arrow-mobile { display: flex; justify-content:center; align-content:center; flex-direction:column; margin: 1em 0.25em 0 0.25em; grid-area: varrow; font-size: 2em; color: @gray-hint; } .vbox-combiner button { flex: 0; } .vbox-hdr { display: flex; } .vbox-hdr h3 { flex: 1; } .vbox-hdr .bits { font-size: 2em; line-height: 1em; animation: bits 1s ease-out; } .arrow { grid-area: arrow; color: @gray-hint; }