mnml/client/assets/styles/vbox.less
2019-07-20 22:30:03 +10:00

105 lines
1.7 KiB
Plaintext

@green: #1FF01F;
@red: #a52a2a;
@blue: #3498db;
@white: #f5f5f5; // whitesmoke
@purple: #9355b5; // 6lack - that far cover
@darkgray: #222;
@gray: #333;
.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;
.reclaim {
height: auto;
:hover {
color: @red;
};
}
:active, :hover, :focus {
color: white;
}
.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;
margin: 0 auto;
display: block;
&.red {
fill: @red;
}
&.green {
fill: @green;
}
&.blue {
fill: @blue;
}
}
}