asiaH1/assets/stylesheets/template/template.scss

168 lines
4.2 KiB
SCSS

@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";
.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%;
}