Skip to content

Commit

Permalink
Se han pulido más errores de la UI
Browse files Browse the repository at this point in the history
  • Loading branch information
CANCI0 committed Feb 4, 2024
1 parent 01c2d03 commit e2b707b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 19 deletions.
3 changes: 2 additions & 1 deletion webapp/src/App.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#root{
height: 90vh;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
justify-content: space-between;
}

h1{
Expand Down
3 changes: 2 additions & 1 deletion webapp/src/components/Nav/Nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ nav{
border-radius: 1rem;
padding: 1rem;
margin: 1rem;
justify-content: center;
-webkit-box-shadow: 10px 10px 6px 0px rgba(0,255,192,1);
-moz-box-shadow: 10px 10px 6px 0px rgba(0,255,192,1);
box-shadow: 10px 10px 5px 0px rgba(0,255,192,1);
}

nav ul{
display: flex;
justify-content: center;
flex-direction: row;
}

nav li{
display: flex;
flex-direction: row;
height: 100%;
}
36 changes: 20 additions & 16 deletions webapp/src/pages/Clasico/Clasico.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ body {
display: flex;
flex-direction: column;
justify-content: center;
border: 3px solid #0F0F0F;
padding: 1rem;
-webkit-box-shadow: 10px 10px 6px 0px rgba(0,255,192,1);
-moz-box-shadow: 10px 10px 6px 0px rgba(0,255,192,1);
box-shadow: 10px 10px 5px 0px rgba(0,255,192,1);
border-radius: 1rem;
}

.menuContainer > *{
text-align: center;
margin: 1rem 0;

}

.container h1 {
Expand All @@ -16,6 +28,12 @@ body {
display: grid;
justify-content: center;
align-items: center;
border: 3px solid #0F0F0F;
border-radius: 1rem;
padding: 1rem;
-webkit-box-shadow: 10px 10px 6px 0px rgba(0,255,192,1);
-moz-box-shadow: 10px 10px 6px 0px rgba(0,255,192,1);
box-shadow: 10px 10px 5px 0px rgba(0,255,192,1);
}

.responsesContainer {
Expand All @@ -24,6 +42,7 @@ body {
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 1rem;
margin-bottom: 1rem;
}

button{
Expand All @@ -36,7 +55,6 @@ button{
background-color: transparent;
border: 0.13rem solid #0f0f0f;
border-radius: 15px;
box-sizing: border-box;
color: #0f0f0f;
padding: 1rem;
text-align: center;
Expand All @@ -47,20 +65,6 @@ button{
touch-action: manipulation;
width: 100%;
will-change: transform;
margin: 0;
}

.responsesContainer button:disabled {
pointer-events: none;
}

.responsesContainer button:hover {
color: #fff;
background-color: #1a1a1a;
box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
transform: translateY(-2px);
}

.responsesContainer button:active {
box-shadow: none;
transform: translateY(0);
}
2 changes: 1 addition & 1 deletion webapp/src/pages/Clasico/Clasico.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const JuegoPreguntas = () => {
}
} else {
if (respuesta === respuestaSeleccionada) {
return { backgroundColor: "orange" };
return { backgroundColor: "#0F0F0F", color: "#F0F0F0" };
}
}
return {};
Expand Down

0 comments on commit e2b707b

Please sign in to comment.