
+

{
.label-text {
font-size: 12px;
// color: #303133;
- color: var(--o-text-color-primary);
+ color: var(--o-text-color-secondary);
margin-right: 16px;
white-space: nowrap;
flex-shrink: 0; /* 防止文字被压缩 */
--
Gitee
From 2b4e9cf3c95b65c4565280ea64248670961e0456 Mon Sep 17 00:00:00 2001
From: cc500 <2014434568@qq.com>
Date: Fri, 13 Jun 2025 15:01:53 +0800
Subject: [PATCH 5/5] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D:checkb?=
=?UTF-8?q?ox=20=E7=9A=84=E4=B8=BB=E9=A2=98=E8=89=B2=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/styles/element/index.scss | 27 ++++++++++++++++++-
src/assets/styles/theme.scss | 14 ++++++----
.../dialogue/components/DialogueAside.vue | 7 +++++
3 files changed, 42 insertions(+), 6 deletions(-)
diff --git a/src/assets/styles/element/index.scss b/src/assets/styles/element/index.scss
index 20a37cb..8bfb60f 100644
--- a/src/assets/styles/element/index.scss
+++ b/src/assets/styles/element/index.scss
@@ -1,5 +1,6 @@
:root {
- --el-color-primary: #0077ff;
+ --el-color-primary: #6395fd;
+ --o-func-base-primary: #6395fd;
.el-button {
--o-button-color_label: #6395fd;
--o-button-color_label_hover: #7aa5ff;
@@ -11,6 +12,30 @@
padding: 0;
}
}
+ .el-checkbox.is-checked .el-checkbox__inner {
+ background-color: #6395fd !important;
+ border-color: #6395fd !important;
+ &:hover {
+ background-color: #7AA5FF !important;
+ border-color: #7AA5FF !important;
+ }
+ &:active {
+ background-color: #6395fd !important;
+ border-color: #6395fd !important;
+ }
+ }
+ .el-checkbox__input.is-checked .el-checkbox__inner {
+ background-color: #6395fd !important;
+ border-color: #6395fd !important;
+ &:hover {
+ background-color: #7AA5FF !important;
+ border-color: #7AA5FF !important;
+ }
+ &:active {
+ background-color: #6395fd !important;
+ border-color: #6395fd !important;
+ }
+ }
}
.euler-copilot-message-box {
diff --git a/src/assets/styles/theme.scss b/src/assets/styles/theme.scss
index 24823ca..bf0c1f8 100644
--- a/src/assets/styles/theme.scss
+++ b/src/assets/styles/theme.scss
@@ -93,11 +93,15 @@ body[theme='dark'] {
}
body[theme='light'] {
- --o-content-bg: linear-gradient(
- to right,
- rgba(109, 117, 250, 0.2),
- rgba(90, 179, 255, 0.2)
- );
+ --o-checkbox-bg-color_checked: #6395fd !important;
+ --o-func-base-primary: 99, 149, 253;
+ --o-checkbox-bg-color_checked: #6395fd !important;
+ --o-checkbox-border-color_checked: #6395fd !important;
+ --o-content-bg:linear-gradient(
+ to right,
+ rgba(109, 117, 250, 0.2),
+ rgba(90, 179, 255, 0.2)
+ );
--o-main-bg-color: #f1f8ff;
--o-bg-image: url('../../assets/svgs/light_background.webp');
--no-work-flow: url('../../assets/images/light_no_flow.png');
diff --git a/src/views/dialogue/components/DialogueAside.vue b/src/views/dialogue/components/DialogueAside.vue
index b6d5ef1..9947aa7 100644
--- a/src/views/dialogue/components/DialogueAside.vue
+++ b/src/views/dialogue/components/DialogueAside.vue
@@ -824,6 +824,13 @@ watch(
:deep(.el-checkbox__label) {
font-size: 12px;
}
+ :deep(.el-checkbox__inner) {
+ &::after {
+ height: 7px;
+ width: 2px;
+ left: 4px;
+ }
+ }
}
&-title {
--
Gitee