style: playground style

This commit is contained in:
jialin
2024-09-22 14:55:23 +08:00
parent c04b9342b8
commit b041cdc766
26 changed files with 373 additions and 312 deletions
+11 -5
View File
@@ -11,10 +11,6 @@
overflow: hidden;
border-radius: var(--border-radius-base);
cursor: pointer;
// background-position: center;
// background-size: cover;
// background-repeat: no-repeat;
// border: 1px solid var(--ant-color-border);
}
.del {
@@ -26,12 +22,22 @@
background-color: var(--color-white-1);
display: none;
border-radius: 50%;
height: 16px;
width: 16px;
overflow: hidden;
pointer-events: all;
}
&:hover {
.ant-image .ant-image-mask {
opacity: 1;
transition: opacity var(--ant-motion-duration-slow);
}
.del {
display: block;
display: flex;
justify-content: center;
align-items: center;
}
}
}