2021-04-19 03:11:42 +00:00
|
|
|
@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%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner-pager {
|
|
|
|
@include list-reset;
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
|
|
|
top: 1em;
|
|
|
|
z-index: 200;
|
2021-10-14 05:29:46 +00:00
|
|
|
bottom: 0;
|
2021-04-19 03:11:42 +00:00
|
|
|
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%;
|
2021-09-03 03:45:44 +00:00
|
|
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
2021-04-19 03:11:42 +00:00
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.active-slide a {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner-responsive {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Widget 1
|
|
|
|
.ba-banner-widget-1 {
|
|
|
|
position: relative;
|
|
|
|
.w-ba-banner__wrap{
|
2021-05-03 02:08:48 +00:00
|
|
|
|
2021-04-19 03:11:42 +00:00
|
|
|
}
|
|
|
|
.banner-pager{
|
2021-10-14 03:57:32 +00:00
|
|
|
//left: 1em;
|
2021-04-19 03:11:42 +00:00
|
|
|
right:auto;
|
|
|
|
}
|
|
|
|
.w-ba-banner__caption {
|
|
|
|
|
|
|
|
background: rgba(#fff ,.7);
|
|
|
|
color: #333;
|
|
|
|
z-index: 200;
|
|
|
|
font-family: '微軟正黑體','sans-serif';
|
|
|
|
padding: 0.5em 1em 20px 1em;
|
|
|
|
line-height: 1.7em;
|
|
|
|
@media (min-width: 992px) {
|
|
|
|
position: absolute;
|
2021-05-03 02:08:48 +00:00
|
|
|
width: 100%;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2021-04-19 03:11:42 +00:00
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-family: $main-font;
|
|
|
|
font-size: 1.7rem;
|
|
|
|
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 {
|
|
|
|
right: 1em;
|
|
|
|
bottom: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// specific style for youtube widget
|
|
|
|
.ba-banner-widget-youtube {
|
|
|
|
.cycle-slide-active {
|
|
|
|
z-index: 101 !important;
|
|
|
|
}
|
2021-10-14 03:57:32 +00:00
|
|
|
}
|