Files
design-themes/theme_beauty/static/src/scss/compatibility-saas-11.4-variables.scss
T
Romeo Fragomeli ac63e031c0 [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
2022-07-07 13:29:20 +02:00

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;
}
}