BluetoothDemo/pages/PCH0809/index.wxss

105 lines
1.6 KiB
Plaintext
Raw Normal View History

2021-12-08 09:18:31 +08:00
/* pages/PCH0809/index.wxss */
.modal_wrapper {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: -1;
background: rgba(0, 0, 0, 0.5);
transition: .4s all;
height: 200vh;
opacity: 0;
}
.modal_wrapper_show {
transform: translateY(-100vh);
opacity: 1;
overflow-x: hidden;
overflow-y: auto;
z-index: 1000;
}
.remindModal {
position: absolute;
bottom: 50vh;
left: 50%;
z-index: 101;
transform: translate(-50%, 50%);
background: #fff;
width: 600rpx;
padding: 40rpx 60rpx;
border-radius: 20rpx;
}
.remindModal_title {
padding: 10rpx 30rpx 50rpx;
text-align: center;
font-size: 32rpx;
}
.remindModal_content {
font-size: 30rpx;
line-height: 1.6;
text-align: center;
padding-top: 30rpx;
min-height: 100rpx;
}
.remindModal_btn {
margin-top: 80rpx;
margin-bottom: 10rpx;
display: flex;
justify-content: space-evenly;
}
.remindModal_cancel_btn {
display: flex;
align-items: center;
justify-content: center;
width: 45%;
height: 100rpx;
border: 1px solid transparent;
margin: auto;
background: #dfdfdf;
color: #fff;
font-size: 16px;
letter-spacing: 2rpx;
border-radius: 10px;
white-space: nowrap;
}
.modal_input_wrap {
width: 100%;
height: 80rpx;
padding: 0 10rpx;
border: 1px solid #dcdcdc;
border-radius: 10rpx;
}
.modal_input {
width: 100%;
height: 100%;
padding: 10rpx;
font-size: 30rpx;
}
.confirm_btn {
display: flex;
align-items: center;
justify-content: center;
width: 45%;
height: 100rpx;
border: 1px solid transparent;
margin: auto;
background: #1977FF;
color: #fff;
font-size: 16px;
letter-spacing: 2rpx;
border-radius: 10px;
white-space: nowrap;
}
.item_hover {
background-color: rgba(0, 0, 0, .1);
}