217 lines
3.2 KiB
SCSS
217 lines
3.2 KiB
SCSS
@charset "utf-8";
|
|
|
|
@import "../initial";
|
|
|
|
//
|
|
// Widget
|
|
//
|
|
|
|
// Widget
|
|
// ## gerenral styles
|
|
.w-ba-banner {
|
|
position: relative;
|
|
|
|
.cursor {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.w-ba-banner__wrap {
|
|
width: 100%;
|
|
height: auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.w-ba-banner__slide {
|
|
width: 100%;
|
|
}
|
|
|
|
.banner-pager {
|
|
@include list-reset;
|
|
display: none;
|
|
position: absolute;
|
|
right: 1em;
|
|
top: 1em;
|
|
z-index: 200;
|
|
|
|
li {
|
|
display: inline-block;
|
|
}
|
|
|
|
a {
|
|
background: $theme-color-main;
|
|
display: inline-block;
|
|
margin-right: 0.25em;
|
|
width: 0.8em;
|
|
height: 0.8em;
|
|
border-radius: 50%;
|
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
|
opacity: .5;
|
|
}
|
|
|
|
.active-slide a {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.banner-responsive {
|
|
width: 100%;
|
|
}
|
|
|
|
// Widget 1
|
|
.ba-banner-widget-1 {
|
|
.w-ba-banner__caption {
|
|
position: absolute;
|
|
top: 35%;
|
|
left: 50%;
|
|
text-align: center;
|
|
color: $theme-white;
|
|
z-index: 200;
|
|
transform: translate(-50%);
|
|
text-shadow: 1px 0 10px rgba(black,.8);
|
|
font-weight: 100;
|
|
|
|
h2 {
|
|
font-family: $main-font;
|
|
font-size: $font-h2;
|
|
margin: 0.3em 0;
|
|
|
|
}
|
|
|
|
p {
|
|
color: lighten($theme-color-main,15%);
|
|
font-family: $main-font;
|
|
font-size: $font-13;
|
|
@media(max-width: $screen-sm){
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
a{
|
|
display: inline-block;
|
|
color: $theme-white;
|
|
margin-top: 1em;
|
|
font-size: 0.75em;
|
|
padding: .8em 1.4em;
|
|
border: 2px solid $theme-white;
|
|
transition:.2s;
|
|
|
|
&:hover{
|
|
box-shadow: 1px 0 10px rgba(black,.8);
|
|
}
|
|
|
|
}
|
|
|
|
@media(min-width: $screen-lg){
|
|
h2{
|
|
font-size: 3.75em;
|
|
}
|
|
p{
|
|
font-size: $font-15;
|
|
}
|
|
|
|
a{
|
|
font-size: 1em;
|
|
}
|
|
|
|
}
|
|
@media(max-width: $screen-lg) and (min-width: $screen-sm){
|
|
h2{
|
|
font-size: 2.25em;
|
|
}
|
|
p{
|
|
font-size: $font-13;
|
|
}
|
|
|
|
a{
|
|
font-size: $font-15;
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
// 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: 1em;
|
|
}
|
|
}
|
|
|
|
.ba-banner-widget-4{
|
|
.w-ba-banner__wrap{
|
|
height: 150px;
|
|
|
|
@media (min-width: $screen-sm) {
|
|
height: 260px;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.ba-banner-widget-5 {
|
|
.w-ba-banner__caption {
|
|
position: absolute;
|
|
top: 5%;
|
|
left: 3em;
|
|
color: $theme-white;
|
|
text-shadow: 1px 0 10px rgba(black,.8);
|
|
z-index: 100;
|
|
font-weight: 100;
|
|
|
|
h2 {
|
|
font-family: $main-font;
|
|
font-size: $font-h2;
|
|
margin: 0.3em 0;
|
|
|
|
}
|
|
|
|
p {
|
|
color: lighten($theme-color-main,15%);
|
|
font-family: $main-font;
|
|
font-size: $font-13;
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
// specific style for youtube widget
|
|
.ba-banner-widget-youtube {
|
|
.cycle-slide-active {
|
|
z-index: 101 !important;
|
|
}
|
|
} |