wx-app/app.wxss
2019-06-23 11:37:44 +08:00

152 lines
2.3 KiB
Plaintext

/**app.wxss**/
@import "colorui/main.wxss";
@import "colorui/icon.wxss";
page {
font-size: 28rpx;
}
.container {
box-sizing: border-box;
}
.container-card {
margin: 20rpx 40rpx;
}
.card {
background-color: #f7f7f7;
border: solid 1rpx #bbb;
padding: 20rpx;
margin: 20rpx 40rpx;
border-radius: 6rpx;
}
.text-center {
text-align: center;
}
.text-strong {
font-weight: bold;
}
button {
color: #2ec7a5;
border: 1px solid #2ec7a5;
background-color: #fff;
margin-top: 60rpx;
margin-bottom: 40rpx;
}
button::after {
border: none;
}
.btn-single {
width: 60%;
}
.btn-green {
color: #fff;
background-color: #2ec7a5;
}
.btn-round {
border-radius: 100rpx;
}
/*checkbox 整体大小 */
/*checkbox 选项框大小 */
checkbox .wx-checkbox-input {
border-radius: 50%;
overflow: hidden;
}
/*checkbox选中后样式 */
checkbox .wx-checkbox-input.wx-checkbox-input-checked {
background: #09bb07;
}
/*checkbox选中后图标样式 */
checkbox::before {
top: 25rpx;
}
checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
width: 30rpx;
height: 30rpx;
line-height: 30rpx;
text-align: center;
font-size: 24rpx;
color: #fff;
background: transparent;
transform: translate(-50%, -50%) scale(1);
-webkit-transform: translate(-50%, -50%) scale(1);
}
.row {
display: flex;
}
.col {
flex: 1;
margin: 0 40rpx;
}
.form-group {
margin-bottom: 40rpx;
}
.form-group > label {
font-weight: bold;
display: block;
margin-bottom: 20rpx;
}
.form-group radio{
margin-right:10rpx;
position: relative;
top:-2rpx;
}
.form-group radio-group label{
display: inline-block;
}
input, .select-input {
border-radius: 4px 4px 4px 4px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(220, 223, 230, 1);
padding: 0 14rpx;
height: 60rpx;
line-height: 60rpx;
position: relative;
}
.select-input::after {
content: '▲';
color: #ccc;
position: absolute;
right: 14rpx;
top: 4rpx;
font-size: 20rpx;
transform: rotate(180deg);
}
.page-title {
font-size: 30rpx;
margin: 30rpx 0;
font-weight: bold;
}
.actionsheet button {
margin: 0;
border-right: none;
border-left: none;
border-bottom: none;
border-radius: 0;
border-color:#eee;
}