body {
|
padding: 10px;
|
background-color: #f1f1f1;
|
}
|
main {
|
background-color: #fff;
|
height: 85%;
|
border-radius: 5px;
|
box-shadow: 0 0 3px rgba(0,0,0,.3);
|
margin-bottom: 8px;
|
}
|
.main-board {
|
float: left;
|
width: 50%;
|
height: 100%;
|
overflow: auto;
|
}
|
.main-board:first-child {
|
border-right: 1px solid #cad9ea;
|
}
|
|
/* 表格 */
|
.plc-log-header {
|
height: 15%;
|
}
|
.plc-log-body {
|
height: 85%;
|
overflow: auto;
|
}
|
|
|
/* 站点表格 */
|
#site-table {
|
font-size: 12px;
|
border-collapse: collapse;
|
margin: 0 auto;
|
text-align: center;
|
}
|
#site-table td, #site-table th {
|
border: 1px solid #cad9ea;
|
color: #666;
|
height: 25px;
|
}
|
#site-table thead th {
|
background-color: #CCE8EB;
|
width: 100px;
|
}
|
#site-table tr:nth-child(odd) {
|
background: #fff;
|
}
|
#site-table tr:nth-child(even) {
|
background: #F5FAFA;
|
}
|
|
|
|
/* plc异常表格 */
|
#plc-error-table {
|
font-size: 12px;
|
border-collapse: collapse;
|
margin: 0 auto;
|
}
|
#plc-error-table td, #plc-error-table th {
|
border: 1px solid #cad9ea;
|
color: #666;
|
height: 25px;
|
text-align: left;
|
padding-left: 5px;
|
}
|
#plc-error-table thead th {
|
background-color: #CCE8EB;
|
width: 100px;
|
}
|
#plc-error-table td {
|
color: red;
|
}
|
#plc-error-table tr:nth-child(odd) {
|
background: #fff;
|
}
|
#plc-error-table tr:nth-child(even) {
|
background: #F5FAFA;
|
}
|
|
|
/* 尾部 */
|
footer {
|
height: 11%;
|
background-color: #fff;
|
border-radius: 5px;
|
box-shadow: 0 0 3px rgba(0,0,0,.3);
|
}
|
#output {
|
color: #666;
|
border: 1px solid #b9b9b9;
|
width: 100%;
|
height: 100%;
|
overflow: auto;
|
resize:none;
|
}
|