mnml/client/assets/styles/vbox.less
2019-07-22 11:33:05 +10:00

83 lines
1.4 KiB
Plaintext

@import 'colours.less';
.vbox {
margin-bottom: 2em;
.vbox-section {
// border: 2px solid #444;
}
.vbox-hdr {
margin-bottom: 1em;
height: 2em;
}
.vbox-colours {
display: grid;
grid-template-columns: repeat(6, 1fr);
grid-gap: 1em 2em;
align-items: center;
margin-bottom: 1em;
}
.vbox-items {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 1em 2em;
align-items: center;
margin-bottom: 1em;
button {
width: 100%;
}
}
.vbox-btn {
width: 100%;
margin: 0;
background-color: @gray;
border-width: 0;
:active, :hover, :focus {
color: white;
}
&.reclaim {
height: auto;
&:hover {
color: @red;
};
}
&.reclaiming, &.reclaiming:hover, &.reclaiming:active {
background: @red;
color: black;
}
&[disabled] {
background: black;
border-width: 1px;
};
}
button {
height: 3em;
margin: 0;
&.empty {
border-style: dashed;
}
&.highlight {
color: black;
background: @white;
border: 1px solid @white;
}
}
svg {
stroke: none;
}
}