180 lines
3.8 KiB
SCSS
180 lines
3.8 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 {
|
||
|
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-table;
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
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;
|
||
|
}
|