* { margin: 0 auto; padding: 0; list-style-type: none; font-family: "微软雅黑"; } .nav-header { margin-left: 10px; width: 500px; height: 50px; line-height: 50px; text-align: left; color: white; font-size: 48px; font-weight: bold; letter-spacing: 2px; /*font-style:italic;斜体*/ } #logo { width: 60px; height: 60px; margin-top: -8px; } .contentmain { padding-top: 50px; height: 100%; width: 100%; min-width: 1000px; } .contentmain-left, .contentmain-right { /*border:1px solid red;*/ height: 100%; float: left; /*margin-top:-40px;*/ /*overflow: auto;*/ overflow-x: auto; overflow-y: auto; } .contentmain-left { width: 60%; /*min-width: 700px;*/ } .contentmain-right { width: 40%; min-width: 300px; } /*图例*/ .legend { width: 50%; min-width: 300px; height: 50px; position: relative; float: left; left: 50%; /*border:1px solid black;*/ } .legend > ul { position: relative; float: left; left: -10%; height: 100px; /*border: 1px solid gray;*/ } .legend > ul > li { border: 1px solid skyblue; float: left; width: 120px; height: 40px; text-align: center; border-radius: 5px; line-height: 30px; margin-right: 10px; margin-top: 15px; font-size: 18px; font-weight: bold; } .monitoring-area { margin-top: 10px; padding-top: 70px; width: 100%; height: 100%; margin-left: 10%; /*border: 1px solid blue;*/ } .monitoring-area table tr td { text-align: center; } .panel table tr td { text-align: center; } .roadway { width: 845px; } .roadway > li { width:66px; height:56px; border:1px solid skyblue; float:left; background: #DADADA; } .roadway_v { width: 80%; } .roadway_li2 { width: 66px; height: 56px; border: 1px solid skyblue; float: left; margin-left: 70px; margin-bottom: 4px; background: #DADADA; text-align: center; } .roadway_li { width: 66px; height: 56px; border: 1px solid skyblue; float: left; margin-left: 2px; margin-bottom: 4px; background: #DADADA; text-align: center; } .roadway_li3 { width: 66px; height: 56px; margin-left: 70px; margin-bottom: 4px; border: 1px solid red; margin-bottom: 4px; border: 1px solid skyblue; float: left; text-align: center; } .roadway_li4 { width: 66px; height: 56px; margin-left: 2px; margin-bottom: 4px; border: 1px solid red; margin-bottom: 4px; border: 1px solid skyblue; float: left; text-align: center; } .roadway_li5 { width: 66px; height: 56px; margin-left: 2px; margin-bottom: 4px; border: 1px solid red; margin-bottom: 4px; border: 1px solid skyblue; float: left; text-align: center; } .roadway_li6 { width: 66px; height: 56px; margin-left: 682px; margin-bottom: 4px; border: 1px solid red; margin-bottom: 4px; border: 1px solid skyblue; float: left; text-align: center; } .roadway_li7 { width: 66px; height: 56px; margin-left: 2px; margin-bottom: 4px; border: 1px solid red; margin-bottom: 4px; border: 0px solid skyblue; float: left; text-align: center; } .stacker { position: absolute; top: -1px; } .stacker > li { width: 40px; height: 46px; border: 1px solid red; margin-bottom: 4px; } .stacker_v { width: 46px; } .stacker_v > li { width: 46px; height: 46px; border: 1px solid skyblue; float: left; margin-left: 2px; margin-bottom: 4px; background: #DADADA; } #stacker_1 { left: 48px; } #stacker_2 { right: 48px; } #conveyerline_L { position: absolute; bottom: -50px; left: -10px; height: 46px; width: 200px; } #conveyerline_R{ position: absolute; bottom: -150px; left: -10px; height: 46px; width: 46px; } #conveyerline_L2 { position: absolute; bottom: -100px; left: -18px; height: 46px; width: 160px; } #conveyerline_L > li, #conveyerline_L2 > li, #conveyerline_R > li { border: 1px solid gray; float: right; width: 46px; height: 46px; margin-left: 2px; margin-bottom: 4px; line-height: 46px; text-align: center; } #img-man { position: absolute; top: 150px; left: 0px; width: 100px; height: 100px; } #start-system { transition: border .2s,color .4s; } #start-system:hover { border: 1px solid pink; color: red; } /*弹出框*/ .popover { width: auto; max-width: 800px; }