| Server IP : 3.93.235.159 / Your IP : 216.73.216.140 Web Server : Apache System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64 User : bitnami ( 1000) PHP Version : 8.2.9 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bitnami/wordpress/wp-content/plugins/hello-plus/dev/scss/ |
Upload File : |
@use "./variables";
@mixin full-height($min: null, $max: null) {
--ehp-box-height: auto;
--ehp-box-full-height: 100vh;
$query: null;
@supports (height: 100dvh) {
--ehp-box-full-height: 100dvh;
}
@if $min != null and $max != null {
$query: "(min-width: " + $min + ") and (max-width: " + $max + ")";
} @else if $max != null {
$query: "(max-width: " + $max + ")";
} @else if $min != null {
$query: "(min-width: " + $min + ")";
}
@if $query != null {
@media #{$query} {
--ehp-box-height: var(--ehp-box-full-height, 100vh);
align-items: center;
justify-content: center;
};
}
}
@mixin full-height-viewports() {
height: 100%;
min-height: var(--ehp-box-height);
&.is-full-height {
&-mobile {
@include full-height(null, variables.$screen-mobile-max);
}
&-mobile_extra {
@include full-height(variables.$screen-mobile-extra-min, variables.$screen-mobile-extra-max);
}
&-tablet {
@include full-height(variables.$screen-tablet-min, variables.$screen-tablet-max);
}
&-tablet_extra {
@include full-height(variables.$screen-tablet-extra-min, variables.$screen-tablet-extra-max);
}
&-laptop {
@include full-height(variables.$screen-laptop-min, variables.$screen-laptop-max);
}
&-desktop {
@include full-height(variables.$screen-desktop-min, null);
&.is-full-height-widescreen {
@include full-height(variables.$screen-desktop-min, variables.$screen-desktop-max);
}
}
&-widescreen {
@include full-height(variables.$screen-widescreen-min, null);
}
}
}