style: 使用伪元素替代单元格内阴影 fix https://github.com/siyuan-note/siyuan/issues/10867
This commit is contained in:
parent
32d75c5986
commit
fa9ecd42a9
1 changed files with 12 additions and 3 deletions
|
@ -314,9 +314,18 @@
|
|||
|
||||
&--select {
|
||||
background-color: var(--b3-theme-primary-lightest);
|
||||
outline: 2px solid var(--b3-theme-primary-lighter);
|
||||
outline-offset: -2px;
|
||||
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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue