mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
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
34 lines
676 B
SCSS
34 lines
676 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: center;
|
|
width: 400px;
|
|
height: auto;
|
|
margin-top: 100px;
|
|
background-color: rgba(0, 0, 0, .3);
|
|
padding-bottom: 20px;
|
|
h1, h2 {
|
|
color: white;
|
|
}
|
|
.fa {
|
|
transform: none;
|
|
font-size: 18px;
|
|
}
|
|
@include media-breakpoint-down(md) {
|
|
width: 100%;
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
$s-big-icon-circle-text-color: $-gray-700;
|