@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"; .black-screen{ position: fixed; width: 100%; height: 100%; opacity: 0; top: -20000px; background: rgba(0,0,0,.7); z-index: 1100; left: 0; transition:opacity .3s ,top 0s .3s; &.active{ opacity: 1; top:0; transition:opacity .3s; .content{ transform:translate(-50%,-50%); opacity: 1; top:50%; left: 50%; // box-shadow: #dcabff 0px 0px 150px; transition:opacity 1s .8s,top .5s .7s ; } } .content{ background: #fff; color:#666; font-family: '微軟正黑體','sans-serif'; position: absolute; opacity: 0; left:-20000px; top:60%; transform:translate(-50%,-50%); transform-origin:center; width: 90%; font-weight: bold; transition:opacity .5s ,top .5s, left 0s .5s; padding: 2px; @media (min-width: 768px){ width: 40%; padding: 30px; } @media (max-width: 767px){ padding: 30px 10px; } .close-btn{ position: absolute; right: 0; top:0; padding: 5px 10px; background: $theme-color-main; color:#fff; font-size: 18px; transition:.3s; &:hover{ background: $theme-color-second; } } } } .underMenu li { white-space: unset; } .dropdown-toggle:focus { // outline: 2px solid #43B5FC; outline: transparent; } // container setting .response-container { position: relative; @media (min-width: $screen-sm) { width: 100%; } @media (min-width: $screen-md) { width: 60.625em; } @media (min-width: $screen-lg) { width: 75em; } } .background { width: 100%; position: absolute; left: 0; top: 30px; z-index: -1; } .extra { clear: both; } //公告頁籤 ul.tab_nav { list-style-type: none; padding: 0 0 0 .5em; display: flex; flex-wrap: wrap; font-family: $main-font; li { padding: 0.5em 1em; background: $theme-color-green; 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: #fff; &.active { background: #19524b; } } } .w-annc.widget-announcement-8.tab_content { padding: 0 .5em; } .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%); } } } .layout-slide.no-print.single-child-datapp, .max1200 { float: none; clear: both; margin: auto; max-width:1200px; width: auto; } @media (max-width: 480px) { .navbar-header .navbar-brand, img.site-logo { float: none!important; display: block; text-align: center; margin: auto!important; } } .underMenu { clear: both; } .underMenu a.widget-content-title { white-space: normal; line-height: 1.5; } .underMenu .widget-link span { display: block; } .underMenu .widget-link span span { display: inline-block; } @media (max-width: 767px) { .underMenu a:link, .underMenu a:visited, .underMenu .widget-link .widget-title { color: #fff!important; } } @media (min-width: 768px) { .underMenu { width: 200px; } } .cycle-slideshow.widget-content a { border: 1px solid #fff; padding: 5px!important; background: #000; } .cycle-slideshow.widget-content { overflow: hidden; width: calc(100% - 20px); margin: 0 auto; } .widget-announcement-5 .w-annc__list.row, .widget-announcement-6 h3, .widget-announcement-6 ul, .widget-announcement-8 .table, .widget-announcement-10 .table { margin: 1em!important; } .widget-announcement-6 h3, .widget-announcement-6 ul, .widget-announcement-8 .table, .widget-announcement-10 .table { width: calc(100% - 2em)!important; }