207 lines
4.4 KiB
SCSS
207 lines
4.4 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/*";
|
|
|
|
//RWD
|
|
@import "RWD";
|
|
|
|
|
|
.dropdown-toggle:focus {
|
|
// outline: 2px solid #43B5FC;
|
|
outline: transparent;
|
|
}
|
|
|
|
// container setting
|
|
.response-container,.layout-content-box3 {
|
|
position: relative;
|
|
|
|
@media (min-width: $screen-xs) {
|
|
width: 100%;
|
|
}
|
|
|
|
@media (min-width: $screen-sm) {
|
|
width: 100%;
|
|
}
|
|
|
|
@media (min-width: $screen-md) {
|
|
width: 60em;
|
|
}
|
|
|
|
@media (min-width: $screen-lg) {
|
|
width: 70em;
|
|
}
|
|
}
|
|
|
|
.background {
|
|
width: 100%;
|
|
position:fixed;
|
|
left: 0;
|
|
z-index: -1;
|
|
overflow: hidden;
|
|
bottom: 0;
|
|
@media(min-width:768px){
|
|
bottom: 0;
|
|
}
|
|
@media(max-width:$screen-xs){
|
|
|
|
img{
|
|
width: 800px!important;
|
|
max-width: fit-content!important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.extra { clear: both; }
|
|
|
|
//公告頁籤
|
|
ul.tab_nav {
|
|
border-bottom: 1px solid #0000001a;
|
|
list-style-type: none;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
font-family: $main-font;
|
|
|
|
li {
|
|
padding: 0.5em 1em;
|
|
margin:0 0.2em;
|
|
cursor: pointer;
|
|
transition: all 0.5s;
|
|
-moz-transition: all 0.5s;
|
|
-webkit-transition: all 0.5s;
|
|
-o-transition: all 0.5s;
|
|
color: #777;
|
|
border-radius: 0;
|
|
background: linear-gradient(135deg, transparent 15px, #eee 0);
|
|
-pie-background: linear-gradient(135deg, transparent 15px, #eee 0);
|
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
|
font-size: 1em;
|
|
&:hover{
|
|
background: linear-gradient(135deg, transparent 15px, #ddd 0);
|
|
-pie-background: linear-gradient(135deg, transparent 15px, #ddd 0);
|
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
|
-webkit-transition: all 0.3s ease-out;
|
|
-moz-transition: all 0.3s ease-out;
|
|
-ms-transition: all 0.3s ease-out;
|
|
-o-transition: all 0.3s ease-out;
|
|
transition: all 0.3s ease-out;
|
|
}
|
|
&.active {
|
|
background: linear-gradient(135deg, transparent 15px, #ddd 0);
|
|
-pie-background: linear-gradient(135deg, transparent 15px, #ddd 0);
|
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
|
color: #1137af;
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
.noscroll { overflow: hidden; position: fixed; }
|
|
|
|
//覆蓋bootstrap 設定
|
|
.row { margin: 0; }
|
|
.container>.navbar-collapse {
|
|
@media (max-width: 767px) {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
//共用樣式
|
|
.title {
|
|
@extend .unity-title;
|
|
}
|
|
|
|
.superBtn {
|
|
a.btn-primary {
|
|
color: $theme-white;
|
|
border-color: #990000;
|
|
background-color: #990000;
|
|
font-size: 0.8125rem;
|
|
padding: 0.3em 0.5em;
|
|
|
|
&:hover {
|
|
background-color: darken(#990000, 10%);
|
|
border-color: darken(#990000, 10%);
|
|
}
|
|
}
|
|
}
|
|
span.hover-picture {
|
|
display: inline-block;
|
|
position: relative;
|
|
overflow: hidden;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
span.hover-picture-background {
|
|
background: rgba(0,0,0,.65) url("/assets/hover.png") center center no-repeat;
|
|
position: absolute;
|
|
width: 100%;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
display: inline-block;
|
|
transition: all 0.1s ease-in;
|
|
}
|
|
span.hover-picture:hover>span.hover-picture-background {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
span.hover-picture>img {
|
|
transition: all 0.5s ease-in-out;
|
|
}
|
|
span.hover-picture:hover>img {
|
|
transform: scale(1.35);
|
|
}
|
|
.internal-page .layout-content-inner.container>.content{
|
|
margin-top: 3em;
|
|
}
|
|
.internal-page .layout-header .navbar-header .navbar-brand{
|
|
height: auto;
|
|
}
|
|
.layout-content-box3{
|
|
margin: auto;
|
|
h3:before, h4:before{
|
|
margin: 0 15px 0 0;
|
|
border-left: 4px solid rgba(0,0,0,1);
|
|
content: "";
|
|
}
|
|
.layout-content-box:first-child{
|
|
td:first-child span:before {
|
|
content: "/";
|
|
margin-right: 1em;
|
|
}
|
|
}
|
|
}
|
|
#main-content{
|
|
.carousel_images{
|
|
.w-ba-banner__image{
|
|
height: 100%;
|
|
width: auto;
|
|
}
|
|
.w-ba-banner__slide{
|
|
text-align: center;
|
|
max-height: 70vh;
|
|
}
|
|
}
|
|
} |