Skip to content

Commit

Permalink
统一数据库元素的背景色 3
Browse files Browse the repository at this point in the history
  • Loading branch information
TCOTC committed Oct 19, 2024
1 parent e9e9638 commit 3af6788
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions app/src/assets/scss/business/_av.scss
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,13 @@
&.av__firstcol,
& > div:not(.av__cell--select):not(.av__cell--active):not(.av__calc--ashow):not(.av__cell--header:hover):not(.av__calc:hover) {
background-color: var(--b3-av-background);

&.av__cell--header:hover {
background-color: var(--b3-av-hover);
}
&.av__calc:hover {
background-color: var(--b3-av-hover);
}
}
}

Expand Down Expand Up @@ -531,11 +538,13 @@
}

.protyle-wysiwyg--select {
--b3-av-background: var(--b3-av-background-hl);

.av__row--header,
.av__row--footer,
.av__row--footer .av__colsticky,
.av__row--select .av__cell,
.av__colsticky > div:not(.av__cell--select):not(.av__cell--active),
.av__colsticky > div,
.av__counter {
background-color: var(--b3-av-background);
}
Expand All @@ -546,11 +555,13 @@
}

.protyle-wysiwyg--hl {
--b3-av-background: var(--b3-av-background-hl);

.av__row--header,
.av__row--footer,
.av__row--footer .av__colsticky,
.av__row--select .av__cell,
.av__colsticky > div:not(.av__cell--select):not(.av__cell--active),
.av__colsticky > div,
.av__counter {
transition: var(--b3-background-transition);
background-color: var(--b3-av-background);
Expand Down

0 comments on commit 3af6788

Please sign in to comment.