mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
refactor styles for header in mobile
This commit is contained in:
@@ -41,10 +41,6 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-mobile__nav {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-mobile__logo {
|
.header-mobile__logo {
|
||||||
padding: 23px 0 11px 17px;
|
padding: 23px 0 11px 17px;
|
||||||
}
|
}
|
||||||
@@ -53,19 +49,43 @@
|
|||||||
width: 170px;
|
width: 170px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.balance-mobile__card {
|
.header-mobile__balance--content {
|
||||||
align-self: start;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-balance h2 {
|
.header-mobile__card {
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
background: #22252F;
|
background: #22252F;
|
||||||
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-display h2 {
|
||||||
display: flex;
|
display: flex;
|
||||||
text-align: center;
|
align-items: flex-end;
|
||||||
align-items: center;
|
padding: 6px 15px 6px 5px;
|
||||||
font-size: 0.813em;
|
}
|
||||||
|
|
||||||
|
.card-img img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-text {
|
||||||
|
color: #FFF;
|
||||||
|
font-weight: 700;
|
||||||
|
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
||||||
|
font-family: Montserrat Alternates;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-card img {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-card__margin {
|
||||||
|
margin-left: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* /Header */
|
/* /Header */
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<link rel="stylesheet" href="../../assets/css/PagesStyles/adaptive-pages/homemobile.css">
|
||||||
<template>
|
<template>
|
||||||
<div class="content-grid__mobile-home">
|
<div class="content-grid__mobile-home">
|
||||||
<header class="header-mobile">
|
<header class="header-mobile">
|
||||||
@@ -5,10 +6,14 @@
|
|||||||
<div class="header-mobile__logo">
|
<div class="header-mobile__logo">
|
||||||
<img src="@/assets/icons-adaptive/home-adaptive/logo.svg" alt="LuckyDiamond Play Now">
|
<img src="@/assets/icons-adaptive/home-adaptive/logo.svg" alt="LuckyDiamond Play Now">
|
||||||
</div>
|
</div>
|
||||||
<div class="header-mobile__nav">
|
<div class="header-mobile__balance">
|
||||||
<div class="balance-mobile__card card-balance">
|
<div class="header-mobile__balance--content">
|
||||||
<h2><img src="@/assets/icons-adaptive/home-adaptive/icon-diamond-ore.png">999</h2>
|
<div class="header-mobile__card card-display card-text card-img">
|
||||||
<a href="#"><img src="@/assets/icons-adaptive/home-adaptive/icon-deposit.png"></a>
|
<h2><img src="@/assets/icons-adaptive/home-adaptive/icon-diamond-ore.png">999</h2>
|
||||||
|
</div>
|
||||||
|
<div class="header-mobile__btn--balance btn-card btn-card__margin">
|
||||||
|
<a href="#"><img src="@/assets/icons-adaptive/home-adaptive/icon-deposit.png"></a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user