// @mainColor: #23a27e;
@mainColor: #1a8e70;
@fontColor: #EFEFEF;
@mainBg: #33373f;
@lightBg: #444653;
@borderColor: #43474f;
@goldColor: #ffCF00;


.combtn(@fs: 28rpx, @lineHeight: 60rpx) {
	font-size: @fs;
	line-height: @lineHeight;
	background-color: @mainColor;
	border: none;
	color: #FFF;
	text-align: center;
	border-radius: 8rpx;
	&:active {
		background-color: lighten(@mainColor, 5%);
	}
}

// // 重写一些MD的样式
// .h2w {
// 	font-size: 28rpx !important;
// }
// .h2w-dark {
// 	background-color: darken(@mainBg, 20%) !important;
// }

// .mytowxml {
	.h2w {
		user-select: auto;
		font-weight: normal !important;
		line-height: 1.6 !important;
		text-align: left !important;
		font-size: 28rpx !important;
		border-radius: 8rpx !important;
		.h2w__main {
			margin: 0 !important;
			padding: 12rpx 20rpx !important;
		}
		.h2w__p  {
			margin: 8rpx 0 !important;
			color: @fontColor;
		}
	}
// }

 .h2w-dark {
	background-color: #22242d !important;
}

.customtowxml .h2w-dark {
	background-color: #3f414e !important;
}

.fullscreen .h2w {
	min-height: 100%;
	.h2w__main {
		padding: 40rpx !important;
	}
}

/deep/.message-collapse {
	
	.uni-collapse {
		background-color: #22242d;
		border-radius: 8rpx;
		overflow: hidden;
		color: @fontColor;
		.uni-collapse-item {
			background-color: #22242d;
			.uni-collapse-item__title {
				background-color: #22242d;
				color: @fontColor;
				.uni-collapse-item__title-box {
					background-color: #22242d;
					height: 60rpx;
					line-height: 60rpx;
					color: @fontColor;
				}
				&.uni-collapse-item-border {
				    border-bottom: 1px solid @borderColor;
				}
			}
			.uni-collapse-item__wrap {
				background-color: #22242d;
				.uni-collapse-item__wrap-content {
					.content{
						.text {
							color: @fontColor;
							padding: 8rpx 28rpx;
							.sitename {
								color: @mainColor;
							}
							&:not(:last-child) {
								border-bottom: 1px solid @borderColor;
							}
						}
					}
					&.uni-collapse-item--border {
						border-bottom: 1px solid @borderColor;
					}
				}
			}
		}
	}
}