* { padding: 0; margin: 0 } html, body { height: 100%; width: 100%; overflow: hidden; } body { font-family: "PingFang SC","Microsoft YaHei"; } ul, ol, li, dl, dd, dt { list-style-type: none; } select, input, img, select, button { vertical-align: middle; font-size: 12px; } a { text-decoration: none; color: #323232 } a:hover { color: #0262AB; } a:hover, a:link { text-decoration: none; } input { outline: none } input[type=button] { cursor: pointer; } h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; } .river-course { width: 100%; height: 100%; } .river-top { /* width: 100%; */ /* height: 50px; */ /* background: rgb(187, 195, 200); */ padding: 10px 15px 0; } .river-menu, .rain-menu, .reser-menu { width: 100%; height: 37px; } .river-menu ul li, .rain-menu ul li, .reser-menu ul li { min-width: 50px; padding: 0 9px; height: 35px; float: left; /* margin-top: 15px; */ line-height: 35px; color: #6b6b6b; cursor: pointer; margin-right: 15px; font-size: 14px; } .river-menu ul li:hover, .rain-menu ul li:hover, .reser-menu ul li:hover { background: transparent; } .river-menu ul li.on, .rain-menu ul li.on, .reser-menu ul li.on { background: transparent; color: rgb(35 35 35); border-bottom: 3px solid #2c9cff; } .river-box { width: 100%; height: 420px; } .rain-box{ width: 100%; height: 420px; } .reser-box{ position: relative; width: 100%; height: calc(100% - 50px); background: transparent; } .river-course .river-box .river-fou { position: relative; width: 100%; height: 100%; } .river-course .river-box .river-fou .river-fou-box { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; width: 700px; height: 380px; } .river-course .river-box .river-fou .river-fou-box ul { position: absolute; top: 40px; left: 44px; width: 666px; height: 220px; } .river-course .reser-box .river-fou .river-fou-box { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; width: 700px; height: 380px; } .river-course .reser-box .river-fou .river-fou-box ul { position: absolute; top: 40px; left: 44px; width: 666px; height: 220px; } .river-course .rain-box .river-fou .river-fou-box { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; width: 700px; height: 380px; } .river-course .rain-box .river-fou .river-fou-box ul { position: absolute; top: 40px; left: 44px; width: 666px; height: 220px; } .river-one, .river-two, .river-thr, .river-fou { width: 100%; height: 100%; } .river-box-top { height: 45px; width: 100%; } .river-tab { width: 95%; height: 360px; position: absolute; left: 30px; } .river-fou-box { width: 100%; } .river-fou-box ul li { width: 48%; float: left; margin-left: 1%; height: 30px; line-height: 30px; margin-top: 14px; } .river-fou-box ul li span { width: 80px; height: 30px; text-align: right; display: inline-block; float: left; } .river-fou-box ul li div { width: 150px; height: 30px; border: 1px solid #d0d0d0; float: left; padding-left: 10px; } .river-fou-box ul li div.on { border: 1px solid #3892d4; } .table-thead { width: 100%; font-size: 12px; background-color: #f0eded45; border: 1px solid #CFCFCF; border-collapse: collapse; border-spacing: 0px; } .table-thead tr th { text-align: left; border-right: 1px solid #CFCFCF; color: #404040; } .table-thead tr th div { padding-left: 3px; } .table-thead tr, .table-tbody tr { height: 35px; } .table-tbody { width: 100%; font-size: 12px; background-color: #FFF; border-left: 1px solid #CFCFCF; border-collapse: collapse; border-spacing: 0px; } .table-tbody tr { border-bottom: 1px solid #CFCFCF; } .table-tbody tr:last-child { border-bottom: 0; } .table-tbody tr td { border-right: 1px solid #CFCFCF; } .table-tbody tr td:first-child { text-align: center; } .river-thead tr th{ text-align: center; } .comTbody { width: 100%; display: inline-block; max-height: 90%; overflow-y: scroll; border-bottom: 1px solid #CFCFCF; } /*降雨*/ .rain-pei { width: 53%; height: 87%; float: left; } .rain-tab { width: 46%; height: 360px; float: left; } .rain-thead tr th{ text-align: center; } .rain-thead-box tr th { text-align: center; } .rser-thead tr th { text-align: center; } .rese-pei { width: 585px; height: 360px; float: left; } .rese-tab { width: 200px; height: 360px; float: left; } /* 模拟下拉框 */ .hide { display: none; } .select { width: 200px; position: relative; margin: 10px 0 0 10px; float: left; } .selectsd { position: relative; margin: 10px 10px 0 0px; float: left; } .select .input_in input { width: 188px; height: 28px; line-height: 28px; border: 1px solid #d0d0d0; cursor: pointer; padding-left: 10px; color: #6d6d6d; background: url("../img/sel.png") no-repeat 175px; } .selectsd .input_insd input { width: 50px; height: 28px; line-height: 28px; border: 1px solid #d0d0d0; cursor: pointer; padding-left: 10px; color: #6d6d6d; background: url("../img/sel.png") no-repeat 40px; } .select .city { position: absolute; top: 30px; left: 0; z-index: 10; } .select .city ul { width: 198px; border: 1px solid #d6d6d6; border-top: none; } .select .city ul li { padding-left: 10px; width: 188px; height: 28px; line-height: 28px; cursor: pointer; background: #fff; color: #404040; } .select .city ul li:hover { background: #539af6; color: #fff; } .selectsd .city { position: absolute; top: 30px; left: 0; z-index: 10; } .selectsd .city ul { width: 60px; border: 1px solid #d6d6d6; border-top: none; } .selectsd .city ul li { padding-left: 10px; width: 50px; height: 28px; line-height: 28px; cursor: pointer; background: #fff; color: #404040; } .selectsd .city ul li:hover { background: #539af6; color: #fff; } /** 日历代码 **/ .river-data { float: left; margin-top: 10px; } .datainp { width: 145px; height: 24px; border: 1px solid #d0d0d0; padding-left: 5px; margin-left: 10px; margin-right: 10px; color: #6d6d6d; } .wicon { background: url("../img/data.png") no-repeat 120px; } .time-icon { background: url("../img/sel.png") no-repeat 128px; } .river-btn { width: 50px; height: 30px; border: 1px solid #d0d0d0; background: #f6f6f6; margin-top: 10px; color: #6d6d6d; float: left; } .loc-btn { width: 80px; height: 30px; border: 1px solid #d0d0d0; background: #f6f6f6; margin-top: 10px; margin-left: 10px; color: #6d6d6d; float: left; } .none { display: none; } .load-box-list { display: none; overflow-y: auto; width: 100%; background-color: #fff; position: absolute; top: 0; } .load-box-list .rote-load { position: absolute; top: 36%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 80px; } .load-box-list .rote-load img { position: absolute; top: 0; left: 0; width: 100%; height: 60px; animation: rote 3s linear infinite; } @keyframes rote { 0% { transform: rotate(0deg); } 25% { transform: rotate(90deg); } 50% { transform: rotate(180deg); } 75% { transform: rotate(270deg); } 100% { transform: rotate(360deg); } } .load-box-list .rote-load span { margin: 0 !important; position: absolute; left: 0; bottom: 0; width: 100%; height: 20px; line-height: 20px !important; text-align: center; } .load-box-list { /*margin-left: 1%;*/ height: auto; overflow-y: auto; background-color: #fff; position: absolute; bottom: 0px; top: 90px; } .river-course .reser-box table { font-size: 12px; color: #333333; width: 100%; border-width: 1px; border-collapse: collapse; } .river-course .reser-box table th, .river-course .reser-box table td { font-weight: 400; font-style: normal; font-size: 12px; border-width: 1px; border-style: solid; border-color: #3131311a; text-align: left; text-align: center; line-height: 1.4; } .river-course .reser-box>div { display: none; padding: 15px; position: absolute; top: 0; left: 0; right: 0; /* width: 100%; */ height: 100%; scrollbar-width: thin; box-sizing: border-box; overflow-y: auto !important; } .river-course .reser-box>div:first-child { display: block; } /* 基础信息样式 */ .river-course .reser-box .conservancy-characteristics tr td { border-color: #DDDDDD; height: 24px; text-align: left; padding: 2px 6px; } .river-course .reser-box .conservancy-characteristics tr td:nth-child(odd) { background: #0000000a; text-align: right; white-space: nowrap; width: 280px; } .river-course .reser-box .conservancy-characteristics tr td:nth-child(even) { background: transparent; width: 280px; } /* 水库水文特征值 */ .river-course .reser-box .conservancy-features tr td { border-color: #DDDDDD; height: 24px; text-align: left; padding: 2px 6px; } .river-course .reser-box .conservancy-features tr td:nth-child(odd) { background: #0000000a; text-align: right; white-space: nowrap; width: 280px; } .river-course .reser-box .conservancy-features tr td:nth-child(even) { background: transparent; width: 280px; } .river-course .reser-box .conservancy-characteristics tr:nth-child(9) td:nth-child(1) { height: 50px; } .river-course .reser-box .conservancy-characteristics tr:nth-child(9) td:nth-child(2){ word-wrap: break-word; word-break: break-all; } .conservancy-selectdate{ position: absolute; right: 15px; top: 20px; font-size: 15px; display: none; } .conservancy-select{ width: 150px; height: 25px } /* 洪水计算成果 */ .conservancy-compute tr th:nth-child(1), .conservancy-compute tr td:nth-child(1) { width: 160px; } .conservancy-compute tr th:nth-child(2), .conservancy-compute tr td:nth-child(2) { width: 160px; } .conservancy-compute tr th:nth-child(3), .conservancy-compute tr td:nth-child(3) { width: 190px; } .conservancy-compute tr th:nth-child(4), .conservancy-compute tr td:nth-child(4) { width: 190px; } .conservancy-compute tr th:nth-child(5), .conservancy-compute tr td:nth-child(5) { width: 190px; } .conservancy-compute tr th div, .conservancy-compute tr td div { width: 100%; text-align: center; } .conservancy-compute .comTbody{ overflow-y: auto; } /* 指标监测 */ .detection-content{ display: flex; padding-top: 25px; height: calc(100% - 55px); } .detection-table{ flex: 1; height: 360px; padding-left: 20px; } #detection-echarts{ flex: 1.5; height: calc(100%); } .detection-select{ width: 150px; height: 25px } .detection-table tr th:nth-child(1), .detection-table tr td:nth-child(1) { width: 60px; } .detection-table tr th:nth-child(2), .detection-table tr td:nth-child(2) { width: 190px; } .detection-table tr th div, .detection-table tr td div { width: 100%; text-align: center; } /* 位移表格 */ .wy tr th:nth-child(1), .wy tr td:nth-child(1) { width: 60px; } .wy tr th:nth-child(2), .wy tr td:nth-child(2) { width: 150px; } .wy tr th:nth-child(3), .wy tr td:nth-child(3) { width: 80px; } .wy tr th:nth-child(4), .wy tr td:nth-child(4) { width: 80px; } /*chrome滚动条样式*/ ::-webkit-scrollbar-track-piece{width: 7px;background-color: rgb(0 0 0 / 4%);} ::-webkit-scrollbar{width: 7px;height:6px;} ::-webkit-scrollbar-thumb{height:50px;background: rgb(0 0 0 / 5%);cursor:pointer;} ::-webkit-scrollbar-thumb:hover{ background:rgb(0 133 255 / 24%);; cursor:pointer; }