mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
Animations for asidebar
Абалденные анимации (кто нахрен сделал так, что размер всего бара зависит от размера джекпота)
This commit is contained in:
@@ -9,11 +9,31 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
margin-top: 12%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu__content--jackpot-icon{
|
.menu__content--jackpot-icon{
|
||||||
width: 16vh;
|
width: 10vh;
|
||||||
height: -4vh;
|
height: -4vh;
|
||||||
|
transition: 250ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu__content--jackpot-icon:hover {
|
||||||
|
width: 11vh;
|
||||||
|
height: -4vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu__content--chest-icon {
|
||||||
|
margin-left: -1px;
|
||||||
|
transition: 250ms;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu__content--chest-icon:hover {
|
||||||
|
margin-left: -5px;
|
||||||
|
height: 125%;
|
||||||
|
width: 125%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu__btn--home {
|
.menu__btn--home {
|
||||||
@@ -54,11 +74,29 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.menu__content--cruch-icon {
|
.menu__content--cruch-icon {
|
||||||
margin-left: 6px
|
margin-left: 6px;
|
||||||
|
transition: 250ms;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu__content--cruch-icon:hover {
|
||||||
|
margin-left: 0px;
|
||||||
|
width: 125%;
|
||||||
|
height: 125%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu__content--bomb-icon {
|
.menu__content--bomb-icon {
|
||||||
margin-left: 6px
|
margin-left: 6px;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
transition: 250ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu__content--bomb-icon:hover {
|
||||||
|
margin-left: 0px;
|
||||||
|
width: 125%;
|
||||||
|
height: 125%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu__content--gamemodes {
|
.menu__content--gamemodes {
|
||||||
@@ -76,8 +114,6 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
max-width: 100%;
|
|
||||||
max-height: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu__btn--settings {
|
.menu__btn--settings {
|
||||||
|
|||||||
@@ -229,6 +229,7 @@
|
|||||||
content: '\00bb';
|
content: '\00bb';
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: 250ms;
|
transition: 250ms;
|
||||||
|
right: 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
.line__btn:hover span:after {
|
.line__btn:hover span:after {
|
||||||
@@ -241,6 +242,10 @@
|
|||||||
padding:11px 11px 11px 22px ;
|
padding:11px 11px 11px 22px ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.line__btn:active {
|
||||||
|
left: 5%;
|
||||||
|
}
|
||||||
|
|
||||||
.line__btn__jackpot {
|
.line__btn__jackpot {
|
||||||
border-radius: 21px;
|
border-radius: 21px;
|
||||||
background: #FFF;
|
background: #FFF;
|
||||||
@@ -275,6 +280,10 @@
|
|||||||
padding:11px 11px 11px 22px ;
|
padding:11px 11px 11px 22px ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.line__btn__jackpot:active {
|
||||||
|
left: 10%;
|
||||||
|
}
|
||||||
|
|
||||||
.line__btn--elm {
|
.line__btn--elm {
|
||||||
color: #000;
|
color: #000;
|
||||||
font-size: 38px ;
|
font-size: 38px ;
|
||||||
@@ -323,7 +332,7 @@
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
||||||
font-family: Montserrat Alternates;
|
font-family: Montserrat Alternates;
|
||||||
font-size: 87px;
|
font-size: 80px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
padding: 4.5% 2.2%;
|
padding: 4.5% 2.2%;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<!-- <div class="fotosloti"><a href="#"><img src="../assets/icons-menu/slots-icon.svg" ></a></div> -->
|
<!-- <div class="fotosloti"><a href="#"><img src="../assets/icons-menu/slots-icon.svg" ></a></div> -->
|
||||||
<a href="#" @click="$router.push({ name: 'jackpot' })"><img class="menu__content--jackpot-icon" src="../assets/icons-menu/jackpot-icon.svg"></a>
|
<a href="#" @click="$router.push({ name: 'jackpot' })"><img class="menu__content--jackpot-icon" src="../assets/icons-menu/jackpot-icon.svg"></a>
|
||||||
<a href="#" @click="$router.push({ name: 'crash' })"><img class="menu__content--cruch-icon" src="../assets/icons-menu/crush-icon.svg"></a>
|
<a href="#" @click="$router.push({ name: 'crash' })"><img class="menu__content--cruch-icon" src="../assets/icons-menu/crush-icon.svg"></a>
|
||||||
<a href="#"><img src="../assets/icons-menu/case-icon.png"></a>
|
<a href="#"><img class="menu__content--chest-icon" src="../assets/icons-menu/case-icon.png"></a>
|
||||||
<!-- <a href="#" @click="$router.push({ name: 'saper' })"><img class="menu__content--bomb-icon" src="../assets/icons-menu/bomb-icon.svg"></a> -->
|
<!-- <a href="#" @click="$router.push({ name: 'saper' })"><img class="menu__content--bomb-icon" src="../assets/icons-menu/bomb-icon.svg"></a> -->
|
||||||
<a href="#" @click="$router.push({ name: 'saper' })"><img class="menu__content--bomb-icon" src="../assets/icons-menu/bomb-icon.svg"></a>
|
<a href="#" @click="$router.push({ name: 'saper' })"><img class="menu__content--bomb-icon" src="../assets/icons-menu/bomb-icon.svg"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user