Files
doodle-mini/miniprogram/components/word-card/word-card.less
T

58 lines
1.3 KiB
Plaintext

.word-card {
display: flex;
flex-direction: row;
// width: 324rpx;
height: 100rpx;
border-radius: 16rpx;
background-color: #eefcfc;
align-items: center;
box-shadow: 0 2rpx 2rpx rgba(0, 0, 0, 0.35);
.color-box {
width: 60rpx;
height: 60rpx;
border-radius: 50%;
background-color: #ff0000;
margin-left: 20rpx;
border: 1rpx solid #141414;
position: relative;
&::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 200%;
height: 200%;
border-radius: 50%;
border: 1px solid #141414;
transform: scale(0.5);
transform-origin: 0 0;
box-sizing: border-box;
}
}
.word-box {
margin: 0 24rpx;
display: flex;
justify-content: center;
align-items: center;
width: 82rpx;
height: 52rpx;
border: 1rpx solid #000;
background-color: #fff;
.word-content {
font-size: 28rpx;
color: #141414;
text-align: center;
}
}
.delete-icon {
padding: 20rpx;
margin-right: 8rpx;
color: #141414;
}
}