rework of deck builder page

This commit is contained in:
AlecM33
2022-06-11 16:59:50 -04:00
parent b2505b7488
commit acf3b645cb
24 changed files with 674 additions and 536 deletions

View File

@@ -455,7 +455,6 @@ input {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
}
.animated-placeholder {

View File

@@ -13,6 +13,28 @@
height: 55px;
}
.role-category-button {
background-color: transparent;
color: #b1afcd;
border: 1px solid #b1afcd;
border-radius: 25px;
font-size: 16px;
padding: 5px 10px;
margin: 5px;
font-family: 'signika-negative', sans-serif !important;
cursor: pointer;
}
.role-category-button-selected {
color: black;
background-color: #b1afcd;
}
#role-category-buttons {
margin-top: 10px;
display: flex;
}
.compact-card h1 {
display: flex;
align-items: center;
@@ -107,7 +129,7 @@
#deck-status-container {
width: 20em;
max-width: 95%;
height: 10em;
height: 20em;
overflow-y: auto;
position: relative;
}
@@ -169,6 +191,7 @@
display: none;
color: #e7e7e7;
position: absolute;
z-index: 25;
top: 38px;
right: 29px;
background-color: #333243;
@@ -353,13 +376,13 @@ input[type="number"] {
border: 2px solid #1c8a36;
}
#deck-select {
#role-select {
margin: 0.5em 1em 1.5em 0;
overflow-y: auto;
height: 12em;
height: 16em;
}
.deck-select-role {
.default-role, .custom-role, .added-role {
display: flex;
justify-content: space-between;
background-color: black;
@@ -371,23 +394,23 @@ input[type="number"] {
font-size: 16px;
}
.deck-select-role-name {
.role-name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap
}
.deck-select-role:hover {
.default-role:hover, .custom-role:hover, .added-role:hover {
border: 1px solid #d7d7d7;
}
.deck-select-role-options {
.role-options {
display: flex;
align-items: center;
justify-content: center;
}
#deck-select img {
#role-select img, #deck-status-container img {
height: 20px;
margin: 0 8px;
cursor: pointer;
@@ -395,11 +418,11 @@ input[type="number"] {
border-radius: 3px;
}
#deck-select img:nth-child(4) {
#role-select img:nth-child(4) {
height: 18px;
}
#deck-select img:hover {
#role-select img:hover, #deck-status-container img:hover {
filter: brightness(1.5);
background-color: #8080804d;
}
@@ -540,6 +563,9 @@ input[type="number"] {
}
@media(max-width: 550px) {
#custom-roles-container, #deck-status-container {
min-width: 90%;
}
h1 {
font-size: 35px;
}
@@ -558,7 +584,7 @@ input[type="number"] {
font-size: 16px;
}
.deck-select-role-name {
.role-name {
font-size: 13px;
font-weight: bold;
}

View File

@@ -11,7 +11,7 @@ button#home-create-button {
padding: 20px;
}
#framed-phone-screenshot {
#framed-phone-screenshot, #framed-phone-screenshot-2 {
max-width: 250px;
width: 40vw;
min-width: 175px;
@@ -23,8 +23,16 @@ button#home-create-button {
align-items: center;
flex-wrap: wrap;
justify-content: center;
padding: 0 1em;
margin-top: 25px;
width: 100%;
}
#about-container > div {
display: flex;
align-items: center;
justify-content: center;
width: fit-content;
flex-wrap: wrap;
padding: 25px 0;
}
#join-container form {
@@ -34,6 +42,8 @@ button#home-create-button {
#about-container h2 {
max-width: 17em;
font-size: 22px;
border-left: 1px solid #bababa;
padding: 15px;
}
#about-container img {
@@ -52,14 +62,12 @@ button#home-create-button {
align-items: center;
width: 100%;
background-color: #1e1b26;
margin-bottom: 15px;
}
form {
display: flex;
flex-wrap: wrap;
margin: 10px 0;
padding: 10px;
border-radius: 3px;
justify-content: center;
align-items: center;