107 lines
1.7 KiB
Plaintext
107 lines
1.7 KiB
Plaintext
/* packageE/suspendbutton/suspendbutton.wxss */
|
|
.component-wrapper {
|
|
width: 100%;
|
|
}
|
|
|
|
.kfBtn {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
.fixed-box {
|
|
width: 375px;
|
|
position: fixed;
|
|
top: 114px;
|
|
z-index: 10;
|
|
text-align: left;
|
|
}
|
|
|
|
.fixed-box .button {
|
|
background-color: white;
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-size: 12px;
|
|
justify-content: center;
|
|
width: 50px;
|
|
height: 50px;
|
|
text-align: center;
|
|
border-radius: 50%;
|
|
border: 1px solid #d4d4d4;
|
|
box-shadow: 0 1px 11px 0 rgba(4, 0, 0, 0.04);
|
|
}
|
|
|
|
.fixed-box .button .img {
|
|
width: 45%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.fixed-box .btn {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
flex-direction: column;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.fixed-box .btn .img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.fixed-box2 {
|
|
width: 375px;
|
|
top: 114px;
|
|
z-index: 2;
|
|
position: fixed;
|
|
text-align: left;
|
|
}
|
|
|
|
.fixed-box2 .imgs {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
z-index: 2;
|
|
position: relative;
|
|
transform: rotate(0deg);
|
|
transition: all 0.35s ease-in-out;
|
|
}
|
|
|
|
.fixed-box2 .imgs.active {
|
|
transform: rotate(135deg);
|
|
}
|
|
|
|
.fixed-box2 .btn {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
flex-direction: column;
|
|
font-size: 13px;
|
|
opacity: 0;
|
|
transform: scale(0) translateX(0%) translateY(0%);
|
|
transition: all 0.35s ease-in-out;
|
|
}
|
|
|
|
.fixed-box2 .btn .img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.fixed-box2 .btn.active {
|
|
transform: scale(1) translateX(0%) translateY(0%);
|
|
opacity: 1;
|
|
}
|