Vanessa 2024-11-06 10:27:07 +08:00
parent 1cf1854bd3
commit 2ba5242920
2 changed files with 4 additions and 4 deletions

View file

@ -47,7 +47,7 @@
--b3-scroll-color: rgba(230, 230, 230, .2);
/* 列表 */
--b3-list-hover: var(--b3-border-color);
--b3-list-hover: rgba(255, 255, 255, .075);
--b3-list-icon-hover: rgba(201, 209, 217, .1);
/* 菜单 */
@ -140,7 +140,7 @@
--b3-switch-checked: var(--b3-theme-primary);
--b3-switch-checked-background: #a8c7fa;
--b3-switch-checked-hover: var(--b3-theme-primary);
--b3-switch-checked-hover2: rgba( 253,252,251, .10);
--b3-switch-checked-hover2: rgba(253, 252, 251, .10);
/* 阴影 */
--b3-point-shadow: inset 0 .5px .5px .5px rgba(255, 255, 255, .09), 0 3px 6px rgba(0, 0, 0, .04), 0 0 0 0 transparent;

View file

@ -4,7 +4,7 @@
margin: 4px;
border: 0;
transition: var(--b3-transition);
box-shadow: 0 0 0 1px var(--b3-theme-surface-lighter) inset;
box-shadow: 0 0 0 1px var(--b3-list-hover) inset;
display: flex;
align-items: center;
flex-direction: column;
@ -21,6 +21,6 @@
}
&:hover:not(.color__square--list) {
box-shadow: 0 0 0 1px var(--b3-theme-surface-lighter) inset, 0 0 0 4px var(--b3-theme-background);
box-shadow: 0 0 0 1px var(--b3-list-hover) inset, 0 0 0 4px var(--b3-theme-background);
}
}