|  |  |  | 
|---|
|  |  |  | body { | 
|---|
|  |  |  | padding: 10px; | 
|---|
|  |  |  | background-color: #f1f1f1; | 
|---|
|  |  |  | /*padding: 10px;*/ | 
|---|
|  |  |  | background-color: #6CA7A8; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | main { | 
|---|
|  |  |  | background-color: #fff; | 
|---|
|  |  |  | 
|---|
|  |  |  | box-shadow: 0 0 3px rgba(0,0,0,.3); | 
|---|
|  |  |  | margin-bottom: 8px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .button-window { | 
|---|
|  |  |  | float: left; | 
|---|
|  |  |  | width: 100%; | 
|---|
|  |  |  | height: 100%; | 
|---|
|  |  |  | padding: 10px; | 
|---|
|  |  |  | background-color: #6CA7A8; | 
|---|
|  |  |  | border-radius: 5px; | 
|---|
|  |  |  | box-shadow: 0 0 3px rgba(0 0 0 .3); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .main-board { | 
|---|
|  |  |  | padding-left: 1%; | 
|---|
|  |  |  | float: left; | 
|---|
|  |  |  | width: 50%; | 
|---|
|  |  |  | height: 100%; | 
|---|
|  |  |  | 
|---|
|  |  |  | border-right: 1px solid #cad9ea; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /* 表格 */ | 
|---|
|  |  |  | /* 表格 */ | 
|---|
|  |  |  | .plc-log-header { | 
|---|
|  |  |  | height: 15%; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .plc-log-body { | 
|---|
|  |  |  | height: 85%; | 
|---|
|  |  |  | overflow: hidden; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /* 入出库模式 */ | 
|---|
|  |  |  | .io-mode-oper { | 
|---|
|  |  |  | height: 100%; | 
|---|
|  |  |  | /*overflow: hidden;*/ | 
|---|
|  |  |  | padding: 10px 20px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .io-mode-oper fieldset { | 
|---|
|  |  |  | padding: 15px 0 10px 0; | 
|---|
|  |  |  | border-width: 1px; | 
|---|
|  |  |  | border-style: solid; | 
|---|
|  |  |  | height: 100%; | 
|---|
|  |  |  | display: grid; | 
|---|
|  |  |  | grid-template-columns: 1fr 1fr; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .io-mode-oper legend { | 
|---|
|  |  |  | text-align: center; | 
|---|
|  |  |  | padding: 0 10px; | 
|---|
|  |  |  | font-size: 16px; | 
|---|
|  |  |  | font-weight: 300; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /* 站点表格 */ | 
|---|
|  |  |  | #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%; | 
|---|
|  |  |  | 
|---|
|  |  |  | box-shadow: 0 0 3px rgba(0,0,0,.3); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | #output { | 
|---|
|  |  |  | color: #666; | 
|---|
|  |  |  | border: 1px solid #b9b9b9; | 
|---|
|  |  |  | width: 100%; | 
|---|
|  |  |  | height: 100%; | 
|---|
|  |  |  | overflow: auto; | 
|---|
|  |  |  | onpropertychange: "this.scrollTop = this.scrollHeight"; | 
|---|
|  |  |  | οnfοcus: "this.scrollTop = this.scrollHeight " | 
|---|
|  |  |  | } | 
|---|
|  |  |  | resize:none; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /* 详情弹出层 */ | 
|---|
|  |  |  | #site-detl { | 
|---|
|  |  |  | padding: 30px 10px 0 25px; | 
|---|
|  |  |  | overflow: hidden; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | #site-detl form { | 
|---|
|  |  |  | overflow: hidden; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .form-item { | 
|---|
|  |  |  | margin-bottom: 10px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .form-label { | 
|---|
|  |  |  | display: inline-block; | 
|---|
|  |  |  | width: 70px; | 
|---|
|  |  |  | text-align: right; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .form-input { | 
|---|
|  |  |  | display: inline-block; | 
|---|
|  |  |  | padding-left: 15px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .form-input input { | 
|---|
|  |  |  | outline-style: none ; | 
|---|
|  |  |  | border: 1px solid #ccc; | 
|---|
|  |  |  | border-radius: 3px; | 
|---|
|  |  |  | padding: 5px 8px; | 
|---|
|  |  |  | width: 150px; | 
|---|
|  |  |  | font-size: 14px; | 
|---|
|  |  |  | font-weight: bolder; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .form-input input:focus{ | 
|---|
|  |  |  | border-color: #66afe9; | 
|---|
|  |  |  | outline: 0; | 
|---|
|  |  |  | -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6); | 
|---|
|  |  |  | box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .form-button-container { | 
|---|
|  |  |  | text-align: center; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .form-button { | 
|---|
|  |  |  | margin: 10px 10px; | 
|---|
|  |  |  | width: 50px; | 
|---|
|  |  |  | height: 30px; | 
|---|
|  |  |  | color:white; | 
|---|
|  |  |  | background-color:cornflowerblue; | 
|---|
|  |  |  | border-radius: 3px; | 
|---|
|  |  |  | border-width: 0; | 
|---|
|  |  |  | outline: none; | 
|---|
|  |  |  | font-size: 15px; | 
|---|
|  |  |  | text-align: center; | 
|---|
|  |  |  | cursor: pointer; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .form-button:hover { | 
|---|
|  |  |  | opacity: 0.7; | 
|---|
|  |  |  | } | 
|---|