183 lines
2.6 KiB
SCSS
183 lines
2.6 KiB
SCSS
@charset "utf-8";
|
|
|
|
@import "../initial";
|
|
|
|
//
|
|
// Widget
|
|
//
|
|
|
|
// Widget
|
|
// ## gerenral styles
|
|
.w-ba-banner {
|
|
position: relative;
|
|
z-index:0;
|
|
clear:both;
|
|
|
|
.cursor {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.w-ba-banner__wrap {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
height: auto;
|
|
overflow: hidden;
|
|
position:relative;
|
|
@media (min-width: 768px){
|
|
text-align:center;
|
|
}
|
|
@media (max-width: 480px) {
|
|
padding:0 6px;
|
|
}
|
|
@media (max-width: 375px) {
|
|
padding:0;
|
|
}
|
|
a{
|
|
display: inline-block;
|
|
height: auto;
|
|
// margin: 7px;
|
|
@media(min-width: 992px){
|
|
margin-top: 20px;
|
|
margin-bottom:20px;
|
|
}
|
|
@media(max-width: 480px){
|
|
margin:5px 0 7px 0;
|
|
height:auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
.w-ba-banner__slide {
|
|
width: 100%;
|
|
}
|
|
|
|
.banner-pager {
|
|
@include list-reset;
|
|
position: absolute;
|
|
right: 1em;
|
|
top: 1em;
|
|
z-index: 200;
|
|
|
|
li {
|
|
display: inline-block;
|
|
}
|
|
|
|
a {
|
|
background:#4a7db3;
|
|
display: inline-block;
|
|
margin-right: 0.25em;
|
|
width: 0.8em;
|
|
height: 0.8em;
|
|
border-radius: 50%;
|
|
opacity: .5;
|
|
}
|
|
|
|
.active-slide a {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.banner-responsive {
|
|
width: 100%;
|
|
}
|
|
|
|
// Widget 1
|
|
.ba-banner-widget-1 {
|
|
.w-ba-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
|
|
.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;
|
|
bottom: 1em;
|
|
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;
|
|
}
|
|
}
|
|
|
|
|
|
// Widget 4
|
|
.ba-banner-widget-4{
|
|
// text-align: center;
|
|
position:relative;
|
|
@media (min-width: 480px)and(max-width: 690px){
|
|
margin: 0 -17px 0 -4px;
|
|
}
|
|
@media (max-width: 480px) {
|
|
padding: 0 0;
|
|
margin: 0 -2px 0 0;
|
|
}
|
|
|
|
}
|
|
|
|
.ba-banner-widget-4::after{
|
|
position: absolute;
|
|
content: '';
|
|
background-image: url(/assets/shadow.png);
|
|
width: 100%;
|
|
height: 20px;
|
|
display:block;
|
|
background-repeat: no-repeat;
|
|
left: 0;
|
|
opacity:.5;
|
|
@media(max-width: 992px){
|
|
display:none;
|
|
}
|
|
}
|