home.css 4.29 KB
@font-face {
  font-family: 'DINPro-Medium';   /*字体名称*/
  src: url('../../css/ttf/DINPro-Medium.ttf');       /*字体源文件*/
}

.title-home {
  background:linear-gradient(90deg,rgba(91,127,248,1) 0%,rgba(75,175,239,1) 100%);
}

.panel-area {
  position: relative;
  width:'auto';
  height:216px;
  background:linear-gradient(90deg,rgba(91,127,248,1) 0%,rgba(75,175,239,1) 100%);
}

.device-name {
  text-align: center;
  font-size:14px;
  font-family:PingFang SC;
  font-weight:bold;
  color:rgba(255,255,255,1);
  padding-top: 5px;
}

.device-imei {
  text-align: center;
  font-size:12px;
  font-family:PingFang SC;
  font-weight:500;
  color:rgba(255,255,255,1);
  padding-top: 7.5px;
}

.statusList {
  height: 111px;
  margin-left:  15px;
  margin-right: 15px;
  width: auto;
  margin-top: 17px;
}

.device-state {
  width:64px;
  height:64px;
  border:2px solid rgba(255,255,255,1);
  border-radius:8px;
}

.cur-state-value {
  text-align:center;
  font-size:16px;
  font-family:PingFang SC;
  font-weight:bold;
  color:rgba(255,255,255,1);
  margin-top: 8px;
}

.short-line {
  margin-left: 10px;
  margin-right: 10px;
  background:rgba(255,255,255,1);
  height: 1px;
}

.state-title {
  margin-top: 5.5px;
  font-weight: 500;
  text-align: center;
  font-size:12px;
  font-family:PingFang SC;
  font-weight:500;
  color:rgba(255,255,255,1);
}

.panel-count {
  position: absolute;
  margin-top: 0.5rem;
  left: 4%;
  right: 4%;
  /*margin-left: 15px;
  margin-right: 15px;*/
  /*width: 17.2rem;*/
  height: 64px;
  background:rgba(255,255,255,1);
  box-shadow:0px 0px 16px 0px rgba(55,57,78,0.05);
  border-radius:16px;
}

.device-count {
  font-size:24px;
  font-family:DINPro-Medium;
  font-weight:500;
}

.count-tip {
  font-size:12px;
  font-family:PingFang SC;
  font-weight:400;
  color:rgba(174,184,206,1);
}

.tab-btns {
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 2.8rem;
  height: 160px;
  background:rgba(255,255,255,1);
  box-shadow:0px 0px 16px 0px rgba(55,57,78,0.05);
  border-radius:8px;
}

.tool-infos {
  /*position: absolute;*/
  margin-left: 1.3rem;
  height: 33px;
  width: 33px;
}

.description {
  /*position: absolute;*/
  margin-top: 7px;
  /*margin-left: 17px;*/
  font-size:11.5px;
  font-family:PingFang SC;
  font-weight:500;
  color:rgba(55,57,78,1);
}

.info-title {
  margin-top: 15.5px;
  margin-left: 16.5px;
  font-size:16px;
  font-family:PingFang SC;
  font-weight:bold;
  color:rgba(55,57,78,1);
}

.operation-menu-list {
  margin-top: 14.5px;
  margin-left: 15.5px;
  margin-right: 14.5px;
}

.operation-panel {
  background:rgba(255,255,255,1);
  box-shadow:0px 0px 16px 0px rgba(55,57,78,0.05);
  border-radius:16px;
  height: 90px;
}

.operation-description {
  margin-top: 0.3rem;
  font-size:14px;
  font-family:PingFang SC;
  font-weight:bold;
  color:rgba(55,57,78,1);
}

.operation-btn {
  width: 50px;
  height: 30px;
  background:linear-gradient(90deg,rgba(91,127,248,1) 0%,rgba(75,175,239,1) 100%);
  border-radius:30px;
  font-size:14px;
  font-family:PingFang SC;
  font-weight:500;
  color:rgba(255,255,255,1);
  text-align: center;
  line-height: 30px;
  margin-top: 20px;
}

.operation-btn:active {
    background: #0a8ddf;
}


#demo {
    position: fixed;
    padding: 0.5rem 0.2rem;
    right: 0;
    bottom: 0.75rem;
    background-color: #e0e0e0;
    color: #212121;
    z-index: 999;
}

.header-title {
  margin-left: 15px;
  font-size:16px;
  font-family:PingFang SC;
  font-weight:bold;
  color:rgba(255,255,255,1);
}

.header-title-more {
  font-size:12px;
  font-family:PingFang SC;
  font-weight:500;
  color:rgba(255,255,255,1);
}


.change-device {
  font-size:12px;
  font-family:PingFang SC;
  font-weight:500;
  color:rgba(255,255,255,1);
}

.chart-panel {
  margin-top: 15px;
  margin-left: 15.5px;
  margin-right: 14.5px;
  height: 285.5px;
  background:rgba(255,255,255,1);
  box-shadow:0px 0px 16px 0px rgba(55,57,78,0.05);
  border-radius:8px;
}


.wrap{
    overflow: hidden;
    height: 40px;
}
.cont{
    height: 60px;
    overflow-x: auto;
    overflow-y:hidden ;
    position: relative;
}
.state {
    left: 0px;
    top: 0px;
    position: absolute;
    height: 60px;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
}

.ati{
    display: inline-block;
    float: left;
    font-size: 14px;
    text-decoration: none;
    color: #999;
    padding: 1px 20px;
}