// 部分样式和主题冲突  覆盖 antd 默认样式
.ant-calendar-range .ant-calendar-input,
.ant-calendar-range .ant-calendar-time-picker-input {
	border: none !important;
}
.ant-calendar-picker-input.ant-input {
	font-size: 12px;
}

.ant-menu-inline {
	.ant-menu-title-content {
		align-items: center;
		display: inline-flex;
	}
}
#app {
	.ant-radio-group-solid
		.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
		color: #fff;
	}
}
.ant-input[disabled] {
	color: @titleColor !important;
}

// table 相关

.obit-atable {
	.operation-btn::after {
		content: ' ';
		color: rgba(0, 0, 0, 0.85);
		height: 16px;
		position: relative;
		top: -0.06em;
		display: inline-block;
		margin: 0 8px;
		vertical-align: middle;
		border-top: 0;
		border-left: 1px solid @border;
	}
	.operation-btn:last-child::after {
		display: none;
	}
	// 固定表头  需要在table上同时设置 :scroll="{ x: '100%', y: 1  }" 和class obit-atable-fixed-header
	&-fixed-header {
		.ant-spin-nested-loading,
		.ant-spin-container,
		.ant-table,
		.ant-table-content,
		.ant-table-scroll,
		.ant-table-body {
			height: 100%;
		}
		.ant-table-scroll {
			overflow-y: hidden;
			.ant-table-hide-scrollbar {
				overflow-y: hidden !important;
			}
			.ant-table-body {
				max-height: calc(100% - 55px) !important;
				&::-webkit-scrollbar-track-piece {
					background: #d3dce6;
				}

				&::-webkit-scrollbar {
					width: 8px;
				}

				&::-webkit-scrollbar-thumb {
					background: #99a9bf;
					border-radius: 10px;
				}
			}
		}
	}
}
