From cb8c1b31b685519b3eb897cc9d1f831ef8fcb259 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 23 Jun 2021 17:27:19 +0800
Subject: [PATCH] 按钮细节
---
widgets/CoorPosition/css/style.css | 32 ++++++++++++++++++--------------
widgets/spatialAnalysis/Widget.js | 3 ++-
widgets/MapPrinting/css/style.css | 7 ++-----
widgets/Sign/css/style.css | 4 ++--
4 files changed, 24 insertions(+), 22 deletions(-)
diff --git a/widgets/CoorPosition/css/style.css b/widgets/CoorPosition/css/style.css
index 13b584d..dfc7e50 100644
--- a/widgets/CoorPosition/css/style.css
+++ b/widgets/CoorPosition/css/style.css
@@ -12,7 +12,7 @@
box-shadow: 0 0 8px #fff;
}
-.CoorPosition-zbdw {
+.jimu-widget-CoorPosition .CoorPosition-zbdw {
position: relative;
width: 100%;
height: 33px;
@@ -21,7 +21,7 @@
cursor: move;
}
-.CoorPosition-zbdw-pic {
+.jimu-widget-CoorPosition .CoorPosition-zbdw-pic {
position: absolute;
left: 6px;
top: 9px;
@@ -30,13 +30,13 @@
background: url(../../../images/newImages/坐标定位.png ) no-repeat;
}
-.CoorPosition-zbdw-zbdw {
+.jimu-widget-CoorPosition .CoorPosition-zbdw-zbdw {
width: 100%;
line-height: 33px;
font-size: 17px;
}
-.CoorPosition-zbdw-x {
+.jimu-widget-CoorPosition .CoorPosition-zbdw-x {
position: absolute;
right: 13px;
top: 5px;
@@ -47,7 +47,7 @@
.CoorPosition-zbdw-x:hover{
color: red;
}
-.CoorPosition-input {
+.jimu-widget-CoorPosition .CoorPosition-input {
width: 100%;
/* background-color: blue; */
padding: 8px 5px;
@@ -56,7 +56,7 @@
top: 5px;
}
-.CoorPosition-input-JD {
+.jimu-widget-CoorPosition .CoorPosition-input-JD {
position: relative;
width: 100%;
height: 28px;
@@ -65,11 +65,11 @@
text-align: center;
}
-.jingDu {
+.jimu-widget-CoorPosition .jingDu {
line-height: 28px;
}
-.jingDu-input {
+.jimu-widget-CoorPosition .jingDu-input {
display: inline-block;
background-color: rgba(69, 154, 251, 0.35);
border: none;
@@ -78,11 +78,11 @@
color: rgb(0, 0, 0);
}
-.queDing {
+.jimu-widget-CoorPosition .queDing {
height: 28px;
line-height: 5px;
background-color: rgba(255, 255, 255);
- border: 1px solid rgba(69, 154, 251, 0.35);
+ border: 1px solid transparent;
color: rgb(0, 0, 0);
margin-left: 160px;
padding: 5px;
@@ -91,7 +91,11 @@
box-shadow: 3px 3px 15px -4px #3E9FFC;
}
-.jiantou {
+.jimu-widget-CoorPosition .queDing:hover {
+ box-shadow: 3px 3px 20px -4px #188fff;
+}
+
+.jimu-widget-CoorPosition .jiantou {
position: absolute;
top: 4px;
right: 15px;
@@ -102,7 +106,7 @@
display: none;
}
-.span-jiantou {
+.jimu-widget-CoorPosition .span-jiantou {
position: absolute;
top: -3px;
right: 14px;
@@ -112,11 +116,11 @@
cursor: pointer;
}
-.twojiantou {
+.jimu-widget-CoorPosition .twojiantou {
top: 5px;
}
-.leftjiantou {
+.jimu-widget-CoorPosition .leftjiantou {
position: absolute;
right: -16px;
width: 19px;
diff --git a/widgets/MapPrinting/css/style.css b/widgets/MapPrinting/css/style.css
index 1e28593..943f3ed 100644
--- a/widgets/MapPrinting/css/style.css
+++ b/widgets/MapPrinting/css/style.css
@@ -27,14 +27,11 @@
padding: 5px;
cursor: pointer;
height: 30px;
- box-shadow: 3px 3px 20px -4px #3E9FFC;
+ box-shadow: 3px 3px 15px -4px #3E9FFC;
}
.MapPrinting-left:hover, .MapPrinting-right:hover {
- background-color: #3E9FFC;
- box-shadow: 3px 3px 20px -4px #000000;
- /* color:#fff; */
- filter: grayscale(100%) brightness(200%);
+ box-shadow: 3px 3px 20px -4px #1b91ff;
}
/* .MapPrinting-left-pic, .MapPrinting-right-pic {
diff --git a/widgets/Sign/css/style.css b/widgets/Sign/css/style.css
index f551590..545f8db 100644
--- a/widgets/Sign/css/style.css
+++ b/widgets/Sign/css/style.css
@@ -89,10 +89,10 @@
margin-top: 6px;
border-radius: 5px;
border: 1px solid #ffffff;
- box-shadow: 3px 3px 15px -5px #3E9FFC;
+ /* box-shadow: 3px 3px 15px -5px #3E9FFC; */
}
.sign-head-td-ul-border:hover{
- box-shadow: 1px 3px 0px -5px #000000;
+ box-shadow: 1px 3px 15px -2px #3E9FFC;
}
.sign-head-td-ul-border img{
width: 30px !important;
diff --git a/widgets/spatialAnalysis/Widget.js b/widgets/spatialAnalysis/Widget.js
index 496e0f7..be0c4e2 100644
--- a/widgets/spatialAnalysis/Widget.js
+++ b/widgets/spatialAnalysis/Widget.js
@@ -275,7 +275,8 @@
dom.empty();
var str = `${name} <i class="layui-icon layui-icon-down layui-font-12"></i>`
dom.append(str);
- dom = $('#SelectLayerToolItem').hide();
+ dom.attr("title", name);
+ $('#SelectLayerToolItem').hide();
})
},
fakeName: 'Layermanagement',
--
Gitblit v1.9.3