Skip to content

Commit

Permalink
improve menu functions and better menu responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
Patcire committed Sep 7, 2024
1 parent 3d8db56 commit 2f5f02f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
4 changes: 3 additions & 1 deletion sass/components/_bigbuttonsmenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
&:hover{
transform: scale(1.2);
}
&--disabled{
pointer-events: none;
}

}

Expand Down Expand Up @@ -94,7 +97,6 @@
}
&__element{
height: 104px;
width: 204px;
}
&__anchor{
font-size: 1.2rem ;
Expand Down
12 changes: 10 additions & 2 deletions sass/pages/_gamesMenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
&__content{
position: relative;
//background-color: lightblue;
@include flex-row;
@include flex-column;
padding-bottom: 48px;
}

&__container{
Expand Down Expand Up @@ -52,6 +53,9 @@
font-size: 2.5rem;
text-shadow: $shadow3;
//background-color: crimson;
&--mod{
color: $lightBlue;
}
}

&__join{
Expand Down Expand Up @@ -115,9 +119,13 @@
}
&__join{
padding-top: 20px;
gap: 15px;
}
&__input{
width: 20rem;
font-size: 1.5rem;
width: 244px;
height: 104px;
text-align: center;
}
&__box{
margin-bottom: 40px;
Expand Down
4 changes: 2 additions & 2 deletions src/components/BigButtonsMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export default {
Play</router-link>
</li>
<li class="games-menu__element">
<router-link to="/mirror" class="games-menu__anchor">
<router-link to="/mirror" class="games-menu__anchor games-menu__anchor--disabled">
Mirror</router-link>
</li>
<li class="games-menu__element">
<router-link to="/exploding" class="games-menu__anchor">
<router-link to="/exploding" class="games-menu__anchor games-menu__anchor--disabled">
Exploding
questions</router-link>
</li>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Games.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export default {
<template>

<section class="games">

<article class="games__content">
<h3 class="multi__title multi__title--mod">Singleplayer</h3>
<div class="games__container">
<img class="games__hand" src="/public/Vectorhand.svg" alt="hand doodle">
</div>
Expand Down

0 comments on commit 2f5f02f

Please sign in to comment.