/* #ifdef H5 */
* {
	font-family: Arial, "Microsoft Yahei", "微软雅黑";
}

.uni-page-head-btn {
	display: inline-flex;
	align-items: center;
}
/* #endif */

// 主题
.cl-page {
	&.theme-default {
		// 渐变色
		.cl-tag.cl-tag--primary:not(.is-plain),
		.cl-button--primary:not(.is-plain) {
			background: linear-gradient(120deg, rgba($cl-color-primary, 0.7), $cl-color-primary);
			border: 0;
		}

		.cl-button {
			&.is-custom {
				height: 80rpx;
				font-size: 30rpx;
				width: 100%;
			}
		}
	}

	&.theme-grey {
		$color: #f6f7fa;

		@mixin set() {
			background-color: $color;
			border-color: $color;
		}

		.cl-button--default,
		.cl-input,
		.cl-select-inner,
		.cl-upload,
		.cl-textarea,
		.cl-checkbox.is-border,
		.cl-search__input {
			@include set();
		}

		.cl-upload {
			border: 0;
		}
	}
}

// 其他
.mp-html {
	// #ifndef MP
	img,
	// #endif
	image {
		display: block;
		max-width: 100%;
	}

	.hl-pre {
		border-radius: 20rpx;
		box-sizing: border-box;
		// width 看页面情况设置，如：calc(100vw - 48rpx)
	}
}

@import "./common.scss";
