From 2a45e8331f65e4fc6dee2fba898bfbeaa01b0f5c Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 21 Apr 2025 16:34:15 +0800
Subject: [PATCH] Merge branch 'test' of http://139.196.74.78:10010/r/drone/command-center-dashboard into test

---
 src/styles/element-ui.scss |   57 +++++++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 45 insertions(+), 12 deletions(-)

diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss
index 5f68843..88eaafd 100644
--- a/src/styles/element-ui.scss
+++ b/src/styles/element-ui.scss
@@ -296,7 +296,7 @@
   }
 }
 //下拉
-// :teleported="false"
+// :teleported="false"(修改下拉框样式,在el-select添加)别删
 .ztzf-select {
   .el-select__wrapper {
     background: #012A50;
@@ -407,7 +407,6 @@
 }
 // 弹框-dialog
 .ztzf-dialog {
- 
 	background: #0f1929;
 	box-shadow: inset 0px -50px 50px 0px rgba(27, 148, 255, 0.13);
 	border-radius: 20px 0px 0px 0px;
@@ -422,7 +421,6 @@
 			rgba(27, 148, 255, 1)
 		)
 		2 2;
-  // 头部
   .el-dialog__header {
 		width: 100%;
 		height: 47px;
@@ -460,30 +458,21 @@
 }
 /* 时间选择器下拉面板 */
 .custom-time-picker {
-  /* 整体背景和边框 */
 background: linear-gradient( 180deg, rgba(13,53,86,0.85) 0%, rgba(1,35,80,0.85) 100%) !important;
 border-radius: 0px 0px 8px 8px;
 border: 1px solid !important;
 border-image: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(115, 192, 255, 1)) 1 1 !important;
-
-  /* 修改箭头样式 */
   .el-popper__arrow::before {
     background: #0D3556 !important;
     border: 1px solid #479DFF !important;
   }
-
-  /* 时间面板头部 */
   .el-time-panel__header {
     background: #012350 !important;
     color: #FFFFFF !important;
     border-bottom: 1px solid rgba(71, 157, 255, 0.3) !important;
   }
-
-  /* 时间选择区域 */
   .el-time-panel__content {
     background: #012350 !important;
-    
-    /* 时间数字项 */
     .el-time-spinner__item {
       color: #E6E6E6 !important;
       
@@ -518,3 +507,47 @@
     }
   }
 }
+// 树形选择
+.custom-tree-select {
+	background: linear-gradient(180deg, rgba(13, 53, 86, 0.85) 0%, rgba(1, 35, 80, 0.85) 100%) !important;
+	border-radius: 0px 0px 8px 8px;
+	border: 1px solid;
+	border-image: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(115, 192, 255, 1)) 1 1 !important;
+	.el-popper__arrow::before {
+		background: #0d3556 !important;
+		border: 1px solid #012350 !important;
+	}
+	.el-tree {
+		background: transparent !important;
+		color: #fff !important;
+		.el-tree-node__content:hover {
+			background: none !important;
+		}
+		.el-tree-node__content:hover {
+			background: none !important;
+		}
+	
+		.el-tree-node.is-current > .el-tree-node__content {
+			background: #479dff !important;
+			color: #479dff !important;
+		}
+	}
+
+	.el-select-dropdown__item {
+		background: none !important;
+		color: #fff !important;
+		input {
+			color: #fff !important;
+			&::placeholder {
+				color: #fff !important;
+			}
+		}
+	}
+	.el-tree {
+		--el-tree-node-hover-bg-color: none !important;
+		color: #fff !important;
+	}
+	.el-select-dropdown__item.is-selected {
+		color: var(--el-color-primary) !important;
+	}
+}

--
Gitblit v1.9.3