From cf5ab6da9ff676fab8a10d4299bd5a04a07bf50f Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期一, 17 五月 2021 10:05:53 +0800
Subject: [PATCH] 修复默认选中图层时出现的BUG

---
 src/styles/theme-dark/el-ui/button.less |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/styles/theme-dark/el-ui/button.less b/src/styles/theme-dark/el-ui/button.less
index 4f9d1f8..8122b60 100644
--- a/src/styles/theme-dark/el-ui/button.less
+++ b/src/styles/theme-dark/el-ui/button.less
@@ -1,35 +1,35 @@
-.el-button--primary{
+--primary{
     color: @dark--text-base;
     background-color: @dark--button-primary-background-color;
     border-color: @dark--primary-color;
 }
 
-.el-button--primary:hover, .el-button--primary:focus{
+--primary:hover, --primary:focus{
     background: rgb(51, 163, 182);
     border-color: rgb(81, 229, 253);
     color: @dark--title-color;
 }
 
-.el-button--primary:active{
+--primary:active{
     background: rgb(0, 126, 148);
     border-color: rgb(34, 200, 228);
     color: @dark--title-color;
     outline: none;
 }
 
-.el-button--primary.is-active{
+--primary.is-active{
     background: rgb(0, 126, 148);
     border-color: rgb(34, 200, 228);
     color: @dark--title-color;
 }
 
-.el-button--primary.is-plain{
+--primary.is-plain{
     background: transparent;
     border: 1px solid #198CA7;
     color: rgb(31, 45, 61);
 }
 
-.el-button--primary.is-plain:hover, .el-button--primary.is-plain:focus{
+--primary.is-plain:hover, --primary.is-plain:focus{
     background: transparent;
     border-color: @dark--primary-color;
     color: @dark--button-primary-background-color;
@@ -47,9 +47,7 @@
   border: 1px solid @dark--primary-color;
 }
 .el-button--default:hover{
-  background: transparent;
-  border-color: #0f93a9;
-  color: @dark--title-color;
+    background:@background-color;
 }
 .el-button--default:active{
     border-color: #0f93a9;

--
Gitblit v1.8.0