.main-box { display: flex; flex-direction: column; padding: 10px 20px; overflow: hidden; height: 100%; .box-first { display: flex; flex-direction: row; .machine { width: 400px; text-align: center; img{ width: 343px; height: 236px; } } .machine-right { flex: 1; display: flex; flex-direction: column; // background: #111827; height: 100%; padding-bottom: 20px; .machine-bottom { margin-top: 10px; ul { display: flex; list-style-type: none; padding: 0; margin: 0; justify-content: space-between; span { color: #82879d; font-size: 18px; font-weight: 600; } li { display: flex; flex-direction: column; margin-right: 20px; background: #1E1F25; height: 150px; } li:first-child { width: 38%; .status { display: flex; margin-top: 10px; justify-content: space-around; .status-list { display: flex; flex-direction: column; // .robot_img { // width: 58px; // height: 49px; // } .staus-info { display: flex; margin-top: 10px; justify-content: space-between; width: 58px; .infoimg { width: 17px; height: 17px; background-image: url("./assets/default.png"); } .infotext { font-size: 16px; font-weight: 500; color: #636c97; } .active { color: white; font-weight: 400; } } } } } li:nth-child(2) { width: 15%; .signal-status { display: flex; margin-top: 15px; margin-left: 25px; .signal-status-list { display: flex; flex-direction: column; padding-right: 30px; white-space: nowrap; .signal-icon { position: relative; img:first-child { width: 58px; height: 49px; } img:last-child { position: absolute; right: 8px; bottom: 0; width: 18px; height: 18px; } } .signal-text { margin-top: 10px; font-size: 16px; font-weight: 500; color: #636c97; } } } } li:nth-child(3) { width: 25%; } .speed { // display: flex; color: #596189; font-size: 16px; font-weight: 600; width: 100%; margin-top: 23px; padding-left: 20px; // justify-content: space-between; .p { width: 199px; display: inline-block; height: 40px; font { color: white; max-width: 60%; display: inline-block; overflow: hidden; position: relative; top: 5px; white-space: nowrap; text-overflow: ellipsis; } em { font-style: normal; color: #323858; font-size: 14px; } } } li:last-child { width: 25%; margin-right: 0px; .times { color: #596189; font-size: 16px; font-weight: 600; margin-top: 28px; font { color: white; font-size: 14px; max-width: 60%; display: inline-block; overflow: hidden; position: relative; top: 5px; white-space: nowrap; text-overflow: ellipsis; } } .times:last-child { margin-top: 20px; } } } } } } .box-second{ display: flex; flex-direction: column; background-color: #1E1F25; .storage-bottom { display: flex; padding: 20px; min-height: 680px; height: calc(100vh - 350px); @media screen and(max-height:864px) and (max-width: 1152px) and (min-width:1024px) { height: calc(100vh - 410px); } .storagebox{ width: 100%; display: flex; height: 100%; :last-child{ margin-right: 0; } } } .storage-page{ text-align: right; color: #fff; padding-right: 30px; font-size: 13px; padding-bottom: 10px; position: absolute; right: 20px; margin-top: 12px; span{ padding: 0 6px; } a{ margin-right: 10px; } a.active{ color: #1890ff; border: #1890ff solid 1px; background-color: #111827; padding:0 4px; text-align: center; } } } } @media screen and(max-width:1800px) and(min-width:1400px) { .main-box .box-first .machine-right .machine-bottom ul li:first-child { width: 625px } .main-box .box-first .machine-right .machine-bottom ul li:first-child .status .status-list img { width: 45px; height: 45px; } .main-box .box-first .machine-right .machine-bottom ul li:first-child .status .status-list .staus-info .infoimg { width: 25px; background-repeat: no-repeat; height: 25px; margin-top: -3px; img { width: 20px; height: 20px; } } .main-box .box-first .machine-right .machine-bottom ul li:first-child .status .status-list .staus-info { width: 0.775rem; } .main-box .box-first .machine-right .machine-bottom ul li:nth-child(2) .signal-status .signal-status-list { padding-right: 30px; } } @media screen and(max-width:1400px) and(min-width:1279px) { .main-box .box-first .machine-right .machine-bottom ul li:first-child { width: 605px } .main-box .box-first .machine-right .machine-bottom ul li:first-child .status .status-list .staus-info { width: 0.775rem; } .main-box .box-first .machine-right .machine-bottom ul li:first-child .status .status-list img { width: 45px; height: 45px; } .main-box .box-first .machine-right .machine-bottom ul li:first-child .status .status-list .staus-info .infoimg { width: 18px; background-repeat: no-repeat; height: 18px; margin-top: -1px; background-size: contain; img { width: 20px; height: 20px; } } .main-box .box-first .machine-right { padding-bottom: 10px; } } @media screen and(max-width:1279px) { .main-box .box-first .machine-right .machine-bottom ul li:first-child { width: 533px } .main-box .box-first .machine-right .machine-bottom ul .speed .p{ width: auto; } .main-box .box-first .machine-right .machine-bottom ul li:first-child .status .status-list img { width: 45px; height: 45px; } .main-box .box-first .machine-right .machine-bottom ul li:first-child .status .status-list { padding-right: 15px; align-items: center; } .main-box .box-first .machine-right .machine-bottom ul li:first-child .status .status-list .staus-info { white-space: nowrap; text-align: center; width: 70px; .infoimg { width: 20px; background-repeat: no-repeat; height: 20px; margin-top: 2px; background-size: contain; margin-right: 5px; img { width: 20px; height: 20px; position: relative; top: -2px; } } } .main-box .box-first .machine-right .machine-bottom ul li:nth-child(2) { width: 300px; } .main-box .box-first .machine-right .machine-bottom ul .speed p { white-space: nowrap; transform: scale(0.9); margin-top: 2px; position: relative; left: -6px; } .main-box .box-first .machine-right { padding-bottom: 10px; } .main-box .box-first .machine-right .machine-bottom ul li:first-child .status .status-list .staus-info .infotext { transform: scale(0.9); } .main-box .box-first .machine-right .machine-bottom ul li:nth-child(2) .signal-status .signal-status-list { padding-right: 10px; white-space: nowrap; text-align: center; .signal-text { transform: scale(0.9); } } }