From beb95fb5fc166804056abafd70fc01ac27de7621 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 26 Jan 2026 09:11:00 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
applications/drone-command/src/styles/common/cockpit.scss | 72 +++++++++++++++++++++++------------
1 files changed, 47 insertions(+), 25 deletions(-)
diff --git a/applications/drone-command/src/styles/common/cockpit.scss b/applications/drone-command/src/styles/common/cockpit.scss
index 2844d2d..43bcd17 100644
--- a/applications/drone-command/src/styles/common/cockpit.scss
+++ b/applications/drone-command/src/styles/common/cockpit.scss
@@ -204,6 +204,42 @@
color: #fff !important;
.el-date-range-picker__time-header {
+ .el-time-panel {
+ background: #1A1A2A !important;
+ border-radius: 0px 0px 8px 8px;
+ border: none !important;
+
+ // 将 time-picker-popper 的样式移到这里
+ .el-time-panel__header {
+ background: #161B2C !important;
+ color: #ffffff !important;
+ border-bottom: 1px solid rgba(71, 157, 255, 0.3) !important;
+ }
+
+ .el-time-panel__content {
+ .el-time-spinner__item {
+ &:hover {
+ background: transparent !important;
+ }
+
+ &.active {
+ color: #479dff !important;
+ font-weight: bold;
+ }
+ }
+ }
+
+ .el-time-panel__footer {
+ .el-time-panel__btn {
+ color: #fff;
+ }
+
+ .el-time-panel__btn:first-child {
+ color: #86909C;
+ }
+ }
+ }
+
.el-input__wrapper {
box-shadow: none;
background: #2E2E48 !important;
@@ -215,10 +251,9 @@
.el-date-picker__editor-wrap {
.el-time-panel {
- background: #161B2C !important;
+ background: #1A1A2A !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;
+ border: none !important;
// 将 time-picker-popper 的样式移到这里
.el-time-panel__header {
@@ -229,10 +264,8 @@
.el-time-panel__content {
.el-time-spinner__item {
- color: #e6e6e6 !important;
-
&:hover {
- background: rgba(71, 157, 255, 0.3) !important;
+ background: transparent !important;
}
&.active {
@@ -243,23 +276,12 @@
}
.el-time-panel__footer {
- background: #161B2C !important;
- border-top: 1px solid rgba(71, 157, 255, 0.3) !important;
-
- .el-button {
- color: #fff !important;
-
- &:hover {
- color: #479dff !important;
- }
+ .el-time-panel__btn {
+ color: #fff;
}
-
- .el-time-panel__btn.cancel {
- color: #fff !important;
-
- &:hover {
- color: #fff !important;
- }
+
+ .el-time-panel__btn:first-child {
+ color: #86909C;
}
}
}
@@ -301,7 +323,7 @@
}
td.disabled div {
- background-color: #00193b !important;
+ background-color: #1A1A2A !important;
color: #505050 !important;
cursor: not-allowed;
}
@@ -328,7 +350,7 @@
td.in-range div:hover,
&.is-week-mode .el-date-table__row.current div,
&.is-week-mode .el-date-table__row:hover div {
- background-color: #284FE3 !important;
+ background-color: #4160D5 !important;
}
}
}
@@ -1517,7 +1539,7 @@
.detail-title {
- line-height: 40px;
+ margin-bottom: 20px;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
font-size: 16px;
--
Gitblit v1.9.3