Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/app/design/frontend/Cnc/default/web/scss/modules/catalog/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/app/design/frontend/Cnc/default/web/scss/modules/catalog/_gallery.scss
// ==============================================
// PRODUCT GALLERY
// ==============================================

// Configuration
$gallery-nav-thumb-padding:                         2px;
$gallery-nav-thumb-margin:                          2px;
$gallery-nav-thumb-border-width:                    1px;
$gallery-nav-thumb-border-color:                    darken($c-white, 10%);
$gallery-nav-thumb-active-border-width:             1px;
$gallery-nav-thumb-active-border-color:             lighten($c-black, 20%);
$gallery-nav-thumb-border-radius:                   0;

$gallery-nav-thumb-array-color:                     lighten($c-black, 60%);
$gallery-nav-thumb-array-background-color:          $c-white;

$gallery-nav-thumb-marker-border-color:             $c-black;
$gallery-nav-thumb-marker-background:               transparent;

$gallery-nav-array-width:                           80px;
$gallery-nav-array-color:                           lighten($c-black, 60%);
$gallery-nav-array-background-color:                transparent;

$gallery-product-zoom-circle-width:                 40px;
$gallery-product-zoom-background-color:             lighten($c-black, 60%);
$gallery-product-zoom-color: $c-white;;

$gallery-play-icon-circle-width-large:              46px;
$gallery-play-icon-circle-width-small:              25px;
$gallery-play-icon-color: $c-white;
$gallery-play-icon-background-color:                lighten($c-black, 60%);

$gallery-fullpage-icon-width:                       80px;
$gallery-fullpage-icon-height:                      80px;
$gallery-fullpage-icon-hover-background-color:      darken($c-white, 5%);
$gallery-fullpage-icon-color:                       lighten($c-black, 60%);

//
//  Base Markup
//  _____________________________________________

.catalog-product-view {

    .action-skip-wrapper {
        display: none;
    }

    // Fotorama override
    .fotorama {

        .fotorama__wrap {

            // Hide dots/bullets on mobile
            @include breakpoint(only-md) {
                .fotorama__nav-wrap {
                    display: none !important;
                }
            }

            // Reset prev/next shadow
            .fotorama__stage.fotorama__shadows--left:before,
            .fotorama__stage.fotorama__shadows--right:after,
            .fotorama__stage.fotorama__shadows--top:before,
            .fotorama__stage.fotorama__shadows--bottom:after,
            .fotorama__nav.fotorama__shadows--left:before,
            .fotorama__nav.fotorama__shadows--right:after,
            .fotorama__nav.fotorama__shadows--top:before,
            .fotorama__nav.fotorama__shadows--bottom:after {
                background-image: none;
                background-position: 0;
                bottom: 0;
            }

            // Reset icon shadow
            .fotorama__fullscreen-icon:focus {
                box-shadow: none;
                &:after {
                    box-shadow: 0 0 0 0 transparent;
                }
            }

            // Custom navigation arrows
            .fotorama__arr {
                background-color: transparent;
            }

            .fotorama__arr--prev,
            .fotorama__arr--next {

                // Arrow
                &::after {
                    @include absolute-center;
                    font-size: 2.6rem;
                    color: $gallery-nav-array-color;
                    font-family: "jade-icons";
                    @extend %icon-jade;
                    content: "\e608";
                    z-index: 100;
                }
            }

            .fotorama__arr--prev {
                &::after {
                    transform: scaleX(-1);
                }
            }


            .fotorama__arr__arr {
                display: none;
            }

            // Thumbs
            .fotorama__thumb__arr {

                &:hover {
                    background-color: rgba(255, 255, 255, 0.8);
                }



            }

            .fotorama__thumb-border {
                border-color: $c-base;
            }

            // Video box container
            .fotorama-video-container {
                &::before,
                &::after {
                    @include absolute-center;
                }

                // Play icon
                &::after {
                    content: "›";
                    font-size: 2.4rem;
                    color: $gallery-play-icon-color;
                    z-index: 2;
                }

                // Play circle
                &::before {
                    content: "";
                    @include circle($gallery-play-icon-circle-width-large);
                    background-color: $gallery-play-icon-background-color;
                    z-index: 1;
                }

                &.video-unplayed {
                    img {
                        transition: opacity .2s;
                    }

                    &:hover {
                        img {
                            opacity: .6;
                            transition: opacity .2s;
                        }
                    }
                }
            }

            // Video box
            .product-video {
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 75%;
                margin: auto;

                iframe {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    z-index: 9999;
                }
            }

            // Video thumb
            .video-thumb-icon {
                &::before,
                &::after {
                    @include absolute-center;
                }

                // Play icon
                &::after {
                    content: "›";
                    font-size: 1.4rem;
                    color: $gallery-play-icon-color;
                    z-index: 2;
                }

                // Play circle
                &::before {
                    content: "";
                    @include circle($gallery-play-icon-circle-width-small);
                    background-color: $gallery-play-icon-background-color;
                    z-index: 1;
                }
            }
        }
    }
}

//
//  Fotorama fullscreen
//  _____________________________________________

html.fotorama__fullscreen {

    // Zoom buttons
    .fotorama__fullscreen-icon,
    .fotorama__zoom-in,
    .fotorama__zoom-out {
        width: $gallery-fullpage-icon-width;
        height: $gallery-fullpage-icon-height;
        background-image: none;

        &:hover {
            background-color: $gallery-fullpage-icon-hover-background-color !important;
        }

        &:before {
            @include absolute-center;
            font-size: 3.6rem;
            color: $gallery-fullpage-icon-color;
        }
    }

    .fotorama__fullscreen-icon {

        &:before {
            content: "\e616";
            font-family: "jade-icons";
            @extend %icon-jade;
        }
    }

    .fotorama__zoom-in {

        &:before {
            content: '+';
        }
    }

    .fotorama__zoom-out {

        &:before {
            content: '−';
        }
    }

    .fotorama__nav--thumbs {
        display: flex;
        justify-content: center;
    }
}

Spamworldpro Mini