From c5363e5a81a99a7fb556ba5e4cef13bbb9c704f5 Mon Sep 17 00:00:00 2001 From: Kostya Date: Fri, 15 Dec 2023 20:56:59 +0300 Subject: [PATCH] refactor header-mobile --- .../AdaptiveStyles/headermobile.css | 28 +++++++++++++++++-- .../home-adaptive/icon-wallet.svg | 3 ++ .../HeaderMobileComponent.vue | 19 ++++++++----- 3 files changed, 41 insertions(+), 9 deletions(-) create mode 100644 luckydiamond/src/assets/icons-adaptive/home-adaptive/icon-wallet.svg diff --git a/luckydiamond/src/assets/css/ComponentsStyles/AdaptiveStyles/headermobile.css b/luckydiamond/src/assets/css/ComponentsStyles/AdaptiveStyles/headermobile.css index 5d5a409..6c3260f 100644 --- a/luckydiamond/src/assets/css/ComponentsStyles/AdaptiveStyles/headermobile.css +++ b/luckydiamond/src/assets/css/ComponentsStyles/AdaptiveStyles/headermobile.css @@ -22,6 +22,11 @@ width: 85%; } +.header-mobile__end { + display: flex; + align-items: center; +} + .header-mobile__balance--content { display: flex; align-items: center; @@ -36,7 +41,7 @@ .card-display h2 { display: flex; align-items: flex-end; - padding: 8% 15px 8% 7%; + padding: 13% 15px 13% 6%; } .card-img img { @@ -52,13 +57,32 @@ font-size: 13px; } +.btn-card { + border-radius: 13px; + background: #EF4444; + box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25); + text-align: center; + padding: 4px; +} + .btn-card img { + width: 90%; height: 40px; } .btn-card__margin { - margin-left: -8%; + margin-left: -1%; +} + +.header-mobile__user-icon { + display: flex; + align-items: center; +} + +.user-icon img { + width: 70%; + margin-left: 15px; } /* /Header */ \ No newline at end of file diff --git a/luckydiamond/src/assets/icons-adaptive/home-adaptive/icon-wallet.svg b/luckydiamond/src/assets/icons-adaptive/home-adaptive/icon-wallet.svg new file mode 100644 index 0000000..73fedc2 --- /dev/null +++ b/luckydiamond/src/assets/icons-adaptive/home-adaptive/icon-wallet.svg @@ -0,0 +1,3 @@ + + + diff --git a/luckydiamond/src/components/adaptive-components/HeaderMobileComponent.vue b/luckydiamond/src/components/adaptive-components/HeaderMobileComponent.vue index fc072ab..9ba2ed6 100644 --- a/luckydiamond/src/components/adaptive-components/HeaderMobileComponent.vue +++ b/luckydiamond/src/components/adaptive-components/HeaderMobileComponent.vue @@ -4,15 +4,20 @@ -
-
-
-

999

-
-
- +
+
+
+
+

999

+
+
+ +
+
+ +