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 |  162 +++++++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 123 insertions(+), 39 deletions(-)

diff --git a/widgets/FloodAnalysis/css/style.css b/widgets/FloodAnalysis/css/style.css
index 9f8e0fd..00b2da6 100644
--- a/widgets/FloodAnalysis/css/style.css
+++ b/widgets/FloodAnalysis/css/style.css
@@ -182,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;
@@ -381,57 +381,141 @@
     border-right: 1px solid #999;
 }
 
-/**分析窗口**/
-.evaluate-analysis{
-    width: 465px;
-    height: 808px;
+/**放大按钮**/
+.restore-icon{
+    width: 32px;
+    height: 32px;
+    background: rgb(0, 73, 135);
     position: fixed;
-    top: 10%;
-    right: 0%;
-    background: white;
-    margin: 15px;
-    border-radius: 4px;
-    border: 1px solid white;
-    z-index: 100;
+    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-back-icon{
-    background-image: url("../images/fold_up.png");
-    width: 35px;
+#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%;
-    position: relative;
-    left: 88%;
+    /* Full height */
+    overflow: auto;
+    /* Enable scroll if needed */
+    background-color:#2f353cc9;
+    /* Fallback color */
+    background-color: rgba(0, 0, 0, 0.9);
+    /* Black w/ opacity */
 }
 
-.evaluate-lable{
-    width: 70px;
+/* 图片 */
+.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%;
-    width: 450px;
+.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