asia-home-b-en/assets/stylesheets/template/layout/content.scss

647 lines
13 KiB
SCSS
Raw Normal View History

2021-08-30 10:09:12 +00:00
@charset "utf-8";
@import "../initial";
2021-10-13 09:31:58 +00:00
body{
@media (min-width: 1150px){
.black-screen-social-window.reactable{
.content-social .social_wrap i, .content-social .social_wrap img {
width: 1.2em;
font-size: 2em;
}
.content-social .social_wrap>div{
width: 3.2em;
}
}
}
}
2021-08-30 10:09:12 +00:00
.downIcon{
position: absolute;
left: 50%;
2021-10-13 06:44:41 +00:00
top: 760px;
//bottom: 10%;
2021-08-30 10:09:12 +00:00
z-index: 2;
color: #fff;
span{
position: absolute;
top: 0;
left: 50%;
width: 46px;
height: 46px;
margin-left: -23px;
border: 2px solid #fff;
border-radius: 100%;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
box-sizing: border-box;
}
a:hover{
opacity: .5;
}
}
.downIcon a span::after{
position: absolute;
top: 50%;
left: 50%;
content: '';
width: 16px;
height: 16px;
margin: -12px 0 0 -8px;
border-left: 2px solid #fff;
border-bottom: 2px solid #fff;
-webkit-transform: rotate(
-45deg
);
transform: rotate(
-45deg
);
box-sizing: border-box;
}
.downIcon a span::before{
position: absolute;
top: 0;
left: 0;
z-index: -1;
content: '';
width: 44px;
height: 44px;
box-shadow: 0 0 0 0 #ffffff1a;
border-radius: 100%;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
opacity: 0;
-webkit-animation: sdb03 3s infinite;
animation: sdb03 3s infinite;
box-sizing: border-box;
}
@-webkit-keyframes sdb03 {
0% {
opacity: 0;
}
30% {
opacity: 1;
}
60% {
box-shadow: 0 0 0 60px #ffffff1a;
opacity: 0;
}
100% {
opacity: 0;
}
}
@keyframes sdb03 {
0% {
opacity: 0;
}
30% {
opacity: 1;
}
60% {
box-shadow: 0 0 0 60px #ffffff1a;
opacity: 0;
}
100% {
opacity: 0;
}
}
.bigcontent{
background-color: #fff;
2021-10-13 06:48:10 +00:00
margin-bottom: -25px;
2021-08-30 10:09:12 +00:00
@media(max-width: $screen-xs){
padding-top: 1em;
}
}
.layout-content-inner{
background-color: #fff;
@media(max-width:$screen-xs){
padding-right: 0;
padding-left: 0;
}
}
.layout-content {
min-height: 37.5em;
.container {
@extend .response-container;
}
.pagecontainer {
@extend .response-pagecontainer;
}
}
.bannertwo{
@media(min-width:1024px){
padding: 0;
.w-ba-banner{
display: flex;
flex-direction: row-reverse;
.w-ba-banner__wrap{
flex: 0 0 65%;
}
.ad-overlay{
position: relative;
background: none;
}
}
}
@media(min-width:800px){
.ad-overlay{
p{
margin-top: 4em;
}
}
}
@media(min-width:768px){
.ad-overlay{
p{
margin-top: 1em;
}
}
.ba-banner-widget-1 .w-ba-banner__caption{
padding: 3em;
}
}
.button-mid .prev-button{
background: none;
}
.button-mid .next-button{
background: none;
}
}
.video-banner{
max-width: 850px;
margin: auto;
@media(min-width:1200px){
margin-top: -20em;
}
@media only screen and (max-width: 1200px) and (min-width: 1024px){
margin-top: -17em;
}
@media only screen and (max-width: 1024px) and(min-width:789px){
margin-top: -9em;
}
img{
border-radius: 20px;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
}
.w-ba-banner{
box-shadow: 0px 55px 50px -40px #212121;
border-radius: 20px;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
}
.ba-banner-widget-4 .w-ba-banner__wrap img img{
margin: 0;
}
}
// .one{
// width: 50%;
// text-align: end;
// padding: 1em;
// @media(max-width: $screen-xs){
// position: relative;
// width: 100%;
// text-align: center;
// padding: 1em;
// margin-bottom: 2em;
// }
// }
// .two{
// width: 50%;
// text-align: start;
// padding: 1em;
// @media(max-width: $screen-xs){
// position: relative;
// width: 100%;
// text-align: center;
// padding: 1em;
// margin-bottom: 2em;
// }
// }
.leftannounce{
@media(max-width: 769px){
margin-bottom: 1em;
}
}
.subword{
text-align: center;
color: #333333;
font-family: "Barlow", Sans-serif;
font-size: 36px;
font-weight: 900;
text-transform: none;
line-height: 40px;
}
.colorbox{
background-color:#e7e8ea;
}
.group{
width: 100%;
display: flex;
padding: 2em;
2021-10-15 05:05:42 +00:00
@media(max-width: 1024px){
2021-08-30 10:09:12 +00:00
flex-wrap: wrap;
padding: 0 15px;
}
}
.fontgroup{
width: 100%;
display: flex;
flex-wrap: wrap;
padding: 2em;
@media(max-width: $screen-xs){
flex-wrap: wrap;
}
}
.iconbox{
flex: 1 1 20%;
.fas{
font-size: 2.5em;
color: #abb5b4;
}
.fab{
font-size: 2.5em;
color: #abb5b4;
}
@media(max-width: $screen-xs){
flex: 50%;
padding-bottom: 0.5em;
}
}
2021-10-15 04:32:11 +00:00
.box:empty{
flex: none;
display: none;
}
2021-10-15 04:59:24 +00:00
.box img {
2021-10-15 07:24:48 +00:00
width: 100% !important;
height: 100% !important;
2021-10-15 04:47:30 +00:00
object-fit: cover;
}
2021-10-15 04:59:24 +00:00
.box .w-ba-banner__slide, .box .w-ba-banner__slide a {
height: 100%;
display: block;
}
2021-08-30 10:09:12 +00:00
.box{
2021-10-15 04:32:11 +00:00
flex: 3;
2021-08-30 10:09:12 +00:00
color: #666666;
font-family: "Barlow", Sans-serif;
font-size: 36px;
font-weight: 900;
text-transform: none;
height: 280px;
cursor: pointer;
overflow: hidden;
transition: all .25s;
@media(min-width: 1025px){
&:hover{
2021-10-15 04:32:11 +00:00
flex: 4;
2021-08-30 10:09:12 +00:00
// img{
// transform: scale(1.5);
// transition: all .25s;
// }
}
}
2021-10-15 05:03:29 +00:00
@media(max-width: 1024px){
2021-10-15 04:59:24 +00:00
flex: none;
2021-10-15 04:32:11 +00:00
width: 100%;
2021-08-30 10:09:12 +00:00
height: 250px;
padding-bottom: 0.5em;
}
}
.layout-content-box3{
@media(min-width: $screen-xs){
top: -9em;
}
}
.score{
.scorebutton{
&:hover{
color:#E4200B!important ;
}
}
}
.image-carousel{
padding: 15px 0px 25px 0px;
}
.swiper-banner{
.ba-banner-widget-1 {
.ad-overlay{
background-image: none!important;
}
ul.button-mid .next-button{
color: #E4002B!important;
background: none!important;
}
ul.button-mid .prev-button{
color: #E4002B!important;
background: none!important;
}
}
}
.bannertwo{
@media(min-width:1024px){
background-color: #72bcad;
}
@media(max-width: $screen-sm){
padding: 0;
}
}
.onesection{
color: #fff;
@media(max-width:$screen-xs){
padding: 0 15px;
}
}
.onepicture{
padding: 0;
}
.onetext{
padding:3em;
}
.line{
@media(min-width:1025px){
width: 80%!important;
margin: auto!important;
}
}
.threesection{
padding: 2em 0;
}
2021-10-21 05:27:17 +00:00
.widget-event_news-0.widget-event_news-0-new{
.w-event_news__list{
.card0{
border-top: 0px;
}
.top-block{
position: relative;
float: left;
display: block;
width: 100%;
2021-10-21 06:50:14 +00:00
min-height: 8em;
2021-10-21 05:27:17 +00:00
}
.top-inner-block{
margin-left: 4.5em;
2021-10-21 06:50:14 +00:00
&>h4 {
min-height: 3.2em;
//overflow: hidden;
//text-overflow: ellipsis;
color: #f49a04;
& > a{
color: inherit !important;
}
}
2021-10-21 05:27:17 +00:00
}
.top-inner-info{
2021-10-21 06:50:14 +00:00
//background: #eeecec;
//min-height: 3em;
//padding: 0.3em 0.7em;
}
.bottom-block{
float: left;
padding: 1em 0;
2021-10-21 05:27:17 +00:00
}
.w-event_news__meta{
top: 0px!important;
clear: none;
float: left;
position: absolute;
height: 100%;
.w-event_news__postdate-wrap{
height: 100%;
}
}
}
}
2021-08-30 10:09:12 +00:00
.widget-event_news-0{
.w-event_news__list{
.w-event_news__img-wrap.bullseye{
display: none;
}
.card0{
border-top: 25px solid #72bcad;
}
.w-event_news__meta{
top: -25px!important;
2021-10-08 03:33:17 +00:00
display: inline-block;
}
.w-event_news__category-wrap{
display: block;
2021-08-30 10:09:12 +00:00
}
}
}
//event_news
.w-event_news__widget-title{
text-align: center;
padding-top: 0.7em;
background: url(/assets/titlecap.png) top no-repeat;
background-size: 164px 35px;
background-position-y: -7px;
font-size: 1.2rem;
}
.foursection{
background-color: #e6e7e9;
padding: 1em 0;
.w-event_news__img{
position: relative!important;
}
.w-event_news__list{
padding: 0;
2021-10-13 07:18:10 +00:00
li{
width: 100%;
}
2021-08-30 10:09:12 +00:00
@media (min-width: 480px){
display: flex;
flex-wrap: wrap;
2021-09-16 04:29:20 +00:00
flex-direction: row-reverse;
2021-10-13 07:16:07 +00:00
li{
width: 25%;
}
2021-08-30 10:09:12 +00:00
}
li{
padding: 0.5em;
2021-10-12 09:25:03 +00:00
//flex: 0 0 25%;
2021-08-30 10:09:12 +00:00
position: relative;
@media screen and (min-width:$screen-xs) and (max-width:990px){
2021-10-13 07:13:35 +00:00
//flex: 0 0 50%;
width: 50%;
2021-08-30 10:09:12 +00:00
}
}
.card0{
background-color: #fff;
2021-10-21 06:50:14 +00:00
padding: 0 0em 1em 0.5em;
2021-09-15 13:11:56 +00:00
height: 100%;
2021-08-30 10:09:12 +00:00
}
.w-event_news__meta{
position: relative;
top: -30px;
}
.w-event_news__postdate-wrap{
background-color: #333;
color: #fff;
width: fit-content;
padding: 0.8em;
text-align: center;
.month{
font-size:12px;
}
}
}
}
.w-event_news__img-wrap.bullseye{
overflow: visible!important;
}
//內頁
.inner-page{
padding: 50px 0;
}
.internal-page{
background-color: #fff;
.kenjohn {
flex-wrap:wrap-reverse;
display: flex;
.navbar-header{
display: flex!important;
}
.header-nav{
@media(min-width: 480px){
display: flex!important;
}
}
.layout-header .header-nav a{
text-shadow: none;
}
z-index: 10;
position: fixed!important;
left: 0;
top:2.5em;
background-color: #fff;
margin-top: 0;
min-width: 100%;
opacity: 0.98;
transition: opacity .5s ease-out;
.collapse{
flex: 0 0 62%;
@media screen and (min-width:1025px) and (max-width:1599px){
flex: 0 0 65%;
}
@media(min-width: 1900px){
flex: 0 0 65%;
}
}
@media(min-width: 769px){
.dropdowns{
display: flex;
flex-direction: row-reverse;
}
}
.navbar-header{
@media screen and (min-width:769px) {
height: 78px;
margin-bottom: 1em;
width: 35%;
justify-content: center;
}
@media (min-width: 1900px){
height: 90px;
}
}
.navbar-brand {
margin: 0;
padding-bottom: 0;
line-height: 2.125em;
color: $theme-color-main;
font-size: 0.6em;
font-family: $main-font;
@media (max-width: $screen-sm) {
height: 5em;
display: none;
}
@media (max-width: 480px) {
margin: 0;
}
.default_site_h1{
width:100%!important;
}
.site-logo{
width:100%!important;
}
@media(min-width:1900px){
width: 225px;
margin-top: -12px;
}
@media screen and (min-width:1025px) and (max-width:1899px){
width: 181px;
margin-top: -3px;
}
@media screen and (min-width:769px) and (max-width:1025px){
width: 150px;
margin-top: -5px;
}
@media screen and (min-width:$screen-xs) and (max-width:769px){
width: 146px !important;
}
@media screen and (max-width:$screen-xs){
width: 110px !important;
margin-top: 3px;
}
}
.navbar-brand:nth-child(2){
@media(min-width:1900px){
width: 330px!important;
margin-top: -14px;
}
@media screen and (min-width:1025px) and (max-width:1899px){
width: 261px!important;
margin-top: -5px;
}
@media screen and (min-width:769px) and (max-width:1025px){
width: 200px!important;
}
@media screen and (max-width:768px){
width: 140px!important;
}
}
.modules-menu .modules-menu-level-0 > li > a{
color: #333;
text-shadow: none;
}
.header-nav{
background: #e7e8ea;
padding:0.5em !important;
}
.header-nav a{
text-shadow:none;
color: #333333;
}
.navbar-toggle .icon-bar{
background-color: #333;
}
.navbar-header .navbar-brand{
@media(max-width: 769px){
display: block!important;
}
}
.navbar-toggle{
position: absolute;
right: 0;
}
}
}
@media(max-width:768px){
.pagerow{
display:flex;
flex-wrap: wrap-reverse;
.aside{
width: 100%;
}
.right-column{
width: 100%;
padding: 0;
}
}
}