生产监控前端
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.
 
 
 
 
 
 

191 lines
4.6 KiB

@import url('@/assets/fonts/font.css');
.details {
padding: 1.5rem 1.5rem 0 1.5rem;
.header {
margin-bottom: 1.5rem;
}
.search {
margin-bottom: 1.5rem;
:deep(.el-card__header) {
padding: 10px;
}
:deep(.el-card__body) {
padding: 20px 20px 0 20px;
}
.cardHeader {
display: flex;
justify-content: center;
align-items: center;
line-height: 25px;
position: relative;
span {
font-size: 24px;
font-family: 'PangMenZhengDaoBiao';
color: var(--el-menu-active-color);
}
.tooltips {
position: absolute;
top: -5px;
right: 10px;
width: 36px;
height: 36px;
border-radius: 0px 0px 0px 0px;
opacity: 1;
}
}
.searchForm {
.item {
margin-bottom: 20px;
.searchCheckbox {
margin-right: 30px;
}
}
.formBtn {
padding: 0 20px;
}
}
}
.echart {
:deep(.el-card__body) {
display: flex;
padding: 1.5rem;
.sidebar {
width: 200px;
border: 1px solid #e8eaec;
h3 {
height: 25px;
line-height: 25px;
margin: 15px 0;
font-size: 22px;
font-family: 'PangMenZhengDaoBiao';
color: var(--el-menu-active-color);
text-align: center;
}
.deviceMenu {
height: calc(100vh - 205px - 7.5rem);
border-right: none;
overflow: auto;
.el-menu-item {
display: block;
width: 100%;
height: 45px;
line-height: 45px;
padding: 0 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
.iconfont {
margin-right: 6px;
}
}
}
.paramList {
height: calc(100vh - 150px - 7.5rem);
padding: 20px 10px;
overflow: auto;
.item {
font-size: 14px;
padding: 10px 0;
line-height: 30px;
border-bottom: 1px dashed #cacaca;
.name {
display: flex;
align-items: center;
i {
width: 12px;
height: 12px;
border-radius: 10px;
margin-right: 5px;
}
}
}
}
/*滚动条整体部分*/
.deviceMenu::-webkit-scrollbar,
.paramList::-webkit-scrollbar {
width: 5px;
height: 8px;
}
/*滚动条的轨道*/
.deviceMenu::-webkit-scrollbar-track,
.paramList::-webkit-scrollbar-track {
background-color: transparent;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
}
/*滚动条里面的小方块,能向上向下移动*/
.deviceMenu::-webkit-scrollbar-thumb,
.paramList::-webkit-scrollbar-thumb {
background-color: rgb(147, 147, 153, 0.5);
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
}
.deviceMenu::-webkit-scrollbar-thumb:hover,
.paramList::-webkit-scrollbar-thumb:hover {
background-color: #a8a8a8;
}
.deviceMenu:-webkit-scrollbar-thumb:active,
.paramList:-webkit-scrollbar-thumb:active {
background-color: #787878;
}
/*边角,即两个滚动条的交汇处*/
.deviceMenu::-webkit-scrollbar-corner,
.paramList::-webkit-scrollbar-corner {
background-color: transparent;
}
}
.comparisonInfo {
flex: 1;
margin: 0 1.5rem;
.stackedLine {
width: 100%;
height: calc(100vh - 150px - 7.5rem);
font-size: 1.4rem;
text-align: center;
color: #606266;
line-height: calc(100vh - 150px - 7.5rem);
}
}
}
}
.copyright {
height: 40px;
line-height: 40px;
text-align: center;
color: #9ca3af;
font-family: Arial;
font-size: 12px;
letter-spacing: 1px;
}
}
/** pc **/
@media only screen and (min-width: 768px) and (max-width: 1680px) {
.details {
color: red;
.echart {
:deep(.el-card__body) {
.sidebar {
.deviceMenu {
height: calc(100vh - 266px - 7.5rem) !important;
}
}
.comparisonInfo {
.stackedLine {
height: calc(100vh - 211px - 7.5rem);
line-height: calc(100vh - 211px - 7.5rem) !important;
}
}
}
}
}
}