#portfolio { background: #F6F6F6; padding: 60px 0; width: 100%; } #portfolio .mix { padding: 0; display: none; } .controls { text-align: center; padding: 20px; } a:not([href]):not([tabindex]){ color: #222; } a:focus:not([href]):not([tabindex]), a:hover:not([href]):not([tabindex]){ color: #fff; } .controls .active { color: #fff!important; background: $preset; } #portfolio-list { margin-top: 15px; display: inline-block; } .portfolio-img { overflow: hidden; display: block; position: relative; } .portfolio-img img { width: 100%; } .portfoli-content { width: 100%; position: absolute; height: 100%; opacity: 0; top: 0; -webkit-transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1); transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1); } .portfoli-content:before { background-color: $preset-transparent; top: 15px; left: 15px; bottom: 15px; right: 15px; content: ''; position: absolute; -webkit-transform: scale(0.8); -moz-transform: scale(0.8); -ms-transform: scale(0.8); -o-transform: scale(0.8); transform: scale(0.8); -webkit-transition: all 400ms ease; transition: all 400ms ease; } .sup-desc-wrap { display: table; width: 100%; height: 100%; .sup-title { display: block; outline: none; margin-bottom: 10px; -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0); opacity: 0; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; transition: all 0.5s ease; h4 { font-size: 18px; color: #fff; line-height: 22px; text-transform: uppercase; font-weight: 300; } } .sup-desc-inner { display: table-cell; text-align: center; vertical-align: middle; padding: 0 35px; } .sup-link { margin-bottom: 20px; a:hover { background: #fff; color: $preset; } .left-link, .right-link { font-size: 14px; line-height: normal; outline: none; border-radius: 50%; color: #fff; border: 1px solid #fff; width: 42px; height: 42px; opacity: 0; line-height: 42px; text-align: center; display: inline-block; -webkit-transform: translateY(-50px); transform: translateY(-50px); margin-right: 5px; } .left-link { -webkit-transition: all 400ms ease; transition: all 400ms ease; } .right-link { -webkit-transition: all 500ms ease; transition: all 500ms ease; } } } .sup-desc-wrap .sup-meta-wrap .sup-description { font-size: 13px; line-height: 18px; color: #fff; text-align: center; -webkit-transform: translateY(40px); transform: translateY(40px); opacity: 0; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; transition: all 0.5s ease; } .portfolio-item:hover .portfoli-content, .portfolio-item:hover .portfoli-content:before { opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); } .portfolio-item:hover .sup-title { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); opacity: 1; } .portfolio-item:hover .sup-description { opacity: 1; -webkit-transform: translateY(0px); transform: translateY(0px); } .portfolio-item:hover .sup-link .right-link, .portfolio-item:hover .sup-link .left-link { opacity: 1; webkit-transform: translateY(0px); transform: translateY(0px); } /* Portfolio */ #portfolio ul.portfolio { margin-bottom: 0 !important; } .hovereffect { width: 100%; height: 100%; float: left; overflow: hidden; position: relative; text-align: center; cursor: default; img { display: block; position: relative; -webkit-transition: all .5s linear; transition: all .2s linear; } .overlay { width: 100%; height: 100%; position: absolute; overflow: hidden; top: 0; left: 0; opacity: 0; background-color: $preset-transparent; -webkit-transition: all .2s ease-in-out; transition: all .2s ease-in-out } .iocns{ position: absolute; top: 40%; left: 0; right: 0; .left-link{ font-size: 14px; line-height: normal; outline: none; border-radius: 50%; color: #fff; border: 1px solid #fff; width: 42px; height: 42px; line-height: 42px; text-align: center; display: inline-block; margin-right: 5px; -webkit-transition: all .2s ease-in-out; transition: all .2s ease-in-out } a:hover { background: #fff; color: $preset; } } } .hovereffect-title h6, .hovereffect-title h5 { color: $white; background: transparent; text-align: center; position: absolute; top: 40%; width: 100%; -webkit-transition: all .5s ease-in-out; transition: all .5s ease-in-out; padding: 10px; } .hovereffect-title h5 { color: $white; background: transparent; text-align: center; position: absolute; top: 43%; width: 100%; -webkit-transition: all .5s ease-in-out; transition: all .5s ease-in-out; padding: 10px; } .hovereffect-title h4 { color: $white; background: transparent; text-align: center; position: absolute; top: 44%; width: 100%; -webkit-transition: all .5s ease-in-out; transition: all .5s ease-in-out; padding: 10px; } .hovereffect:hover img { -ms-transform: scale(1.1); -webkit-transform: scale(1.1); transform: scale(1.1); } .hovereffect:hover .overlay { opacity: 1; filter: alpha(opacity=100); } .hovereffect:hover h6, .hovereffect:hover a.info { opacity: 1; filter: alpha(opacity=100); -ms-transform: translatey(0); -webkit-transform: translatey(0); transform: translatey(0); } .hovereffect:hover a.info { -webkit-transition-delay: .2s; transition-delay: .2s; } figure{ display: inline-block; } #portfolio{ .portfolio.block { top: 15px; h5 { color: #444; } } .project { padding-top: 15px; padding-bottom: 15px; } .project-description { font-size: 14px; color: #444; } } .icons-link{ position: absolute; top: 40%; left: 0; right: 0; a:hover { border: 1px solid #fff; background: transparent; } .left-link, .right-link { font-size: 14px; line-height: normal; outline: none; border-radius: 4px; color: #fff; background: $preset; border: 1px solid transparent; width: 42px; height: 42px; opacity: 0; line-height: 42px; text-align: center; display: inline-block; -webkit-transform: translateY(-50px); transform: translateY(-50px); margin-right: 5px; } .left-link { -webkit-transition: all 400ms ease; transition: all 400ms ease; } .right-link { -webkit-transition: all 500ms ease; transition: all 500ms ease; } } .hovereffect:hover .icons-link .right-link, .hovereffect:hover .icons-link .left-link { opacity: 1; webkit-transform: translateY(0px); transform: translateY(0px); }