HEX
Server: Apache
System: Linux mare-tim-wwwmocrea 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/www.mocrea.it/wp-content/themes/ottar/assets/css/scss/_grid-system-responsive.scss
/* ==========================================================================
   Grid System responsive style - begin
   ========================================================================== */

@include laptop-landscape-medium {

    /*
    * If you changed some value for space do the same thing in product-list-main-and-vc scss files
    */
    $columns_space_label: ('huge');
    $columns_space_width: (25);

    @for $i from 0 to length($columns_space_label) {
        .edgtf-#{nth($columns_space_label,$i+1)}-space {
            $column_width: nth($columns_space_width, $i+1);
            $column_width_margin: $column_width * 2;

            .edgtf-outer-space {
                margin: 0 -#{$column_width}px;

                .edgtf-item-space {
                    padding: 0 #{$column_width}px;
                    margin: 0 0 #{$column_width_margin}px;
                }
            }

            &.edgtf-disable-bottom-space {
                margin-bottom: -#{$column_width_margin}px;
            }

            &.edgtf-columns-has-side-space {
                padding: 0 #{$column_width_margin}px;
            }
        }
    }
}

$responsive_list_columns_map: (
        1440 : (
                responsive_stage: $laptop-landscape-large,
                responsive_break: $laptop-landscape-mac-plus-pixel,
                columns_label: ('six'),
                columns_size: 5
        ),
        1366 : (
                responsive_stage: $laptop-landscape-mac,
                responsive_break: $ipad-landscape-plus-pixel,
                columns_label: ('five', 'six'),
                columns_size: 4
        ),
        1024 : (
                responsive_stage: $ipad-landscape,
                responsive_break: $ipad-portrait-plus-pixel,
                columns_label: ('four', 'five', 'six'),
                columns_size: 3
        ),
        768 : (
                responsive_stage: $ipad-portrait,
                responsive_break: $phone-landscape-plus-pixel,
                columns_label: ('three', 'four', 'five', 'six'),
                columns_size: 2
        ),
        680 : (
                responsive_stage: $phone-landscape,
                responsive_break: 0,
                columns_label: ('two', 'three', 'four', 'five', 'six'),
                columns_size: 1
        )
);

@function map-deep-get($map, $keys...) {
    @each $key in $keys {
        $map: map-get($map, $key);
    }

    @return $map;
}

.edgtf-grid-list {

    @each $key, $values in $responsive_list_columns_map {

        @media only screen and (max-width: map-deep-get($responsive_list_columns_map, $key, 'responsive_stage')) {

            @each $column in map-deep-get($responsive_list_columns_map, $key, 'columns_label') {

                &.edgtf-#{$column}-columns {
                    $responsive_break: map-deep-get($responsive_list_columns_map, $key, 'responsive_break');
                    $columns_size: map-deep-get($responsive_list_columns_map, $key, 'columns_size');
                    $column_width: 100% / $columns_size;

                    .edgtf-masonry-grid-sizer {
                        width: $column_width;
                    }

                    .edgtf-item-space {
                        width: $column_width;

                        @if ($responsive_break != 0) {

                            &.edgtf-masonry-size-large-width,
                            &.edgtf-masonry-size-large-width-height {
                                width: $column_width*2;
                            }

                            @media only screen and (min-width: $responsive_break) {

                                &:nth-child(#{$columns_size}n+1) {
                                    clear: both;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

/* ==========================================================================
   Grid System responsive style - end
   ========================================================================== */