hldy_app/unpackage/dist/dev/mp-weixin/component/public/newgame/joysticknew.wxss

123 lines
2.4 KiB
Plaintext

.move-circle.data-v-e20c63a2 {
position: absolute;
bottom: 0rpx;
left: 0rpx;
width: 350rpx;
height: 350rpx;
display: flex;
justify-content: center;
align-items: center;
z-index: 99;
touch-action: none;
}
.move-circle .click-box-top.data-v-e20c63a2 {
position: absolute;
top: 20rpx;
left: 70rpx;
width: 220rpx;
height: 80rpx;
}
.move-circle .click-box-bottom.data-v-e20c63a2 {
position: absolute;
bottom: 20rpx;
left: 70rpx;
width: 220rpx;
height: 80rpx;
}
.move-circle .click-box-left.data-v-e20c63a2 {
position: absolute;
bottom: 100rpx;
left: 0;
width: 90rpx;
height: 150rpx;
}
.move-circle .click-box-right.data-v-e20c63a2 {
position: absolute;
bottom: 100rpx;
right: 0;
width: 90rpx;
height: 150rpx;
}
.move-circle .click-box-center.data-v-e20c63a2 {
position: absolute;
bottom: 130rpx;
right: 130rpx;
width: 90rpx;
height: 90rpx;
}
.move-circle-all.data-v-e20c63a2 {
width: 350rpx;
height: 350rpx;
}
.light-shadow.data-v-e20c63a2 {
position: absolute;
width: 40rpx;
height: 40rpx;
background-color: transparent;
border: 60rpx solid #3da6ff;
border-radius: 50%;
pointer-events: none;
opacity: 1;
}
/* 无限循环波纹动画,长按时用 */
.ripple-loop.data-v-e20c63a2 {
animation: rippleLoop-e20c63a2 1.2s ease-out infinite;
}
/* 点击一次的波纹动画 */
.ripple-once.data-v-e20c63a2 {
animation: rippleLoop-e20c63a2 1.2s ease-out forwards;
}
@keyframes rippleLoop-e20c63a2 {
0% {
transform: translate(-50%, -50%) scale(0.5);
opacity: 0.6;
}
100% {
transform: translate(-50%, -50%) scale(2.5);
opacity: 0;
}
}
.light-circle.data-v-e20c63a2 {
position: relative;
width: 150px;
height: 150px;
border-radius: 50%;
background: #111;
/* 你背景色自己改 */
overflow: visible;
}
.circle.data-v-e20c63a2 {
position: relative;
width: 150px;
height: 150px;
border-radius: 50%;
background: #222;
margin: 50px;
}
.pulse-circle.data-v-e20c63a2 {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 50%;
background: radial-gradient(circle, #03a4ff 0%, transparent 70%);
animation: pulse-e20c63a2 3s forwards;
}
@keyframes pulse-e20c63a2 {
0% {
width: 0;
height: 0;
opacity: 0.8;
}
50% {
width: 350rpx;
height: 350rpx;
opacity: 0.4;
}
100% {
width: 0;
height: 0;
opacity: 0;
}
}