150 lines
No EOL
2.1 KiB
CSS
150 lines
No EOL
2.1 KiB
CSS
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
.small {
|
|
font-size: 2px;
|
|
}
|
|
|
|
.main {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.refresh {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 25px;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: #ff7f00;
|
|
mask-image: url("refresh.svg");
|
|
-webkit-mask-image: url("refresh.svg");
|
|
animation: spin 2s linear infinite;
|
|
animation-play-state: paused;
|
|
z-index: 5;
|
|
}
|
|
|
|
.refresh:hover {
|
|
cursor: pointer;
|
|
animation-play-state: running;
|
|
}
|
|
|
|
@keyframes spin {
|
|
100% {
|
|
transform: rotate(1turn);
|
|
}
|
|
}
|
|
|
|
.lobby_wrapper {
|
|
flex-grow: 1;
|
|
position: relative;
|
|
height: 100%;
|
|
}
|
|
|
|
.lobby {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-self: flex-start;
|
|
overflow-y: auto;
|
|
justify-content: center;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.input_container {
|
|
display: flex;
|
|
margin: auto;
|
|
width: 90%;
|
|
padding: 10px;
|
|
}
|
|
|
|
.input_container label {
|
|
font-size: normal;
|
|
width: 30%;
|
|
}
|
|
|
|
.input_container input {
|
|
font-size: small;
|
|
width: 70%;
|
|
}
|
|
|
|
.number label {
|
|
width: 60%;
|
|
}
|
|
|
|
.number input {
|
|
width: 40%;
|
|
text-align: right;
|
|
}
|
|
|
|
.map_select {
|
|
overflow-y: auto;
|
|
flex-shrink: 5;
|
|
width: 75%;
|
|
height: 100%;
|
|
}
|
|
|
|
.map {
|
|
padding: 5px;
|
|
background-color: antiquewhite;
|
|
color: black;
|
|
}
|
|
|
|
.selected {
|
|
background-color: #ff7f00;
|
|
}
|
|
|
|
.map:hover {
|
|
filter: brightness(80%);
|
|
}
|
|
|
|
.creator {
|
|
background-color: #333;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-width: 300px;
|
|
/* width: 25%; */
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
color: antiquewhite;
|
|
}
|
|
|
|
.creator h1 {
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
|
|
.creator button {
|
|
margin-bottom: 10px;
|
|
width: 80%;
|
|
padding: 5px;
|
|
}
|
|
|
|
#map_holder {
|
|
width: 100%;
|
|
height: 300px;
|
|
background-color: #111;
|
|
}
|
|
|
|
svg {
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.game_state {
|
|
background-color: #333;
|
|
display: flex;
|
|
max-width: 80%;
|
|
width: 500px;
|
|
margin: 20px auto;
|
|
justify-content: space-between;
|
|
padding: 20px;
|
|
} |