From 4d8c6dd77427e8e581fda17b6b65ba86bfb7a815 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 27 Feb 2023 14:30:01 +0800
Subject: [PATCH] 洪水淹没
---
widgets/FloodAnalysis/css/style.css | 183 +++++++++++++++++++++++++++++++++++++--------
1 files changed, 148 insertions(+), 35 deletions(-)
diff --git a/widgets/FloodAnalysis/css/style.css b/widgets/FloodAnalysis/css/style.css
index e8ee8c5..00b2da6 100644
--- a/widgets/FloodAnalysis/css/style.css
+++ b/widgets/FloodAnalysis/css/style.css
@@ -138,6 +138,10 @@
color: white;
}
+.smx{
+ margin-bottom: 1% !important;
+}
+
/**水面线选择框**/
.smx-select{
width: 260px;
@@ -149,7 +153,7 @@
.sw-input{
width: 201px;
height: 26px;
- margin-left: 9px !important;
+ margin-left: 1px !important;
border: 1px solid rgba(160, 160, 156, 1);
}
@@ -178,7 +182,7 @@
/**淹没分析表格**/
.analysis-box-list{
/*margin-left: 1%;*/
- height: calc(100% - 218px);
+ height: calc(100% - 194px);
top:3px;
overflow-y: auto;
background-color: #fff;
@@ -188,7 +192,7 @@
/**历史表格**/
.history-box-list{
/*margin-left: 1%;*/
- height: calc(100% - 117px);
+ height: calc(100% - 86px);
top:3px;
overflow-y: auto;
background-color: #fff;
@@ -298,8 +302,23 @@
}
/**洪水淹没分析表格**/
-#analysis-tab1-grid .dgrid-cell {
+#analysis-tab1-grid .dgrid-cell_200 {
+ width: 160px; /* force all columns to have SOME width */
+ text-align: left;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+#analysis-tab1-grid .dgrid-cell_80 {
width: 80px; /* force all columns to have SOME width */
+ text-align: center;
+}
+#analysis-tab1-grid .dgrid-cell_60 {
+ width: 60px; /* force all columns to have SOME width */
+ text-align: center;
+}
+#analysis-tab1-grid .dgrid-cell_40 {
+ width: 40px; /* force all columns to have SOME width */
text-align: center;
}
#analysis-tab1-grid .field-col1 {
@@ -362,47 +381,141 @@
border-right: 1px solid #999;
}
-/**分析窗口**/
-.evaluate-analysis{
- width: 840px;
+/**放大按钮**/
+.restore-icon{
+ width: 32px;
+ height: 32px;
+ background: rgb(0, 73, 135);
position: fixed;
- top: 10%;
- right: 0%;
- background: white;
- height: 628px;
- margin: 15px;
- border-radius: 4px;
- border: 1px solid white;
+ right: 16px;
+ top: 90.5px;
+ background-image: url(../images/fold_down.png);
+ background-position: center;
+ background-repeat: no-repeat;
+ cursor: pointer;
}
-.evaluate-title{
- height: 35px;
- line-height: 35px;
- font-weight: bold;
- font-size: 16px;
- box-shadow: 0px 1px 4px 0px rgb(0 0 0 / 40%);
- background-color: #32425d;
- color: white;
+/**图片放大**/
+/* 触发弹窗图片的样式 */
+#myImg {
+ border-radius: 5px;
+ cursor: pointer;
+ transition: 0.3s;
}
-.evaluate-lable{
- width: 70px;
+#myImg:hover {
+ opacity: 0.7;
+}
+
+/* 弹窗背景 */
+.modal {
+ display: none;
+ /* Hidden by default */
+ position: fixed;
+ /* Stay in place */
+ z-index: 9999;
+ /* Sit on top */
+ padding-top: 100px;
+ /* Location of the box */
+ left: 0;
+ top: 0;
+ width: 100%;
+ /* Full width */
+ height: 100%;
+ /* Full height */
+ overflow: auto;
+ /* Enable scroll if needed */
+ background-color:#2f353cc9;
+ /* Fallback color */
+ background-color: rgba(0, 0, 0, 0.9);
+ /* Black w/ opacity */
+}
+
+/* 图片 */
+.modal-content {
+ margin: 0 auto !important;
+ display: block;
+ /*width: 80%;*/
+ /*max-width: 700px;*/
+}
+
+/* 文本内容 */
+#caption {
+ margin: auto;
+ display: block;
+ width: 80%;
+ max-width: 700px;
+ text-align: center;
+ color: #ccc;
+ padding: 10px 0;
+ height: 150px;
+}
+
+/* 添加动画 */
+.modal-content,
+#caption {
+ -webkit-animation-name: zoom;
+ -webkit-animation-duration: 0.6s;
+ animation-name: zoom;
+ animation-duration: 0.6s;
+}
+
+@-webkit-keyframes zoom {
+ from {
+ -webkit-transform: scale(0)
+ }
+
+ to {
+ -webkit-transform: scale(1)
+ }
+}
+
+@keyframes zoom {
+ from {
+ transform: scale(0)
+ }
+
+ to {
+ transform: scale(1)
+ }
+}
+
+/* 关闭按钮 */
+.close {
position: absolute;
- left: 2%;
+ top: 15px;
+ right: 35px;
+ color: #f1f1f1;
+ font-size: 40px;
+ font-weight: bold;
+ transition: 0.3s;
}
-.evaluate-box-top{
- height: 30%;
+.close:hover,
+.close:focus {
+ color: #bbb;
+ text-decoration: none;
+ cursor: pointer;
}
-.evaluate-box-middle{
- height: 66%;
+/* 小屏幕中图片宽度为 100% */
+@media only screen and (max-width: 700px) {
+ .modal-content {
+ width: 100%;
+ }
}
-.evaluate-middle-first .column-1{
- display: flex;
-}
-
-.evaluate-middle-first .column-2{
- display: flex;
+/**提示**/
+.tableTip {
+ display: none;
+ background-color: rgb(0 0 0 / 61%);
+ padding: 5px;
+ border: 1px solid #000;
+ position: absolute;
+ z-index: 10 !important;
+ border-radius: 5px;
+ height: 25px;
+ color: white;
+ font-size: 16px;
+ line-height: 25px;
}
--
Gitblit v1.9.3