Files
Werewolf/client/styles/create.css
2021-11-13 19:50:06 -05:00

256 lines
4.2 KiB
CSS

.compact-card {
border: 2px solid transparent;
text-align: center;
cursor: pointer;
position: relative;
margin: 0.3em;
background-color: #393a40;
color: gray;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
border-radius: 3px;
user-select: none;
max-width: 15em;
min-width: 12em;
display: flex;
height: max-content;
}
.compact-card h1 {
display: flex;
align-items: center;
font-size: 14px;
margin: 0 10px 0 10px;
}
.compact-card .card-role {
color: #bfb8b8;
margin: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 8em;
font-size: 16px;
}
.selected-card {
border: 2px solid #0075F2;
}
.search {
color: black;
}
.compact-card-right p {
font-size: 40px;
margin: 0 10px 0 0;
display: flex;
justify-content: flex-end;
}
.compact-card-left p {
font-size: 40px;
margin: 0 0 0 10px;
display: flex;
justify-content: flex-start;
}
.compact-card-left, .compact-card-right {
width: 50%;
}
.compact-card .card-quantity {
text-align: center;
margin: 0;
font-size: 20px;
}
.compact-card-header {
position: absolute;
left: 0;
right: 0;
margin: auto;
flex-direction: column;
align-items: center;
justify-content: center;
display: flex;
top: 0;
pointer-events: none;
text-align: center;
}
#deck-container, #deck, #custom-roles-container {
width: fit-content;
}
#deck-container, #custom-roles-container, #step-3 {
margin: 1em 0;
background-color: #1f1f1f;
padding: 10px;
border-radius: 3px;
}
#step-3 {
display: flex;
justify-content: center;
align-items: center;
}
#deck {
display: flex;
flex-wrap: wrap;
overflow: auto;
max-height: 20em;
}
form {
width: 100%;
}
select {
padding: 10px;
font-size: 18px;
font-family: 'signika-negative', sans-serif;
}
#game-form > div {
background-color: #1f1f1f;
display: flex;
flex-direction: column;
padding: 10px;
border-radius: 3px;
width: fit-content;
margin: 1em 0;
}
#game-form > div > label {
display: flex;
}
#game-time label, #game-time input {
margin-right: 10px;
}
label[for="game-time"], label[for="add-card-to-deck-form"], label[for="deck"] {
color: #0075F2;
font-size: 20px;
border-radius: 3px;
margin-bottom: 10px;
font-weight: bold;
}
input[type="number"] {
min-width: 3em;
}
#add-card-to-deck-form {
margin-bottom: 1em;
}
#create-game{
color: #45a445;
font-size: 30px;
padding: 10px 50px;
margin: 1em auto 3em auto;
display: flex;
}
.dropdown {
margin: 0.5em;
}
.creation-step {
width: 20px;
height: 20px;
background-color: transparent;
border-radius: 50%;
border: 2px solid whitesmoke;
margin: 0 0.5em;
}
.creation-step-filled {
background-color: whitesmoke;
}
#creation-step-container {
margin-top: 2em;
width: 100%;
min-height: 16em;
}
#creation-step-container > div:nth-child(2) {
animation: fade-in 0.5s ease-out;
}
#step-title {
margin: 0 auto 1em auto;
text-align: center;
}
#creation-step-buttons {
display: flex;
justify-content: space-between;
margin-top: 2em;
position: relative;
}
#creation-step-tracker {
display: flex;
justify-content: center;
margin-top: 2em;
}
#step-forward-button, #step-back-button {
position: absolute;
}
#step-forward-button {
right: 15%;
}
#step-back-button {
left: 15%;
}
#step-1 div {
background-color: black;
color: whitesmoke;
padding: 1em;
max-width: 20em;
margin: 0.5em;
cursor: pointer;
border: 2px solid transparent;
border-radius: 3px;
font-size: 25px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}
#step-1 div.option-selected {
border: 2px solid #0075F2;
background-color: #252730;
}
#step-1 div > strong {
color: #0075F2;
}
#step-1 div:hover {
border: 2px solid #0075F2;
}
.review-option {
background-color: #1f1f1f;
color: whitesmoke;
padding: 10px;
width: fit-content;
border-radius: 3px;
margin: 0.5em 0;
}
@keyframes fade-in {
from {
opacity: 0;
} to {
opacity: 1;
}
}