[REF] *: BS5: adapt changes in media query mixin
> Media query mixins parameters have changed for a more logical approach > media-breakpoint-down() uses the breakpoint itself instead of the next > breakpoint (e.g., media-breakpoint-down(lg) instead of > media-breakpoint-down(md) targets viewports smaller than lg). > Similarly, the second parameter in media-breakpoint-between() also > uses the breakpoint itself instead of the next breakpoint (e.g., > media-between(sm, lg) instead of media-breakpoint-between(sm, md) > targets viewports between sm and lg). https://getbootstrap.com/docs/5.1/migration/#sass Task ID: 2766483 Part-of: odoo/design-themes#580
This commit is contained in:
@@ -26,7 +26,7 @@ $s-banner-parallax-h1-size: 50px;
|
||||
bottom: -85vh;
|
||||
left: -2px;
|
||||
opacity: 0.8;
|
||||
@include media-breakpoint-down(sm) {
|
||||
@include media-breakpoint-down(md) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -41,13 +41,13 @@ $s-banner-parallax-h1-size: 50px;
|
||||
bottom: -85vh;
|
||||
right: -2px;
|
||||
opacity: 0.8;
|
||||
@include media-breakpoint-down(sm) {
|
||||
@include media-breakpoint-down(md) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
};
|
||||
@mixin s-banner-parallax-height-hook {
|
||||
@include media-breakpoint-down(md) {
|
||||
@include media-breakpoint-down(lg) {
|
||||
height: 100vh !important;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ $s-features-carousel-indicators-visible: visible;
|
||||
@mixin s-features-carousel-inner-hook {
|
||||
.carousel-inner .row {
|
||||
margin: 40px 70px;
|
||||
@include media-breakpoint-down(sm) {
|
||||
@include media-breakpoint-down(md) {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,12 +23,12 @@ $s-big-icon-circle-icon-size: 150px;
|
||||
@mixin s-big-icon-circle-height-hook {
|
||||
height: 100vh;
|
||||
padding-top: 0;
|
||||
@include media-breakpoint-down(lg) {
|
||||
@include media-breakpoint-down(xl) {
|
||||
height: 100%;
|
||||
}
|
||||
.row {
|
||||
height: 100vh;
|
||||
@include media-breakpoint-down(lg) {
|
||||
@include media-breakpoint-down(xl) {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
@@ -40,7 +40,7 @@ $s-big-icon-circle-icon-size: 150px;
|
||||
@mixin s-big-icon-circle-fa-hook {
|
||||
height: 100px;
|
||||
line-height: 70px;
|
||||
@include media-breakpoint-down(lg) {
|
||||
@include media-breakpoint-down(xl) {
|
||||
height: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user