@ -255,3 +255,12 @@
|
||||
|
||||
@keyframes looksProg { 0% { left: -38%; } 100% { left: 100%; } }
|
||||
@keyframes looksShim { 0%, 100% { opacity: .85; } 50% { opacity: .55; } }
|
||||
|
||||
/* ====================== 卡片收藏按钮(图片收藏入口) ====================== */
|
||||
/* 白底细边、已收藏时仅实心黑心,尽量不使用黑底白字组件 */
|
||||
.showscard-wrap { @apply relative; }
|
||||
.fav-toggle {
|
||||
@apply absolute right-2 top-2 z-20 grid h-9 w-9 place-items-center rounded-full border border-black/15 bg-white/85 text-black backdrop-blur-sm transition-transform duration-200 hover:scale-110 active:scale-95;
|
||||
}
|
||||
.fav-toggle svg { @apply h-[18px] w-[18px]; fill: none; stroke: currentColor; stroke-width: 1.6; }
|
||||
.fav-toggle.is-on svg { fill: #000; stroke: #000; }
|
||||
|
||||
Reference in New Issue
Block a user