@import 'colours.less'; .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; button { width: 100%; } } .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; // text-transform: none; &.empty { border-style: dashed; } &.highlight { color: black; background: @white; border: 1px solid @white; // 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: 8px; } figcaption { line-height: initial; } } }