Skip to content

Commit

Permalink
style: 使用伪元素替代单元格内阴影 fix #10867 (#13435)
Browse files Browse the repository at this point in the history
* 🎨 style: 使用轮廓线和轮廓偏移替代内阴影 fix #10867

* 🎨 style: 使用轮廓线和轮廓偏移替代内阴影 fix #10867

* Revert ":art: style: 使用轮廓线和轮廓偏移替代内阴影 fix #10867"

This reverts commit d62e293.

* style: 使用伪元素替代单元格内阴影 fix #10867
  • Loading branch information
TCOTC authored Dec 12, 2024
1 parent 5cdc156 commit dc11f2d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions app/src/assets/scss/business/_av.scss
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,18 @@

&--select {
background-color: var(--b3-theme-primary-lightest);
box-shadow: 2px 2px 0 var(--b3-theme-primary-lighter) inset, -2px -2px 0 var(--b3-theme-primary-lighter) inset;
border-radius: var(--b3-border-radius);

&::after {
content: '';
position: absolute;
top: 2px;
left: 2px;
right: 2px;
bottom: 2px;
border-radius: 3px;
box-shadow: 0 0 0 2px var(--b3-theme-primary-lighter);
pointer-events: none;
}
}

&--active {
Expand Down

0 comments on commit dc11f2d

Please sign in to comment.