From daa7f3447c0d09f02a3158ef2164414e65a5fb28 Mon Sep 17 00:00:00 2001 From: Araozu Date: Tue, 29 Dec 2020 09:11:03 -0500 Subject: [PATCH] Ajustar estilos y nerfear valor de los bonus --- src/views/Juego/Juego.vue | 3 ++- src/views/Juego/components/contenedor-descartes.vue | 9 +++++---- src/views/Juego/components/mano.vue | 2 +- src/views/Tutorial/views/Bonus.vue | 6 +++--- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/views/Juego/Juego.vue b/src/views/Juego/Juego.vue index 50c3cef..4c44ed6 100644 --- a/src/views/Juego/Juego.vue +++ b/src/views/Juego/Juego.vue @@ -242,7 +242,8 @@ export default defineComponent({ .cont-2-juego position: absolute - border: solid 3px #795548 + border: solid 5px #795548 + border-radius: 5px background: radial-gradient(var(--color-mesa-1), var(--color-mesa-2)) transform: rotateX(2deg) width: 100% diff --git a/src/views/Juego/components/contenedor-descartes.vue b/src/views/Juego/components/contenedor-descartes.vue index 46e4b55..b02225a 100644 --- a/src/views/Juego/components/contenedor-descartes.vue +++ b/src/views/Juego/components/contenedor-descartes.vue @@ -36,7 +36,7 @@ export default defineComponent({ }, escala: { type: Number, - default: 0.75 + default: 0.7 }, esTurnoActual: { type: Boolean, @@ -60,14 +60,15 @@ export default defineComponent({ .cont-cuadrante-descarte position: absolute - width: 26% + width: 23% height: 20% bottom: 17% - right: 37% + right: 38.5% text-align: left border-top-style: solid - border-top-width: calc(var(--phx) * 0.75 * var(--escala)) + border-top-width: calc(var(--phx) / 2) border-top-color: transparent + transition: border-top-color 250ms .cont-cuadrante-descarte-turno-actual diff --git a/src/views/Juego/components/mano.vue b/src/views/Juego/components/mano.vue index 657755a..1955f21 100644 --- a/src/views/Juego/components/mano.vue +++ b/src/views/Juego/components/mano.vue @@ -29,7 +29,7 @@ div.cont-cuadrante-2-mano(:style="'transform: rotate(' + posicionW + ')'") carta(:valor="-1") carta(:valor="mano.sigCarta" :fnDescartar="descartarCarta") carta(:valor="-1") - div(v-for="g in mano.cartasReveladas" :style="{display: 'inline-block'}") + div(v-for="g in mano.cartasReveladas" :style="{display: 'inline-block', marginLeft: '5px'}") carta(v-for="(c, i) in g" :valor="c" :key="i") // diff --git a/src/views/Tutorial/views/Bonus.vue b/src/views/Tutorial/views/Bonus.vue index 532b1fc..3b6801a 100644 --- a/src/views/Tutorial/views/Bonus.vue +++ b/src/views/Tutorial/views/Bonus.vue @@ -50,12 +50,12 @@ div td= (valorBonus * 3) / 10 + ' puntos' tr td 2 indicadores - td= (valorBonus * 3) / 10 + ' puntos' - td= (valorBonus * 6) / 10 + ' puntos' + td= (valorBonus * 2) / 10 + ' puntos' + td= (valorBonus * 4) / 10 + ' puntos' td - tr td 3 indicadores - td= (valorBonus * 9) / 10 + ' puntos' + td= (valorBonus * 4) / 10 + ' puntos' td - td - tr