AsiaV2c/assets/stylesheets/template/template.scss

141 lines
3.5 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: 1100;
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: 1.125em;
transition:.3s;
&:hover{
background: $theme-color-second;
}
}
}
}
.dropdown-toggle:focus {
outline: transparent;
}
.response-content {
position: relative;
padding: 0;
@media (min-width: $screen-sm) {
width: 100%;
}
@media (min-width: $screen-md) {
width: 100%;
}
@media (min-width: $screen-lg) {
width: 1200px;
}
}
@media(max-width: 767px) {
.modules-menu {
width: 100%;
margin: 0 !important;
}
.modules-menu .modules-menu-level-0 {
width: 100%;
}
.layout-header .navbar-header .navbar-toggle { z-index: 9999; }
.navbar-header .navbar-brand,
img.site-logo
{
float: none!important;
display: block;
text-align: center;
margin: auto!important;
}
}
.layout-content-inner {
background-color: #fff;
box-shadow: rgba(0,0,0, .5) 0 0 10px;
min-height: 800px;
}
.page-home h2.w-annc__widget-title {
background-color: $menu-bg;
color: #fff;
padding: 10px 6px;
}
.layout-content-inner.container {
padding: 10px;
}
.box .w-annc,
.box .widget-link {
margin: 20px!important;
}
.box .unity-title, .box .page-module-title, .box .w-annc .w-annc__widget-title, .box .i-annc .i-annc__page-title, .box .i-annc .i-annc__widget-title, .box .s-annc .s-annc__show-title, .box .i-archive .i-archive-title, .box .layout-content .widget-faqs.widget1 .widget-title, .box .index-faqs .index-title, .box .widget-gallery .widget-title, .box .index-gallery .index-title, .box .show-gallery .show-title, .box .i-member .i-member-status-title, .box .index-member-1 .i-member-status-title, .box .index-member-2 .i-member-status-title, .box .index-member-3 .i-member-status-title, .box .index-member-4 .box .i-member-status-title, .box .universal-table-index h3, .box .widget-link .widget-title, .box .index-link .index-title {
color: #ffd800;
}