Skip to content

Commit

Permalink
refs #49483 - Fix BO styles for prestashop edition
Browse files Browse the repository at this point in the history
  • Loading branch information
nprokopenko202 committed Jan 21, 2025
1 parent 82dbadb commit 122e50a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 202/_dev/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,10 @@ window.addEventListener('load', () => {
))
);
}

document.getElementById('main').classList.add('loaded');
});

$(() => {
document.body.classList.add("no-smb-reskin");
});
2 changes: 2 additions & 0 deletions 202/_dev/scss/admin/abstract/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ $color-swatch-height: $color-swatch-width !default;

// Modals
$modal-lg: 1125px !default;
$zindex-modal-backdrop: 1090 !default;
$zindex-modal: 1091 !default;

// Badges
$badge-font-size: 13px !default;
Expand Down
20 changes: 20 additions & 0 deletions 202/_dev/scss/pages/_admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,23 @@
#messaging-configurator div {
box-sizing: initial;
}

body:not(.ps-bo-rebrand) {
background: $body-bg !important;

#main {
background: transparent;

&:not(.loaded) {
&::before {
content: '';
width: 100vw;
height: 100vh;
position: fixed;
top: 0;
z-index: 1;
background: $body-bg;
}
}
}
}

0 comments on commit 122e50a

Please sign in to comment.