565 lines
11 KiB
SCSS
Executable File
565 lines
11 KiB
SCSS
Executable File
@charset "utf-8";
|
|
|
|
@import "../initial";
|
|
|
|
//
|
|
// Widget
|
|
//
|
|
|
|
// Widget
|
|
// ## gerenral styles
|
|
|
|
.w-ba-banner {
|
|
position: relative;
|
|
z-index: 0;
|
|
|
|
.cursor {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.w-ba-banner__wrap {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
height: auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.w-ba-banner__slide {
|
|
width: 100%;
|
|
}
|
|
|
|
.ad-overlay {
|
|
color: #333333;
|
|
z-index: 200;
|
|
font-family: $main-font;
|
|
position: absolute;
|
|
width: 100%;
|
|
bottom: 0;
|
|
padding: 1.5em 1em;
|
|
h3 {
|
|
margin: 0;
|
|
padding: 0 0.5rem;
|
|
color: $theme-white;
|
|
}
|
|
p { margin: 0; padding: 0.5rem; color: $theme-white; }
|
|
@media(min-width: $screen-sm){
|
|
background-image: linear-gradient(180deg, transparent 0, #00000080 50%, #000000cf)!important;
|
|
-pie-background: linear-gradient(180deg, transparent 0, #00000080 50%, #000000cf)!important;
|
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
|
}
|
|
@media(max-width: $screen-sm) {
|
|
padding: 0.5em 1em;
|
|
position: relative;
|
|
background: #333333;
|
|
h3 { font-size: 1em; }
|
|
p { font-size: 0.75em; padding: 0.3rem 0.5rem 0.8rem 0.5rem; }
|
|
}
|
|
}
|
|
|
|
.banner-pager {
|
|
@include list-reset;
|
|
position: absolute;
|
|
bottom: 0.5rem;
|
|
z-index: 200;
|
|
text-align:center;
|
|
width: 100%;
|
|
li {
|
|
display: inline-block;
|
|
height: 3px;
|
|
width: 4%;
|
|
cursor: pointer;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
button {
|
|
background: hsla(0,0%,100%,.4);
|
|
width: 100%;
|
|
height: 3px;
|
|
border: unset;
|
|
}
|
|
.active-slide button {
|
|
opacity: 1;
|
|
background: $theme-color-second!important;
|
|
}
|
|
a {
|
|
background: white;
|
|
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;
|
|
cursor:pointer;
|
|
border:0;
|
|
}
|
|
.active-slide a {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.controlplay{
|
|
position: absolute;
|
|
right: 1em;
|
|
top: 3%;
|
|
z-index: 200;
|
|
a {
|
|
display: inline-block;
|
|
margin-right: 0.25em;
|
|
cursor: pointer;
|
|
padding: 5px 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.5);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
|
|
i {
|
|
font-family: FontAwesome;
|
|
position: relative;
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
color: #FFF;
|
|
vertical-align: middle;
|
|
font-style: unset;
|
|
}
|
|
}
|
|
.resume-slide i::before{
|
|
content:"\f04b"
|
|
}
|
|
.pause-slide i::before{
|
|
content:"\f04c"
|
|
}
|
|
@media(max-width: $screen-sm) {
|
|
right: 0;
|
|
a { padding: 0 5px;}
|
|
a i { font-size: 0.75em; }
|
|
}
|
|
}
|
|
|
|
ul.button-mid{
|
|
.prev-button{
|
|
transition: 0.4s;
|
|
position: relative;
|
|
float:left;
|
|
left: 0.5rem;
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
font-size: 2.2rem;
|
|
color: #ffffff;
|
|
background: rgba(0,0,0,0.2);
|
|
text-align: center;
|
|
line-height: 2.5rem;
|
|
top: 50%;
|
|
position: absolute;
|
|
transform: translateY(-50%);
|
|
z-index: 999;
|
|
|
|
&:hover {
|
|
background: rgba(0,0,0,0.1);
|
|
}
|
|
@media(max-width: $screen-xs) {
|
|
line-height: 1.5rem;
|
|
height: 1.5rem;
|
|
font-size: 1.5rem;
|
|
width: 1.5rem;
|
|
}
|
|
}
|
|
.next-button{
|
|
float: right;
|
|
transition: 0.4s;
|
|
position: relative;
|
|
right: 0.5rem;
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
font-size: 2.2rem;
|
|
color: $theme-white;
|
|
background: rgba(0,0,0,0.2);
|
|
text-align: center;
|
|
line-height: 2.5rem;
|
|
top: 50%;
|
|
position: absolute;
|
|
transform: translateY(-50%);
|
|
z-index: 999;
|
|
|
|
&:hover {
|
|
background: rgba(0,0,0,0.1);
|
|
}
|
|
@media(max-width: $screen-xs) {
|
|
line-height: 1.5rem;
|
|
height: 1.5rem;
|
|
font-size: 1.5rem;
|
|
width: 1.5rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.banner-responsive {
|
|
width: 100%;
|
|
}
|
|
|
|
// Widget 0
|
|
.ba-banner-widget-0 {
|
|
@media(min-width:1900px){
|
|
height:700px;
|
|
}
|
|
@media only screen and (min-width: 1600px) and (max-width: 1900px){
|
|
height: 590px;
|
|
}
|
|
@media only screen and(min-width: 1200px) and (max-width: 1599px){
|
|
height: 500px;
|
|
}
|
|
@media only screen and(min-width:1024px)and (max-width: 1200px){
|
|
height: 450px;
|
|
}
|
|
@media screen and (min-width:991px) and (max-width:1025px){
|
|
height: 720px;
|
|
|
|
}
|
|
@media screen and (min-width:$screen-xs) and (max-width:990px){
|
|
height: 470px;
|
|
}
|
|
@media(max-width: $screen-xs){
|
|
height:650px;
|
|
}
|
|
.w-ba-banner__caption {
|
|
color: $theme-color-main;
|
|
z-index: 200;
|
|
|
|
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;
|
|
}
|
|
}
|
|
.banner-pager{
|
|
@media(min-width:1025px){
|
|
display: none;
|
|
}
|
|
@media screen and (min-width:991px) and (max-width:1025px){
|
|
top: 1246px!important;
|
|
}
|
|
@media screen and (min-width:$screen-xs) and (max-width:990px){
|
|
top: 904px!important;
|
|
|
|
}
|
|
@media(max-width: $screen-xs){
|
|
top: 680px!important;
|
|
}
|
|
}
|
|
.banner-responsive{
|
|
@media screen and (min-width:991px) and (max-width:1025px){
|
|
height: 720px;
|
|
width: auto;
|
|
max-width: fit-content;
|
|
}
|
|
@media screen and (min-width:$screen-xs) and (max-width:990px){
|
|
height: 470px;
|
|
width: auto;
|
|
max-width: fit-content;
|
|
}
|
|
@media(max-width: $screen-xs){
|
|
height: 640px;
|
|
width: auto;
|
|
max-width: fit-content;
|
|
transform: translateX(-40%);
|
|
}
|
|
}
|
|
.ad-overlay{
|
|
text-align: center;
|
|
background: none;
|
|
text-shadow: 0px 0px 8px #00000070;
|
|
@media(min-width:1801px){
|
|
bottom: 12em;
|
|
position: absolute;
|
|
}
|
|
@media screen and (min-width:1451px) and (max-width:1800px){
|
|
top: 10em;
|
|
position: absolute;
|
|
}
|
|
@media screen and (min-width:1281px) and (max-width:1450px){
|
|
top:8em;
|
|
position: absolute;
|
|
}
|
|
@media screen and (min-width:1026px) and (max-width:1280px){
|
|
top: 5em;
|
|
position: absolute;
|
|
}
|
|
@media screen and (min-width:991px) and (max-width:1025px){
|
|
top: 30em;
|
|
position: absolute;
|
|
}
|
|
@media screen and (min-width:$screen-xs) and (max-width:990px){
|
|
top: 14em;
|
|
position: absolute;
|
|
}
|
|
@media(max-width: $screen-xs){
|
|
position: absolute;
|
|
top: 12em;
|
|
}
|
|
}
|
|
@media(max-width: $screen-sm) {
|
|
.ad-overlay {
|
|
padding: 0.5em 1em;
|
|
position:absolute;
|
|
h3 { font-size: 1em; }
|
|
p { font-size: 0.75em; }
|
|
}
|
|
.controlplay {
|
|
right: 0;
|
|
a { padding: 0 5px;}
|
|
a i { font-size: 0.75em; }
|
|
}
|
|
}
|
|
.w-ba-banner__wrap{
|
|
position: fixed;
|
|
-webkit-filter: brightness(0.8);
|
|
}
|
|
}
|
|
// Widget 1
|
|
.ba-banner-widget-1 {
|
|
.w-ba-banner__caption {
|
|
text-align: center;
|
|
color: $theme-color-main;
|
|
z-index: 200;
|
|
|
|
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;
|
|
}
|
|
}
|
|
@media(max-width: $screen-sm) {
|
|
.ad-overlay {
|
|
padding: 0.5em 1em;
|
|
position: relative;
|
|
background:#8da2b9;
|
|
h3 { font-size: 1em; }
|
|
p { font-size: 0.75em; }
|
|
}
|
|
.controlplay {
|
|
right: 0;
|
|
a { padding: 0 5px;}
|
|
a i { font-size: 0.75em; }
|
|
}
|
|
}
|
|
}
|
|
|
|
// 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;
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
// Widget 3
|
|
.ba-banner-widget-3 {
|
|
.w-ba-banner__wrap {
|
|
width: 100%;
|
|
}
|
|
|
|
.w-ba-banner__slide {
|
|
width: 100%;
|
|
}
|
|
|
|
.banner-pager {
|
|
right: 0;
|
|
bottom: 2em;
|
|
li { height: unset; width: unset; }
|
|
}
|
|
ul.button-mid { display: none; }
|
|
}
|
|
|
|
//Widget 4
|
|
.ba-banner-widget-4 {
|
|
.w-ba-banner__wrap {
|
|
text-align: center;
|
|
img { margin-bottom: 0.5rem; }
|
|
}
|
|
}
|
|
|
|
// specific style for youtube widget
|
|
.ba-banner-widget-youtube {
|
|
.cycle-slide-active {
|
|
z-index: 101 !important;
|
|
}
|
|
}
|
|
|
|
//Widget 5
|
|
.ba-banner-widget-5 {
|
|
background: url(/assets/BANNER-BG-01.jpg) 0 0 no-repeat;
|
|
.slide-img { padding: 1rem 1.5rem; }
|
|
.slide-content {
|
|
z-index: 200;
|
|
font-family: $main-font;
|
|
padding-top: 0.5rem;
|
|
padding-left: 0;
|
|
|
|
h3 {
|
|
font-size: 1rem;
|
|
margin: 0.5em 0;
|
|
color: #12517a;
|
|
}
|
|
|
|
div {
|
|
white-space: normal;
|
|
word-break: break-all;
|
|
font-size: 1rem;
|
|
color: #373634;
|
|
padding: 0 2em 0.5em 0;
|
|
}
|
|
}
|
|
.controlplay { display: none; }
|
|
.banner-pager {
|
|
right: 1rem;
|
|
top: 0;
|
|
width: unset;
|
|
li { height: unset; width: unset; }
|
|
a { background: #a0d2f3;}
|
|
}
|
|
|
|
@media(max-width: $screen-sm) {
|
|
.slide-content {
|
|
padding: 0.5em 1em;
|
|
position: relative;
|
|
background: #a0d2f3;
|
|
h3 { font-size: 1em; }
|
|
div { font-size: 0.75em; }
|
|
}
|
|
.controlplay {
|
|
right: 0;
|
|
a { padding: 0 5px;}
|
|
a i { font-size: 0.75em; }
|
|
}
|
|
}
|
|
@media(max-width: $screen-sm -1) {
|
|
ul.button-mid.next-button, ul.button-mid.prev-button{
|
|
top: 35%;
|
|
transform: translateY(-35%);
|
|
}
|
|
.slide-content h3, .slide-content div { color: $theme-white; }
|
|
.w-ba-banner__wrap { overflow: visible;}
|
|
}
|
|
}
|
|
// Widget 6
|
|
|
|
.ba-banner-widget-6 {
|
|
.w-ba-banner__caption {
|
|
color: $theme-color-main;
|
|
z-index: 200;
|
|
|
|
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;
|
|
}
|
|
}
|
|
.ad-overlay{
|
|
background: #8da2b9d9;
|
|
@media(min-width: 768px){
|
|
width: 40%;
|
|
position: fixed!important;
|
|
}
|
|
@media(min-width: 1300px){
|
|
bottom: 25%;
|
|
}
|
|
@media screen and (min-width:1025px) and (max-width:1300px){
|
|
bottom: 16%;
|
|
}
|
|
@media screen and (min-width:991px) and (max-width:1025px){
|
|
bottom: 60%;
|
|
}
|
|
@media screen and (min-width:$screen-xs) and (max-width:990px){
|
|
bottom: 55%;
|
|
}
|
|
|
|
}
|
|
@media(max-width: $screen-sm) {
|
|
.ad-overlay {
|
|
padding: 0.5em 1em;
|
|
position: relative;
|
|
h3 { font-size: 1.5em; }
|
|
p { font-size: 1em; }
|
|
}
|
|
.controlplay {
|
|
right: 0;
|
|
a { padding: 0 5px;}
|
|
a i { font-size: 0.75em; }
|
|
}
|
|
}
|
|
.banner-pager{
|
|
text-align: center;
|
|
button{
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 12px;
|
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
|
}
|
|
@media(min-width: 768px){
|
|
width: 40%;
|
|
position: fixed!important;
|
|
padding: 1em;
|
|
}
|
|
@media(min-width: 1300px){
|
|
bottom: 25%;
|
|
}
|
|
@media screen and (min-width:1025px) and (max-width:1300px){
|
|
bottom: 16%;
|
|
}
|
|
@media screen and (min-width:991px) and (max-width:1025px){
|
|
bottom: 60%;
|
|
}
|
|
@media screen and (min-width:$screen-xs) and (max-width:990px){
|
|
bottom: 55%;
|
|
}
|
|
}
|
|
.button-mid{
|
|
cursor: pointer;
|
|
@media screen and (min-width:769px) and (max-width:1025px){
|
|
top: 25%;
|
|
position: fixed;
|
|
width: 12%;
|
|
}
|
|
@media(min-width: 1025px){
|
|
width: 12%;
|
|
position: fixed;
|
|
top: 34%;
|
|
}
|
|
}
|
|
.button-mid{
|
|
display: none;
|
|
}
|
|
}
|