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 |  214 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 210 insertions(+), 4 deletions(-)

diff --git a/widgets/FloodAnalysis/css/style.css b/widgets/FloodAnalysis/css/style.css
index 471dc49..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 {
@@ -313,3 +332,190 @@
 #history-tab2-grid .dgrid-cell {
     text-align: center;
 }
+
+/**进度条**/
+.jimu-widget-FloodAnalysis .dong-progress {
+    display: none;
+    position: fixed;
+    top: 0;
+    left: 0;
+    right: 0;
+    bottom: 0;
+    margin: auto;
+    width: 500px;
+    height: 0px;
+    z-index: 33;
+    background: rgba(59, 59, 59, 0.7);
+
+}
+
+.jimu-widget-FloodAnalysis .dong-progress h2 {
+    margin: 10px 0;
+    text-align: center;
+    font-size: 16px;
+    font-weight: 400;
+    color: white;
+}
+
+.jimu-widget-FloodAnalysis .dong-progress .container {
+    display: inline-block;
+    width: 100%;
+    height: 20px;
+    padding-right: 10px;
+    border: 1px solid #999;
+    border-radius: 5px;
+}
+
+.jimu-widget-FloodAnalysis .dong-progress .container .h-100P {
+    height: 100%;
+}
+
+.jimu-widget-FloodAnalysis .dong-progress .container .bar {
+    display: inline-block;
+    background: linear-gradient(to right, #ff4343, #48adff);
+    color: white;
+    font-weight: bold;
+    padding: 0 5px;
+    text-align: right;
+    border-radius: 5px;
+    border-right: 1px solid #999;
+}
+
+/**放大按钮**/
+.restore-icon{
+    width: 32px;
+    height: 32px;
+    background: rgb(0, 73, 135);
+    position: fixed;
+    right: 16px;
+    top: 90.5px;
+    background-image: url(../images/fold_down.png);
+    background-position: center;
+    background-repeat: no-repeat;
+    cursor: pointer;
+}
+
+/**图片放大**/
+/* 触发弹窗图片的样式 */
+#myImg {
+    border-radius: 5px;
+    cursor: pointer;
+    transition: 0.3s;
+}
+
+#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;
+    top: 15px;
+    right: 35px;
+    color: #f1f1f1;
+    font-size: 40px;
+    font-weight: bold;
+    transition: 0.3s;
+}
+
+.close:hover,
+.close:focus {
+    color: #bbb;
+    text-decoration: none;
+    cursor: pointer;
+}
+
+/* 小屏幕中图片宽度为 100% */
+@media only screen and (max-width: 700px) {
+    .modal-content {
+        width: 100%;
+    }
+}
+
+/**提示**/
+.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