boxes wit msgs

This commit is contained in:
ntr
2019-09-20 12:16:37 +10:00
parent 31f3c80334
commit ee21d7ee06
8 changed files with 51 additions and 32 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ aside {
}
div {
text-align: right;
text-align: center;
}
button {
-9
View File
@@ -195,15 +195,6 @@
}
.construct-list {
.avatar {
grid-area: avatar;
object-fit: contain;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
// pointer-events: none;
}
.name {
grid-area: name;
margin-bottom: 0.5em;
+22 -10
View File
@@ -2,29 +2,35 @@
.player-box {
display: grid;
grid-template-areas:
"score"
"msg"
"img"
"name"
"score"
"ctrl";
grid-template-rows: min-content 1fr min-content min-content min-content;
&.top {
grid-template-areas:
"ctrl"
"score"
"name"
"img"
"score";
"msg";
.img {
display: flex;
flex-flow: column;
justify-content: flex-end;
}
grid-template-rows: min-content min-content min-content 1fr min-content;
}
grid-template-rows: min-content 1fr min-content;
.score {
grid-area: score;
display: flex;
justify-content: space-around;
text-align: center;
span {
flex: 1;
}
}
.img {
@@ -34,4 +40,10 @@
.ctrl {
grid-area: ctrl;
}
.msg {
grid-area: msg;
color: @white;
}
}
+9
View File
@@ -299,6 +299,15 @@ li {
background-position: center;
}
.avatar {
grid-area: avatar;
object-fit: contain;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
// pointer-events: none;
}
#clipboard {
width: 1px;
height: 1px;