mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
MDL-81184 theme_boost: Fix sticky footer in behat
While in behat debug mode, because sticky footer is not fixed at the bottom of the page, it does not have to add paddings/margins related to the drawers.
This commit is contained in:
parent
38a3310c92
commit
513a574984
@ -12,6 +12,10 @@ body.behat-site {
|
||||
.stickyfooter {
|
||||
position: inherit;
|
||||
z-index: inherit;
|
||||
.sticky-footer-content-wrapper {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// We need more spacing in action menus so behat does not click on the wrong menu item.
|
||||
|
@ -11,7 +11,7 @@ body {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
left: 0;
|
||||
height: $stickyfooter-height;
|
||||
min-height: $stickyfooter-height;
|
||||
bottom: calc(#{$stickyfooter-height} * -1);
|
||||
transition: bottom .5s;
|
||||
z-index: $zindex-fixed;
|
||||
|
@ -36008,6 +36008,11 @@ body.behat-site .stickyfooter {
|
||||
position: inherit;
|
||||
z-index: inherit;
|
||||
}
|
||||
body.behat-site.hasstickyfooter .stickyfooter .sticky-footer-content-wrapper,
|
||||
body.behat-site .stickyfooter .sticky-footer-content-wrapper {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
body.behat-site .dropdown-item {
|
||||
margin-top: 4px !important; /* stylelint-disable declaration-no-important */
|
||||
}
|
||||
@ -36097,7 +36102,7 @@ body {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
left: 0;
|
||||
height: max(80px, 0.9375rem * 3);
|
||||
min-height: max(80px, 0.9375rem * 3);
|
||||
bottom: calc(max(80px, 0.9375rem * 3) * -1);
|
||||
transition: bottom 0.5s;
|
||||
z-index: 1030;
|
||||
|
@ -35942,6 +35942,11 @@ body.behat-site .stickyfooter {
|
||||
position: inherit;
|
||||
z-index: inherit;
|
||||
}
|
||||
body.behat-site.hasstickyfooter .stickyfooter .sticky-footer-content-wrapper,
|
||||
body.behat-site .stickyfooter .sticky-footer-content-wrapper {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
body.behat-site .dropdown-item {
|
||||
margin-top: 4px !important; /* stylelint-disable declaration-no-important */
|
||||
}
|
||||
@ -36031,7 +36036,7 @@ body {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
left: 0;
|
||||
height: max(80px, 0.9375rem * 3);
|
||||
min-height: max(80px, 0.9375rem * 3);
|
||||
bottom: calc(max(80px, 0.9375rem * 3) * -1);
|
||||
transition: bottom 0.5s;
|
||||
z-index: 1030;
|
||||
|
Loading…
x
Reference in New Issue
Block a user