From 82dec99339ee90afaab35ad538d87ee52bd4732b Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Fri, 7 Feb 2025 12:41:01 +0530 Subject: [PATCH] Improved the header toolbar desing in the back office --- admin/themes/default/sass/partials/_header.sass | 4 ++++ .../themes/default/sass/partials/_toolbar.sass | 17 +++++++++++++---- .../template/controllers/modules/configure.tpl | 2 +- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/admin/themes/default/sass/partials/_header.sass b/admin/themes/default/sass/partials/_header.sass index f58be6050..a1ebadd42 100644 --- a/admin/themes/default/sass/partials/_header.sass +++ b/admin/themes/default/sass/partials/_header.sass @@ -24,6 +24,10 @@ #header_shopname @extend .navbar-brand text-decoration: none +.bootstrap + #header_shopname + @media (max-width: $screen-tablet) + @include padding(9px, 5px, 9px, 40px) #header_notifs_icon_wrapper @extend .nav diff --git a/admin/themes/default/sass/partials/_toolbar.sass b/admin/themes/default/sass/partials/_toolbar.sass index 01566d268..da52967b7 100644 --- a/admin/themes/default/sass/partials/_toolbar.sass +++ b/admin/themes/default/sass/partials/_toolbar.sass @@ -1,6 +1,5 @@ .page-head width: 100% - height: 78px padding: 0 margin: 0 position: fixed @@ -18,14 +17,22 @@ font-weight: bold color: #363A41 white-space: nowrap - @include padding(31px, 0, 0, ($widthSidebarNav+20px)) - @media (max-width: $screen-tablet) - @include padding(26px, 0, 0, 70px) + @include padding(31px, 0, 20px, ($widthSidebarNav+20px)) + @media (max-width: $screen-phone) + @include padding(26px, 0, 55px, 70px) + @media (min-width: $screen-phone) and (max-width: $screen-tablet) + @include padding(26px, 0, 25px, 70px) a border-bottom: dotted 1px white &:hover color: black border-color: black + h2.page-title.configure + @include padding(31px, 0, 35px, ($widthSidebarNav+20px)) + @media (max-width: $screen-phone) + @include padding(26px, 0, 40px, 70px) + @media (min-width: $screen-phone) and (max-width: $screen-tablet) + @include padding(26px, 0, 70px, 70px) a color: white text-decoration: none @@ -42,6 +49,8 @@ background-color: transparent!important @include right(0) top: 18px + @media (max-width: $screen-tablet) + top: 25px @media (max-width: $screen-sm) #toolbar-nav border: none diff --git a/admin/themes/default/template/controllers/modules/configure.tpl b/admin/themes/default/template/controllers/modules/configure.tpl index 3fcf6569c..24b6560a0 100644 --- a/admin/themes/default/template/controllers/modules/configure.tpl +++ b/admin/themes/default/template/controllers/modules/configure.tpl @@ -26,7 +26,7 @@ {block name=pageTitle} -

+

{l s='Configure'}

{$module_display_name}