100 lines
1.6 KiB
Plaintext
100 lines
1.6 KiB
Plaintext
/* mycomponent/payKeyboard/numberKeyboard/numberKeyboard.wxss */
|
|
|
|
@import "/mycss/iconfont.wxss";
|
|
|
|
.number-keyboard {
|
|
width: 100%;
|
|
padding-bottom: 22px;
|
|
background-color: #f2f3f5;
|
|
}
|
|
|
|
.number-keyboard--with-title {
|
|
border-radius: 20px 20px 0 0;
|
|
}
|
|
|
|
.number-keyboard__heade {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: content-box;
|
|
height: 34px;
|
|
padding-top: 6px;
|
|
color: #646566;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.number-keyboard__close {
|
|
position: absolute;
|
|
right: 0;
|
|
padding: 0 16px;
|
|
color: #576b95;
|
|
font-size: 14px;
|
|
background-color: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.number-keyboard__body {
|
|
display: flex;
|
|
padding: 6px 0 0 6px;
|
|
}
|
|
|
|
.number-keyboard__keys {
|
|
display: flex;
|
|
flex: 3;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.key__wrapper {
|
|
position: relative;
|
|
flex: 1;
|
|
flex-basis: 33%;
|
|
box-sizing: border-box;
|
|
padding: 0 6px 6px 0;
|
|
}
|
|
|
|
.key__wrapper.key__wrapper--wider {
|
|
flex-basis: 66%;
|
|
}
|
|
|
|
.key__wrapper .btn-key {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 48px;
|
|
font-size: 28px;
|
|
line-height: 1.5;
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.key__wrapper .btn-key-hover {
|
|
filter: brightness(90%);
|
|
}
|
|
|
|
.key__wrapper .btn-key::after {
|
|
border: none;
|
|
}
|
|
|
|
.number-keyboard__sidebar {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.key__wrapper .btn-key--large {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 6px;
|
|
bottom: 6px;
|
|
left: 0;
|
|
height: auto;
|
|
}
|
|
|
|
.key__wrapper .key--blue {
|
|
font-size: 32rpx;
|
|
color: #fff;
|
|
background-color: #1989fa;
|
|
} |