/* 深色模式样式
------------------------------- */
[data-theme='dark'] {
	// 变量(自定义时，只需修改这里的值)
	--hotline-bg-main: #1f1f1f;
	--hotline-color-white: #ffffff;
	--hotline-color-disabled: #191919;
	--hotline-color-bar: #7a7a7a;
	--hotline-color-primary: #303030;
	--hotline-border-color: #424242;
	--hotline-border-black: #333333;
	--hotline-border-columns: #2a2a2a;
	--hotline-color-seting: #505050;
	--hotline-text-color-regular: #9b9da1;
	--hotline-text-color-placeholder: #7a7a7a;
	--hotline-bg-grey-color: #dadada;
	--hotline-color-hover: #3c3c3c;
	// --hotline-color-hover-rgba: rgba(0, 0, 0, 0.3);
	// --hotline-color-hover-rgba:var(--el-color-info-dark-2);
	--hotline-color-hover-rgba: rgba(0, 0, 0, 0.3);

	--hotline-color-text-main: #dadada;
	--hotline-color-text-main-light: #d1d1d1;
	--hotline-tagsview-icon-color:#dadada;

	// 工单流转记录
	--hotline-order-CrculationRecord-color: #505050;

	// root
	--hotline-bg-main-color: var(--hotline-bg-main) !important;
	--hotline-bg-topBar: var(--hotline-color-disabled) !important;
	--hotline-bg-topBarColor: var(--hotline-color-bar) !important;
	--hotline-bg-menuBar: var(--hotline-color-disabled) !important;
	--hotline-bg-menuBarColor: var(--hotline-color-bar) !important;
	--hotline-bg-columnsMenuBar: var(--hotline-color-disabled) !important;
	--hotline-bg-columnsMenuBarColor: var(--hotline-color-bar) !important;
	--hotline-border-color-light: var(--hotline-border-black) !important;
	--hotline-color-primary-lighter: var(--hotline-color-primary) !important;
	--hotline-color-primary-lighter: var(--hotline-color-primary) !important;
	--hotline-color-warning-lighter: var(--hotline-color-primary) !important;
	--hotline-color-danger-lighter: var(--hotline-color-primary) !important;
	--hotline-bg-color: var(--hotline-color-primary) !important;
	--hotline-color-dark-hover: var(--hotline-color-hover) !important;
	--hotline-color-menu-hover: var(--hotline-color-hover-rgba) !important;
	--hotline-color-user-hover: var(--hotline-color-hover-rgba) !important;
	--hotline-color-seting-main: var(--hotline-color-seting) !important;
	--hotline-color-seting-aside: var(--hotline-color-hover) !important;
	--hotline-color-seting-header: var(--hotline-color-primary) !important;

	// element plus
	--el-color-white: var(--hotline-color-disabled) !important;
	--el-text-color-primary: var(--hotline-color-bar) !important;
	--el-border-color: var(--hotline-border-black) !important;
	--el-border-color-light: var(--hotline-border-black) !important;
	--el-border-color-lighter: var(--hotline-border-black) !important;
	--el-border-color-extra-light: var(--el-color-primary-light-8) !important;
	--el-text-color-regular: var(--hotline-text-color-regular) !important;
	--el-bg-color: var(--hotline-color-disabled) !important;
	--el-color-primary-light-9: var(--hotline-color-hover) !important;
	--el-text-color-disabled: var(--hotline-text-color-placeholder) !important;
	--el-text-color-disabled-base: var(--el-color-primary) !important;
	--el-text-color-placeholder: var(--hotline-text-color-placeholder) !important;
	--el-disabled-bg-color: var(--hotline-color-disabled) !important;
	--el-fill-base: var(--hotline-color-white) !important;
	--el-fill-colo: var(--hotline-color-hover-rgba) !important;
	--el-fill-color: var(--hotline-color-hover-rgba) !important;
	--el-fill-color-blank: var(--hotline-color-disabled) !important;
	--el-fill-color-light: var(--hotline-color-hover-rgba) !important;
	--el-bg-color-overlay: var(--el-color-primary-light-9) !important;
	--el-mask-color: rgb(42 42 42 / 80%);

	// button
	// .el-button {
	// 	&:hover {
	// 		border-color: var(--hotline-border-color) !important;
	// 	}
	// }
	// .el-button--primary,
	// .el-button--info,
	// .el-button--danger,
	// .el-button--success,
	// .el-button--warning {
	// 	--el-button-text-color: var(--hotline-color-white) !important;
	// 	--el-button-hover-text-color: var(--hotline-color-white) !important;
	// 	--el-button-disabled-text-color: var(--hotline-color-white) !important;
	// 	&:hover {
	// 		border-color: var(--el-button-hover-border-color, var(--el-button-hover-bg-color)) !important;
	// 	}
	// }

	// drawer
	.el-divider__text {
		background-color: var(--el-color-white) !important;
	}
	.el-drawer {
		border-left: 1px solid var(--hotline-border-color-light) !important;
	}

	// tabs
	.el-tabs--border-card {
		background-color: var(--el-color-white) !important;
	}
	.el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
		background: var(--hotline-color-primary-lighter);
	}

	// alert / notice-bar
	.home-card-item {
		border: 1px solid var(--hotline-border-color-light) !important;
	}
	.el-alert,
	.notice-bar {
		border: 1px solid var(--hotline-border-color) !important;
		background-color: var(--hotline-color-disabled) !important;
	}

	// menu
	.layout-aside {
		border-right: 1px solid var(--hotline-border-color-light) !important;
	}

	// colorPicker
	.el-color-picker__mask {
		background: unset !important;
	}
	.el-color-picker__trigger {
		border: 1px solid var(--hotline-border-color-light) !important;
	}

	// popper / dropdown
	.el-popper {
		border: 1px solid var(--hotline-border-color) !important;
		color: var(--el-text-color-primary) !important;
		.el-popper__arrow:before {
			background: var(--el-color-white) !important;
			border: 1px solid var(--hotline-border-color);
		}
		a {
			color: var(--el-text-color-primary) !important;
		}
	}
	.el-popper,
	.el-dropdown-menu {
		background: var(--el-color-white) !important;
	}
	.el-dropdown-menu__item:hover:not(.is-disabled) {
		background: var(--el-bg-color) !important;
	}
	.el-dropdown-menu__item.is-disabled {
		font-weight: 700 !important;
	}

	// input
	.el-input-group__append,
	.el-input-group__prepend {
		border: var(--el-input-border) !important;
		border-right: none !important;
		background: var(--hotline-color-disabled) !important;
		border-left: 0 !important;
	}
	.el-input-number__decrease,
	.el-input-number__increase {
		background: var(--hotline-color-disabled) !important;
	}

	// tag
	.el-select .el-select__tags .el-tag {
		background-color: var(--hotline-bg-color) !important;
	}

	// pagination
	.el-pagination.is-background .el-pager li:not(.disabled).active {
		color: var(--hotline-color-white) !important;
	}
	.el-pagination.is-background .btn-next,
	.el-pagination.is-background .btn-prev,
	.el-pagination.is-background .el-pager li {
		background-color: var(--hotline-bg-color);
	}

	// radio
	.el-radio-button:not(.is-active) .el-radio-button__inner {
		border: 1px solid var(--hotline-border-color-light) !important;
		border-left: 0 !important;
	}
	.el-radio-button.is-active .el-radio-button__inner {
		color: var(--hotline-color-white) !important;
	}

	// countup
	.countup-card-item-flex {
		color: var(--el-text-color-primary) !important;
	}

	// editor
	.editor-container {
		.w-e-toolbar {
			background: var(--el-color-white) !important;
			border: 1px solid var(--hotline-border-color-light) !important;
			.w-e-menu:hover {
				background: var(--hotline-color-user-hover) !important;
				i {
					color: var(--el-text-color-primary) !important;
				}
			}
		}
		.w-e-text-container {
			border: 1px solid var(--hotline-border-color-light) !important;
			border-top: none !important;
			.w-e-text {
				background: var(--el-color-white) !important;
			}
		}
	}

	// date-picker
	.el-picker-panel {
		background: var(--el-color-white) !important;
	}

	// dialog
	.el-dialog {
		border: 1px solid var(--el-border-color-lighter);
		.el-dialog__header {
			color: var(--el-text-color-primary) !important;
			border-bottom: 1px solid var(--el-border-color) !important;
			margin-right:0 !important;
		}
	}

	// columns
	.layout-columns-aside ul .layout-columns-active {
		color: var(--hotline-color-white) !important;
	}
	.layout-columns-aside {
		border-right: 1px solid var(--hotline-border-columns);
	}

	// tagsView
	.tags-style-one {
		.is-active {
			color: var(--el-text-color-primary) !important;
		}
		.layout-navbars-tagsview-ul-li:hover {
			border-color: var(--el-border-color-lighter) !important;
		}
	}

	// 图片处理
	img,.dark-img-bg {filter:brightness(0.8) saturate(1.25)}
}
