OwlCyberSecurity - MANAGER
Edit File: _video.scss
.ova-video{ .icon-content-view{ display: inline-block; &.no-animation{ .video-btn{ &:before , &:after{ animation:none; } } } .video-btn{ display: flex; justify-content:center; align-items:center; position: relative; width: 100px; height: 100px; &:hover{ cursor: pointer; &:before{ @include transaction( all, 0.3s, linear ); background-color: var(--primary); } i{ @include transaction( all, 0.3s, linear ); color: #fff; } } &:before{ @include transaction( all, 0.3s, linear ); position: absolute; content: ""; top: 50%; left: 50%; border-radius: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; background-color: #fff; box-shadow: 0 10px 60px 0 rgba(0,0,0,0.1); animation: lineScale 2.5s linear infinite; } i{ @include transaction( all, 0.3s, linear ); display: inline-flex; font-size: 18px; color: var(--primary); z-index: 1; } .text { position: absolute; left: calc(100% + 10px); width: max-content; color: var(--heading); font-weight: bold; text-transform: capitalize; text-decoration: underline; &:hover { color: var(--primary); } } } } &.template_2 { .icon-content-view { .video-btn { &:before{ @include transaction( all, 0.3s, linear ); background-color: var(--primary); } &:hover { &:before { background: #0d0e0f; } } i { color: #fff; } } } } } // modal container .ova-modal-container { display: none; background-color: rgba( 0, 0, 0, .2 ); align-items: center; justify-content: center; position: fixed; top: 0; left: 0; height: 100vh; width: 100vw; z-index: 9999; .modal { width: 900px; height: 500px; position: relative; @media screen and (max-width: 900px) { width: 768px; height: 450px; } @media screen and (max-width: 788px) { width: 600px; height: 350px; } @media screen and (max-width: 620px) { width: 400px; height: 250px; } @media screen and (max-width: 420px) { width: 320px; height: 200px; } @media screen and (max-width: 330px) { width: 300px; height: 180px; } i { @include transaction( all, 0.3s, ease ); position: absolute; right: -10px; top: -35px; padding: 10px; cursor: pointer; font-size: 12px; color: #fff; font-weight: 600; &:hover { color: #000; } } .modal-video { width: 100%; height: 100%; border: none; } } } @-webkit-keyframes lineScale { 0% { transform: translate(-50%, -50%) scale(1.2); } 50% { transform: translate(-50%, -50%) scale(0.8); } 100% { transform: translate(-50%, -50%) scale(1.2); } } @keyframes lineScale { 0% { transform: translate(-50%, -50%) scale(1.2); } 50% { transform: translate(-50%, -50%) scale(0.8); } 100% { transform: translate(-50%, -50%) scale(1.2); } } .rtl { .ova-video { .icon-content-view { .video-btn { .text { left: usset; right: calc(100% + 10px); } } } } }