AsiaHomeB/assets/stylesheets/template/layout/content.scss

660 lines
12 KiB
SCSS
Raw Normal View History

2022-08-21 09:54:49 +00:00
@charset "utf-8";
2021-08-30 10:09:12 +00:00
@import "../initial";
2021-10-13 09:31:58 +00:00
body{
2022-12-07 07:01:29 +00:00
@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-10-13 09:31:58 +00:00
}
2022-08-24 11:14:22 +00:00
.downIcon {
2022-12-07 07:01:29 +00:00
position: absolute;
left: 50%;
bottom: 15%;
//bottom: 10%;
z-index: 2;
color: #fff;
span {
2021-08-30 10:09:12 +00:00
position: absolute;
2022-12-07 07:01:29 +00:00
top: 0;
2021-08-30 10:09:12 +00:00
left: 50%;
2022-12-07 07:01:29 +00:00
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;
}
2022-08-24 11:14:22 +00:00
2022-12-07 07:01:29 +00:00
a:hover span {
width: 60px;
height: 60px;
margin-left: -30px;
top: -7px;
border-width: 4px;
border-color: #facf3d;
}
2021-08-30 10:09:12 +00:00
}
2022-08-24 11:14:22 +00:00
.downIcon a:hover span::after {
2022-12-07 07:01:29 +00:00
width: 21px;
height: 21px;
border-left-width: 4px;
border-bottom-width: 4px;
margin: -14px 0 0 -10px;
border-color: #facf3d;
2022-08-24 11:14:22 +00:00
}
2021-08-30 10:09:12 +00:00
.downIcon a span::after{
2022-12-07 07:01:29 +00:00
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;
2021-08-30 10:09:12 +00:00
}
.downIcon a span::before{
position: absolute;
2022-12-07 07:01:29 +00:00
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;
2021-08-30 10:09:12 +00:00
}
@-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){
2021-11-15 09:50:03 +00:00
//padding-top: 1em;
2021-08-30 10:09:12 +00:00
}
}
.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;
}
}
2022-12-07 07:01:29 +00:00
#onesection{
margin: 0 0.9375em;
}
2021-08-30 10:09:12 +00:00
.bannertwo{
2022-12-07 07:01:29 +00:00
padding: 0;
@media(min-width:1024px){
.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;
2021-08-30 10:09:12 +00:00
}
}
2022-12-07 07:01:29 +00:00
}
@media(min-width:768px){
.ad-overlay{
p{
margin-top: 1em;
2021-08-30 10:09:12 +00:00
}
}
2022-12-07 07:01:29 +00:00
.ba-banner-widget-1 .w-ba-banner__caption{
padding: 3em;
2021-08-30 10:09:12 +00:00
}
2022-12-07 07:01:29 +00:00
}
.button-mid .prev-button{
background: none;
}
.button-mid .next-button{
background: none;
}
2021-08-30 10:09:12 +00:00
}
.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;
2022-08-08 07:25:55 +00:00
font-size: 2em;
2021-08-30 10:09:12 +00:00
font-weight: 900;
text-transform: none;
line-height: 40px;
}
.colorbox{
background-color:#e7e8ea;
2022-08-17 09:56:30 +00:00
padding-top: 1em;
2021-08-30 10:09:12 +00:00
}
.group{
width: 100%;
display: flex;
padding: 2em;
2021-10-15 05:05:42 +00:00
@media(max-width: 1024px){
2022-12-07 07:01:29 +00:00
flex-wrap: wrap;
padding: 0 15px;
2021-08-30 10:09:12 +00:00
}
}
.fontgroup{
width: 100%;
display: flex;
flex-wrap: wrap;
padding: 2em;
@media(max-width: $screen-xs){
2022-12-07 07:01:29 +00:00
flex-wrap: wrap;
2021-08-30 10:09:12 +00:00
}
}
.iconbox{
2021-10-21 14:13:32 +00:00
width: 20% !important;
2021-08-30 10:09:12 +00:00
flex: 1 1 20%;
.fas{
2022-12-07 07:01:29 +00:00
font-size: 2.5em;
color: #abb5b4;
2021-08-30 10:09:12 +00:00
}
.fab{
font-size: 2.5em;
color: #abb5b4;
}
@media(max-width: $screen-xs){
flex: 50%;
2021-10-21 14:13:32 +00:00
width: 50% !important;
2021-08-30 10:09:12 +00:00
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 {
2022-12-07 07:01:29 +00:00
height: 100%;
display: block;
2021-10-15 04:59:24 +00:00
}
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;
2022-08-08 07:25:55 +00:00
font-size: 2em;
2021-08-30 10:09:12 +00:00
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%;
2022-09-02 02:52:53 +00:00
height: auto;
2021-08-30 10:09:12 +00:00
}
}
.layout-content-box3{
2022-12-07 07:01:29 +00:00
@media(min-width: $screen-xs){
top: -9em;
}
2021-08-30 10:09:12 +00:00
}
.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){
2022-12-07 07:01:29 +00:00
background-color: #72bcad;
2021-08-30 10:09:12 +00:00
}
}
.onesection{
color: #fff;
@media(max-width:$screen-xs){
2022-08-17 09:56:30 +00:00
padding:0;
2021-08-30 10:09:12 +00:00
}
}
.onepicture{
padding: 0;
}
.onetext{
padding:3em;
}
.line{
2022-12-07 07:01:29 +00:00
@media(min-width:1025px){
width: 80%!important;
margin: auto!important;
}
2021-08-30 10:09:12 +00:00
}
.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 {
2022-12-07 07:01:29 +00:00
min-height: 3.2em;
//overflow: hidden;
//text-overflow: ellipsis;
color: #f49a04;
& > a{
color: inherit !important;
}
2021-10-21 06:50:14 +00:00
}
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{
2022-12-07 07:01:29 +00:00
display: none;
2021-08-30 10:09:12 +00:00
}
.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-10-21 14:05:22 +00:00
float: left;
2021-10-13 07:18:10 +00:00
}
2021-08-30 10:09:12 +00:00
@media (min-width: 480px){
2022-08-21 09:54:49 +00:00
//display: flex;
//flex-wrap: wrap;
//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-10-21 14:05:22 +00:00
float: left;
width: 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;
}
//內頁
.internal-page{
background-color: #fff;
.kenjohn {
2022-12-07 07:01:29 +00:00
//flex-wrap:wrap-reverse;
display: flex;
flex-direction: column;
.navbar-header{
display: flex!important;
}
.header-nav{
@media(min-width: 480px){
display: flex!important;
}
}
2021-08-30 10:09:12 +00:00
.layout-header .header-nav a{
text-shadow: none;
}
z-index: 10;
position: fixed!important;
left: 0;
2022-03-24 07:51:46 +00:00
//top:2.5em;
2021-08-30 10:09:12 +00:00
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%;
}
2022-12-07 07:01:29 +00:00
@media(min-width: 1900px){
flex: 0 0 65%;
}
2021-08-30 10:09:12 +00:00
}
@media(min-width: 769px){
.dropdowns{
display: flex;
2022-01-21 09:56:51 +00:00
//flex-direction: row-reverse;
2021-08-30 10:09:12 +00:00
}
}
.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;
}
2022-12-07 07:01:29 +00:00
@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;
}
2021-08-30 10:09:12 +00:00
}
2022-12-07 07:01:29 +00:00
.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;
}
2021-08-30 10:09:12 +00:00
}
}
@media(max-width:768px){
.pagerow{
display:flex;
2022-09-02 02:52:53 +00:00
flex-wrap: wrap;
2021-08-30 10:09:12 +00:00
.aside{
width: 100%;
}
.right-column{
width: 100%;
padding: 0;
}
}
}