/** 原生button样式 **/
uni-button {
	font-size: $im-font-size;
}
uni-button[type='primary'] {
	color: #fff ;
	background-color: $im-color-primary ;
}

uni-button[type='primary'][plain] {
	color: $im-color-primary  ;
	border: 1px solid $im-color-primary;
	background-color: transparent;
}

uni-button[type='warn'] {
	color: #fff ;
	background-color: $im-color-danger ;
}

uni-button[type='warn'][plain] {
	color: $im-color-danger ;
	border: 1px solid $im-color-danger ;
	background-color: transparent ;
}

uni-button[size='mini'] {
	font-size: $im-font-size-smaller ;
}

// #ifdef MP-WEIXIN
// wx小程序只有button,没有uni-botton
button {
	font-size: $im-font-size ;
}

button[type='primary'] {
	color: #fff ;
	background-color: $im-color-primary ;
}

button[type='primary'][plain] {
	color: $im-color-primary ;
	border: 1px solid $im-color-primary;
	background-color: transparent;
}

button[type='warn'] {
	color: #fff ;
	background-color: $im-color-danger ;
}

button[type='warn'][plain] {
	color: $im-color-danger ;
	border: 1px solid $im-color-danger ;
	background-color: transparent ;
}

button[size='mini'] {
	font-size: $im-font-size-smaller ;
}
// #endif

.button-hover[type='primary'] {
	color: #fff ;
	background-color: $im-color-primary-dark-1 ;
}

/** uni-ui input激活后边框、图标颜色 **/
.uni-easyinput__content.is-focused:not(.is-input-error-border) {
	border-color: $im-color-primary-light-2 ;
	
	.content-clear-icon {
		color: $im-color-primary-light-2 ;	
	}
}

/** 底部导航 **/
.uni-tabbar-bottom .uni-tabbar {
	box-shadow: $im-box-shadow;
}

.uni-tabbar-border {
	display: none;
}

.segmented-control {
	border-color: $im-color-primary ;

	.segmented-control__item--button {
		border-color: $im-color-primary ;
	}
	.segmented-control__item--button--active {
		background-color: $im-color-primary ;

		.segmented-control__text{
			color: #fff ;
		}
	}
	.segmented-control__text{
		color: $im-color-primary ;
	}
}


.uni-radio-input svg{
	border-color: white ;
	background-color: $im-color-primary ;
}

.uni-radio-input svg {
	background-color:  $im-color-primary ;
	border-color: $im-color-primary ;
	background-clip: content-box ;
	box-sizing: border-box;
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(0.7); 
}

.uni-radio-input svg path{
	fill: $im-color-primary ;
}

.uni-radio-input {
	background-color: white ;
	border-color: $im-color-primary ;
}	

.uni-radio-input-disabled {
	background-color: rgb(225, 225, 225) ;
	border-color: rgb(209, 209, 209) ;
	opacity: 0.5;
}

.uni-section__content-title {
	font-size: $im-font-size ;
	color: $im-text-color-light;
}

.uni-forms-item__label {
	color: $im-text-color;
	font-size: $im-font-size ;
}
.uni-forms-item {
	//margin-bottom: 8px ;
}
.uni-easyinput__content-input {
	font-size: $im-font-size ;
}
.uni-easyinput__placeholder-class {
	color: $im-text-color-lighter;
	font-size: $im-font-size ;;
}
.uni-easyinput__content-textarea {
	font-size: $im-font-size ;;
}
.uni-input-input:disabled {
	color: $im-text-color-light;
}
.uni-forms-item.is-direction-top .uni-forms-item__label {
	padding: 0 ;
}
.uni-data-checklist .checklist-group .checklist-box .checklist-content .checklist-text {
	font-size: $im-font-size ;
}
.uni-card .uni-card__content {
	color: unset ;
	padding: 10px 0 ;
}
.uni-tag-text--small{
	font-size: 10px ;
	font-weight: bolder ;
}

.nav-bar {
	height: 100rpx;
	padding: 0 20rpx;
	display: flex;
	align-items: center;
	background-color: white;
	border-bottom: 1px solid $im-border;

	.nav-search {
		flex: 1;
	}

	.nav-add {
		cursor: pointer;
	}
}


.bottom-btn {
	margin: 40rpx 40rpx;

	uni-button + uni-button {
		margin-top: 20rpx;
	}
}

.emoji-large {
	width: 64rpx ;
	height: 64rpx ;
	vertical-align: bottom ;
}

.emoji-normal {
	width: 54rpx ;
	height: 54rpx ;
	vertical-align: bottom ;
}

.emoji-small {
	width: 36rpx ;
	height: 36rpx ;
	vertical-align: bottom ;
}