From dfac8531d4ed65183ebffcbc7f88aea16f6ac64b Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Fri, 18 Apr 2025 19:53:09 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/command-center-dashboard

---
 src/styles/element-ui.scss |  136 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 136 insertions(+), 0 deletions(-)

diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss
index 878186d..5668e7c 100644
--- a/src/styles/element-ui.scss
+++ b/src/styles/element-ui.scss
@@ -236,9 +236,68 @@
   .el-range-separator {
     color: #ffffff;
   }
+ 
+  
 }
+ // 日期下拉框
+.custom-date-picker {
+	background: #012350 !important;
+	border: 1px solid !important;
+	border-radius: 0px 0px 8px 8px;
+	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 #0d3556 !important;
+			box-sizing: border-box;
+		}
+	}
+	/* 修改头部背景色 */
+	.custom-date-picker .el-picker-panel__header {
+		background: linear-gradient(180deg, rgba(13, 53, 86, 0.85) 0%, rgba(1, 35, 80, 0.85) 100%) !important;
+		color: #fff !important;
+	}
+	.el-date-table {
+		th {
+			color: #fff !important; /* 星期标题颜色 */
+		}
+	}
+	/* 修改日期单元格悬停/选中状态 */
+	.custom-date-picker .el-date-table td:hover,
+	.custom-date-picker .el-date-table td.current:not(.disabled) {
+		background: rgba(60, 121, 202) !important;
+		color: white !important;
+	}
+	// 头部按钮
+	.el-date-table td.start-date span,
+	.el-date-table td.start-date span,
+	.el-date-table td.end-date span {
+		background-color: #012350 !important;
+	}
 
+	.el-date-table td.in-range div,
+	.el-date-table td.in-range div:hover,
+	.el-date-table.is-week-mode .el-date-table__row.current div,
+	.el-date-table.is-week-mode .el-date-table__row:hover div {
+		background-color: rgba(60, 121, 202) !important;
+	}
+  .el-picker-panel__icon-btn {
+    color: #fff !important;
+    
+    &:hover {
+      color: var(--el-color-primary) !important;
+    }
+    
+    .el-icon {
+      &::before {
+        color: inherit !important;
+      }
+    }
+  }
+}
 //下拉
+// :teleported="false"
 .ztzf-select {
   .el-select__wrapper {
     background: #012A50;
@@ -254,6 +313,83 @@
       color: #ffffff;
     }
   }
+
+
+  // 下拉框
+  .el-select-dropdown__empty {
+    background: #012A50;
+    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;
+  }
+  .el-select-dropdown__list {
+    padding: 0 !important;
+  }
+  .el-select-dropdown {
+    overflow-x: hidden !important;
+  
+    .el-select-dropdown__wrap {
+      overflow-x: hidden !important;
+      margin-right: 0 !important;
+    }
+  }
+  .el-select-dropdown__wrap {
+    overflow-x: hidden !important;
+    margin-right: 0 !important;
+  }
+  /* 箭头样式 */
+  .el-popper__arrow::before {
+    background: #0d3556 !important;
+    border: 1px solid #0d3556 !important;
+  }
+  .el-select {
+    --el-select-border-color-hover: rgb(0, 162, 255) !important;
+    /* // 修改下拉框hover的默认样式 */
+  }
+  
+  .el-input {
+    --el-border-color: rgb(0, 162, 255);
+    /* // 修改下拉框的边框 */
+  }
+  
+  .el-select .el-input__wrapper {
+    background-color: #012350 !important;
+    /* // 外层下拉框背景 */
+  }
+  
+  .el-input__wrapper {
+    --el-input-text-color: #012350 !important; /* // 修改外层下拉框的颜色 */
+  }
+  
+  .el-select__popper.el-popper {
+    border: rgba(0, 27, 63) !important;
+    /* // 修改内部下拉框的边框颜色 */
+  }
+  
+  .el-select-dropdown__wrap {
+    background: linear-gradient(180deg, rgba(13, 53, 86, 0.85) 0%, rgba(1, 35, 80, 0.85) 100%);
+    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;
+    /* // 下拉框背景色 */
+  }
+  
+  .el-select-dropdown__item {
+    background: rgba(0, 27, 63) !important; /* // 下拉框选项的颜色 */
+  }
+  
+  .el-select-dropdown__item {
+    color: white;
+  }
+  
+  .el-select-dropdown__item.hover {
+    background-color: rgba(0, 120, 233, 0.63) !important;
+    color: white;
+  }
+  .el-select-dropdown__item.selected {
+    color: #8ac3fd !important;
+    font-weight: 700;
+  }
 }
 
 .ztzf-input{

--
Gitblit v1.9.3