You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
test/ipad/css/monitor.css

418 lines
8.1 KiB

body,html{
margin:0;
padding:0;
font-size:10px;
}
.monitor{
height: calc(100vh);
display: flex;
flex-direction: column;
overflow: hidden;
background-color: #F2F2F2;
position: relative;
}
.monitor .top{
/* height:20%; */
height: calc(20vh);
width: calc(100% - 2px);
/* border:1px solid red; */
background-color: #fff;
position: relative;
/* padding:20px; */
}
.order{
position: absolute;
bottom: calc(10% + 10px);
display: flex;
/* width: 100%; */
justify-content: space-between;
left: calc(10% + 13px);
right: calc(10% + 13px);
z-index:0;
}
.order .orderItem{
display: flex;
flex-direction: column;
align-items: center;
width: 5%;
/* margin-left:10%; */
}
.order .orderItem span{
margin-bottom: 7px;
font-family: PingFang SC;
font-weight: 500;
font-size: 2.2rem;
color: #222222;
}
#top1 {
display: flex;
flex-wrap: wrap;
height: calc(100% - 20px);
justify-content: space-between;
align-items: center;
padding: 10px;
position: relative;
z-index:2
}
#top1>:first-child{
margin-left:0 !important;
}
#top1 .carInfo{
/* height:calc(50% - 20px); */
/* height: 50%; */
height: calc(50% - 10px);
background: #ECF3F7;
border-radius: 10px;
border: 1px dashed #6271FE;
width:calc(10% - 2px);
margin-left:5%;
/* margin-left:1.25%;
margin-right:1.25%; */
/* width: calc((100% - 2px) / 7); */
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
#top1 .carInfo img{
width: 96%;
height:auto;
margin: 0 auto;
}
#top1 .carInfo span{
position: absolute;
left:50%;
top:50%;
transform: translate(-50%,-50%);
font-family: Microsoft YaHei;
font-weight: 400;
font-size: 1.8rem;
color: #FFFFFF;
text-shadow: 0px 2px 2px rgba(6,13,23,0.5);
z-index:3;
}
#top1 .empty{
/* margin-top:20px; */
/* margin-left:1.25%;
margin-right:1.25%; */
/* width:10%; */
width:calc(10% - 2px);
margin-left:5%;
/* flex: 0 0 14.28%; */
/* height:calc(50% - 20px); */
/* height: 50%; */
/* height: 50px; */
background: #ECF3F7;
border-radius: 10px;
border: 1px dashed #6271FE;
height: calc(50% - 10px);
}
#top1 > :nth-child(8){
margin-left:0 !important;
}
.bottom{
/* flex:1; */
margin-top:20px;
height: calc(80vh - 20px);
display: flex;
}
.bottom .left{
width:18%;
height:100%;
overflow: auto;
background: #FFFFFF;
box-shadow: 3px 0px 10px 0px rgba(6,13,23,0.06);
border-radius: 0px 10px 0px 0px;
flex-shrink: 0;
}
.left .title{
position: relative;
margin-top:20px;
}
.left .title span{
font-family: PingFang SC;
font-weight: bold;
font-size: 1.8rem;
color: #222222;
margin-left:20px;
}
.left .title .flag{
width: 0.8rem;
height: 2rem;
background: #6271FE;
border-radius: 4px;
position: absolute;
left:0;
top:4px;
}
.left .item{
margin-top:29px;
margin-left:14px;
}
.left .item .itemTitle{
font-family: PingFang SC;
font-weight: 500;
font-size: 1.6rem;
color: #222222;
}
.left .item .itemDesc{
font-family: PingFang SC;
font-weight: 500;
font-size: 1.6rem;
color: #6271FE;
margin-top:1.5rem;
}
.left .carInfo{
margin-top:29px;
}
.left .carInfo p{
margin:22px 14px;
font-family: PingFang SC;
font-weight: 500;
font-size: 1.6rem;
color: #666666;
}
/* 右边 */
.bottom .right{
/* width:220px; */
width:18%;
height:100%;
overflow: auto;
background: #FFFFFF;
box-shadow: -3px 0px 10px 0px rgba(6,13,23,0.06);
border-radius: 10px 0px 0px 0px;
/* flex-shrink: 0; */
}
.bottom .right .itemBtn{
padding: 1.4rem 0;
box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2);
border-radius: 10px;
text-align: center;
margin: 1.4rem;
font-family: PingFang SC;
font-weight: bold;
font-size: 1.6rem;
color: #FFFFFF;
}
.blue{
background: #6271FE;
}
.red{
background: #E81A1A;
}
.green{
background: #4BC5D3;
}
/* 中间 */
.bottom .center{
flex:1;
background-color: #fff;
overflow: auto;
margin: 0 1.4rem 1.4rem 1.4rem;
box-shadow: 0px 3px 10px 0px rgba(6,13,23,0.1), 0px 1px 3px 0px #FFFFFF;
}
.center .progressContainer{
display: flex;
align-items: center;
margin-top:8%;
margin-bottom: 8%;
width: 90%;
margin-left:5%;
flex-wrap: wrap;
}
.center .progressContainer>span{
display: inline-block;
width: 100px;
font-family: PingFang SC;
font-weight: 500;
font-size: 1.6rem;
color: #222222;
}
.center .progressContainer .num{
min-width: 137px;
font-family: PingFang SC;
font-weight: bold;
font-size: 1.6rem;
}
.center .progressContainer .num :first-child{
color: #6271FE;
}
#progress-bar-container {
/* width: 100%; */
flex:1;
background-color: #EBECF2;
border: 1px solid #EBECF2;
height: 2rem;
overflow: hidden;
border-radius: 3px;
min-width: 40%;
}
#progress-bar {
width: 0;
height: 100%;
background-color: #6271FE;
transition: width 1s ease-in-out;
border-radius: 3px;
}
.center .content{
display: flex;
justify-content: space-between;
margin:0 8px;
flex-wrap: wrap;
}
.center .content .carItem{
/* flex:1; */
/* margin:0 8px; */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 13%;
min-width: calc(8vw);
}
.center .content .carItem .numContent{
height: 5rem;
}
.center .content .carItem .numContent p{
margin:0;
padding:0;
font-family: PingFang SC;
font-weight: 500;
font-size: 1.4rem;
color: #222222;
}
.center .content .carItem .numContent>:nth-child(2){
margin-top:15px;
}
.center .content .carItem .pic{
margin:1rem 0;
background: #ECF3F7;
border-radius: 10px;
border: 1px dashed #6271FE;
width: 90%;
position: relative;
flex:1;
display: flex;
align-items: center;
}
.center .content .carItem .pic img{
width:100%;
height:auto;
}
.center .content .carItem .pic>span{
position: absolute;
z-index:9;
left:50%;
top:50%;
transform: translate(-50%,-50%);
font-family: Microsoft YaHei;
font-weight: 400;
font-size: 1.6rem;
color: #FFFFFF;
text-shadow: 0px 2px 2px rgba(6,13,23,0.5);
}
.center .content .carItem .temp{
width: 90%;
height: auto;
}
.tempNum{
margin-top:12px;
font-family: PingFang SC;
font-weight: 500;
font-size: 1.6rem;
color: #222222;
}
/* 下发弹窗 */
/* 编辑弹窗 */
.editMask{
position: absolute;
top:0;
left:0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.4);
display: none;
z-index:99;
}
.editDialog{
position: relative;
top:50%;
left:50%;
transform: translate(-50%,-50%);
background: #FFFFFF;
box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2);
border-radius: 10px;
width: 30%;
text-align: center;
}
.editMask .header{
padding:20px 0;
font-family: PingFang SC;
font-weight: bold;
font-size: 2.4rem;
color: #222222;
position: relative;
border-bottom: 1px solid #999;
}
.editMask .header>img{
right:5px;
top:5px;
position: absolute;
}
.editBtn{
padding:30px;
}
.editBtn .getAddr{
background: #6271FE;
box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2);
border-radius: 10px;
font-family: PingFang SC;
font-weight: 500;
font-size: 2.2rem;
color: #FFFFFF;
padding:20px 0;
}
/* 整个滚动条 */
::-webkit-scrollbar {
width: 0.8rem; /* 对于垂直滚动条,设置宽度 */
height: 0.8rem; /* 对于水平滚动条,设置高度 */
}
/* 滚动条轨道 */
::-webkit-scrollbar-track {
background: #f5f5f5; /* 背景颜色 */
}
/* 滚动条的滑块 */
::-webkit-scrollbar-thumb {
background: #6271FE; /* 滑块颜色 */
border-radius: 1rem;
}
/* 滑块hover效果 */
::-webkit-scrollbar-thumb:hover {
background: #555; /* 滑块hover颜色 */
}