HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System: Linux li317-225.members.linode.com 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
User: apache (48)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /var/www/kosmicfarms/public/scss/_work.scss
//
// work.scss
//
.work-container {
    &.work-classic {
        .work-image {
            transition: all 0.5s ease;
            &:hover {
                box-shadow: $shadow;
            }
        }
    }
    &.work-classic,
    &.work-grid,
    &.work-modern {
        .content {
            .title {
                font-size: 18px;
                transition: all 0.5s ease;
                &:hover {
                    color: $primary !important;
                }
            }
            .tag {
                font-size: 15px !important;
            }
        }
    }
    &.work-modern {
        img,
        .overlay-work,
        .content,
        .client, 
        .read_more,
        .icons,
        .icons .work-icon {
            transition: all 0.5s ease;
        }
        .overlay-work,
        .content,
        .client, 
        .read_more,
        .icons {
            position: absolute;
        }
        .overlay-work {
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            opacity: 0; 
            z-index: 1;
        }
        .content {
            z-index: 1;
            bottom: 5%;
            left: 5%;
        }
        .content,
        .client {
            opacity: 0;
        }
        .client, 
        .read_more {
            z-index: 1;
            right: 5%;
            top: 5%;
        }
        .read_more {
            height: 30px;
            width: 30px;
            line-height: 30px;
        }
        .icons {
            right: 0;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            z-index: 2;
            opacity: 0;
            .work-icon {
                height: 45px;
                width: 45px;
                line-height: 45px;
                &:hover {
                    background: $primary !important;
                    color: $white !important;
                }
            }
        }
        &:hover {
            img {
                transform: scale(1.1) rotate(3deg);
            }
            .overlay-work {
                opacity: 0.65;
            }
            .icons {
                opacity: 1;
            }
            .personal-port,
            .content,
            .client {
                opacity: 1;
            }
        }
    }
    &.work-grid {
        transition: all 0.5s ease;
        img, .content, .content .title {
            transition: all 0.5s ease;
        }
        .content {
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            transform: translateY(150px);
            overflow: hidden;
        }
        &:hover { 
            box-shadow: $shadow;
            img {
                transform: translateY(-40px);
            }
            .content {
                transform: translateY(0);
            }
        }
    }
}

.work-details {
    ul {
        li {
            b {
                max-width: 90px;
                width: 100%;
                display: inline-block;
            }
        }
    }
}
//Course (index-course.html)
.courses-desc {
    img {
        transition: all 0.5s ease;
    }
    .overlay-work {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 0; 
        transition: all 0.5s ease;
        background-color: $dark;
        z-index: 1;
    }
    &:hover {
        img {
            transform: scale(1.1) rotate(3deg);
        }
        .overlay-work {
            opacity: 0.6;
        }
    }
}
//Event (index-event.html)
.event-schedule {
    transition: all 0.5s ease;
    .date {
        .day {
            font-size: 18px;
            width: 50px;
            height: 50px;
            border-radius: 50px;
            background: rgba($primary, 0.1);
            line-height: 48px;
            border: 2px solid $white;
            box-shadow: 0px 0px 2px 0.25px rgba($primary, 0.5);
        }
        .month {
            font-size: 13px;
        }
    }
    .content {
        .title {
            font-size: 20px;
            transition: all 0.5s ease;
            &:hover {
                color: $primary !important;
            }
        }
        .location-time {
            font-size: 14px;
        }
    }
    &:hover {
        transform: translateY(-5px);
        box-shadow: $shadow;
        border-color: $primary !important;
        background: $light !important;
    }
}

//course.html
.courses-desc {
    transition: all 0.5s ease;
    .content {
        .title {
            transition: all 0.5s ease;
            &:hover {
                color: $primary !important;
            }
        }
    }
    .collection, .preview {
        position: absolute;
        opacity: 0;
        z-index: 1;
    }
    .collection {
        top: 15px;
        left: 15px;
        i {
            -webkit-text-stroke: 2px $danger;
            -webkit-text-fill-color: transparent;
            &:active {
                -webkit-text-stroke: 0px $danger;
                -webkit-text-fill-color: $danger;
            }
        }
    }
    .preview {
        bottom: 15px;
        right: 15px;
    }
    &:hover {
        box-shadow: $shadow;
        transform: translateY(-10px);
        .collection, .preview {
            opacity: 1;
        }
    }
}

//index-portfolio.html
.personal-port {
    opacity: 0;
    transition: all 0.5s ease;
}

//index-portfolio.html
.container-filter {
    li {
        a {
            font-size: 13px;
            padding: 0px 15px; 
            margin: 5px 3px;
            font-weight: 700;
            letter-spacing: 0.8px;
            cursor: pointer;
            line-height: 34px;
            transition: all 0.5s ease;
            &.active,
            &:hover {
                color: $primary !important;
                border-color: $primary !important;
            }
        }
    }
}
.spacing{
    padding-left: 7px;
    padding-right: 7px;
}