proj-iott/assets/stylesheets/template/layout/content.scss

999 lines
22 KiB
SCSS
Executable File

@charset "utf-8";
@import "../initial";
.i-publication{
display: none;
}
.index-publications-3{
.i-annc__content-wrap{
height: 6em;
}
}
.index-publications-3{
.i-annc__img-wrap{
height: 20em;
overflow: hidden;
}
}
.layout-content {
min-height: 37.5em;
z-index: 100;
position: relative;
.container {
@extend .response-container;
}
}
.contentwrap{
position: relative;
width: 100%;
background:#ededed;
margin-top: 3.5em;
}
//Animationblock 動畫
// outline: 1px solid blue;
.roadblock {
background-image: url(/assets/road.png);
background-repeat: repeat;
background-position: center bottom;
height: 83px;
width: 100%;
position: relative;
overflow: hidden;
}
//car_no01
.car_no01 {
animation-name: car_no01;
animation-iteration-count: infinite;
animation-duration: 15s;
animation-timing-function: linear;
@keyframes car_no01 {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(-1308px);
}
}
.car01 {
animation-name: car01;
animation-iteration-count: infinite;
animation-duration: .4s;
animation-timing-function: step-start;
width: 108px;
height: 48px;
position: absolute;
top: 15px;
right: -108px;
background-image: url(/assets/car01_03.png);
}
@keyframes car01 {
0% {
background-position: 0 0;
}
50% {
background-position: 108px 0;
}
100% {
background-position: 216px 0;
}
}
}
//car_no02
.car_no02 {
animation-name: car_no02;
animation-iteration-count: infinite;
animation-duration: 20s;
animation-timing-function: linear;
animation-delay: 3s;
@keyframes car_no02 {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(-1331px);
}
}
.car02 {
animation-name: car02;
animation-iteration-count: infinite;
animation-duration: .6s;
animation-timing-function: step-start;
width: 131px;
height: 66px;
position: absolute;
top: 0px;
right: -131px;
background-image: url(/assets/car02_03.png);
}
@keyframes car02 {
0% {
background-position: 0 0;
}
50% {
background-position: 131px 0;
}
100% {
background-position: 262px 0;
}
}
}
//car_no03
.car_no03 {
animation-name: car_no03;
animation-iteration-count: infinite;
animation-duration: 20s;
animation-timing-function: linear;
animation-delay: -2s;
@keyframes car_no03 {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(1348px);
}
}
.car03 {
animation-name: car03;
animation-iteration-count: infinite;
animation-duration: .7s;
animation-timing-function: step-start;
width: 148px;
height: 70px;
position: absolute;
top: 7px;
left: -148px;
background-image: url(/assets/car03_03.png);
}
@keyframes car03 {
0% {
background-position: 0 0;
}
50% {
background-position: 148px 0;
}
100% {
background-position: 296px 0;
}
}
}
//car_no04
.car_no04 {
animation-name: car_no04;
animation-iteration-count: infinite;
animation-duration: 15s;
animation-timing-function: linear;
animation-delay: 5s;
@keyframes car_no04 {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(1324px);
}
}
.car04 {
animation-name: car04;
animation-iteration-count: infinite;
animation-duration: .4s;
animation-timing-function: step-start;
width: 124px;
height: 70px;
position: absolute;
top: 10px;
left: -124px;
background-image: url(/assets/car04_03.png);
}
@keyframes car04 {
0% {
background-position: 0 0;
}
50% {
background-position: 124px 0;
}
100% {
background-position: 248px 0;
}
}
}
//motorcycle_no01
.motorcycle_no01 {
animation-name: motorcycle_no01;
animation-iteration-count: infinite;
animation-duration: 30s;
animation-timing-function: linear;
animation-delay: -2s;
@keyframes motorcycle_no01 {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(1260px);
}
}
.motorcycle01 {
animation-name: motorcycle01;
animation-iteration-count: infinite;
animation-duration: .6s;
animation-timing-function: step-start;
width: 60px;
height: 50px;
position: absolute;
top: 32px;
left: -60px;
background-image: url(/assets/car05_03.png);
}
@keyframes motorcycle01 {
0% {
background-position: 0 0;
}
50% {
background-position: 60px 0;
}
100% {
background-position: 120px 0;
}
}
}
//motorcycle_no02
.motorcycle_no02 {
animation-name: motorcycle_no02;
animation-iteration-count: infinite;
animation-duration: 40s;
animation-timing-function: linear;
animation-delay: -5s;
@keyframes motorcycle_no02 {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(-1260px);
}
}
.motorcycle02 {
animation-name: motorcycle02;
animation-iteration-count: infinite;
animation-duration: .8s;
animation-timing-function: step-start;
width: 60px;
height: 50px;
position: absolute;
top: 12px;
right: -60px;
background-image: url(/assets/car07_03.png);
}
@keyframes motorcycle02 {
0% {
background-position: 0 0;
}
50% {
background-position: 60px 0;
}
100% {
background-position: 120px 0;
}
}
}
//bicycle_no01
.bicycle_no01 {
animation-name: bicycle_no01;
animation-iteration-count: infinite;
animation-duration: 50s;
animation-timing-function: linear;
animation-delay: 6s;
@keyframes bicycle_no01 {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(1260px);
}
}
.bicycle01 {
animation-name: bicycle01;
animation-iteration-count: infinite;
animation-duration: .4s;
animation-timing-function: step-start;
width: 60px;
height: 50px;
position: absolute;
top: 32px;
left: -60px;
background-image: url(/assets/car06_03.png);
}
@keyframes bicycle01 {
0% {
background-position: 0 0;
}
50% {
background-position: 60px 0;
}
100% {
background-position: 120px 0;
}
}
}
.new{
.w-annc__entry-title{
width: 100%!important;
}
.w-annc__item{
border-bottom: 1px solid #c2c2c2;
}
.w-annc__widget-title{
width: 100%!important;
span{
padding-left: 30px;
}
}
.w-annc__widget-title:before{
content:'';
background: url(/assets/news_icon01.png) no-repeat;
background-size:contain;
position: absolute;
height: 25px;
width: 25px;
display: flex;
align-items: center;
}
.w-annc__postdate-wrap{
padding-left: 1.25em;
width: 100%!important;
}
.widget-announcement-11 .w-annc__item{
padding-top: 0.5em;
padding-bottom: 0.5em;
}
}
html[lang="zh_tw"]{
.newtext{
.w-annc {
@media(min-width: 768px){
display: flex;
flex-wrap: wrap;
.w-annc__widget-title{
width: 50%;
}
.w-annc__list{
width: 50%;
}
.w-annc__more-wrap{
width: 100%;
}
}
}
}
}
.newtext{
.entabContent{
li{
margin: 0;
padding: 12px 0 13px 20px;
line-height: 1.6;
border-bottom: 1px #94dfee solid;
text-align: left;
background-image: url(/assets/plan_icon02.png);
background-repeat: no-repeat;
background-position: 4px 17px;
a{
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 83%;
float: left;
color: #fff;
@media(max-width:768px){
width: 100%;
}
}
.time{
display: inline-block;
margin: 0 0 0 1em;
text-align: right;
color: #d5f8ff;
}
}
}
.Informationblock{
height: 45px;
width: 291px;
text-align: center;
color: #fff;
background-image: url(/assets/information_titlebg.png);
background-repeat: no-repeat;
background-position: center bottom;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0px 0 35px -145px;
padding-top: 12px;
font-size: 1.188em;
position: absolute;
top: -21px;
left: 50%;
}
.more{
margin: 0 auto;
width: 200px;
a{
display: inline-block;
background-color: #3593a6;
color: #fff;
padding: 5px;
width: 100%;
font-weight: bolder;
&:hover{
background-color: #2e7e8f;
}
}
}
.tab-content{
ul{
padding: 0;
}
a{
color: #fff!important;
&:hover{
color: #14324f !important;
}
}
}
.entab{
padding: 58px 0 0;
li{
@media(min-width: 769px){
width: 24% !important;
}
border-bottom:none!important;
display: block;
padding: 16px 0 14px;
text-align: center!important;
background-color: #3593a6;
margin: 0 2px!important;
background-image: none!important;
overflow: visible!important;
a{
color: #fff!important;
}
&:hover{
background-color: #14324f!important;
a{
color: #fff!important;
}
}
&:before{
display: none;
}
&.active{
background-color: #14324f!important;
color: #fff!important;
a:before{
content: '';
border: 8px solid #14324f!important;
border-color: #14324f transparent transparent transparent!important;
position: absolute!important;
bottom: -15px!important;
left: 45%!important;
}
a{
color: #fff;
}
&:before{
content: '';
border: 8px solid #14324f;
border-color: #14324f transparent transparent transparent;
position: absolute;
bottom: -15px;
left: 45%;
}
}
}
.w-annc__entry-title{
&:before{
display: none;
}
}
}
.w-annc__entry-title{
width: 100%;
}
.w-annc__list{
.w-annc__entry-title{
&:before{
content: '';
width: 5px;
height: 5px;
border-radius: 50%;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
position: absolute;
left: 4px;
top: 6px;
background-color: #fff;
}
}
}
.w-annc__postdate-wrap{
display: none;
}
padding-bottom: 2em;
.w-annc__item{
margin-bottom: 0.8em;
padding-top: 1em;
padding-right: 0.8em;
margin-left:0;
border-bottom: 1px #cccccc80 dotted!important;
top: 0!important;
position: relative!important;
padding: 1em 0;
left: 0!important;
}
.w-annc__widget-title{
margin: 0;
}
.plan{
padding: 15px 30px 10px 30px;
margin: -20px 0 0 -15px;
font-size: 1.875em;
height: 68px;
width: 385px;
text-align: left;
background-image: url(/assets/plan_h2bg.png);
background-position: right top;
background-repeat: no-repeat;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
@media(max-width: $screen-xs){
background: #14324f;
width: 100%;
margin: 0;
}
span{
color: #fff;
display: block;
background-image: url(/assets/plan_icon03.png);
background-position: right center;
background-repeat: no-repeat;
}
}
background-color: #55bbd0;
color: #fff;
.w-annc {
.w-annc__more-wrap{
padding-top: 1em;
}
.w-annc__list{
color: #fff;
background-color: #14324f;
height: fit-content!important;
padding: 0 1em;
a{
color: #fff;
}
}
}
ul.tab_nav {
li {
position: relative;
width: 100%;
border-radius: 0;
padding: 0.5em 1em;
margin: 0;
cursor: pointer;
transition: all 0.5s;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
-o-transition: all 0.5s;
display: block;
padding: 15px 25px 16px 30px;
text-align: left;
color: #fff;
background-image: url(/assets/plan_icon02.png);
background-repeat: no-repeat;
background-position: 10px 17px;
text-decoration: none;
border-bottom: 1px solid #94dfee;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
&.active{
color: #14324f;
background-image: url(/assets/plan_icon01.png);
background-repeat: no-repeat;
background-position: 10px 22px;
&:before{
content: '';
border: 21px solid #14324f;
border-color: transparent #14324f transparent transparent;
position: absolute;
right: 0;
top: 0;
}
}
&:hover {
background-color: #fff;
color: #14324f;
background-image: url(/assets/plan_icon01.png);
background-repeat: no-repeat;
background-position: 10px 22px;
}
}
}
ul.tab_nav li.active{
background-color: #fff;
&:before{
content: '';
border: 21px solid #14324f;
border-color: transparent #14324f transparent transparent;
position: absolute;
right: 0;
top: 0;
}
}
}
.linkdata{
padding: 0;
}
.zero{
padding: 0;
margin-top: 1.5em;
}
.Aboutusblock h2{
margin: 25px 0 20px 0;
padding: 0 0 0 35px;
text-align: center;
font-weight: 800;
font-size: 1.5em;
display: inline-block;
background-repeat: no-repeat;
background-position: 0 0;
position: relative;
z-index: 99;
color: #14324f;
}
.Aboutusblock{
margin: auto;
.unity-title{
text-align: center;
&:before{
content: '';
position: absolute;
border: 90px solid #d6d6d6;
border-color: #d6d6d6 transparent transparent transparent;
z-index: -1;
}
}
background-color: #ededed;
height: 505px;
padding: 0px 35px 30px;
position: relative;
z-index: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
.movie{
position: relative;
margin-bottom: 20px;
z-index: 9;
position: relative;
overflow: hidden;
background: #DEDEDE;
iframe{
width: 100%;
}
}
h3{
font-size: 1.063em;
margin: 5px 0 10px;
}
p{
font-size: 0.875em;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
line-height: 23px;
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
text-align: left;
margin-bottom: 20px;
}
.more{
margin: 0 auto;
width: 200px;
a{
display: inline-block;
border: 1px solid #14324f;
color: #14324f;
padding: 5px;
width: 100%;
font-weight: bolder;
&:hover{
background-color: #14324f;
color: #fff;
}
}
}
}
table th {
background-color: #858585;
color: #fff;
border-bottom: #cacaca 1px solid;
white-space: nowrap;
}
table tr:nth-child(even){
background: #efefef;
}
table tr:hover{
background-color: #ffc;
}
@media(max-width: $screen-xs){
body[data-module="page_content"] [data-content="true"] table{
border: none!important;
}
.cp table tr{
background: #efefef!important;
margin-bottom: 10px;
border: 1px solid #ccc;
}
table td{
border: none !important;
border-bottom: #cacaca 1px solid !important;
position: relative;
// padding-left: 35% !important;
white-space: normal;
text-align: left;
}
table td:before{
content: attr(data-title);
position: absolute;
top: 0.5em;
left: 0.5em;
width: 30%;
padding-right: 10px;
white-space: nowrap;
text-align: left;
font-weight: bold;
color: #000;
}
.cp table th{
display:none!important;
}
.cp table thead, .cp table tbody, .cp table th, .cp table td, .cp table tr{
display: block;
}
}
.internal-page{
.internal-page-banner{
@media(max-width: $screen-xs){
.w-ba-banner__wrap{
height: 13vh;
}
.banner-responsive{
height: 13vh;
width: auto;
max-width: fit-content;
}
}
}
}
.quickLink {
float: right;
padding-top: 1em;
li{
display: inline-block;
margin-left: 15px;
.back{
background-image: url(/assets/quickLink_back.png);
}
a{
display: block;
padding-left: 20px;
background-repeat: no-repeat;
background-position: 0 4px;
}
}
}
.cp .info{
line-height: 1.5em;
list-style: none;
margin: 0 0 1em 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding: 0.6em 1em;
background: #F2F2F2;
text-align: right;
@media(max-width: 767px){
text-align: left;
li{
margin:0!important;
}
}
li{
margin: 0 0 0px 20px;
padding: 0;
display: inline-block;
vertical-align: top;
}
}
.leftrwd{
margin-top: -3.7em;
}
.ask-question-form{
padding: 0!important;
}
.ask-question .form-horizontal .control-label{
text-align: left!important;
}
.ask-question .form-horizontal .control-group .controls{
@media(min-width: 768px){
max-width: 75%!important;
}
}
.ask-question .control-group{
@media(max-width: 768px){
justify-content: flex-start!important;
}
}
.btn-primary{
background-color: #21BAFF!important;
border-color: #21BAFF!important;
&:hover{
opacity: .8;
}
}
.ui-button{
background: #21BAFF!important;
border-color: #21BAFF!important;
border-radius: 0.25em;
color: #fff;
&:hover{
opacity: .8;
}
}
.ask-question-form .control-group{
border-bottom: 1px solid #DDD;
overflow: hidden;
}
.ask-question .form-horizontal input[type="text"], .ask-question .form-horizontal select{
width: 100%!important;
}
.ask-question-form textarea{
width: 100%!important;
}
.ask-question-form{
background-color: #fff!important;
}
.view_info{
display: none;
@media(max-width: 768px){
float: none!important;
}
}
.video_snapshot{
@media(max-width: 768px){
width: 100%!important;
}
}
.index-publications-2{
}
.universal-th-text{
color: #fff;
}
.pagegap{
@media(min-width: 769px){
margin-left: 25%;
}
}