1
0
James Ketrenos 89ad5ac1dd resetGame fixes for new games
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
2022-02-28 00:01:49 -08:00

76 lines
1.1 KiB
CSS

.Trade {
display: flex;
position: absolute;
left: 0;
right: 30rem;
bottom: 0;
top: 0;
justify-content: center;
align-items: center;
z-index: 1000;
}
.Trade > * {
max-height: calc(100vh - 2em);
overflow: auto;
width: 40em;
display: inline-flex;
padding: 0.5em;
flex-direction: column;
margin: 0.5em;
}
.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 .Resource {
width: 3.75em; /* 5x7 aspect ratio */
height: 5.25em;
}
.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;*/
}