keyboard, fix clue bugs, length slider

This commit is contained in:
Lynn
2022-01-01 03:04:48 +01:00
parent 15d46d3587
commit 1219991921
10 changed files with 267564 additions and 1242 deletions

View File

@@ -7,14 +7,14 @@ body {
background-color: #eeeeee;
}
div.Row {
.Row {
display: flex;
justify-content: center;
}
div.Row-letter {
.Row-letter {
margin: 2px;
border: 2px solid rgba(0,0,0,0.4);
border: 2px solid rgba(0, 0, 0, 0.4);
width: 40px;
height: 40px;
font-size: 28px;
@@ -25,19 +25,47 @@ div.Row-letter {
font-weight: bold;
}
div.Row-letter-green {
.Game-keyboard {
display: flex;
flex-direction: column;
}
.Game-keyboard-row {
display: flex;
flex-direction: row;
justify-content: center;
}
.Game-keyboard-button {
margin: 2px;
background-color: #cdcdcd;
padding: 4px;
text-transform: capitalize;
border-radius: 4px;
min-width: 25px;
color: inherit;
text-decoration: inherit;
border: inherit;
cursor: pointer;
}
.Game-keyboard-button:focus {
outline: none;
}
.letter-correct {
border: none;
background-color: rgb(87, 172, 87);
color: white;
}
div.Row-letter-yellow {
.letter-elsewhere {
border: none;
background-color: #e9c601;
color: white;
}
div.Row-letter-gray {
.letter-absent {
border: none;
background-color: rgb(162, 162, 162);
color: white;