asiaH1/assets/stylesheets/template/template.scss

226 lines
5.4 KiB
SCSS
Raw Normal View History

2021-04-19 01:56:04 +00:00
@import url("http://fonts.googleapis.com/css?family=Droid+Sans:400,700");
// Base
@import "base/pagination";
@import "base/orbitbar-override";
@import "base/global";
@import "base/accesskey";
@import "base/go_back_top";
// Layout
@import "layout/header";
@import "layout/slide";
@import "layout/content";
@import "layout/footer";
// Modules
@import "modules/*";
// Widget
@import "widget/breadcrumb";
@import "widget/sitemenu";
2021-06-16 07:46:00 +00:00
.black-screen{
position: fixed;
width: 100%;
height: 100%;
opacity: 0;
top: -20000px;
background: rgba(0,0,0,.7);
z-index: 1000;
left: 0;
transition:opacity .3s ,top 0s .3s;
&.active{
opacity: 1;
top:0;
transition:opacity .3s;
.content{
transform:translate(-50%,-50%);
opacity: 1;
top:50%;
left: 50%;
// box-shadow: #dcabff 0px 0px 150px;
transition:opacity 1s .8s,top .5s .7s ;
}
}
.content{
background: #fff;
color:#666;
font-family: '微軟正黑體','sans-serif';
position: absolute;
opacity: 0;
left:-20000px;
top:60%;
transform:translate(-50%,-50%);
transform-origin:center;
width: 90%;
font-weight: bold;
transition:opacity .5s ,top .5s, left 0s .5s;
padding: 2px;
@media (min-width: 768px){
width: 40%;
padding: 30px;
}
@media (max-width: 767px){
padding: 30px 10px;
}
.close-btn{
position: absolute;
right: 0;
top:0;
padding: 5px 10px;
background: $theme-color-main;
color:#fff;
font-size: 18px;
transition:.3s;
&:hover{
background: $theme-color-second;
}
}
}
}
2021-04-19 01:56:04 +00:00
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
background-color: #3d742e;
}
.modules-menu.collapsing {
transform: translateX(100%);
-webkit-transition-timing-function:ease;
-o-transition-timing-function:ease;
transition-timing-function:ease;
-webkit-transition-duration:.35s;
-o-transition-duration:.35s;
transition-duration:.35s;
-webkit-transition-property:transform;
-o-transition-property:transform;
transition-property:transform;
top: 0;
right: 0;
position: absolute;
}
.modules-menu.collapse.in {
transform: translateX(100%);
-webkit-transition-timing-function:ease;
-o-transition-timing-function:ease;
transition-timing-function:ease;
-webkit-transition-duration:.35s;
-o-transition-duration:.35s;
transition-duration:.35s;
-webkit-transition-property:transform;
-o-transition-property:transform;
transition-property:transform;
}
.width-controler { width: 80%; }
@media(max-width:767px) {
.layout-content section[data-pp="1"] .widget-gallery { margin-top: 0; }
.layout-header .collapse.navbar-collapse.modules-menu {
border-bottom: unset;
margin-bottom: 0;
padding: 0;
overflow-y: unset;
transform: translateX(0%);
position: absolute;
top: 0;
width: 80%;
right: 0;
}
.modules-menu .modules-menu-level-0 {
background: #fff;
position: absolute;
display: flex;
flex-wrap: wrap;
flex-direction: column;
text-align: left;
opacity: 0.9;
padding: 2.5em 0;
height: 100vh;
}
.layout-content { padding-top: 1.5em; }
}
@media(max-width:500px) {
.ad-banner-widget-1 .w-ad-banner__caption {
top: unset;
left: unset;
position: relative;
background: #509146;
padding: 0.5em;
h2 {
margin: 0;
}
}
.layout-content .sitemenu-wrap-v .sitemenu-list.level-1 {
display: flex;
flex-wrap: wrap;
background-color: unset;
}
.layout-content .sitemenu-wrap-v .sitemenu-list.level-1 .sitemenu-item.level-1 {
margin: 0.3em;
background-color: #B6B4C1;
border-bottom: unset;
}
.sitemenu-wrap-v .sitemenu-title { display: block; font-family: $main-font; color: #333333;}
.internal-page .layout-content-inner.container > .row {
display: flex;
flex-direction: column;
}
.internal-page .layout-content-box.left-column {
order: 2;
}
.member-data-value-positions > ul, .member-data-value-expertise > ul, .member-data-value-positions > ol, .member-data-value-expertise > ol {
padding: 0 1.2em;
}
.index-member-2 .i-member-pic-wrap {
width: 40%;
float: left;
}
.index-member-2 .i-member-profile-data-wrap {
width: 60%;
float: right;
padding: 0;
}
.index-member-2 .i-member-item-inner {
padding: 0 0.5em;
}
.show-member > .row {
display: flex;
flex-direction: column;
.member-pic {
width: 50%;
margin: 0 auto;
}
.member-data {
width: 100%;
margin-top: 1em;
}
}
.show-member .tab-content {
font-size: 0.82em;
}
}
.fb-share-button.fb_iframe_widget{
float: left;
}
.tw-share-button{
float: left;
}
.line-it-button{
float: left;
}
.fixeBG {
position: fixed;
z-index: 0;
height: auto;
width: 100%;
padding: 0;
}
.layout-content-wrapper {
box-shadow: rgba(0,0,0,.5) 0 0 10px;
background-color: #fff;
margin: auto;
display: relative;
}
.posRelative {
position: relative;
}
.layout-content aside[data-pp="2"] .posRelative .w-annc__postdate-wrap {
display: block;
width: 100%;
}