Skip to content

Commit

Permalink
Merge pull request #393 from 202ecommerce/bugfix/49483-prestashop_edi…
Browse files Browse the repository at this point in the history
…tion_conflict

refs #49483 - Fix BO styles for prestashop edition
  • Loading branch information
bogdan202 authored Jan 29, 2025
2 parents 6f41749 + 5596fe9 commit 527e0bd
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:

# Set php version to avoid error during perform command composer update
- name: Setup PHP
uses: nanasess/setup-php@v3
uses: nanasess/setup-php@v4.1.0
with:
php-version: '7.3'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

# Set php version to avoid error during perform command composer update
- name: Setup PHP
uses: nanasess/setup-php@v3
uses: nanasess/setup-php@v4.1.0
with:
php-version: '7.3'

Expand Down
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 527e0bd

Please sign in to comment.