@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; } // .layout-content{ // .response-container{ // @media (min-width: 769px)and(max-width: 820px) { // width: 768px!important; // } // } // } .internalfullwidth{ @media(min-width: $screen-lg){ transform: translateX(calc(-50vw + 585px)); width: 100vw; } @media(max-width:1199px)and(min-width:768px){ width: 100vw; transform: translateX(-1.95em); } @media(max-width:767px){ width: 100vw; transform: translateX(-0.95em); } } // container setting .response-container { position: relative; margin:auto; @media (max-width: $screen-xs) { width: 100%; } @media (min-width: $screen-sm) { width: 100%; } @media (min-width: $screen-md) { width: 100%; } @media (min-width: $screen-lg) { max-width:1200px; padding: 0; } } .dropdowns{ @media (min-width: $screen-md) { margin: auto; } } .header-buttom{ @media (min-width: $screen-md) { padding: 12px 0; } } .background { width: 100%; left: 0; top: 5px; 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 { list-style: none; 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%); } } } .black-screen-social-window.reactable.right .content-social .social_wrap > div{ background-color: #ffffffc2; } .black-screen-social-window.reactable .content-social .social_wrap span{ padding: 0.5em; } .black-screen-social-window .content-social .social_wrap i{ font-size: 2em; } .black-screen-social-window.reactable .content-social .social_wrap > div{ width: 3.3em; line-height: unset; } .black-screen-social-window.reactable .content-social .social_wrap > div:hover, .black-screen-social-window.reactable .content-social .social_wrap > div.hover-class{ border-radius: 30px 0 0 30px; background: #fff; } .hide_sharer_button{ width: 1.65em; } .black-screen-social-window.reactable .content-social .social_wrap i, .black-screen-social-window.reactable .content-social .social_wrap img{ margin-right: 0.5em; padding-bottom:0; } .black-screen-social-window{ min-width: fit-content; } .table-bordered{ border: 0; } .internal-page{ table{ tr{ @media(max-width:$screen-xs){ display: flex; flex-wrap: wrap; width: 100%; } } td,th{ @media(max-width: $screen-xs){ width:100%; } } } } //td有rwd跳色 #tdstyle1{ tr{ &:nth-child(even){ background-color:#dfdedc; } } tr{ @media(max-width: $screen-xs){ display: flex; flex-wrap: wrap; width: 100%!important; } } td,th{ @media(max-width: $screen-xs){ width:100%!important; } } @media(max-width: $screen-xs){ thead{ display: none; } } } //td有rwd #tdstyle5{ margin-top: 1.5em; tr{ @media(max-width: $screen-xs){ display: flex; flex-wrap: wrap; width: 100%!important; } } td,th{ @media(max-width: $screen-xs){ width:100%!important; } } ul{ padding: 0; } li{ font-weight: bold; background-color:#f2f2f2; margin-bottom: 0.5em; border-radius: 0.5em; list-style: none; padding: 0.5em; text-align: center; position: relative; } .firsttr1{ border-radius: 0 !important; padding-bottom: 1.5em !important; padding-top: 1em!important; margin-bottom: 2em !important; position: relative; text-align: center; font-weight: bold; &:after{ content: '1'; background-color: #fff; position: absolute; padding: 0.1em 1.5em; border-radius: 1em; border: 2px solid #f5c346; color: #333; left: 36%; top: 70%; } &:before{ content: ''; position: absolute; height: 18.5em; left: 50%; top: -105px; width: 2px; background-color: #f5c346; z-index: 0; } } .firsttr2{ border-radius: 0 !important; padding-bottom: 1.5em !important; padding-top: 1em!important; margin-bottom: 2em !important; position: relative; text-align: center; font-weight: bold; &:after{ content: '1'; background-color: #fff; position: absolute; padding: 0.1em 1.5em; border-radius: 1em; border: 2px solid #5a89f5; color: #333; left: 36%; top: 70%; } &:before{ content: ''; position: absolute; height: 16.5em; left: 50%; top:-60px; width: 2px; background-color: #5a89f5; z-index: 0; } } .firsttr3{ border-radius: 0 !important; padding-bottom: 1.5em !important; padding-top: 1em!important; margin-bottom: 2em !important; position: relative; text-align: center; font-weight: bold; &:after{ content: '1'; background-color: #fff; position: absolute; padding: 0.1em 1.5em; border-radius: 1em; border: 2px solid #464063; color: #333; left: 36%; top: 70%; } &:before{ content: ''; position: absolute; height: 15.5em; left: 50%; top: -40px; width: 2px; background-color: #464063; z-index: 0; } } .firsttr4{ border-radius: 0 !important; padding-bottom: 1.5em !important; padding-top: 1em!important; margin-bottom: 2em !important; position: relative; text-align: center; font-weight: bold; &:after{ content: '1'; background-color: #fff; position: absolute; padding: 0.1em 1.5em; border-radius: 1em; border: 2px solid #ed7b77; color: #333; left: 36%; top: 70%; } &:before{ content: ''; position: absolute; height: 16.5em; left: 50%; top:-62px; width: 2px; background-color: #ed7b77; z-index: 0; } } .firsttr5{ border-radius: 0 !important; padding-bottom: 1.5em !important; padding-top: 1em!important; margin-bottom: 2em !important; position: relative; text-align: center; font-weight: bold; &:after{ content: '1'; background-color: #fff; position: absolute; padding: 0.1em 1.5em; border-radius: 1em; border: 2px solid #afaac8; color: #333; left: 36%; top: 70%; } &:before{ content: ''; position: absolute; height: 18.5em; left: 50%; top: -105px; width: 2px; background-color:#afaac8; z-index: 0; } } } //td無rwd #tdstyle2{ table td{ border: 1px solid #ddd!important; @media (max-width: 480px) { width: auto; } } td,th{ @media(max-width: $screen-xs){ width: auto ; } } tr{ display: table-row; } } //td有rwd灰底色 #tdstyle3{ tr{ background: #efefef !important; margin-bottom: 10px; border: 1px solid #ccc; } td{ border-bottom: #cacaca 1px solid !important; } } //td無rwd跳色 #tdstyle4{ table td{ border: 1px solid #ddd!important; @media (max-width: 480px) { width: 100%; text-align: center; } } td,th{ @media(max-width: $screen-xs){ width: 100%; text-align: center; } } tr{ &:nth-child(odd){ background-color:#f2f2f2; } } } // //取消內頁tdrwd可加在內頁編輯 // .internal-page table td{ // border: 1px solid #ddd!important; // @media (max-width: 480px) { // width: auto !important; // } // } // tr{ // display: table-row!important; // } table.dataTable>tbody>tr.child{ padding:0; } #orbit_calendar{ width: 100% !important; } //預約系統 .fc-direction-ltr .fc-daygrid-event .fc-event-time{ white-space: nowrap; } .fc-daygrid-dot-event .fc-event-title{ white-space: nowrap; } .fc .fc-daygrid-event{ margin-top: 4px; } .modal-content{ box-shadow: 0 24px 38px 3px #00000024, 0 9px 46px 8px #0000001f, 0 11px 15px -7px #00000033; border-radius: 8px; border: 0; } .fc .fc-daygrid-day.fc-day-today{ background-color:transparent!important; .fc-daygrid-day-number{ color: #fff; background-color: #858585; border-radius: 0.65em; } } .calendar-modal .event_summary{ font-size: 1.2em; letter-spacing: 1px; } .calendar-modal > .modal-content h3{ font-weight: bold; } .fc .fc-daygrid-event-harness{ font-weight: bold; } .fc .fc-daygrid-day-number{ margin-top: 0.3em; } .table-striped{ a.btn-primary{ margin: 0; } } .form-horizontal .form-group{ margin-right: 0; margin-left: 0; } #calendar{ td{ border: 1px solid #dee2e6; } @media(max-width: $screen-xs){ tr{ display: table-row!important; } } } .w-calendar{ @media(max-width: $screen-xs){ tr{ display: table-row!important; } } } //動畫往上 .hide0{ opacity: 0; -webkit-transform: translateY(15%) translateZ(0); -moz-transform: translateY(15%) translateZ(0); -o-transform: translateY(15%) translateZ(0); -ms-transform: translateY(15%) translateZ(0); transform: translateY(15%) translateZ(0); -webkit-transition: transform 0.8s ease-out, opacity 0.4s ease; -moz-transition: transform 0.8s ease-out, opacity 0.4s ease; -o-transition: transform 0.8s ease-out, opacity 0.4s ease; -ms-transition: transform 0.8s ease-out, opacity 0.4s ease; transition: transform 0.8s ease-out, opacity 0.4s cubic-bezier(0.63, 0.01, 0, 1.02); } .animationvisible{ opacity: 1; -webkit-transform: translateY(0) translateZ(0); -moz-transform: translateY(0) translateZ(0); -o-transform: translateY(0) translateZ(0); -ms-transform: translateY(0) translateZ(0); transform: translateY(0) translateZ(0); } //動畫往右 .hide1{ opacity: 0; transform: translate3d(-120px, 0, 0); -webkit-transition: transform 0.8s ease-out, opacity 0.4s ease; -moz-transition: transform 0.8s ease-out, opacity 0.4s ease; -o-transition: transform 0.8s ease-out, opacity 0.4s ease; -ms-transition: transform 0.8s ease-out, opacity 0.4s ease; transition: transform 0.8s ease-out, opacity 0.4s cubic-bezier(0.63, 0.01, 0, 1.02); } .animationvisible1{ opacity: 1; transform: translateZ(0); } // 動畫往左 .hide2{ opacity: 0; transform: translate3d(120px, 0, 0); -webkit-transition: transform 0.8s ease-out, opacity 0.4s ease; -moz-transition: transform 0.8s ease-out, opacity 0.4s ease; -o-transition: transform 0.8s ease-out, opacity 0.4s ease; -ms-transition: transform 0.8s ease-out, opacity 0.4s ease; transition: transform 0.8s ease-out, opacity 0.4s cubic-bezier(0.63, 0.01, 0, 1.02); } .animationvisible2{ opacity: 1; transform: translatez(0); } // 動畫往下 .hide3{ opacity: 0; transform: translate3d(0, -100px, 0); -webkit-transition: transform 0.8s ease-out, opacity 0.4s ease; -moz-transition: transform 0.8s ease-out, opacity 0.4s ease; -o-transition: transform 0.8s ease-out, opacity 0.4s ease; -ms-transition: transform 0.8s ease-out, opacity 0.4s ease; transition: transform 0.8s ease-out, opacity 0.4s cubic-bezier(0.63, 0.01, 0, 1.02); } .animationvisible3{ opacity: 1; transform: translatez(0); } //動畫選轉 .rotate0{ transform: perspective(2500px) rotateY(-100deg); overflow: hidden; position: relative; } .animationrotate0{ transform: perspective(2500px) rotateY(0); transition-timing-function: ease; transition-duration: 1s; } // 放大 .zoomin{ opacity: 0; transform: scale(.6); -webkit-transition: transform 0.8s ease-out, opacity 0.4s ease; -moz-transition: transform 0.8s ease-out, opacity 0.4s ease; -o-transition: transform 0.8s ease-out, opacity 0.4s ease; -ms-transition: transform 0.8s ease-out, opacity 0.4s ease; transition: transform 0.8s ease-out, opacity 0.4s cubic-bezier(0.63, 0.01, 0, 1.02); } .animationvisible5{ opacity: 1; transform: translatez(0) scale(1); } //研討會 .seminar-index,.survey-index,.application_form-index{ th{ white-space: nowrap; @media(max-width: $screen-xs){ width: 100%; } } } input.search_box{ background: #fff!important; border: 1px solid #bbb!important; color: #333!important; padding: 0.5em !important; margin-right: 0.5em !important; border-radius: 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; } #category_select_box>option{ background: #fff!important; color: #333!important; } .search_widget{ padding-top: 1em; padding-bottom: 1em; } .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%); } 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; 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%; 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; 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; background-color: transparent; border-bottom:1px solid rgba(255,255,255,.5); transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2); } hr{ border-top: 0.0625em solid #333; } .video_tablist li.now_view a{ background-color: #c9c9c9!important; } .video_tablist a{ background-color: #a2a2a2!important; } .modal-backdrop{ z-index: 2; } .video_tablist li.now_view a{ background-color: #c9c9c9!important; } .video_tablist a{ background-color: #a2a2a2!important; }