jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/node_modules/antd-mini/less/Stepper/index.less

70 lines
1.4 KiB
Plaintext
Raw Normal View History

2024-12-01 11:56:54 +00:00
@import (reference) './variable.less';
2024-11-10 07:01:22 +00:00
@stepperPrefix: ant-stepper;
.@{stepperPrefix} {
position: relative;
display: inline-flex;
flex-wrap: nowrap;
height: 56 * @rpx;
overflow: hidden;
box-sizing: border-box;
2024-12-01 11:56:54 +00:00
& &-button {
2024-11-10 07:01:22 +00:00
width: 56 * @rpx;
height: 56 * @rpx;
line-height: 56 * @rpx;
padding: 0;
color: @COLOR_BRAND1;
background-color: @COLOR_BACKGROUND;
}
2024-12-01 11:56:54 +00:00
& &-button-hover {
2024-11-10 07:01:22 +00:00
background-color: fade(@COLOR_BLACK_CHANGE, 8%);
}
2024-12-01 11:56:54 +00:00
& &-button-up {
2024-11-10 07:01:22 +00:00
border-top-left-radius: 0;
border-top-right-radius: 4 * @rpx;
border-bottom-left-radius: 0;
border-bottom-right-radius: 4 * @rpx;
}
2024-12-01 11:56:54 +00:00
& &-button-down {
2024-11-10 07:01:22 +00:00
border-top-right-radius: 0;
border-top-left-radius: 4 * @rpx;
border-bottom-right-radius: 0;
border-bottom-left-radius: 4 * @rpx;
}
2024-12-01 11:56:54 +00:00
& &-button-disabled {
2024-11-10 07:01:22 +00:00
color: @COLOR_TEXT_ASSIST;
}
&-input {
width: 88 * @rpx;
height: 56 * @rpx;
margin-left: 4 * @rpx;
margin-right: 4 * @rpx;
text-align: center;
line-height: normal;
font-size: 30 * @rpx;
color: @COLOR_TEXT_PRIMARY;
box-sizing: border-box;
background-color: @COLOR_BACKGROUND;
2024-12-01 11:56:54 +00:00
// 在微信会导致 input 显示不居中
padding: 7 * @rpx 14 * @rpx;
caret-color: @COLOR_BRAND1;
2024-11-10 07:01:22 +00:00
&-disabled {
opacity: 0.4;
}
}
2024-12-01 11:56:54 +00:00
&-input-readonly {
line-height: 56 * @rpx;
padding: 0;
}
2024-11-10 07:01:22 +00:00
}