Commit 848082e1 authored by timel's avatar timel

feat: small

parent c4365854
Pipeline #25710 failed with stages
in 13 minutes and 57 seconds
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
// border-radius: 2px; // 这里好像会导致卡片分辨率降低 border-radius: 2px; // 这里好像会导致卡片分辨率降低 -> 不,并不会
overflow: hidden; overflow: hidden;
} }
.cover { .cover {
...@@ -107,7 +107,9 @@ ...@@ -107,7 +107,9 @@
display: block !important; display: block !important;
background: var(--shadow-color) !important; background: var(--shadow-color) !important;
border-radius: 5px; border-radius: 5px;
box-shadow: 0 0 4px 0 var(--shadow-color), 0 0 25px 2px #0099ff87; box-shadow:
0 0 4px 0 var(--shadow-color),
0 0 25px 2px #0099ff87;
transform: translateZ(calc((var(--z)) * 1px + 0.1px)); transform: translateZ(calc((var(--z)) * 1px + 0.1px));
} }
......
...@@ -282,11 +282,11 @@ export const Card: React.FC<{ idx: number }> = React.memo(({ idx }) => { ...@@ -282,11 +282,11 @@ export const Card: React.FC<{ idx: number }> = React.memo(({ idx }) => {
/** 鼠标hover在手卡上的效果 不确定 先放着 */ /** 鼠标hover在手卡上的效果 不确定 先放着 */
const onMouse = (isEnter: boolean) => () => { const onMouse = (isEnter: boolean) => () => {
// if (isMe(card.location.controller) && card.location.zone === HAND) { if (isMe(card.location.controller) && card.location.zone === HAND) {
// api.start({ api.start({
// rd: isEnter ? 15 : 0, rd: isEnter ? 5 : 0,
// }); });
// } }
}; };
// <<< 效果 <<< // <<< 效果 <<<
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment