Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Improve the visibility of primary key cell action buttons https://github.com/siyuan-note/siyuan/issues/18372

Danielf307dd5e1d32
diff --git a/app/src/assets/scss/business/_custom.scss b/app/src/assets/scss/business/_custom.scss
index 3e997d50c8..2affeb4dd0 100644
--- a/app/src/assets/scss/business/_custom.scss
+++ b/app/src/assets/scss/business/_custom.scss
@@ -375,7 +375,7 @@
top: 50%;
transform: translateY(-50%);
transition: opacity 120ms ease-in-out;
- background-color: transparent;
+ background-color: var(--b3-theme-background);
border-radius: var(--b3-border-radius);
.av__row-action {
@@ -413,6 +413,20 @@
pointer-events: auto;
}
+.av__row--select .av__row-actions,
+.av__row--hl .av__row-actions,
+.av__row--locate .av__row-actions,
+.av__cell--select > .av__row-actions,
+.av__cell--active > .av__row-actions,
+.av__gallery-item--select .av__row-actions,
+.av__gallery-item--locate .av__row-actions {
+ background-color: var(--b3-theme-primary-lightest);
+}
+
+.av__gallery-item:hover:not(.av__gallery-item--select):not(.av__gallery-item--locate) .av__row-actions {
+ background-color: var(--b3-theme-surface-light);
+}
+
.protyle-db-row {
background-color: var(--b3-theme-background);
max-height: 100%;