N°4628 - Upgrade bulma lib to v0.9.4 to avoid hack from N°4481

This commit is contained in:
Molkobain
2022-05-11 11:40:25 +02:00
parent 891dd31290
commit bb2c9dedeb
70 changed files with 742 additions and 385 deletions

View File

@@ -1,4 +1,7 @@
@import "../utilities/mixins";
$container-offset: 2 * $gap !default;
$container-max-width: $fullhd !default;
.container {
flex-grow: 1;
@@ -7,7 +10,7 @@ $container-offset: 2 * $gap !default;
width: auto;
&.is-fluid {
max-width: none;
max-width: none !important;
padding-left: $gap;
padding-right: $gap;
width: 100%;
@@ -19,25 +22,29 @@ $container-offset: 2 * $gap !default;
@include until-widescreen {
&.is-widescreen {
max-width: $widescreen - $container-offset;
&.is-widescreen:not(.is-max-desktop) {
max-width: min($widescreen, $container-max-width) - $container-offset;
}
}
@include until-fullhd {
&.is-fullhd {
max-width: $fullhd - $container-offset;
&.is-fullhd:not(.is-max-desktop):not(.is-max-widescreen) {
max-width: min($fullhd, $container-max-width) - $container-offset;
}
}
@include widescreen {
max-width: $widescreen - $container-offset;
&:not(.is-max-desktop) {
max-width: min($widescreen, $container-max-width) - $container-offset;
}
}
@include fullhd {
max-width: $fullhd - $container-offset;
&:not(.is-max-desktop):not(.is-max-widescreen) {
max-width: min($fullhd, $container-max-width) - $container-offset;
}
}
}