@charset "utf-8"; @import "../initial"; // // Widget // // Widget // ## gerenral styles .w-ba-banner { position: relative; .cursor { cursor: pointer; } } .w-ba-banner__wrap { width: 100%; max-width: 100%; height: auto; overflow: hidden; } .w-ba-banner__slide { width: 100%; } .ad-overlay { background: #91bfea; color: #333333; z-index: 200; padding: 0.5em 1em; font-family: $main-font; h3 { margin: 0; } } .banner-pager { @include list-reset; position: relative; top: 0; z-index: 200; text-align:center; li { display: inline-block; } a { background: white; display: inline-block; margin-right: 0.25em; width: 0.8em; height: 0.8em; border-radius: 50%; opacity: .5; cursor:pointer; border:0; } .active-slide a { opacity: 1; } } .controlplay{ position: absolute; right: 1em; top: 2%; z-index: 200; a { display: inline-block; margin-right: 0.25em; cursor:pointer; i{ font-family: FontAwesome; color:black; font-size:1.5rem; } } .resume-slide i::before{ content:"\f04b" } .pause-slide i::before{ content:"\f04c" } } ul.button-mid{ height: 3em; width: 100%; top: 50%; position: absolute; padding: 0; margin-top: -2.5em; @media (min-height:$screen-sm + 1){ height: 5em; } @media (max-height:$screen-sm){ height: 3em; } .prev-button{ transition: 0.4s; position: relative; float:left; left: 0.9375em; width: 3.4375em; background: url(/assets/prev.png) no-repeat center; z-index: 1000; border:0; height: 100%; } .next-button{ float:right; transition: 0.4s; position: relative; right: 0.9375em; width: 3.4375em; background: url(/assets/next.png) no-repeat center; z-index: 1000; border:0; height: 100%; } } .banner-responsive { width: 100%; } // Widget 1 .ba-banner-widget-1 { .w-ba-banner__caption { background: $theme-color-second; color: $theme-color-main; z-index: 200; padding: 0.5em 1em; h2 { font-family: $main-font; font-size: $w-caption-font-size; margin: 0.5em 0; } p { font-family: $main-font; font-size: $w-caption-desc; } } } // Widget 2 .ba-banner-widget-2 { .w-ba-banner__image { width: 100%; height: auto; } .youtube, .cycle-youtube { width: 100%; height: 100%; } object, embed { width: 100%; height: 100%; } .banner-pager { right: 1em; top: -2em; z-index: 102; } } // Widget 3 .ba-banner-widget-3 { .w-ba-banner__wrap { width: 100%; } .w-ba-banner__slide { width: 100%; } .banner-pager { top: auto; right: 1em; bottom: 2em; } } // specific style for youtube widget .ba-banner-widget-youtube { .cycle-slide-active { z-index: 101 !important; } }