mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -15,7 +15,7 @@ $s-banner-parallax-h1-size: 50px;
|
||||
padding: 0;
|
||||
}
|
||||
@mixin s-banner-parallax-height-hook {
|
||||
@include media-breakpoint-down(sm) {
|
||||
@include media-breakpoint-down(md) {
|
||||
height: 100vh !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,11 +3,11 @@ $s-big-icon-circle-icon-size: 150px;
|
||||
$s-big-icon-circle-text-color: $-gray-700;
|
||||
@mixin s-big-icon-circle-height-hook {
|
||||
padding-top: 0;
|
||||
@include media-breakpoint-down(sm) {
|
||||
@include media-breakpoint-down(md) {
|
||||
height: 100%;
|
||||
}
|
||||
.row {
|
||||
@include media-breakpoint-down(sm) {
|
||||
@include media-breakpoint-down(md) {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
@@ -18,7 +18,7 @@ $s-big-icon-circle-text-color: $-gray-700;
|
||||
@mixin s-big-icon-circle-fa-hook {
|
||||
height: 150px;
|
||||
line-height: 70px;
|
||||
@include media-breakpoint-down(sm) {
|
||||
@include media-breakpoint-down(md) {
|
||||
height: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ $s-banner-3-h2-size: 25px;
|
||||
img {
|
||||
display: none;
|
||||
}
|
||||
@include media-breakpoint-down(sm) {
|
||||
@include media-breakpoint-down(md) {
|
||||
top: 100px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.s_numbers {
|
||||
.s_number {
|
||||
font-size: 75px;
|
||||
@include media-breakpoint-down(sm) {
|
||||
@include media-breakpoint-down(md) {
|
||||
font-size: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user