html{
font-size: 70%;
}
body{
font-size: 1.4rem;
line-height: 1.5;
width: 100%;
color: #212121;
}
body.gray{
background: #f0f2f9;
}
a,input,select,option,textarea{
font-size: 1.4rem;
line-height: 1.5;
}
input{
border: none;
outline: none;
}
header{
background: #4162ff;
padding:0 0.5rem;
}
header{
position: relative;
font-size: 2rem;
color: #fff;
text-align: center;
line-height: 4rem;
font-weight: normal;
}
header .ico-msg{
position: absolute;
top: 1.1rem;
right: 1rem;
width: 1.8rem;
height: 1.8rem;
background: url(../images/ico-msg.png) no-repeat;
background-size: 100%;
}
header .ico-msg.has-msg:before{
position: absolute;
width: .8rem;
height: .8rem;
border-radius: 100%;
right: -0.2rem;
top: 0;
background: #b53d66;
content: '';
}
header .ico-back{
position: absolute;
top: 1.1rem;
left: 1rem;
width: 1.8rem;
height: 1.8rem;
background: url(../images/ico-back.png) no-repeat;
background-size: auto 100%;
}
section .logo{
display: block;
width: 40.6%;
margin:15.3% auto;
}
.layer{
position: fixed;
width: 100%;
left: 0;
top: 0;
bottom: 0;
background: rgba(0,0,0,.6);
display: none;
}
.layer article{
position: absolute;
width: 90%;
left: 50%;
top: 50%;
background: #fff;
-webkit-transform: translate3d(-50%,-50%,0);
box-sizing: border-box;
padding: 2rem;
border-radius: 1rem;
max-height: 90%;
overflow: auto;
}
.layer article h3{
text-align: center;
font-size: 2rem;
margin-bottom: 3rem;
}
.layer article h3 span{
display: block;
color: #8f94a4;
font-weight: normal;
font-size: 1.4rem;
}
.layer article p{
width: 90%;
border-bottom: 1px solid #ddd;
margin-bottom: 2rem;
margin-left: 1.5rem;
}
.layer article input{
width: 100%;
display: block;
line-height: 2rem;
font-size: 1.6rem;
}
.layer article input.inline{
width: 6rem;
display: inline-block;
line-height: 2rem;
font-size: 1.6rem;
}
.layer article input[type="button"]{
color: #fff;
background: #fcaf3b;
border:none;
line-height: 3rem;
margin: 0;
width: 100%;
}
.layer article input[type="checkbox"]{
line-height: 2rem;
width: 2rem;
-webkit-appearance: checkbox;
margin:0;
}
.layer article label.tit{
margin: 1rem 0;
display: inline-block;
line-height: 2;
}
.form-group{
margin-bottom: 1.2rem !important;
overflow: hidden;
width: 100% !important;
border-bottom: none !important;
margin-left: 0 !important;
}
.form-group select,.form-group input,.form-group .input{
width: 40%;
height: 3rem;
/*margin:0 3%;*/
float: left;
border: 1px solid #ddd;
outline: none;
padding: 0 .5rem;
box-sizing: border-box;
line-height: 3rem;
}
.form-group .input{
text-align: center;
}
.form-group select:nth-child(2),.form-group input:nth-child(2){
float: right;
}
.form-group>*{
float: left;
line-height: 3rem;
}
.button{
color: #fff;
background: #fcaf3b;
border:none;
line-height: 3rem;
margin: 2rem auto;
width: 60%;
display: block;
}
h2{
text-align: center;
margin-top: 2rem;
font-size: 1.6rem;
}
.card{
margin:1.2rem 1.2rem 0 1.2rem;
background: #fff;
}
.ico-net,.ico-electric,.ico-temperature,.ico-humidity,.ico-light,.ico-wind,.ico-wind-direction,.ico-rain,.ico-pm25,.ico-setting-gray,.ico-grid,.ico-down,.ico-up,.ico-clock,.ico-ec,.ico-co2,.ico-clock2,.ico-temperature2{
display: inline-block;
width: 2rem;
height: 2rem;
background-size: 100%;
vertical-align: -webkit-baseline-middle;
background-image: url(../images/icons/icons_01.png);
}
.ico-electric{
background-image: url(../images/icons/icons_02.png);
}
.ico-temperature{background-image: url(../images/icons/icons_03.png);}
.ico-humidity{background-image: url(../images/icons/icons_04.png);}
.ico-light{background-image: url(../images/icons/icons_05.png);}
.ico-wind{background-image: url(../images/icons/icons_06.png);}
.ico-wind-direction{background-image: url(../images/icons/icons_07.png);}
.ico-rain{background-image: url(../images/icons/icons_08.png);}
.ico-pm25{background-image: url(../images/icons/icons_09.png);}
.ico-grid{background-image: url(../images/icons/icons_10.png);}
.ico-setting-gray{background-image: url(../images/icons/icons_11.png);}
.ico-down{background-image: url(../images/icons/icons_12.png);}
.ico-up{background-image: url(../images/icons/icons_13.png);}
.ico-clock{background-image: url(../images/icons/icons_20.png);}
.ico-ec{background-image: url(../images/icons/icons_15.png);}
.ico-co2{background-image: url(../images/icons/icons_16.png);}
.ico-clock2{background-image: url(../images/icons/icons_17.png);}
.ico-temperature2{background-image: url(../images/icons/icons_18.png);}
.btn-on-off{
position: relative;
display: inline-block;
width: 4rem;
height: 2rem;
vertical-align: -webkit-baseline-middle;
border: 1px solid #ddd;
border-radius: 2rem;
}
.btn-on-off:before{
position: absolute;
content: "";
width: 2rem;
height: 2rem;
border-right: 1px solid #ddd;
left: 0;
top: 0;
box-sizing: border-box;
border-radius: 2rem;
}
.btn-on-off.on{
background: #4162ff;
border-color: #4162ff;
}
.btn-on-off.yellow{
background: #bababa;
border-color: #bababa;
}
.btn-on-off.yellow:before{
background: #fff;
border-color: #fff;
}
.btn-on-off.on:before{
background: #fff;
border: none;
left: auto;
right: 0;
}
.color-error{
color: #ea2227;
}
.color-success{
color: #30d438;
}
.color-info{
color: #3c77ff;
}
.color-orange{
color: #fcaf3b;
}
.homepage h1{
position: relative;
height: 20rem;
font-size: 2.5rem;
color: #fff;
padding:0 0.5rem;
background: #4162ff;
text-align: center;
font-weight: normal;
}
.homepage h1 span{
position: absolute;
top: 50%;
left: 0;
display: block;
width: 100%;
-webkit-transform:translate3d(0,-50%,0);
}
.homepage .menu-list{
margin:0 0.5rem;
border-left: 1px solid #e7e7e7;
border-bottom: 1px solid #e7e7e7;
}
.homepage .menu-list li{
position: relative;
width: 33.33%;
float: left;
text-align: center;
border-top: 1px solid #e7e7e7;
border-right: 1px solid #e7e7e7;
box-sizing: border-box;
font-size: 1.4rem;
padding-bottom: 2.5rem;
}
.homepage .menu-list li>p{
display: block;
background-repeat:no-repeat;
width: 5.4rem;
height: 5rem;
background-size: contain;
margin:1.5rem auto 1rem;
position: relative;
}
.homepage .menu-list .ico-wenshi{
background-image: url(../images/ico-wenshi.png);
}
.homepage .menu-list .ico-qixiang{
background-image: url(../images/ico-qixiang.png);
}
.homepage .menu-list .ico-guangai{
background-image: url(../images/ico-guangai.png);
}
.homepage .menu-list .ico-shangqing{
background-image: url(../images/ico-shangqing.png);
}
.homepage .menu-list .ico-seting{
background-image: url(../images/ico-seting.png);
}
.homepage .menu-list .ico-wechat{
background-image: url(../images/ico-wechat.png);
}
.homepage .menu-list li>p span{
position: absolute;
right: .7rem;
bottom: 0.2rem;
}
.homepage .menu-list li em{
position: absolute;
right: 0;
bottom: 0;
background: #e8e8e8;
color: #b3b3b3;
line-height: 2rem;
padding:0 .6rem 0 1.1rem;
border-radius: 2rem 0 0 2rem;
}
.homepage .menu-list li em.online{
color: #fff;
background: #ffb43d;
}
.homepage .menu-list .exit{
background: #f0f2f9;
}
.homepage .menu-list .ico-exit{
text-align: center;
line-height: 100%;
color: #212121;
position: absolute;
left: 0;
top:50%;
width: 100%;
line-height: 2rem;
-webkit-transform:translate3d(0,-50%,0);
}
.form{
width: 78.6%;
margin:0 auto;
}
.form .form-item{
border-bottom: 1px solid #bfbfbf;
margin-bottom: 1rem;
}
.form .form-item.no-border{
border:none;
text-align: right;
}
.form .form-item.no-border a{
color: #8f94a4;
/*font-size: 2rem;*/
}
.form .form-item input{
width: 100%;
box-sizing: border-box;
font-size: 1.4rem;
height: 4.23rem;
margin-top: 1rem;
}
.form .form-item input[type="button"]{
background: #fdbf62;
color: #fff;
}
.form .form-item.tips{
text-align: center;
margin-top: 3rem;
}
.form .form-item.tips span{
display: inline-block;
color: #fff;
background: #666;
text-align: center;
padding: 1rem 1.5rem;
margin:0 auto;
border-radius: 5px;
}
.msgs dl{
padding:5% 6.9%;
margin-bottom: 1.2rem;
background: #fff;
}
.msgs dl dt{
color: #999;
margin-bottom: .5rem;
}
.wrapper{
margin-bottom: 1rem;
}
.wrapper .card dl{
overflow: hidden;
padding: 0 1rem;
}
.wrapper .card dl dt,.wrapper .card dl dd{
position: relative;
display: block;
float: left;
box-sizing: border-box;
line-height: 4.2rem;
}
.wrapper .card dl dt i,.wrapper .card dl dt span{
display: inline-block;
margin-right: 5px;
vertical-align: -webkit-baseline-middle;
}
.wrapper .card dl dd>*{
vertical-align: -webkit-baseline-middle;
}
.wrapper .card dl dt{
width: 32%;
overflow: hidden;
white-space: nowrap;
}
.wrapper .card dl dd:nth-child(2){
width: 24%;
text-align: left;
font-size: 1.6rem;
}
.wrapper .card dl dd:nth-child(2) span{
width: 60%;
text-align: center;
display: inline-block;
}
.wrapper .card dl dd:nth-child(2) em{
width: 40%;
font-size: 1.2rem;
color: #797f7f;
/* position: absolute; */
/* right: 0; */
margin-top: .5rem;
line-height: 1.4rem;
display: inline-block;
}
.wrapper .card dl dd:nth-child(2) p{
margin-top: -0.5rem;
}
.wrapper .card dl dd:nth-child(3){
width: 44%;
text-align: right;
}
.wrapper .card dl dd p{
color: #999;
line-height: 2rem;
font-size: 1.4rem;
text-align: center;
}
.wrapper .card dl dd:last-child p{
text-align: right;
}
.wrapper .card dl dd:nth-child(3) a,.wrapper .card dl dd:nth-child(3) .hline{
margin-left: 1rem;
}
.wrapper .card dl dd.w0{
width: 0;
}
.wrapper .card.col2 dl dt{
width: 56%;
}
.wrapper .card.col2 dl dd:nth-child(2){
width: 0;
}
.wrapper .card .hline{
border-left: 1px solid #ddd;
height: 2.5rem;
display: inline-block;
}
.wrapper .card.border dl{
border-bottom: 1px solid #ddd;
padding: 0;
margin:0 1rem;
}
.wrapper .card.border dl:last-child{
border-bottom: none;
}
.wrapper .card h4{
display: inline-block;
background:#4468fc;
line-height: 2rem;
border-radius: 2rem;
color: #fff;
font-weight: normal;
padding: .5rem 1rem;
}
.wrapper .card.w100{
margin: 1.2rem 0 0 0;
padding:1.2rem;
}
.wrapper .card label{
display: block;
line-height: 3rem;
}
.wrapper .card label span{
vertical-align: -webkit-baseline-middle;
}
.video{
position: relative;
}
.video img{
display: block;
}
.video .btn-video{
position: absolute;
left: 50%;
top: 50%;
background: url(../images/ico-play.png) no-repeat;
background-size: 100%;
width: 4rem;
height: 4rem;
-webkit-transform:translate3d(-50%,-50%,0);
}
.intelligent label{
color: #4162ff;
position: relative;
}
.intelligent label a:last-child{
position: absolute;
right: 0;
top: 1rem;
}
.intelligent .card>p{
text-indent: 2rem;
line-height: 2rem;
}
.wechat .ecode{
width: 52%;
display: block;
margin: 20% auto;
border: 1rem solid #fff;
border-radius: 1rem;
}
.wechat p{
color: #4162ff;
text-align: center;
}
.month-day{
border-top: 1px solid #ddd;
border-left: 1px solid #ddd;
overflow: hidden;
}
.month-day li{
float: left;
width: 10%;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
box-sizing: border-box;
text-align: center;
line-height: 2;
}
.month-day li.checked{
color: #fff;
background:#fcaf3b;
}
.month-day.month-time li{
width: 20%;
}
.month-day.month-week li{
float: none;
display: table-cell;
}