← Back
Editing: frontend.css
.uabb-aspect-ratio-4_3 .uabb-video__outer-wrap { padding-bottom: 75%; } .uabb-aspect-ratio-16_9 .uabb-video__outer-wrap { padding-bottom: 56.25%; } .uabb-aspect-ratio-3_2 .uabb-video__outer-wrap { padding-bottom: 66.6666%; } .uabb-aspect-ratio-1_1 .uabb-video__outer-wrap { padding-bottom: 100%; } .uabb-video__outer-wrap { position: relative; height: 0; overflow: hidden; max-width: 100%; background: #000; cursor: pointer; } .uabb-video__outer-wrap img, .uabb-video__outer-wrap video { bottom: 0; display: block; left: 0; margin: auto; max-width: 100%; width: 100%; position: absolute; right: 0; top: 0; border: none; height: auto; cursor: pointer; -webkit-transition: .2s all; transition: .2s all; } .uabb-video__play-icon { left: 50%; top: 50%; position: absolute; cursor: pointer; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); text-align: center; -webkit-transition: text-shadow ease .2s, color ease .2s; transition: text-shadow ease .2s, color ease .2s; z-index: 5; } .uabb-video__outer-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; background: transparent; } .uabb-vimeo-wrap { -js-display: flex; display: -webkit-box; display: -webkit-flex; display: -moz-box; display: -ms-flexbox; display: flex; position: absolute; top: 0; left: 0; z-index: 2; margin: 10px; -webkit-transition: opacity 200ms ease-out; transition: opacity 200ms ease-out; margin-right: 4.6em; } .uabb-vimeo-portrait { width: 60px; height: 60px; background: rgba(23, 35, 34, .75); margin-right: 1px; -webkit-box-flex: 1; -webkit-flex: 1 0 auto; -ms-flex: 1 0 auto; -moz-box-flex: 1; flex: 1 0 auto; padding: 0; } .uabb-vimeo-portrait img { width: 50px; height: 50px; margin: 5px; padding: 0; border: 0; -webkit-border-radius: 50%; border-radius: 50%; } .uabb-vimeo-headers { font-size: 10px; } .uabb-vimeo-byline { font-size: 1.2em!important; font-weight: 400; color: #fff; margin-top: .1em; padding: .2em .5em; background: rgba(23, 35, 34, .75); text-transform: none; line-height: normal; letter-spacing: normal; } .uabb-video-wistia-play, .uabb-video-hosted-play { cursor: pointer; height: 70px; background: rgba(84, 187, 255, 0.8); -webkit-box-shadow: none; box-shadow: none; width: 100px; -webkit-border-radius: 0; border-radius: 0; border: 0; padding: 0; } .uabb-vimeo-title { max-width: 100%; font-size: 2em!important; font-weight: 700; margin: 0; padding: .1em .2em; background: rgba(23, 35, 34, .75); display: inline-block; text-transform: none; line-height: normal; letter-spacing: normal; } .uabb-video__outer-wrap:active .ubb-animation-sink, .uabb-video__outer-wrap:focus .uabb-animation-sink, .uabb-video__outer-wrap:hover .uabb-animation-sink { top: -webkit-calc(50% + 8px); top: calc(50% + 8px); } .uabb-video__outer-wrap:before { content: ''; z-index: 2; height: 100%; width: 100%; position: absolute; top: 0; left: 0; } .uabb-video__outer-wrap:active .uabb-animation-float, .uabb-video__outer-wrap:focus .uabb-animation-float, .uabb-video__outer-wrap:hover .uabb-animation-float { top: -webkit-calc(50% - 8px); top: calc(50% - 8px); } .uabb-video__outer-wrap:active .uabb-animation-wobble-vertical, .uabb-video__outer-wrap:focus .uabb-animation-wobble-vertical, .uabb-video__outer-wrap:hover .uabb-animation-wobble-vertical { -webkit-animation-name: uabb-wobble-vertical; animation-name: uabb-wobble-vertical; -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; -webkit-animation-iteration-count: 1; animation-iteration-count: 1; } .uabb-video__outer-wrap .uabb-animation-sink, .uabb-video__outer-wrap .uabb-animation-float { -webkit-transition-duration: .2s; transition-duration: .2s; -webkit-transition-property: top; transition-property: top; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out; } @-webkit-keyframes uabb-wobble-vertical { 16.65% { top: -webkit-calc(50% + 8px); top: calc(50% + 8px); } 33.3% { top: -webkit-calc(50% - 6px); top: calc(50% - 6px); } 49.95% { top: -webkit-calc(50% + 4px); top: calc(50% + 4px); } 66.6% { top: -webkit-calc(50% - 2px); top: calc(50% - 2px); } 83.25% { top: -webkit-calc(50% + 1px); top: calc(50% + 1px); } 100% { top: 50%; } } @keyframes uabb-wobble-vertical { 16.65% { top: -webkit-calc(50% + 8px); top: calc(50% + 8px); } 33.3% { top: -webkit-calc(50% - 6px); top: calc(50% - 6px); } 49.95% { top: -webkit-calc(50% + 4px); top: calc(50% + 4px); } 66.6% { top: -webkit-calc(50% - 2px); top: calc(50% - 2px); } 83.25% { top: -webkit-calc(50% + 1px); top: calc(50% + 1px); } 100% { top: 50%; } } .uabb-subscribe-bar { js-display: flex; display: -webkit-box; display: -webkit-flex; display: -moz-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -moz-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -moz-box-align: center; -ms-flex-align: center; align-items: center; padding: 6px 10px; } .uabb-subscribe-bar-prefix { margin-right: 10px; } .uabb-subscribe-content { display: flex; } .uabb-subscribe-responsive-desktop .uabb-subscribe-bar { display: block; text-align: center; } .uabb-subscribe-responsive-desktop .uabb-subscribe-bar-prefix { margin-right: 0; margin-bottom: 8px; } .uabb-subscribe-responsive-desktop .uabb-subscribe-content { display: block; } .uabb-video__play.uabb-sticky-apply { position: fixed; transform: translateY(100%); width: 260px; height: 145px; animation: fade-in-up .25s ease forwards; z-index: 9999; } .uabb-video__outer-wrap.uabb-sticky-apply { background: none; z-index: 9; overflow: unset; } .uabb-video__outer-wrap.uabb-sticky-apply .uabb-video-inner-wrap { position: fixed!important; z-index: 99999; height: 225px; width: 400px; background: #fff; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); } .uabb-sticky-infobar-wrap.uabb-sticky-apply .uabb-video-inner-wrap { -webkit-box-shadow: unset; box-shadow: unset; } .uabb-video__outer-wrap.uabb-sticky-apply .uabb-video-sticky-infobar { -webkit-box-shadow: 0 5px 10px -5px #333; box-shadow: 0 5px 10px -5px #333; } .uabb-sticky-apply .uabb-video-inner-wrap.ui-draggable { cursor: move; } .uabb-sticky-apply iframe, .uabb-sticky-apply .uabb-video__thumb { padding: 4px; } .uabb-sticky-apply .uabb-video-sticky-close { display: block; position: absolute; padding: 1px 9px; color: #000; background: #fff; -webkit-border-radius: 100%; border-radius: 100%; cursor: pointer; z-index: 99999; } .uabb-sticky-apply .uabb-video-sticky-infobar { display: block; position: relative; top: 100%; width: 100%; padding: 5px; color: #000; background: #fff; text-align: center; z-index: 9999; margin-top: -1px; } .uabb-video-sticky-top_left .uabb-video__outer-wrap.uabb-sticky-apply .uabb-video-inner-wrap { right: auto; left: 20px; top: 20px; } .uabb-video-sticky-bottom_left .uabb-video__outer-wrap.uabb-sticky-apply .uabb-video-inner-wrap { right: auto; left: 20px; bottom: 20px; } .uabb-video-sticky-top_right .uabb-video__outer-wrap.uabb-sticky-apply .uabb-video-inner-wrap { left: auto; right: 20px; top: 20px; } .uabb-video-sticky-bottom_right .uabb-video__outer-wrap.uabb-sticky-apply .uabb-video-inner-wrap { left: auto; right: 20px; bottom: 20px; } .uabb-video-sticky-center_left .uabb-video__outer-wrap.uabb-sticky-apply .uabb-video-inner-wrap { right: auto; left: 20px; top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); } .uabb-video-sticky-center_right .uabb-video__outer-wrap.uabb-sticky-apply .uabb-video-inner-wrap { left: auto; right: 20px; top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); } .uabb-video-sticky-bottom_right .uabb-sticky-infobar-wrap.uabb-sticky-apply .uabb-video-inner-wrap, .uabb-video-sticky-bottom_left .uabb-sticky-infobar-wrap.uabb-sticky-apply .uabb-video-inner-wrap { bottom: 55px; } .admin-bar .uabb-video-sticky-top_left .uabb-video__outer-wrap.uabb-sticky-apply .uabb-video-inner-wrap, .admin-bar .uabb-video-sticky-top_right .uabb-video__outer-wrap.uabb-sticky-apply .uabb-video-inner-wrap { top: -webkit-calc(32px + 20px); top: calc(32px + 20px); } .uabb-video-sticky-top_left .uabb-sticky-apply .uabb-video-sticky-close, .uabb-video-sticky-bottom_left .uabb-sticky-apply .uabb-video-sticky-close, .uabb-video-sticky-center_left .uabb-sticky-apply .uabb-video-sticky-close { top: -10px; right: -10px; } .uabb-video-sticky-top_right .uabb-sticky-apply .uabb-video-sticky-close, .uabb-video-sticky-bottom_right .uabb-sticky-apply .uabb-video-sticky-close, .uabb-video-sticky-center_right .uabb-sticky-apply .uabb-video-sticky-close { top: -10px; left: -10px; } .uabb-video__outer-wrap .uabb-sticky-apply .uabb-vimeo-wrap, .uabb-video__outer-wrap.uabb-sticky-apply .uabb-vimeo-wrap, .uabb-sticky-apply.uabb-video__outer-wrap:before { visibility: hidden; } .uabb-video__outer-wrap.uabb-sticky-apply+.uabb-subscribe-bar, .uabb-video-sticky-close, .uabb-video-sticky-infobar { display: none; } @media only screen and (max-width: 992px) { .uabb-subscribe-responsive-tablet .uabb-subscribe-bar { display: block; text-align: center; } .uabb-subscribe-responsive-tablet .uabb-subscribe-bar-prefix { margin-right: 0; margin-bottom: 8px; } .uabb-subscribe-responsive-tablet .uabb-subscribe-content { display: block; } } @media only screen and (max-width: 767px) { .uabb-subscribe-responsive-mobile .uabb-subscribe-bar { display: block; text-align: center; } .uabb-subscribe-responsive-mobile .uabb-subscribe-bar-prefix { margin-right: 0; margin-bottom: 8px; } .uabb-subscribe-responsive-mobile .uabb-subscribe-content { display: block; } }
Save File
Cancel