ac63e031c0
> 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
38 lines
825 B
SCSS
38 lines
825 B
SCSS
$s-banner-3-carousel-height: 500px;
|
|
$s-banner-3-padding: 30px;
|
|
$s-banner-3-h1-size: 50px;
|
|
$s-banner-3-h2-size: 30px;
|
|
|
|
@mixin s-banner-3-row-hook {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
height: auto;
|
|
|
|
img {
|
|
display: none;
|
|
}
|
|
}
|
|
@mixin s-banner-3-col-center-hook {
|
|
text-align: left;
|
|
width: 400px;
|
|
height: auto;
|
|
padding-bottom: 10px;
|
|
margin-top: 100px;
|
|
background-color: rgba(255, 255, 255, 1);
|
|
float: right;
|
|
@media screen and (max-width: 640px) { // FIXME
|
|
background-color: rgba(255, 255, 255, .5);
|
|
text-align: center !important;
|
|
width: auto;
|
|
margin-top: 0;
|
|
}
|
|
h1 {
|
|
@include media-breakpoint-down(md) {
|
|
font-size: 40px !important;
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
h2 {
|
|
font-size: 30px;
|
|
}
|
|
}
|