#game-view {
.buttons-container {
display: flex;
flex-direction: row;
gap: 15px;
margin-top: 20px;
position: fixed;
bottom: 20px;
left: 20px;
z-index: 50;
button {
width: 70px;
height: 70px;
display: flex;
align-items: center;
justify-content: center;
font-size: 38px;
border: 0;
margin-top: 0;
}
}
}
.game-log-wrap {
width: 100%;
max-width: 340px;
position: fixed;
bottom: 0px;
right: -340px;
background-color: #111;
z-index: 100;
padding: 20px;
border-radius: 8px;
opacity: 0;
transition-property: opacity, right;
transition-duration: .2s;
#chat-message {
}
#game-log-container {
h3 {
margin-bottom: 0;
}
#game-log {
margin: 20px 0;
max-height: 500px;
overflow-y: auto;
}
}
&.show {
right: 0px;
opacity: 1;
}
.btn-close {
position: absolute;
right: 20px;
}
}
.float-btns {
button {
position: absolute;
border: 0;
border-radius: 8px;
width: 60px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
z-index: 90;
font-size: 32px;
}
.toggle-gamebar {
top: 20px;
right: 20px;
}
.toggle-gamelog {
bottom: 20px;
right: 20px;
}
}
#sidebar {
position: fixed;
top: 0;
right: -340px;
height: max-content;
color: #fff;
width: 100%;
max-width: 340px;
display: flex;
flex-direction: column;
background-color: #111;
z-index: 90;
padding: 20px;
gap: 30px;
opacity: 0;
border-radius: 8px;
transition-duration: .2s;
transition-property: right, opacity;
.btn-close {
position: absolute;
right: 20px;
}
.sidebar-box {
border: 0;
ul {
list-style-type: none;
padding: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
}
&.show {
right: 0px;
opacity: 1;
}
#player-list {
li {
display: flex;
flex-direction: row;
gap: 12px;
align-items: center;
&:first-of-type {
margin-top: 25px;
}
.user-icon {
border-radius: 4px;
width: 36px;
height: 36px;
display: flex;
justify-content: center;
align-items: center;
font-size: 18px;
font-weight: bold;
text-transform: uppercase;
background-color: #ccc;
color: #fff;
border: 2px solid transparent;
}
&.active {
color: #e63b31;
.user-icon {
border-color: #e63b31;
position: relative;
&:before {
content: ">";
font-size: 15px;
color: #e63b31;
position: absolute;
left: -14px;
}
}
}
}
}
}
#board {
#message-container {
position: absolute;
top: calc(50% - 30px);
width: 100%;
text-align: center;
}
}
.bottom-notify-container {
height: inherit;
width: auto;
display: flex;
flex-direction: row;
font-size: 32px;
color: #fff;
letter-spacing: 1px;
text-transform: uppercase;
align-items: center;
padding: 0 20px;
}