344 lines
6.6 KiB
SCSS
344 lines
6.6 KiB
SCSS
@import url("https://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
|
|
.internal-page{
|
|
.layout-slide{
|
|
.response-container{
|
|
@media(max-width: 768px){
|
|
padding: 2em 0!important;
|
|
// display: flex;
|
|
// flex-wrap: wrap-reverse;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.response-container{
|
|
@media(min-width:2000px){
|
|
.col-sm-12{
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
@media(min-width: 769px){
|
|
.col-sm-12{
|
|
padding: 0!important;
|
|
}
|
|
}
|
|
}
|
|
.response-container2 {
|
|
@media(max-width: 1900px){
|
|
width: 100%!important;
|
|
}
|
|
overflow: hidden;
|
|
}
|
|
.response-container {
|
|
position: relative;
|
|
margin: auto;
|
|
padding: 0;
|
|
@media (min-width: $screen-xs) {
|
|
width: 100%;
|
|
padding: 0;
|
|
}
|
|
|
|
@media (min-width: $screen-sm) {
|
|
width: 100%;
|
|
}
|
|
@media (min-width: $screen-sm)and(max-width: 1025px) {
|
|
width:90%;
|
|
}
|
|
@media (min-width: 1025px)and(max-width: 1439px) {
|
|
width:1024px;
|
|
}
|
|
@media (min-width: 1440px)and(max-width: 1599px) {
|
|
width:1280px;
|
|
}
|
|
@media (min-width: 1600px) {
|
|
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;
|
|
position: fixed;
|
|
}
|
|
|
|
.extra { clear: both; }
|
|
|
|
//公告頁籤
|
|
ul.tab_nav {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
font-family: $main-font;
|
|
font-size: 16px;
|
|
li {
|
|
margin-bottom: 0.5em;
|
|
font-size: 1.2em;
|
|
cursor: pointer;
|
|
background-color: #fff;
|
|
padding: 0.5em 1em;
|
|
border-radius: 2em;
|
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
|
color: #333;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
width: fit-content;
|
|
margin-right: 1em;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
border: 2px solid #00c0f5;
|
|
position: relative;
|
|
&:hover{
|
|
background-color: #00C0F5;
|
|
color: #fff;
|
|
}
|
|
&.active {
|
|
background-color: #00C0F5;
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
.noscroll { overflow: hidden; position: fixed; }
|
|
|
|
//覆蓋bootstrap 設定
|
|
.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%);
|
|
}
|
|
}
|
|
}
|
|
//內頁搜尋樣式
|
|
input.search_box{
|
|
background: #fff !important;
|
|
border: 1px solid #bbb !important;
|
|
color: #333 !important;
|
|
padding: 0.5em !important;
|
|
margin-right: 0.25em !important;
|
|
border-radius: 0.5em !important;
|
|
margin-left: 0.25em !important;
|
|
@media(max-width:1024px){
|
|
margin-top: 0.5em !important;
|
|
}
|
|
}
|
|
::placeholder {
|
|
color: #333!important;
|
|
}
|
|
#category_select_box{
|
|
border-radius: 0.5em!important;
|
|
background: #fff!important;
|
|
color: #333!important;
|
|
margin-right: 0.5em!important;
|
|
display: none;
|
|
@media(max-width:1024px){
|
|
margin-left: 0.25em !important;
|
|
margin-top: 0.5em !important;
|
|
}
|
|
}
|
|
#category_select_box>option{
|
|
background: #fff!important;
|
|
color: #333!important;
|
|
}
|
|
.search_widget{
|
|
padding-top: 1em;
|
|
padding-bottom: 1em;
|
|
font-size: 1em !important;
|
|
}
|
|
.ui-datepicker-calendar{
|
|
tr{
|
|
flex-wrap:unset!important;
|
|
}
|
|
th{
|
|
width: auto!important;
|
|
}
|
|
}
|
|
.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all{
|
|
background: #000000;
|
|
border-color: #000000;
|
|
color: #fff!important;
|
|
}
|
|
.ui-widget-header a{
|
|
color: #fff!important;
|
|
}
|
|
.ui-widget-header .ui-icon{
|
|
filter: brightness(500%);
|
|
}
|
|
.ui-state-active{
|
|
color: #333!important;
|
|
}
|
|
a.ui-state-default{
|
|
background: #fff!important;
|
|
border:0!important;
|
|
text-align: center!important;
|
|
&:hover{
|
|
background: silver!important;
|
|
}
|
|
}
|
|
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight{
|
|
border: 0!important;
|
|
background: silver!important;
|
|
}
|
|
|
|
.aligncenter{
|
|
display: flex;
|
|
align-items: center;
|
|
@media(max-width:$screen-xs){
|
|
justify-content: flex-start!important;
|
|
}
|
|
}
|
|
.flexwrap{
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
.flexreverse{
|
|
@media(max-width: 768px){
|
|
display: flex;
|
|
flex-wrap: wrap-reverse!important;
|
|
}
|
|
}
|
|
//search
|
|
.search-box{
|
|
width: fit-content;
|
|
height: fit-content;
|
|
position: relative;
|
|
}
|
|
.input-search{
|
|
height: 50px;
|
|
width: 50px;
|
|
border-style: none;
|
|
padding: 10px;
|
|
font-size: 18px;
|
|
letter-spacing: 2px;
|
|
outline: none;
|
|
border-radius: 25px;
|
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
|
transition: all .5s ease-in-out;
|
|
background:none;
|
|
padding-right: 40px;
|
|
color:#fff;
|
|
z-index: 100;
|
|
position: relative;
|
|
@media(max-width:768px){
|
|
color:#333!important ;
|
|
height: 30px;
|
|
}
|
|
}
|
|
.input-search::placeholder{
|
|
font-size: 18px;
|
|
letter-spacing: 2px;
|
|
font-weight: 100;
|
|
@media(min-width:769px){
|
|
color:#fff!important;
|
|
}
|
|
@media(max-width:768px){
|
|
color:#333!important ;
|
|
}
|
|
}
|
|
.btn-search{
|
|
width: 50px;
|
|
height: 50px;
|
|
border-style: none;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
outline: none;
|
|
cursor: pointer;
|
|
border-radius: 50%;
|
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
|
position: absolute;
|
|
right: 0px;
|
|
color:#ffffff ;
|
|
background-color:transparent;
|
|
pointer-events: painted;
|
|
@media(max-width:768px){
|
|
color:#333 ;
|
|
width: 70px;
|
|
height: 30px;
|
|
}
|
|
}
|
|
.btn-search:focus ~ .input-search{
|
|
width: 200px;
|
|
border-radius: 0px;
|
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
|
background-color: transparent;
|
|
border-bottom:1px solid rgba(255,255,255,.5);
|
|
transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
|
|
}
|
|
.displayflex{
|
|
@media(min-width: $screen-xs){
|
|
display: flex;
|
|
}
|
|
}
|
|
.input-search:focus{
|
|
width: 200px;
|
|
border-radius: 0px;
|
|
behavior: url("/assets/ie_support/PIE2/PIE.htc");
|
|
background-color: transparent;
|
|
border-bottom:1px solid rgba(255,255,255,.5);
|
|
transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
|
|
} |