1
0
James Ketrenos 8686663d80 Trading functional with players; not yet with bank
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
2022-02-17 18:07:25 -08:00

68 lines
972 B
CSS

.Trade {
display: flex;
position: absolute;
left: 0;
right: 40vw;
bottom: 0;
top: 0;
justify-content: center;
align-items: center;
background: rgba(0,0,0,0.5);
z-index: 1000;
}
.Trade .Title {
align-self: center;
padding: 2px;
font-weight: bold;
}
.Trade .PlayerList {
padding: 0.5em;
background-color:rgba(224, 224, 224);
margin: 0.5em 0;
}
.Trade > * {
min-width: 40em;
display: inline-flex;
padding: 0.5em;
flex-direction: column;
}
.Trade .PlayerColor {
width: 0.5em;
height: 0.5em;
margin: 0 0.25em 0 0;
}
.TradePlayer {
display: flex;
flex-direction: row;
width: 100%;
align-items: center;
padding: 2px 0;
}
.TradePlayer > * {
margin-right: 0.25em;
}
.TradeLine {
display: flex;
flex-direction: row;
align-items: center;
flex: 1;
}
.TradeLine > div {
display: flex;
flex-grow: 1;
}
.TradeLine > div > div {
margin-left: 0.25em;
}
.TradeLine *:last-child {
/* align-self: flex-end;*/
}