@charset "utf-8"; @import "../initial"; // // Widget // // Widget // ## gerenral styles .w-ad-banner { position: relative; .cursor { cursor: pointer; } } .w-ad-banner__wrap { width: 100%; } .w-ad-banner__slide { width: 100%; } .banner-pager { @include list-reset; position: absolute; right: 1em; top: 1em; z-index: 200; li { display: inline-block; } a { border: 2px solid #fff; background: #d94444; display: inline-block; margin-right: 0.25em; width: 1em; height: 1em; border-radius: 50%; behavior: url("/assets/ie_support/PIE2/PIE.htc"); opacity: .5; } .active-slide a { opacity: 1; } } .banner-responsive { width: 100%; } // Widget 1 .ad-banner-widget-1 { .w-ad-banner__caption { background: $theme-color-main; color: $theme-white; 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 .ad-banner-widget-2 { .w-ad-banner__image { width: 100%; height: auto; } .youtube, .cycle-youtube { width: 100%; height: 100%; } object, embed { width: 100%; height: 100%; } .banner-pager { right: 1em; bottom: 1em; z-index: 102; } } // Widget 3 .ad-banner-widget-3 { .w-ad-banner__wrap { width: 100%; } .w-ad-banner__slide { width: 100%; } .banner-pager { top: auto; right: 1em; bottom: 1em; } } // specific style for youtube widget .ad-banner-widget-youtube { .cycle-slide-active { z-index: 101 !important; } }