// PHP Variables @height: 70vh; @nav_color: #c3c3c3; @nav_color_active: #000000; @speed: 200ms; // Namespacing @acc: acc-slider-; @keyframes zoom { 0% { transform:scale(1.1); } 100% { transform:scale(1); } } .@{acc}base { color: #fff; max-height: @height; .@{acc}wrapper{ position: relative; .@{acc}background-slider{ position: relative; z-index: 1; .slick-active { -webkit-animation: zoom @speed 1; animation: zoom @speed 1; } .@{acc}slide{ overflow: hidden; height: @height; line-height: @height; position: relative; img{ position: absolute; width: auto; height: auto; min-width: 100%; min-height: 100%; } } } .@{acc}content{ position: absolute; top: 0px; width: 100%; height: 100%; z-index: 1; .nav-wrapper{ display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-align: center; -webkit-align-items: center; -webkit-box-align: center; align-items: center; } .@{acc}nav-slider{ .content{ .author-thumb{ position: relative; display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-align: center; -webkit-align-items: center; -webkit-box-align: center; align-items: center; img{ border-radius: 50%; } } .author-byline { display: flex; align-items: center; } .title{ h6{ margin-bottom: 0; } .byline{ margin-top: 0; } } p{ font-size: 14px; line-height: 21px; a{ display:none; } } } } .navigation{ font-size: 30px; line-height: 1em; a{ display: inline-block; vertical-align: bottom; &:before { vertical-align: bottom; padding: .1em; } &:hover{ cursor: pointer; } } } .@{acc}post-slider{ .content{ height: @height; position: relative; display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-align: center; -webkit-align-items: center; -webkit-box-align: center; align-items: center; line-height: initial; .title{ position: relative; margin: 0 0 .5em 0; z-index: 1; } .byline{ } .button{ color: #fff; border-color: #fff; } div { z-index: 2} .greater-than{ width: auto; max-height: 400px; height: 100%; z-index: 1; position: absolute; right: 0; top: 20px; } } } } } .slick-dots{ bottom: 5px; li{ button{ &:before{ font-size: 10px; color: @nav_color; } } &.slick-active{ button{ &:before{ color: @nav_color_active; } } } } } }