AsiaH7_2/assets/stylesheets/template/template.scss

155 lines
3.2 KiB
SCSS

@import url("http://fonts.googleapis.com/css?family=Droid+Sans:400,700");
// Base
@import "base/orbitbar-override";
@import "base/sitemap-override";
@import "base/global";
@import "base/unity";
@import "base/utilities";
@import "base/pagination";
@import "base/accesskey";
@import "base/go_back_top";
@import "base/ckeditor-reset";
// Layout
@import "layout/*";
// Modules
@import "modules/*";
// Widget
@import "widget/*";
.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;
}
.close-btn{
position: absolute;
right: 0;
top:-40px;
padding: 5px 10px;
background: $theme-color-main;
color:#fff;
font-size: 18px;
transition:.3s;
@media (min-width: 768px){
top:0;
}
&:hover{
background: $theme-color-second;
}
}
}
}
.content_background {
position: absolute;
width: 100%;
}
.mask {
display: none;
@media (min-width: $screen-sm) {
display: block;
position: absolute;
// margin-top: 185px;
top: 0;
left: 0;
width: 100%;
height: 100%;
content: '';
z-index: 99;
transition: border .7s;
&.active {
left: -10000px;
transition: border .7s,left 0s .7s;
border-left: 0 solid transparent !important;
border-right: 0 solid transparent !important;
border-top: 0 solid transparent !important;
border-bottom: 0 solid transparent !important;
}
}
}
.rightTopBG img {
max-height: 71px;
}
.rightTopBG {
min-width: 100px;
position: absolute;
right: 0;
top: 32px;
z-index: 1;
}
.layout-header .header-nav .header-nav2 {
z-index: 3;
position: relative;
}
@media (max-width: 768px) {
.navbar-header .navbar-brand img {
max-height: 60px;
}
.navbar-header .navbar-brand,
img.site-logo
{
float: none!important;
display: block;
text-align: center;
margin: auto!important;
}
}
img {
width: 100%;
}
.filter_tab {
color: #8ddaad!important;
background: transparent!important;
}
li.filter_tab.active {
background: transparent!important;
font-weight: bold;
color: #dab104!important;
border: 0!important;
}
.nav_tabs_filter {
margin-bottom: 0!important;
}
.w-ba-banner.ba-banner-widget-1.ba-banner-widget-youtube {
min-height: 345px;
}