169 lines
3.0 KiB
SCSS
169 lines
3.0 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{
|
||
|
margin: auto;
|
||
|
}
|
||
|
// container setting
|
||
|
.response-container {
|
||
|
position: relative;
|
||
|
margin: auto;
|
||
|
@media (min-width: $screen-xs) {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
@media (min-width: $screen-sm) {
|
||
|
width: 100%;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
@media (min-width: $screen-md) {
|
||
|
width: 95%;
|
||
|
}
|
||
|
|
||
|
@media (min-width: $screen-lg) {
|
||
|
width: 85%;
|
||
|
max-width: 1440px;
|
||
|
}
|
||
|
}
|
||
|
.dropdowns{
|
||
|
@media (min-width: $screen-md) {
|
||
|
margin: auto;
|
||
|
}
|
||
|
}
|
||
|
.header-buttom{
|
||
|
@media (min-width: $screen-md) {
|
||
|
padding: 12px 0;
|
||
|
}
|
||
|
}
|
||
|
.background {
|
||
|
width: 100%;
|
||
|
left: 0;
|
||
|
top: 30px;
|
||
|
z-index: -1;
|
||
|
}
|
||
|
|
||
|
.extra { clear: both; }
|
||
|
|
||
|
//公告頁籤
|
||
|
ul.tab_nav {
|
||
|
list-style-type: none;
|
||
|
padding: 0;
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
justify-content: center;
|
||
|
font-family: $main-font;
|
||
|
|
||
|
li {
|
||
|
position: relative;
|
||
|
padding: 0.5em 1em;
|
||
|
margin: 0.2em;
|
||
|
cursor: pointer;
|
||
|
transition: all 0.5s;
|
||
|
-moz-transition: all 0.5s;
|
||
|
-webkit-transition: all 0.5s;
|
||
|
-o-transition: all 0.5s;
|
||
|
color: #5e5e5e;
|
||
|
background: none;
|
||
|
border-radius: 0;
|
||
|
border: none;
|
||
|
@media(max-width:$screen-xs){
|
||
|
width: 130px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
&:before,
|
||
|
&:after{
|
||
|
content:'';
|
||
|
position:absolute;
|
||
|
top:0;
|
||
|
right:0;
|
||
|
height:2px;
|
||
|
width:0;
|
||
|
background: $theme-color-second;
|
||
|
transition: all 0.3s;
|
||
|
}
|
||
|
&:after{
|
||
|
right:inherit;
|
||
|
top:inherit;
|
||
|
left:0;
|
||
|
bottom:2px;
|
||
|
}
|
||
|
&:hover{
|
||
|
color: $theme-color-second;
|
||
|
background: transparent;
|
||
|
box-shadow:none;
|
||
|
&:after,&:before{
|
||
|
width:100%;
|
||
|
transition: all 0.3s;
|
||
|
}
|
||
|
}
|
||
|
&.active {
|
||
|
color: $theme-color-second;
|
||
|
background: none;
|
||
|
&:before,
|
||
|
&:after{
|
||
|
width:100%;
|
||
|
transition: all 0.3s;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.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%);
|
||
|
}
|
||
|
}
|
||
|
}
|